diff options
author | raveit65 <[email protected]> | 2016-05-13 01:08:18 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-05-13 01:08:18 +0200 |
commit | ebd7f7d97a64f00e41385a5cb8029dfc2707367e (patch) | |
tree | 0501da0969f63e13728a6218e970a0cdfbf950ec | |
parent | ac6f1802d3bc8e0812ec57119e10c6c028def583 (diff) | |
download | mate-themes-ebd7f7d97a64f00e41385a5cb8029dfc2707367e.tar.bz2 mate-themes-ebd7f7d97a64f00e41385a5cb8029dfc2707367e.tar.xz |
GTK+-3.20 Submarine themes: fix scrollbar bg in firefox websites
-rw-r--r-- | desktop-themes/Blue-Submarine/gtk-3.0/scrollbar.css | 26 | ||||
-rw-r--r-- | desktop-themes/Green-Submarine/gtk-3.0/scrollbar.css | 22 |
2 files changed, 46 insertions, 2 deletions
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, |