From 23d1161e9abd263e6c03c7b9adc101035bd4d32e Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 15 May 2015 18:01:43 +0200 Subject: Traditional themes GTK3: remove color-stop from list-row button backgrounds --> - adjust .frame background color --- .../TraditionalGreen/gtk-3.0/gtk-widgets.css | 23 +++++++++------------- .../TraditionalOk/gtk-3.0/gtk-widgets.css | 23 +++++++++------------- .../TraditionalOkTest/gtk-3.0/gtk-widgets.css | 23 +++++++++------------- 3 files changed, 27 insertions(+), 42 deletions(-) diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css index d44aed0d..dbff8c98 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css @@ -636,7 +636,7 @@ GtkScale.mark { border-color: @border_color; border-style: solid; border-radius: 3px; - background-color: @theme_bg_color; + background-color: @notebook_bg_color; padding: 0; } @@ -887,8 +887,6 @@ GtkColorChooserWidget #add-color-button { left top, left bottom, from (@button_gradient_a), - color-stop (0.50, @button_gradient_b), - color-stop (0.50, @button_gradient_c), to (@button_gradient_d)); background-color: transparent; } @@ -925,17 +923,6 @@ GtkColorChooserWidget #add-color-button { background-color: transparent; } -GtkListBoxRow.button.list-row:hover { - background-image: linear-gradient(to bottom, - shade(@button_active_gradient_a, 1.20), - shade(@button_active_gradient_b, 1.20) 3px, - shade(@button_active_gradient_c, 1.20) 4px, - shade(@button_active_gradient_d, 1.20) 50%, - shade(@button_active_gradient_e, 1.20) 50%, - shade(@button_active_gradient_f, 1.20)); - background-color: transparent; -} - GtkListBoxRow.button.list-row { color: @theme_text_color; background-color: @theme_base_color; @@ -943,6 +930,14 @@ GtkListBoxRow.button.list-row { border: none; } +GtkListBoxRow.button.list-row:hover { + background-image: linear-gradient(to bottom, + @button_hover_gradient_a 5%, + @button_hover_gradient_b 95%, + @button_hover_gradient_c); + background-color: transparent; +} + GtkListBoxRow.button.list-row:selected { color: @theme_selected_fg_color; border-style: solid; diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css index b426c72d..2805dca3 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css @@ -636,7 +636,7 @@ GtkScale.mark { border-color: @border_color; border-style: solid; border-radius: 3px; - background-color: @theme_bg_color; + background-color: @notebook_bg_color; padding: 0; } @@ -886,8 +886,6 @@ GtkColorChooserWidget #add-color-button { left top, left bottom, from (@button_gradient_a), - color-stop (0.50, @button_gradient_b), - color-stop (0.50, @button_gradient_c), to (@button_gradient_d)); background-color: transparent; } @@ -924,17 +922,6 @@ GtkColorChooserWidget #add-color-button { background-color: transparent; } -GtkListBoxRow.button.list-row:hover { - background-image: linear-gradient(to bottom, - shade(@button_active_gradient_a, 1.20), - shade(@button_active_gradient_b, 1.20) 3px, - shade(@button_active_gradient_c, 1.20) 4px, - shade(@button_active_gradient_d, 1.20) 50%, - shade(@button_active_gradient_e, 1.20) 50%, - shade(@button_active_gradient_f, 1.20)); - background-color: transparent; -} - GtkListBoxRow.button.list-row { color: @theme_text_color; background-color: @theme_base_color; @@ -942,6 +929,14 @@ GtkListBoxRow.button.list-row { border: none; } +GtkListBoxRow.button.list-row:hover { + background-image: linear-gradient(to bottom, + @button_hover_gradient_a 5%, + @button_hover_gradient_b 95%, + @button_hover_gradient_c); + background-color: transparent; +} + GtkListBoxRow.button.list-row:selected { color: @theme_selected_fg_color; border-style: solid; diff --git a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css index 3872178e..57433356 100644 --- a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css @@ -636,7 +636,7 @@ GtkScale.mark { border-color: @border_color; border-style: solid; border-radius: 3px; - background-color: @theme_bg_color; + background-color: @notebook_bg_color; padding: 0; } @@ -886,8 +886,6 @@ GtkColorChooserWidget #add-color-button { left top, left bottom, from (@button_gradient_a), - color-stop (0.50, @button_gradient_b), - color-stop (0.50, @button_gradient_c), to (@button_gradient_d)); background-color: transparent; } @@ -924,17 +922,6 @@ GtkColorChooserWidget #add-color-button { background-color: transparent; } -GtkListBoxRow.button.list-row:hover { - background-image: linear-gradient(to bottom, - shade(@button_active_gradient_a, 1.20), - shade(@button_active_gradient_b, 1.20) 3px, - shade(@button_active_gradient_c, 1.20) 4px, - shade(@button_active_gradient_d, 1.20) 50%, - shade(@button_active_gradient_e, 1.20) 50%, - shade(@button_active_gradient_f, 1.20)); - background-color: transparent; -} - GtkListBoxRow.button.list-row { color: @theme_text_color; background-color: @theme_base_color; @@ -942,6 +929,14 @@ GtkListBoxRow.button.list-row { border: none; } +GtkListBoxRow.button.list-row:hover { + background-image: linear-gradient(to bottom, + @button_hover_gradient_a 5%, + @button_hover_gradient_b 95%, + @button_hover_gradient_c); + background-color: transparent; +} + GtkListBoxRow.button.list-row:selected { color: @theme_selected_fg_color; border-style: solid; -- cgit v1.2.1