summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-05-13 01:08:18 +0200
committerraveit65 <[email protected]>2016-05-13 01:09:03 +0200
commit058a97e40b81b56728cfb6a934186394e3126960 (patch)
tree0501da0969f63e13728a6218e970a0cdfbf950ec
parent200c5e18f5a9f4e46fe6834d866b8c2d6d354ca3 (diff)
downloadmate-themes-058a97e40b81b56728cfb6a934186394e3126960.tar.bz2
mate-themes-058a97e40b81b56728cfb6a934186394e3126960.tar.xz
GTK+-3.20 Submarine themes: fix scrollbar bg in firefox websites
-rw-r--r--desktop-themes/Blue-Submarine/gtk-3.0/scrollbar.css26
-rw-r--r--desktop-themes/Green-Submarine/gtk-3.0/scrollbar.css22
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,