From 65ed3f7a904a3ab4faddcbff88a3c3644e4f6c5e Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 13 Jul 2016 21:27:58 +0200 Subject: GTK+-3.20 submarine themes: style treeview progressbar --- .../Blue-Submarine/gtk-3.0/gtk-widgets.css | 64 +++++++++++++++++++++- 1 file changed, 63 insertions(+), 1 deletion(-) (limited to 'desktop-themes/Blue-Submarine/gtk-3.0') 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 ea8d5c63..67646717 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css @@ -412,6 +412,8 @@ progressbar progress.bottom { border-bottom-left-radius: 3px; } +treeview.view.progressbar, +treeview.view.progressbar:hover, progressbar.horizontal progress { background-image: linear-gradient(to right, alpha (#000, 0.00), @@ -443,6 +445,34 @@ progressbar.horizontal progress { border-bottom-color: shade(@button_border_active, 1.00); } +treeview.view.progressbar:selected, +treeview.view.progressbar:selected:hover { + background-image: linear-gradient(to right, + alpha (#000, 0.00), + alpha (#000, 0.00) 48%, + alpha (#004, 0.12) 48%, + alpha (#004, 0.12) 50%, + alpha (#000, 0.00) 50%, + alpha (#000, 0.00) 98%, + alpha (#004, 0.12) 98%, + alpha (#004, 0.12)), + linear-gradient(to bottom, + alpha (#000, 0.20), + alpha (#000, 0.05) 50%, + alpha (#000, 0.00)), + linear-gradient(to right, + shade(@progressbar_fill_a, 1.29), + shade(@progressbar_fill_b, 1.29)); + background-size: 40px auto, auto, auto; + border-width: 1px; + border-style: solid; + border-radius: 3px; + border-top-color: shade(@button_border_active, 0.80); + border-left-color: shade(@button_border_active, 0.85); + border-right-color: shade(@button_border_active, 0.85); + border-bottom-color: shade(@button_border_active, 1.00); +} + progressbar.vertical progress { background-image: linear-gradient(to top, alpha (#000, 0.00), @@ -474,6 +504,17 @@ progressbar.vertical progress { border-bottom-color: shade(@button_border_active, 0.85); } +treeview.view.progressbar, +treeview.view.progressbar:hover, +notebook treeview.view.progressbar:hover { + color: @theme_selected_fg_color; +} + +treeview.view.progressbar:hover { + color: @theme_fg_color; +} + +treeview.view.trough, progressbar trough { background-image: -gtk-gradient (linear, left top, left bottom, @@ -482,13 +523,34 @@ progressbar trough { to (alpha (#000, 0.04))); border-style: none; border-width: 0px; - border-radius: 2px; + border-radius: 3px; padding: 0 0 1px 0; box-shadow: inset 1px 1px alpha(#000, 0.15), inset -1px -1px alpha(#000, 0.15); text-shadow: none; } +treeview.view.trough:selected, +notebook treeview.view.trough:selected:hover { + background-image: -gtk-gradient(linear, + left top, left bottom, + from (shade(@theme_base_color, 0.80)), + color-stop (0.15, shade(@theme_base_color, 0.90)), + color-stop (0.50, shade(@theme_base_color, 0.92)), + to (shade(@theme_base_color, 0.94))); + border-width: 1px; + border-style: solid; + border-radius: 3px; + border-top-color: shade(@button_border_active, 0.80); + border-left-color: shade(@button_border_active, 0.85); + border-right-color: shade(@button_border_active, 0.85); + border-bottom-color: shade(@button_border_active, 1.00); + padding: 0 0 0px 0; + box-shadow: inset 1px 1px alpha(#000, 0.15), + inset -1px -1px alpha(#000, 0.15); + text-shadow: none; +} + progressbar.vertical trough { background-image: -gtk-gradient (linear, left top, right top, -- cgit v1.2.1