summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-02-16 22:45:33 +0100
committerWolfgang Ulbrich <[email protected]>2016-02-16 22:46:43 +0100
commit8b9026118c55408830369532a4fb165f76777102 (patch)
tree73d2b08490a45df99e8eb1a4df8b35d0d430cf68
parent1bc99c53d7f00e271a6e34b80efca88649456359 (diff)
downloadmate-themes-8b9026118c55408830369532a4fb165f76777102.tar.bz2
mate-themes-8b9026118c55408830369532a4fb165f76777102.tar.xz
GTK+-3.20 Blue-Submarine srollbar: port to 3.20
-rw-r--r--desktop-themes/Blue-Submarine/gtk-3.0/scrollbar.css72
1 files changed, 36 insertions, 36 deletions
diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/scrollbar.css b/desktop-themes/Blue-Submarine/gtk-3.0/scrollbar.css
index 4d4cfa46..88867d19 100644
--- a/desktop-themes/Blue-Submarine/gtk-3.0/scrollbar.css
+++ b/desktop-themes/Blue-Submarine/gtk-3.0/scrollbar.css
@@ -2,7 +2,7 @@
* Scrollbars *
**************/
-.scrollbar {
+scrollbar {
background-image: none;
border-style: solid;
-GtkRange-stepper-size: 16;
@@ -34,8 +34,8 @@
box-shadow: none;
}
-.scrollbar.trough,
-.scrollbar.trough.vertical {
+scrollbar trough,
+scrollbar.vertical trough {
background-image: -gtk-gradient (linear, left top, left bottom,
from (shade (@theme_bg_color, 0.98)),
to (shade (@theme_bg_color, 1.06)));
@@ -49,7 +49,7 @@
box-shadow: none;
}
-.scrollbar.trough.horizontal {
+scrollbar.horizontal trough {
background-image: -gtk-gradient (linear, left top, right top,
from (shade (@theme_bg_color, 0.98)),
to (shade (@theme_bg_color, 1.06)));
@@ -63,7 +63,7 @@
}
/* Sliders and buttons */
-.scrollbar.slider.vertical {
+scrollbar.vertical slider {
background-image: -gtk-gradient (linear, left top, left bottom,
from (shade (@theme_bg_color, 0.95)),
to (shade (@theme_bg_color, 0.8)));
@@ -72,8 +72,8 @@
border-width: 1px;
}
-.scrollbar.slider.vertical:hover,
-.scrollbar.slider.vertical:hover:active {
+scrollbar.vertical slider:hover,
+scrollbar.vertical slider:hover:active {
background-image: -gtk-gradient (linear, left top, left bottom,
from (shade (@theme_bg_color, 0.85)),
to (shade (@theme_bg_color, 0.7)));
@@ -81,7 +81,7 @@
border-width: 0 0 0 0;
}
-.scrollbar.slider.horizontal {
+scrollbar.horizontal slider {
background-image: -gtk-gradient (linear, left top, right top,
from (shade (@theme_bg_color, 0.95)),
to (shade (@theme_bg_color, 0.8)));
@@ -90,8 +90,8 @@
border-width: 1px;
}
-.scrollbar.slider.horizontal:hover,
-.scrollbar.slider.horizontal:hover:active {
+scrollbar.horizontal slider:hover,
+scrollbar.horizontal slider:hover:active {
background-image: -gtk-gradient (linear, left top, right top,
from (shade (@theme_bg_color, 0.85)),
to (shade (@theme_bg_color, 0.7)));
@@ -99,18 +99,18 @@
border-width: 0 0 0 0;
}
-.scrollbar.slider:insensitive {
+scrollbar slider:disabled {
background-color: shade (@theme_bg_color, 0.9);
}
-.scrollbar.trough:insensitive {
+scrollbar trough:disabled {
background-color: shade (@theme_bg_color, 1.06);
}
-.scrollbar.button,
-.scrollbar.button:hover,
-.scrollbar.button:hover:active,
-.scrollbar.button:insensitive {
+scrollbar button,
+scrollbar button:hover,
+scrollbar button:hover:active,
+scrollbar button:disabled {
box-shadow: none;
border-style: none;
border-image: none;
@@ -119,44 +119,44 @@
background-color: transparent;
}
-.scrollbar.button:hover,
-.scrollbar.button:hover:active {
+scrollbar button:hover,
+scrollbar button:hover:active {
background-color: alpha(shade(@scrollbar_trough, 0.8), 0.5);
}
-.scrollbar.button.top:hover {
+scrollbar button.top:hover {
box-shadow: none;
- -gtk-image-effect: highlight;
+/* -gtk-image-effect: highlight; invalid property name in GTK 3.20 */
}
-.scrollbar.button.bottom:hover {
+scrollbar button.bottom:hover {
box-shadow: none;
- -gtk-image-effect: highlight;
+/* -gtk-image-effect: highlight; invalid property name in GTK 3.20 */
}
-.scrollbar.button.right:hover {
+scrollbar button.right:hover {
box-shadow: none;
- -gtk-image-effect: highlight;
+/* -gtk-image-effect: highlight; invalid property name in GTK 3.20 */
}
-.scrollbar.button.left:hover {
+scrollbar button.left:hover {
box-shadow: none;
- -gtk-image-effect: highlight;
+/* -gtk-image-effect: highlight; invalid property name in GTK 3.20 */
}
-.scrollbar.button {
+scrollbar button {
color: @theme_fg_color;
}
-.scrollbar.button:hover {
+scrollbar button:hover {
color: @theme_fg_color;
}
-.scrollbar.button:insensitive {
+scrollbar button:disabled {
color: @insensitive_fg_color;
}
-.scrollbar.slider.fine-tune:prelight:active {
+scrollbar.fine-tune slider:hover:active {
background-image: url("assets/slider_fine_horizontal.svg"),
linear-gradient(to top,
shade(@scrollbar_slider, 0.9),
@@ -170,7 +170,7 @@
border-width: 1px;
}
-.scrollbar.slider.vertical.fine-tune:prelight:active {
+scrollbar.vertical.fine-tune slider:hover:active {
background-image: url("assets/slider_fine_vertical.svg"),
linear-gradient(to left,
shade(@scrollbar_slider, 0.9),
@@ -190,24 +190,24 @@ OsThumb {
}
OsThumb:selected,
-OsScrollbar:selected {
+scrollbar.overlay-indicator:selected {
background-color: @theme_selected_bg_color;
}
OsThumb:active,
-OsScrollbar:active {
+scrollbar.overlay-indicator:active {
background-color: shade (@theme_bg_color, 0.6);
}
-OsThumb:insensitive,
-OsScrollbar:insensitive {
+OsThumb:disabled,
+scrollbar.overlay-indicator:disabled {
background-color: shade (@theme_bg_color, 0.85);
}
/*******************
* scrolled window *
*******************/
-GtkScrolledWindow.frame {
+scrolledwindow.frame {
border-top-color: shade (@theme_bg_color, 0.84);
border-right-color: shade (@theme_bg_color, 0.76);
border-bottom-color: shade (@theme_bg_color, 0.86);