From 5137396f515c4a30649d20b5e8799925cfbeefab Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 31 Oct 2014 17:06:50 +0100 Subject: BlackMate GTK3: change button style, normal <---> hover This makes the theme less blinky --- desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 90 ++++++++++++------------ 1 file changed, 45 insertions(+), 45 deletions(-) (limited to 'desktop-themes/BlackMATE/gtk-3.0') diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index b6eee7d5..0452be23 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -678,6 +678,13 @@ GtkNotebook { } .notebook .button { + background-image: linear-gradient(to bottom, + shade(@less_dark_color, 1.3), + shade(@less_dark_color, 0.4)); + border-color: shade(@button_border, 1.4); +} + +.notebook .button:hover { background-image: -gtk-gradient (radial, 0.5 -2.0, 2.0, 0.5 -2.0, 3.0, @@ -690,13 +697,6 @@ GtkNotebook { border-image: url("assets/button-border-dark1.svg") 3 / 3px stretch; } -.notebook .button:hover { - background-image: linear-gradient(to bottom, - shade(@less_dark_color, 1.3), - shade(@less_dark_color, 0.4)); - border-color: shade(@button_border, 1.4); -} - .notebook .button:active, .notebook .button:hover:active { border-image: url("assets/button-active-border-dark1.svg") 3 / 3px stretch; @@ -1118,13 +1118,9 @@ GtkComboBox .menu { text-shadow: 0 -1px black; color: @theme_fg_color; - background-image: -gtk-gradient (radial, - 0.5 -2.0, 2.0, - 0.5 -2.0, 3.0, - from (shade(@button_gradient_color_a, 1.5)), - color-stop (0.42, shade(@button_gradient_color_a, 0.7)), - color-stop (0.43, @theme_bg_color), - to (shade(@button_gradient_color_b, 0.7))); + background-image: linear-gradient(to bottom, + @button_hover_gradient_color_a, + @button_hover_gradient_color_b); } .button.image-button, @@ -1151,9 +1147,13 @@ GtkComboBox .menu { border-image: none; border-style: solid; border-color: shade(@button_border, 1.1); - background-image: linear-gradient(to bottom, - @button_hover_gradient_color_a, - @button_hover_gradient_color_b); + background-image: -gtk-gradient (radial, + 0.5 -2.0, 2.0, + 0.5 -2.0, 3.0, + from (shade(@button_gradient_color_a, 1.5)), + color-stop (0.42, shade(@button_gradient_color_a, 0.7)), + color-stop (0.43, @theme_bg_color), + to (shade(@button_gradient_color_b, 0.7))); } .button:active, @@ -1632,13 +1632,9 @@ GtkMenuButton .menu { .primary-toolbar.toolbar GtkComboBox .button { border-radius: 3px; - background-image: -gtk-gradient (radial, - 0.5 -2.0, 2.0, - 0.5 -2.0, 3.0, - from (shade(@button_gradient_color_a, 1.5)), - color-stop (0.42, shade(@button_gradient_color_a, 0.7)), - color-stop (0.43, @theme_bg_color), - to (shade(@button_gradient_color_b, 0.7))); + background-image: linear-gradient(to bottom, + @button_hover_gradient_color_a, + @button_hover_gradient_color_b); } .toolbar .button:checked:hover, @@ -1655,9 +1651,13 @@ GtkMenuButton .menu { border-image: none; border-style: solid; border-color: shade(@button_border, 1.1); - background-image: linear-gradient(to bottom, - @button_hover_gradient_color_a, - @button_hover_gradient_color_b); + background-image: -gtk-gradient (radial, + 0.5 -2.0, 2.0, + 0.5 -2.0, 3.0, + from (shade(@button_gradient_color_a, 1.5)), + color-stop (0.42, shade(@button_gradient_color_a, 0.7)), + color-stop (0.43, @theme_bg_color), + to (shade(@button_gradient_color_b, 0.7))); } .toolbar .button:checked:insensitive, @@ -2017,13 +2017,9 @@ GtkProgressBar.osd.progressbar { text-shadow: 0 -1px black; color: #D9D9D9; - background-image: -gtk-gradient (radial, - 0.5 -2.0, 2.0, - 0.5 -2.0, 3.0, - from (shade(@button_gradient_color_a, 1.5)), - color-stop (0.42, shade(@button_gradient_color_a, 0.7)), - color-stop (0.43, @theme_bg_color), - to (shade(@button_gradient_color_b, 0.7))); + background-image: linear-gradient(to bottom, + @button_hover_gradient_color_a, + @button_hover_gradient_color_b); } .titlebar .titlebutton:hover, @@ -2032,9 +2028,13 @@ GtkProgressBar.osd.progressbar { border-image: none; border-style: solid; border-color: shade(@button_border, 1.1); - background-image: linear-gradient(to bottom, - @button_hover_gradient_color_a, - @button_hover_gradient_color_b); + background-image: -gtk-gradient (radial, + 0.5 -2.0, 2.0, + 0.5 -2.0, 3.0, + from (shade(@button_gradient_color_a, 1.5)), + color-stop (0.42, shade(@button_gradient_color_a, 0.7)), + color-stop (0.43, @theme_bg_color), + to (shade(@button_gradient_color_b, 0.7))); } .titlebar .titlebutton:active, @@ -2874,6 +2874,14 @@ ContactsWindow .button, NautilusWindow .button, NemoWindow .button { border-image: url("assets/button-border-dark1.svg") 3 / 3px stretch; + background-image: linear-gradient(to bottom, + shade(@less_dark_color, 1.3), + shade(@less_dark_color, 0.4)); +} + +ContactsWindow .button:hover, +NautilusWindow .button:hover, +NemoWindow .button:hover { background-image: -gtk-gradient (radial, 0.5 -2.0, 2.0, 0.5 -2.0, 3.0, @@ -2881,14 +2889,6 @@ NemoWindow .button { color-stop (0.42, shade(@button_gradient_color_a, 0.7)), color-stop (0.43, @theme_bg_color), to (shade(@less_dark_color, 0.4))); -} - -ContactsWindow .button:hover, -NautilusWindow .button:hover, -NemoWindow .button:hover { - background-image: linear-gradient(to bottom, - shade(@less_dark_color, 1.3), - shade(@less_dark_color, 0.4)); } -- cgit v1.2.1