From 315c3f206f81c18de163ada8c9eda13e6bb0f787 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 1 Mar 2016 22:37:38 +0100 Subject: Clean up scale sliders inside notebooks --- desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 62 ++++++++++++++++++------ 1 file changed, 48 insertions(+), 14 deletions(-) (limited to 'desktop-themes') diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index f512b9d4..0ad5ec4c 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -905,27 +905,46 @@ notebook GtkScale.trough { shade(@less_dark_color, 0.5), shade(@less_dark_color, 1.7)); border-width: 0px; + border-radius: 2px; + margin-left: 8px; + margin-right: 8px; } notebook GtkScale.trough.vertical { background-image: linear-gradient(to right, - shade(@less_dark_color, 0.5), - shade(@less_dark_color, 1.7)); + @less_dark_color, + @less_dark_color 35%, + shade(@less_dark_color, 0.5)35%, + shade(@less_dark_color, 1.7)65%, + @less_dark_color 65%, + @less_dark_color); + border-width: 0px; + margin-top: 8px; + margin-bottom: 8px; } -notebook GtkScale.trough:disabled { +notebook.horizontal scale trough:disabled { background-image: linear-gradient(to bottom, - shade(@less_dark_color, 0.85), - shade(@less_dark_color, 1.4)); + @less_dark_color, + @less_dark_color 35%, + shade(@less_dark_color, 0.85)35%, + shade(@less_dark_color, 1.4)65%, + @less_dark_color 65%, + @less_dark_color); + } -notebook GtkScale.trough.vertical:disabled { - background-image: linear-gradient(to right, - shade(@less_dark_color, 0.85), - shade(@less_dark_color, 1.4)); +notebook.vertical scale trough:disabled { + background-image: linear-gradient(to right, + @less_dark_color, + @less_dark_color 35%, + shade(@less_dark_color, 0.85)35%, + shade(@less_dark_color, 1.4)65%, + @less_dark_color 65%, + @less_dark_color); } -notebook progressbar.trough { +notebook progressbar trough { background-image: linear-gradient(to bottom, shade(@less_dark_color, 0.4), @less_dark_color 50%, @@ -1158,14 +1177,29 @@ scale.highlight.vertical trough { scale:disabled trough { background-image: linear-gradient(to bottom, - shade(@theme_bg_color, 0.85), - shade(@theme_bg_color, 1.4)); + transparent, + transparent 35%, + @link_color 35%, + @link_color 65%, + transparent 65%, + transparent); + border-color: @progressbar_border; + background-color: transparent; } scale.vertical:disabled trough { background-image: linear-gradient(to right, - shade(@theme_bg_color, 0.85), - shade(@theme_bg_color, 1.4)); + transparent, + transparent 35%, + @link_color 35%, + @link_color 65%, + transparent 65%, + transparent); + border-color: @progressbar_border; + background-color: transparent; +} +scale:disabled highlight { + background-color:transparent; } scale progressbar { -- cgit v1.2.1