2015-02-27 17:30:26 -05:00
|
|
|
/* Copyright 2015 Sam Hewitt.
|
2014-12-13 12:48:16 -05:00
|
|
|
*
|
|
|
|
* 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/.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/************
|
|
|
|
* Combobox *
|
|
|
|
************/
|
|
|
|
|
|
|
|
GtkComboBox {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
-GtkComboBox-arrow-scaling: 0.5;
|
|
|
|
-GtkComboBox-shadow-type: none;
|
|
|
|
color: @foreground;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkCombobox *:insensitive {
|
|
|
|
background-color: @insensitive_background;
|
|
|
|
-GtkComboBox-shadow-type: none;
|
|
|
|
background-image: none;
|
|
|
|
color: @insensitive_text;
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkCombobox *:active {
|
|
|
|
background-color: @selection;
|
|
|
|
border: 1px solid @selection;
|
|
|
|
color: @selected_foreground;
|
|
|
|
}
|
|
|
|
|
2014-12-16 21:13:11 -05:00
|
|
|
GtkCombobox *:hover {
|
|
|
|
background-color: @selection;
|
|
|
|
border: 1px solid @selection;
|
|
|
|
color: @selected_foreground;
|
|
|
|
}
|
|
|
|
|
2014-12-13 12:48:16 -05:00
|
|
|
GtkCombobox *:selected {
|
|
|
|
background-color: @selection;
|
|
|
|
border: 1px solid @selection;
|
|
|
|
color: @selected_foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkCombobox *:backdrop {
|
|
|
|
background-color: @backdrop_background;
|
|
|
|
color: @backdrop_text;
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkCombobox *:insensitive:backdrop {
|
|
|
|
color: mix(@backdrop_text, @insensitive_text, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkCombobox *:selected:backdrop {
|
|
|
|
color: @backdrop_selected_foreground;
|
|
|
|
background-color: @backdrop_selected_background
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkComboBox .separator {
|
|
|
|
/* always disable separators */
|
|
|
|
-GtkWidget-wide-separators: true;
|
|
|
|
-GtkWidget-horizontal-separator: 0;
|
|
|
|
-GtkWidget-vertical-separator: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkComboBox .arrow {
|
2014-12-17 21:01:33 -05:00
|
|
|
background: none;
|
2014-12-13 12:48:16 -05:00
|
|
|
border: none;
|
|
|
|
color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-12-16 21:13:11 -05:00
|
|
|
|
2014-12-17 21:01:33 -05:00
|
|
|
/* Images */
|
|
|
|
GtkCombobox:active GtkImage,
|
|
|
|
GtkCombobox:focus GtkImage,
|
|
|
|
GtkCombobox:hover GtkImage {
|
2014-12-13 12:48:16 -05:00
|
|
|
color: @selected_foreground;
|
|
|
|
}
|
|
|
|
|
2014-12-17 21:01:33 -05:00
|
|
|
GtkCombobox:backdrop GtkImage,
|
|
|
|
GtkCombobox:backdrop:hover GtkImage,
|
|
|
|
GtkCombobox:active:backdrop GtkImage {
|
2014-12-13 12:48:16 -05:00
|
|
|
color: @backdrop_text;
|
2014-12-17 21:01:33 -05:00
|
|
|
-gtk-image-effect: dim;
|
2014-12-13 12:48:16 -05:00
|
|
|
}
|
|
|
|
|
2014-12-17 21:01:33 -05:00
|
|
|
GtkCombobox:insensitive GtkImage {
|
|
|
|
color: @insensitive_text;
|
|
|
|
-gtk-image-effect: dim;
|
2014-12-13 12:48:16 -05:00
|
|
|
}
|
|
|
|
|
2014-12-17 21:01:33 -05:00
|
|
|
GtkCombobox:insensitive:backdrop GtkImage {
|
|
|
|
color: mix(@backdrop_text, @insensitive_text, 0.5);
|
|
|
|
-gtk-image-effect: dim;
|
2014-12-13 12:48:16 -05:00
|
|
|
}
|
|
|
|
|
2014-12-17 21:01:33 -05:00
|
|
|
/* Labels */
|
|
|
|
GtkCombobox:active GtkLabel,
|
|
|
|
GtkCombobox:focus GtkLabel,
|
|
|
|
GtkCombobox:hover GtkLabel {
|
|
|
|
color: @selected_foreground;
|
2014-12-13 12:48:16 -05:00
|
|
|
}
|
|
|
|
|
2014-12-17 21:01:33 -05:00
|
|
|
GtkCombobox:backdrop GtkLabel,
|
|
|
|
GtkCombobox:backdrop:hover GtkLabel,
|
|
|
|
GtkCombobox:active:backdrop GtkLabel {
|
|
|
|
color: @backdrop_text;
|
2014-12-13 12:48:16 -05:00
|
|
|
}
|
|
|
|
|
2014-12-17 21:01:33 -05:00
|
|
|
GtkCombobox:insensitive GtkLabel {
|
|
|
|
color: @insensitive_text;
|
2014-12-13 12:48:16 -05:00
|
|
|
}
|
|
|
|
|
2014-12-17 21:01:33 -05:00
|
|
|
GtkCombobox:insensitive:backdrop GtkLabel {
|
|
|
|
color: mix(@backdrop_text, @insensitive_text, 0.5);
|
2014-12-13 12:48:16 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-12-17 21:01:33 -05:00
|
|
|
/******************
|
|
|
|
* Combobox Entry *
|
|
|
|
******************/
|
2014-12-13 12:48:16 -05:00
|
|
|
|
|
|
|
/* Button */
|
2014-12-17 21:01:33 -05:00
|
|
|
GtkComboBox.combobox-entry .button {
|
2014-12-13 12:48:16 -05:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2014-12-17 21:01:33 -05:00
|
|
|
GtkComboBox.combobox-entry .button:first-child {
|
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
border-right-width: 0;
|
2014-12-13 12:48:16 -05:00
|
|
|
}
|
|
|
|
|
2014-12-17 21:01:33 -05:00
|
|
|
GtkComboBox.combobox-entry .button:last-child {
|
|
|
|
border-radius: 0 4px 4px 0;
|
2014-12-13 12:48:16 -05:00
|
|
|
}
|
|
|
|
|
2014-12-17 21:01:33 -05:00
|
|
|
/* Entry */
|
|
|
|
GtkComboBox.combobox-entry .entry {
|
2014-12-13 12:48:16 -05:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2014-12-17 21:01:33 -05:00
|
|
|
GtkComboBox.combobox-entry .entry:first-child {
|
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
border-right-width: 0;
|
2014-12-13 12:48:16 -05:00
|
|
|
}
|
|
|
|
|
2014-12-17 21:01:33 -05:00
|
|
|
GtkComboBox.combobox-entry .entry:last-child {
|
|
|
|
border-radius: 0 4px 4px 0;
|
2014-12-18 20:31:20 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Images */
|
|
|
|
GtkCombobox GtkImage {
|
|
|
|
color: @text;
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkCombobox:active GtkImage,
|
|
|
|
GtkCombobox:focus GtkImage,
|
|
|
|
GtkCombobox:hover GtkImage {
|
|
|
|
color: @selected_foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkCombobox:backdrop GtkImage,
|
|
|
|
GtkCombobox:backdrop:hover GtkImage,
|
|
|
|
GtkCombobox:active:backdrop GtkImage {
|
|
|
|
color: @backdrop_text;
|
|
|
|
-gtk-image-effect: dim;
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkCombobox:insensitive GtkImage {
|
|
|
|
color: @insensitive_text;
|
|
|
|
-gtk-image-effect: dim;
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkCombobox:insensitive:backdrop GtkImage {
|
|
|
|
color: mix(@backdrop_text, @insensitive_text, 0.5);
|
|
|
|
-gtk-image-effect: dim;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Labels */
|
|
|
|
GtkCombobox GtkLabel {
|
|
|
|
color: @text;
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkCombobox:active GtkLabel,
|
|
|
|
GtkCombobox:focus GtkLabel,
|
|
|
|
GtkCombobox:hover GtkLabel {
|
|
|
|
color: @selected_foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkCombobox:backdrop GtkLabel,
|
|
|
|
GtkCombobox:backdrop:hover GtkLabel,
|
|
|
|
GtkCombobox:active:backdrop GtkLabel {
|
|
|
|
color: @backdrop_text;
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkCombobox:insensitive GtkLabel {
|
|
|
|
color: @insensitive_text;
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkCombobox:insensitive:backdrop GtkLabel {
|
|
|
|
color: mix(@backdrop_text, @insensitive_text, 0.5);
|
2014-12-13 12:48:16 -05:00
|
|
|
}
|