Files
paper-gtk-theme/Paper/gtk-3.0/widgets/spinbutton.css

88 lines
1.9 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/.
*/
/**************
* Spinbutton *
**************/
.spinbutton {
border-radius: 6px;
border: 1px solid @border;
box-shadow: none;
color: @text;
}
.spinbutton:focus {
box-shadow: none;
}
.spinbutton .button {
2014-12-16 21:13:11 -05:00
border-radius: 0px;
2014-12-13 12:48:16 -05:00
background: none;
border: none;
padding: 2px 4px;
color: @foreground;
}
.spinbutton .button:last-child {
2014-12-16 21:13:11 -05:00
border-radius: 0px;
background: none;
border: none;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
padding: 2px 4px;
2014-12-13 12:48:16 -05:00
color: @foreground;
}
2014-12-16 21:13:11 -05:00
/* Buttons */
2014-12-13 12:48:16 -05:00
2014-12-16 21:13:11 -05:00
.spinbutton .button:hover {
border: none;
color: @selection;
2014-12-13 12:48:16 -05:00
background-color: transparent;
}
2014-12-16 21:13:11 -05:00
.spinbutton .button:active {
background-color: @selection;
color: @selection_foreground;
2014-12-13 12:48:16 -05:00
}
2014-12-16 21:13:11 -05:00
.spinbutton .button:insensitive {
background-color: @insensitive_background;
color: @insensitive_text;
2014-12-13 12:48:16 -05:00
}
2014-12-16 21:13:11 -05:00
/* Entry */
.spinbutton.entry {
2014-12-13 12:48:16 -05:00
background-color: @base;
color: @text;
}
2014-12-16 21:13:11 -05:00
.spinbutton.entry:focus {
2014-12-13 12:48:16 -05:00
color: @text;
}
2014-12-16 21:13:11 -05:00
.spinbutton.entry:insensitive {
2014-12-13 12:48:16 -05:00
color: @insensitive_text;
2014-12-16 21:13:11 -05:00
background-color: @insensitive_background;
2014-12-13 12:48:16 -05:00
}
2014-12-16 21:13:11 -05:00
.spinbutton.entry:backdrop {
2014-12-13 12:48:16 -05:00
color: @backdrop_text;
2014-12-16 21:13:11 -05:00
background-color: @backdrop_background;
2014-12-13 12:48:16 -05:00
}