From b02f3778a8c1bcd53da44d1fbdf4f42d09aafc3d Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 13 Jul 2016 21:08:21 +0200 Subject: GTK+-3.20 Menta themes: style treeview progressbars fixes https://github.com/mate-desktop/mate-themes/issues/131 --- desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css | 34 +++++++++++++++++++++++ desktop-themes/Menta/gtk-3.0/gtk-widgets.css | 35 ++++++++++++++++++++++++ 2 files changed, 69 insertions(+) (limited to 'desktop-themes') diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css index 64ddf68e..4bbf0c98 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css @@ -870,6 +870,40 @@ row trough, mix(@trough_bg_color_b, @theme_selected_bg_color, 0.25)); } +treeview.view.progressbar { + color: @theme_selected_fg_color; + border: 1px solid @progressbar_border; + border-radius: 4px; + background-image: linear-gradient(to left, + @progressbar_background_a, + @progressbar_background_b); + box-shadow: inset 1px 1px alpha(white, 0.2), inset -1px -1px alpha(white, 0.1); +} + +treeview.view.progressbar:selected { + background-image: linear-gradient(to left, + shade(@progressbar_background_a, 0.8), + shade(@progressbar_background_b, 0.8)); + border-color: shade(@progressbar_border, 0.85); +} + +treeview.view.progressbar:backdrop { + color: @theme_fg_color; + border-color: shade(@sidebar_bg_unfocused, 0.85); + background-color: @sidebar_scrollbar_trough_backdrop; +} + +treeview.view.trough { + background-color: rgba(102, 153, 204, 0.3); + border-radius: 4px; + border: 1px solid rgba(102, 153, 204, 0.6); +} + +treeview.view.trough:selected { + background-color: rgba(102, 153, 204, 0.8); + border: 1px solid rgba(0, 0, 0, 0.3); +} + /**************** * Level Bar * ****************/ diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css index e02d4c44..bd41916d 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css @@ -870,6 +870,41 @@ row trough, mix(@trough_bg_color_b, @theme_selected_bg_color, 0.25)); } +treeview.view.progressbar { + color: @theme_selected_fg_color; + border: 1px solid @progressbar_border; + border-radius: 4px; + background-image: linear-gradient(to left, + @progressbar_background_a, + @progressbar_background_b); + box-shadow: inset 1px 1px alpha(white, 0.2), inset -1px -1px alpha(white, 0.1); +} + +treeview.view.progressbar:selected { + color: @theme_base_color; + background-image: linear-gradient(to left, + shade(@progressbar_background_a, 0.8), + shade(@progressbar_background_b, 0.8)); + border-color: shade(@progressbar_border, 0.85); +} + + treeview.view.progressbar:backdrop { + color: @theme_fg_color; + border-color: shade(@sidebar_bg_unfocused, 0.85); + background-color: @sidebar_scrollbar_trough_backdrop; +} + +treeview.view.trough { + background-color: rgba(172, 205, 138, 0.3); + border-radius: 4px; + border: 1px solid rgba(172, 205, 138, 0.6); +} + +treeview.view.trough:selected { + background-color: rgba(172, 205, 138, 0.8); + border: 1px solid rgba(0, 0, 0, 0.2); +} + /**************** * Level Bar * ****************/ -- cgit v1.2.1