summaryrefslogtreecommitdiff
path: root/desktop-themes
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-09-15 16:12:52 +0200
committerraveit65 <[email protected]>2015-09-15 16:12:52 +0200
commit2d7c9033026e6f8ea63957f8a3a218a8f3147596 (patch)
tree63c74e9d7618ea5a5e7a863bfdba224f8d837743 /desktop-themes
parent2cbc70b05e1ad92f69e6924f0c4de4792bdd696b (diff)
downloadmate-themes-2d7c9033026e6f8ea63957f8a3a218a8f3147596.tar.bz2
mate-themes-2d7c9033026e6f8ea63957f8a3a218a8f3147596.tar.xz
GTK3 GreenLaguna: fix padding for horzontal spinbuttons if window is focused
Diffstat (limited to 'desktop-themes')
-rw-r--r--desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css16
1 files changed, 8 insertions, 8 deletions
diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
index 1f28fe37..be4dcdc3 100644
--- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
@@ -1153,9 +1153,17 @@ GtkFileChooserButton .button {
/*****************
* GtkSpinButton *
*****************/
+
+.spinbutton,
+.spinbutton.vertical {
+ padding: 5px 4px;
+}
+
.spinbutton .button {
color: @internal_element_color;
padding: 2px 6px;
+ background-color: transparent;
+ background-image: none;
border-width: 0;
border-radius: 0;
border-style: none;
@@ -1163,11 +1171,6 @@ GtkFileChooserButton .button {
box-shadow: inset 1px 0 @inset_dark_color;
}
-.spinbutton .button {
- background-color: transparent;
- background-image: none;
-}
-
.spinbutton .button:insensitive {
color: @internal_element_insensitive;
}
@@ -1197,7 +1200,6 @@ GtkFileChooserButton .button {
.spinbutton .button:active:focus,
.spinbutton .button:checked,
.spinbutton .button:checked:focus {
- padding: 2px 4px;
box-shadow: inset 1px 0 @inset_dark_color,
inset 0 1px alpha(@theme_selected_bg_color, 0.2),
inset 0 -1px alpha(@theme_selected_bg_color, 0.2);
@@ -1207,7 +1209,6 @@ GtkFileChooserButton .button {
.spinbutton .button:first-child:active:focus,
.spinbutton .button:first-child:active,
.spinbutton .button:first-child:active:focus {
- padding: 2px 4px;
box-shadow: inset 1px 1px alpha(@theme_selected_bg_color, 0.2),
inset 0 -1px alpha(@theme_selected_bg_color, 0.2);
}
@@ -1216,7 +1217,6 @@ GtkFileChooserButton .button {
.spinbutton .button:last-child:active:focus,
.spinbutton .button:last-child:checked,
.spinbutton .button:last-child:checked:focus {
- padding: 2px 4px;
box-shadow: inset 1px 0 @inset_dark_color,
inset 0 1px alpha(@theme_selected_bg_color, 0.2),
inset -1px -1px alpha(@theme_selected_bg_color, 0.2);