From ebd7f7d97a64f00e41385a5cb8029dfc2707367e Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 13 May 2016 01:08:18 +0200 Subject: GTK+-3.20 Submarine themes: fix scrollbar bg in firefox websites --- .../Green-Submarine/gtk-3.0/scrollbar.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'desktop-themes/Green-Submarine') diff --git a/desktop-themes/Green-Submarine/gtk-3.0/scrollbar.css b/desktop-themes/Green-Submarine/gtk-3.0/scrollbar.css index 0627ecb7..84fc9564 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/scrollbar.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/scrollbar.css @@ -12,6 +12,19 @@ scrollbar { -GtkScrolledWindow-scrollbar-spacing: 0; } +/* broken firefox ignore background of trough */ +scrollbar.horizontal { + background-image: -gtk-gradient (linear, left top, right top, + from (shade (@theme_bg_color, 0.98)), + to (shade (@theme_bg_color, 1.06))); +} + +scrollbar.vertical { + background-image: -gtk-gradient (linear, left top, left bottom, + from (shade (@theme_bg_color, 0.98)), + to (shade (@theme_bg_color, 1.06))); +} + scrollbar.vertical { border-width: 0px 0px 0px 1px; min-width: 10px; @@ -128,6 +141,15 @@ scrollbar .button:disabled { background-color: transparent; } +/* broken firefox */ +scrollbar .button { + background-image: -gtk-gradient (linear, + left top, left bottom, + from (@button_gradient1), + color-stop (0.50, @button_gradient3), + to (@button_gradient4)); +} + scrollbar button:hover, scrollbar button:hover:active, scrollbar .button:hover, -- cgit v1.2.1