From 5fd9cdfdfcf55d1909397af88ea7d8bdd3b06362 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 15 Sep 2015 16:12:52 +0200 Subject: GTK3 GreenLaguna: fix padding for horzontal spinbuttons if window is focused --- desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'desktop-themes/GreenLaguna') diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css index cc005e9f..34987f20 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css @@ -1328,9 +1328,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; @@ -1338,11 +1346,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; } @@ -1372,7 +1375,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); @@ -1382,7 +1384,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); } @@ -1391,7 +1392,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); -- cgit v1.2.1