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 --- .../Blue-Submarine/gtk-3.0/scrollbar.css | 26 ++++++++++++++++++++-- .../Green-Submarine/gtk-3.0/scrollbar.css | 22 ++++++++++++++++++ 2 files changed, 46 insertions(+), 2 deletions(-) (limited to 'desktop-themes') diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/scrollbar.css b/desktop-themes/Blue-Submarine/gtk-3.0/scrollbar.css index 0627ecb7..a90f6d70 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/scrollbar.css +++ b/desktop-themes/Blue-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; @@ -62,7 +75,7 @@ scrollbar.vertical .slider { scrollbar.vertical slider:hover, scrollbar.vertical slider:hover:active, -scrollbar.vertical .slider:hover, +scrollbar.vertical .slider:hover, /* broken firefox */ scrollbar.vertical .slider:hover:active { background-image: -gtk-gradient (linear, left top, left bottom, from (shade (@theme_bg_color, 0.7)), @@ -117,7 +130,7 @@ scrollbar button, scrollbar button:hover, scrollbar button:hover:active, scrollbar button:disabled, -scrollbar .button, +scrollbar .button, /* broken firefox */ scrollbar .button:hover, scrollbar .button:hover:active, scrollbar .button:disabled { @@ -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, 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