/* Copyright 2016 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/. */ /*************** * Base States * ***************/ .background { background-color: @background; color: @foreground; } .background-color:backdrop, .background-color:active:backdrop { /* I want everything nice and flat in the backdrop window */ background-color: @backdrop_background; color: @backdrop_text; } .background-color:insensitive { /* I want everything nice and flat in the backdrop window */ background-color: @insensitive_background; color: @insensitive_text; } /* FIXME: why do we still need this? */ GtkClutterOffscreen { background-color: @background; color: @foreground; } *:selected, *:selected:focus { background-color: @selection; color: @selection_foreground; } *:selected:backdrop { /* I would like to remove colors from the backdrop state, next release*/ background-color: @backdrop_selected_background; color: @backdrop_selection_foreground; } *:insensitive { background-color: @insensitive_background; color: @insensitive_foreground; border-color: @insensitive_border; } *:insensitive:backdrop { /* I want everything nice and flat in the backdrop window */ color: @backdrop_insensitive_foreground; } /* Apply effects to insensitive and prelit images */ *:insensitive { -gtk-image-effect: dim; } *:hover { -gtk-image-effect: none; } .gtkstyle-fallback { background-color: @background; color: @foreground; } .gtkstyle-fallback:prelight { background-color: shade(@background, 1.10); color: @foreground; } .gtkstyle-fallback:active { background-color: shade(@background, 0.90); color: @foreground; } .gtkstyle-fallback:insensitive { background-color: @insensitive_background; color: @insensitive_foreground; } .gtkstyle-fallback:selected { background-color: @selection; color: @selection_foreground; } GtkImage, GtkImage:insensitive, GtkLabel, GtkLabel:insensitive, GtkBox, GtkBox:insensitive, GtkGrid, GtkGrid:insensitive { background: none; } GtkImage, GtkLabel { color: @text; }