From 5b33d54a844f931b0679a6d06c6ccb820dc7549c Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 4 Apr 2016 14:54:20 +0200 Subject: GTK+-3.20 submarine themes: fix jumping buttons in parole-mediaplayer inline-toolbar --- desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css | 16 ++++++++++------ desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css | 14 +++++++++----- 2 files changed, 19 insertions(+), 11 deletions(-) (limited to 'desktop-themes') diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css index 775e83d5..e72fed7c 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css @@ -2873,7 +2873,7 @@ toolbar.primary-toolbar entry.progressbar { /**************************** * Inline toolbars * **************************** - * Buttons + dialog open * + * Buttons + dialog open * ****************************/ toolbar.inline-toolbar { @@ -2921,6 +2921,7 @@ toolbar.inline-toolbar button:hover:active, toolbar.inline-toolbar button:checked, toolbar.inline-toolbar button:checked:hover, toolbar.inline-toolbar button:checked:hover:active { + border-radius: 0px; background-image: -gtk-gradient (linear, left top, left bottom, from (shade(@button_base, 0.50)), @@ -2935,6 +2936,7 @@ toolbar.inline-toolbar button:checked:hover:active { } toolbar.inline-toolbar button:hover { + padding: 2px 6px; background-image: -gtk-gradient (linear, left top, left bottom, from (shade(@button_base, 1.03)), @@ -2950,26 +2952,28 @@ toolbar.inline-toolbar button:disabled { background-image: none; } -toolbar.inline-toolbar button *:disabled { +toolbar.inline-toolbar button:disabled { color: @insensitive_fg_color; text-shadow: none; -gtk-icon-shadow: none; } -toolbar.inline-toolbar button *:hover { +toolbar.inline-toolbar button:hover { color: @theme_text_color; text-shadow: 0 1px @theme_shadow_color; -gtk-icon-shadow: 1px 1px @theme_shadow_color; } -toolbar.inline-toolbar button *:active, -toolbar.inline-toolbar button *:checked { +toolbar.inline-toolbar button:checked { color: @theme_selected_fg_color; text-shadow: 0 1px @theme_selected_shadow_color; -gtk-icon-shadow: 1px 1px @theme_selected_shadow_color; } -/* Stack switcher */ +/****************** + * Stack switcher * + ******************/ + stackswitcher > button > label, headerbar stackswitcher > button.titlebutton > label, headerbar.titlebar stackswitcher > button.titlebutton > label, diff --git a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css index 6273325b..9f3b4bcd 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css @@ -2873,7 +2873,7 @@ toolbar.primary-toolbar entry.progressbar { /**************************** * Inline toolbars * **************************** - * Buttons + dialog open * + * Buttons + dialog open * ****************************/ toolbar.inline-toolbar { @@ -2921,6 +2921,7 @@ toolbar.inline-toolbar button:hover:active, toolbar.inline-toolbar button:checked, toolbar.inline-toolbar button:checked:hover, toolbar.inline-toolbar button:checked:hover:active { + border-radius: 0px; background-image: -gtk-gradient (linear, left top, left bottom, from (shade(@button_base, 0.50)), @@ -2935,6 +2936,7 @@ toolbar.inline-toolbar button:checked:hover:active { } toolbar.inline-toolbar button:hover { + padding: 2px 6px; background-image: -gtk-gradient (linear, left top, left bottom, from (shade(@button_base, 1.03)), @@ -2956,20 +2958,22 @@ toolbar.inline-toolbar button *:disabled { -gtk-icon-shadow: none; } -toolbar.inline-toolbar button *:hover { +toolbar.inline-toolbar button:hover { color: @theme_text_color; text-shadow: 0 1px @theme_shadow_color; -gtk-icon-shadow: 1px 1px @theme_shadow_color; } -toolbar.inline-toolbar button *:active, -toolbar.inline-toolbar button *:checked { +toolbar.inline-toolbar button:checked { color: @theme_selected_fg_color; text-shadow: 0 1px @theme_selected_shadow_color; -gtk-icon-shadow: 1px 1px @theme_selected_shadow_color; } -/* Stack switcher */ +/****************** + * Stack switcher * + ******************/ + stackswitcher > button > label, headerbar stackswitcher > button.titlebutton > label, headerbar.titlebar stackswitcher > button.titlebutton > label, -- cgit v1.2.1