117 lines
3.0 KiB
CSS
Raw Normal View History

2014-12-13 12:48:16 -05:00
/* Copyright 2014 Sam Hewitt.
*
* This file is part of the Paper GTK theme.
*
* The Paper GTK theme is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* The Paper GTK theme is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with the Paper GTK theme. If not, see http://www.gnu.org/licenses/.
*/
/***************
* Menu Button *
***************/
2014-12-19 10:57:16 -05:00
.menu-button {
2014-12-13 12:48:16 -05:00
background-image: none;
background-color: @base;
border: 1px solid @selection;
}
2014-12-19 10:57:16 -05:00
.menu-button.separator {
2014-12-13 12:48:16 -05:00
border-style: none;
color: shade(@foreground, 3.2);
-GtkMenuItem-horizontal-padding: 0;
-GtkWidget-separator-height: 1;
}
2014-12-19 10:57:16 -05:00
.menu-button:hover {
2014-12-13 12:48:16 -05:00
background-image: none;
background-color: @base;
color: @foreground;
border-style: none;
}
2014-12-19 10:57:16 -05:00
.menu-button:insensitive {
2014-12-13 12:48:16 -05:00
background-color: @base;
color: lighter(@internal_element);
border-style: none;
}
2014-12-19 10:57:16 -05:00
.menu-button:hover,
.menu-button:active,
.menu-button:active:insensitive,
.menu-button:insensitive,
.menu-button {
2014-12-13 12:48:16 -05:00
border-width: 0;
background-color: shade(@foreground, 1.05);
background-image: none;
}
GtkMenuButton.button:active,
2014-12-15 12:09:13 -05:00
GtkMenuButton.button.raised:active {
2014-12-13 12:48:16 -05:00
color: @foreground;
}
2014-12-18 15:00:52 -05:00
/* Images */
.menu-button .menu .menuitem GtkImage {
color: @text;
}
.menu-button .menu .menuitem:active GtkImage,
.menu-button .menu .menuitem:focus GtkImage,
.menu-button .menu .menuitem:hover GtkImage {
color: @selected_foreground;
}
.menu-button .menu .menuitem:backdrop GtkImage,
.menu-button .menu .menuitem:backdrop:hover GtkImage,
.menu-button .menu .menuitem:active:backdrop GtkImage {
color: @backdrop_text;
-gtk-image-effect: dim;
}
.menu-button .menu .menuitem:insensitive GtkImage {
color: @insensitive_text;
-gtk-image-effect: dim;
}
.menu-button .menu .menuitem:insensitive:backdrop GtkImage {
color: mix(@backdrop_text, @insensitive_text, 0.5);
-gtk-image-effect: dim;
}
/* Labels */
2014-12-19 14:44:01 -05:00
.menu-button .menu .menuitem GtkLabel,
.menu-button .menu .menuitem * GtkLabel {
2014-12-18 15:00:52 -05:00
color: @text;
}
.menu-button .menu .menuitem:active GtkLabel,
.menu-button .menu .menuitem:focus GtkLabel,
.menu-button .menu .menuitem:hover GtkLabel {
color: @selected_foreground;
}
.menu-button .menu .menuitem:backdrop GtkLabel,
.menu-button .menu .menuitem:backdrop:hover GtkLabel,
.menu-button .menu .menuitem:active:backdrop GtkLabel {
color: @backdrop_text;
}
.menu-button .menu .menuitem:insensitive GtkLabel {
color: @insensitive_text;
}
.menu-button .menu .menuitem:insensitive:backdrop GtkLabel {
color: mix(@backdrop_text, @insensitive_text, 0.5);
2014-12-13 12:48:16 -05:00
}