Adwaita: scale marks visible on the dark variant
authorLapo Calamandrei <calamandrei@gmail.com>
Tue, 23 Jun 2015 17:11:15 +0000 (19:11 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Tue, 23 Jun 2015 17:11:15 +0000 (19:11 +0200)
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index e3571713cdba70f33bd5929f9f25bc3aa242efc4..a31f712047e32947e53f8362425fa83dd5ad3a11 100644 (file)
@@ -2326,6 +2326,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
       -GtkRange-slider-width: 24;
       -GtkRange-trough-border: 2;
 
+      color: transparentize($fg_color, 0.7); // marks color
+
       @extend %#{$we}_#{$dn};
 
       @each $s,$as in ('',''),
index 84df56b4cb64425e5be2342001bc01286b6d91d2..4ad0c9160f2028b7a51232b0b77c9c9a0edb3d62 100644 (file)
@@ -3099,7 +3099,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
 .scale.scale-has-marks-below {
   -GtkScale-slider-length: 20;
   -GtkRange-slider-width: 24;
-  -GtkRange-trough-border: 2; }
+  -GtkRange-trough-border: 2;
+  color: rgba(238, 238, 236, 0.3); }
   .scale.scale-has-marks-below.slider {
     border-style: none;
     border-radius: 0;
@@ -3152,7 +3153,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
 .scale.scale-has-marks-above {
   -GtkScale-slider-length: 20;
   -GtkRange-slider-width: 24;
-  -GtkRange-trough-border: 2; }
+  -GtkRange-trough-border: 2;
+  color: rgba(238, 238, 236, 0.3); }
   .scale.scale-has-marks-above.slider {
     border-style: none;
     border-radius: 0;
@@ -3205,7 +3207,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
 .scale.vertical.scale-has-marks-below {
   -GtkScale-slider-length: 20;
   -GtkRange-slider-width: 24;
-  -GtkRange-trough-border: 2; }
+  -GtkRange-trough-border: 2;
+  color: rgba(238, 238, 236, 0.3); }
   .scale.vertical.scale-has-marks-below.slider {
     border-style: none;
     border-radius: 0;
@@ -3258,7 +3261,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
 .scale.vertical.scale-has-marks-above {
   -GtkScale-slider-length: 20;
   -GtkRange-slider-width: 24;
-  -GtkRange-trough-border: 2; }
+  -GtkRange-trough-border: 2;
+  color: rgba(238, 238, 236, 0.3); }
   .scale.vertical.scale-has-marks-above.slider {
     border-style: none;
     border-radius: 0;
index 1afb73067a2f65f8a76b4781d6beb522a18a3b2c..e3b8e2ed0690869e9f634c45140fd3c54561d2e4 100644 (file)
@@ -3261,7 +3261,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
 .scale.scale-has-marks-below {
   -GtkScale-slider-length: 20;
   -GtkRange-slider-width: 24;
-  -GtkRange-trough-border: 2; }
+  -GtkRange-trough-border: 2;
+  color: rgba(46, 52, 54, 0.3); }
   .scale.scale-has-marks-below.slider {
     border-style: none;
     border-radius: 0;
@@ -3314,7 +3315,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
 .scale.scale-has-marks-above {
   -GtkScale-slider-length: 20;
   -GtkRange-slider-width: 24;
-  -GtkRange-trough-border: 2; }
+  -GtkRange-trough-border: 2;
+  color: rgba(46, 52, 54, 0.3); }
   .scale.scale-has-marks-above.slider {
     border-style: none;
     border-radius: 0;
@@ -3367,7 +3369,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
 .scale.vertical.scale-has-marks-below {
   -GtkScale-slider-length: 20;
   -GtkRange-slider-width: 24;
-  -GtkRange-trough-border: 2; }
+  -GtkRange-trough-border: 2;
+  color: rgba(46, 52, 54, 0.3); }
   .scale.vertical.scale-has-marks-below.slider {
     border-style: none;
     border-radius: 0;
@@ -3420,7 +3423,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
 .scale.vertical.scale-has-marks-above {
   -GtkScale-slider-length: 20;
   -GtkRange-slider-width: 24;
-  -GtkRange-trough-border: 2; }
+  -GtkRange-trough-border: 2;
+  color: rgba(46, 52, 54, 0.3); }
   .scale.vertical.scale-has-marks-above.slider {
     border-style: none;
     border-radius: 0;