From f39fd4680eb393f3cc51d653fa9273627e9d4b38 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 21 Apr 2015 15:26:29 +0200 Subject: Menta themes GTK3: style GtkStack column-header - ie. yumex-dnf --- desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-backgrounds.css | 11 +++++++++-- desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-borders.css | 10 ++++++++++ desktop-themes/Menta/gtk-3.0/gtk-widgets-backgrounds.css | 11 +++++++++-- desktop-themes/Menta/gtk-3.0/gtk-widgets-borders.css | 10 ++++++++++ 4 files changed, 38 insertions(+), 4 deletions(-) (limited to 'desktop-themes') diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-backgrounds.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-backgrounds.css index 8cf81e04..883dddfe 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-backgrounds.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-backgrounds.css @@ -167,12 +167,19 @@ column-header .button { box-shadow: inset 0 2px 0 0 alpha(@borders, 0.3); } +/* ie. yumex-dnf */ +GtkStack column-header .button { + background-image: linear-gradient(to bottom, + shade(@theme_bg_color, 1.18), + shade(@theme_bg_color, 1.1)); +} + column-header.button:hover, column-header .button:hover { background-image: linear-gradient(to bottom, shade(@entry_background_a, 0.96), @entry_background_b); - box-shadow: inset 0 2px 0 0 alpha(@theme_selected_bg_color, 0.3); + box-shadow: inset 0 2px 0 0 alpha(@theme_selected_bg_color, 0.7); } column-header.button:focus, @@ -189,7 +196,7 @@ column-header .button:active:hover { shade(@entry_background_a, 0.92), @entry_background_b); background-color: transparent; - box-shadow: inset 0 2px 0 0 alpha(@theme_selected_bg_color, 0.5); + box-shadow: inset 0 2px 0 0 alpha(@theme_selected_bg_color, 1.0); border-image: none; } diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-borders.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-borders.css index 586f00eb..c33b9a79 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-borders.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-borders.css @@ -277,6 +277,16 @@ column-header .button.dnd { shade(@borders, 1.0)) 0 1 1 0; } +/* ie. yumex-dnf */ +GtkStack column-header .button { + border-width: 0px 1px 1px 0px; + border-color: transparent; + border-style: solid; + border-image: linear-gradient(to bottom, + alpha(@borders, 0.0), + shade(@borders, 1.0)) 0 1 1 0; +} + column-header.button:insensitive, column-header .button:insensitive { border-image: linear-gradient(to top, diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets-backgrounds.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets-backgrounds.css index 8cf81e04..883dddfe 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets-backgrounds.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets-backgrounds.css @@ -167,12 +167,19 @@ column-header .button { box-shadow: inset 0 2px 0 0 alpha(@borders, 0.3); } +/* ie. yumex-dnf */ +GtkStack column-header .button { + background-image: linear-gradient(to bottom, + shade(@theme_bg_color, 1.18), + shade(@theme_bg_color, 1.1)); +} + column-header.button:hover, column-header .button:hover { background-image: linear-gradient(to bottom, shade(@entry_background_a, 0.96), @entry_background_b); - box-shadow: inset 0 2px 0 0 alpha(@theme_selected_bg_color, 0.3); + box-shadow: inset 0 2px 0 0 alpha(@theme_selected_bg_color, 0.7); } column-header.button:focus, @@ -189,7 +196,7 @@ column-header .button:active:hover { shade(@entry_background_a, 0.92), @entry_background_b); background-color: transparent; - box-shadow: inset 0 2px 0 0 alpha(@theme_selected_bg_color, 0.5); + box-shadow: inset 0 2px 0 0 alpha(@theme_selected_bg_color, 1.0); border-image: none; } diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets-borders.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets-borders.css index 586f00eb..c33b9a79 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets-borders.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets-borders.css @@ -277,6 +277,16 @@ column-header .button.dnd { shade(@borders, 1.0)) 0 1 1 0; } +/* ie. yumex-dnf */ +GtkStack column-header .button { + border-width: 0px 1px 1px 0px; + border-color: transparent; + border-style: solid; + border-image: linear-gradient(to bottom, + alpha(@borders, 0.0), + shade(@borders, 1.0)) 0 1 1 0; +} + column-header.button:insensitive, column-header .button:insensitive { border-image: linear-gradient(to top, -- cgit v1.2.1