summaryrefslogtreecommitdiff
path: root/desktop-themes/Menta
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-03-07 21:45:38 +0100
committerraveit65 <[email protected]>2016-03-07 21:46:00 +0100
commit6788e33b3db01043f17c3c25a102d9f0760ead0f (patch)
tree884f1e7202a9d92c310fa9972fc1b328ba50693d /desktop-themes/Menta
parent1bbebefff0a32c9e0d08835093cc3fc9dd396587 (diff)
downloadmate-themes-6788e33b3db01043f17c3c25a102d9f0760ead0f.tar.bz2
mate-themes-6788e33b3db01043f17c3c25a102d9f0760ead0f.tar.xz
Gtk+-3.20 Menta themes: improve scale-has-marks
Diffstat (limited to 'desktop-themes/Menta')
-rw-r--r--desktop-themes/Menta/gtk-3.0/gtk-widgets-assets.css13
-rw-r--r--desktop-themes/Menta/gtk-3.0/gtk-widgets.css16
2 files changed, 26 insertions, 3 deletions
diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets-assets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets-assets.css
index 216b35be..4718658f 100644
--- a/desktop-themes/Menta/gtk-3.0/gtk-widgets-assets.css
+++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets-assets.css
@@ -194,22 +194,28 @@ scale slider:disabled:hover {
background-repeat: no-repeat;
}
+scale.horizontal.scale-has-marks-above.color slider,
scale.horizontal.scale-has-marks-above slider {
background-image: url("assets/scale-slider-marks-above-horizontal.png");
background-repeat: no-repeat;
}
+scale.horizontal.scale-has-marks-above.color slider:hover,
scale.horizontal.scale-has-marks-above slider:hover {
background-image: url("assets/scale-slider-marks-above-horizontal-active.png");
background-repeat: no-repeat;
}
+scale.horizontal.scale-has-marks-above.color slider:active,
+scale.horizontal.scale-has-marks-above.color slider:active:hover,
+scale.horizontal.scale-has-marks-above slider:active,
scale.horizontal.scale-has-marks-above slider:active:hover {
background-image: url("assets/scale-slider-marks-above-horizontal-active.png");
background-repeat: no-repeat;
}
-scale.horizontal.scale-has-marks-above slider:disabled:hover {
+scale.horizontal.scale-has-marks-above.color slider:disabled,
+scale.horizontal.scale-has-marks-above slider:disabled {
background-image: url("assets/scale-slider-marks-above-horizontal-insensitive.png");
background-repeat: no-repeat;
}
@@ -236,22 +242,27 @@ scale.vertical.scale-has-marks-above slider:disabled:hover {
background-repeat: no-repeat;
}
+scale.horizontal contents:first-child:not(:only-child) slider,
scale.horizontal.scale-has-marks-below slider {
background-image: url("assets/scale-slider-marks-below-horizontal.png");
background-repeat: no-repeat;
}
+scale.horizontal contents:first-child:not(:only-child) slider:hover,
scale.horizontal.scale-has-marks-below slider:hover {
background-image: url("assets/scale-slider-marks-below-horizontal-active.png");
background-repeat: no-repeat;
}
+scale.horizontal contents:first-child:not(:only-child) slider:hover,
+scale.horizontal contents:first-child:not(:only-child) slider:active:hover,
scale.horizontal.scale-has-marks-below slider:active,
scale.horizontal.scale-has-marks-below slider:active:hover {
background-image: url("assets/scale-slider-marks-below-horizontal-active.png");
background-repeat: no-repeat;
}
+scale.horizontal contents:first-child:not(:only-child) slider:disabled,
scale.horizontal.scale-has-marks-below slider:disabled:hover {
background-image: url("assets/scale-slider-marks-below-horizontal-active.png");
background-repeat: no-repeat;
diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
index d3d06122..7030436c 100644
--- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
@@ -1070,8 +1070,9 @@ scale.horizontal.scale-has-marks-above.color trough {
}
scale.horizontal.scale-has-marks-above.color slider {
- min-height: 10px;
- margin: 0px 0px -5px 0px;
+ min-height: 18px;
+ min-width: 24px;
+ margin: 0px 0px -5px 0px;
padding: 9px 0px;
}
@@ -1080,6 +1081,17 @@ scale.vertical.scale-has-marks-below.color trough {
padding: 3px;
}
+scale.vertical.scale-has-marks-below.color slider {
+ min-width: 22px;
+ padding: 3px;
+}
+
+scale.horizontal contents:first-child:not(:only-child) slider {
+ background-repeat: no-repeat;
+ min-height: 22px;
+ background-size: 100%;
+}
+
scale.vertical.scale-has-marks-below.color slider:hover,
scale.horizontal.scale-has-marks-above.color slider:hover {
background-size: 105%;