paper-gtk-theme/Paper/gtk-3.0/widgets/composited-indicator.css

99 lines
2.6 KiB
CSS

/* Copyright 2015 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/.
*/
/***********************
* Composited Indicator *
************************/
.composited-indicator {
background-color: transparent;
color: #fff;
}
.composited-indicator > GtkWidget > GtkWidget:first-child {
padding: 0 2px;
}
.panel-app-button > GtkWidget > GtkWidget:first-child {
padding: 0 2px 0 4px;
}
.composited-indicator.menuitem:active,
.composited-indicator.menuitem:prelight {
border-style: none;
background-image: none;
box-shadow: none;
}
/* Images */
.composited-indicator.menuitem:focus GtkImage,
.composited-indicator.menuitem GtkImage {
color: @text;
}
.composited-indicator.menuitem:active GtkImage {
color: @selection_foreground;
}
.composited-indicator.menuitem:hover GtkImage,
.composited-indicator.menuitembutton:hover GtkImage {
color: shade(@text, 2.0);
}
.composited-indicator.menuitem:backdrop GtkImage,
.composited-indicator.menuitem:backdrop:hover GtkImage,
.composited-indicator.menuitem:active:backdrop GtkImage {
color: @backdrop_text;
}
.composited-indicator.menuitem:insensitive GtkImage {
color: @insensitive_text;
}
.composited-indicator.menuitem:insensitive:backdrop GtkImage {
color: mix(@backdrop_text, @insensitive_text, 0.5);
}
/* Labels */
.composited-indicator.menuitem:focus GtkLabel,
.composited-indicator.menuitem GtkLabel {
color: @text;
}
.composited-indicator.menuitem:active GtkLabel {
color: @selection_foreground;
}
.composited-indicator.menuitem:hover GtkLabel {
color: shade(@text, 2.0);
}
.composited-indicator.menuitem:backdrop GtkLabel,
.composited-indicator.menuitem:backdrop:hover GtkLabel,
.composited-indicator.menuitem:active:backdrop GtkLabel {
color: @backdrop_text;
}
.composited-indicator.menuitem:insensitive GtkLabel {
color: @insensitive_text;
}
.composited-indicator.menuitem:insensitive:backdrop GtkLabel {
color: mix(@backdrop_text, @insensitive_text, 0.5);
}