/* 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/. */ /**************** * Progress bar * ****************/ GtkProgressBar { padding: 0; border-radius: 4px; } GtkProgressBar.progressbar, GtkProgressBar.progressbar:active { border: 1px solid alpha(#000, 0.15); border-radius: 4px; color: @text; background-color: @progressbar_background; } GtkProgressBar.progressbar:backdrop, GtkProgressBar.progressbar:active:backdrop { border: 1px solid alpha(#000, 0.15); border-radius: 4px; color: @backdrop_text; background-color: @backdrop_progressbar_background; } GtkProgressBar.trough { border: 1px solid alpha(#000, 0.15); border-radius: 4px; color: @text; background-color: @trough_background; } GtkProgressBar.trough:backdrop { border: 1px solid alpha(#000, 0.15); border-radius: 4px; color: @backdrop_text; background-color: @backdrop_trough_background; } GtkProgressBar.trough:insensitive { border: 1px solid alpha(#000, 0.15); border-radius: 4px; color: @insensitive_text; background-color: @insensitive_trough_background; } .trough, .trough.vertical { padding: 0; border: 1px solid @border; background-color: @trough_background; } .trough:insensitive, .trough.vertical:insensitive { background-image:none; background-color:@insensitive_base; border: 1px solid @insensitive_border; } .trough:backdrop, .trough.vertical:backdrop { padding: 0; border: 1px solid @backdrop_border; background-color: @backdrop_background; } /******************** * Row Progressbars * ********************/ .progressbar row, .progressbar row:hover, .progressbar row:selected, .progressbar row:selected:focus, .progressbar.vertical row, .progressbar.vertical row:hover, .progressbar.vertical row:selected, .progressbar.vertical row:selected:focus { border: 1px solid alpha(#000, 0.15); border-radius: 0px; color: alpha(#000,0.5); background-color: @selection; } .progressbar row:insensitive, .progressbar row:hover:insensitive, .progressbar row:selected:insensitive, .progressbar row:selected:focus:insensitive, .progressbar.vertical row:insensitive, .progressbar.vertical row:hover:insensitive, .progressbar.vertical row:selected:insensitive, .progressbar.vertical row:selected:focus:insensitive { border: 1px solid alpha(#000, 0.15); border-radius: 0px; color: alpha(#000,0.5); background-color: @selection; } .progressbar row:backdrop, .progressbar row:hover:backdrop, .progressbar row:selected:backdrop, .progressbar row:selected:focus:backdrop, .progressbar.vertical row:backdrop, .progressbar.vertical row:hover:backdrop, .progressbar.vertical row:selected:backdrop, .progressbar.vertical row:selected:focus:backdrop { border: 1px solid alpha(#000, 0.15); border-radius: 0px; color: alpha(#000,0.5); background-color: @backdrop_progressbar_background; } .trough row, .trough row:hover, .trough row:selected, .trough row:selected:focus, .trough.vertical row, .trough.vertical row:hover, .trough.vertical row:selected, .trough.vertical row:selected:focus { border: 1px solid alpha(#000, 0.2); border-radius: 0px; color: alpha(#000,0.5); background-color: @trough_background; background-image: linear-gradient(to bottom, @trough_background, shade(@trough_background, 1.05) ); } .trough row:insensitive, .trough row:hover:insensitive, .trough row:selected:insensitive, .trough row:selected:focus:insensitive, .trough.vertical row:insensitive, .trough.vertical row:hover:insensitive, .trough.vertical row:selected:insensitive, .trough.vertical row:selected:focus:insensitive { border: 1px solid alpha(#000, 0.2); border-radius: 0px; color: alpha(#000,0.5); background-color: @insensitive_trough_background; } .trough row:backdrop, .trough row:hover:backdrop, .trough row:selected:backdrop, .trough row:selected:focus:backdrop, .trough.vertical row:backdrop, .trough.vertical row:hover:backdrop, .trough.vertical row:selected:backdrop, .trough.vertical row:selected:focus:backdrop { border: 1px solid alpha(#000, 0.2); border-radius: 0px; color: alpha(#000,0.5); background-color: @backdrop_trough_background; }