Adwaita: use currentColor for scale marks.

So it should work ok when used in selected items.
This commit is contained in:
Lapo Calamandrei 2015-09-01 18:52:20 +02:00
parent 30ac073dd4
commit a9fd764b77
3 changed files with 9 additions and 9 deletions

View File

@ -2336,7 +2336,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
-GtkRange-slider-width: 24;
-GtkRange-trough-border: 2;
color: transparentize($fg_color, 0.7); // marks color
color: gtkalpha(currentColor, 0.5); // marks color
@extend %#{$we}_#{$dn};

View File

@ -3079,7 +3079,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
-GtkScale-slider-length: 20;
-GtkRange-slider-width: 24;
-GtkRange-trough-border: 2;
color: rgba(238, 238, 236, 0.3); }
color: alpha(currentColor,0.5); }
.scale.scale-has-marks-below.slider {
border-style: none;
border-radius: 0;
@ -3133,7 +3133,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
-GtkScale-slider-length: 20;
-GtkRange-slider-width: 24;
-GtkRange-trough-border: 2;
color: rgba(238, 238, 236, 0.3); }
color: alpha(currentColor,0.5); }
.scale.scale-has-marks-above.slider {
border-style: none;
border-radius: 0;
@ -3187,7 +3187,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
-GtkScale-slider-length: 20;
-GtkRange-slider-width: 24;
-GtkRange-trough-border: 2;
color: rgba(238, 238, 236, 0.3); }
color: alpha(currentColor,0.5); }
.scale.vertical.scale-has-marks-below.slider {
border-style: none;
border-radius: 0;
@ -3241,7 +3241,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
-GtkScale-slider-length: 20;
-GtkRange-slider-width: 24;
-GtkRange-trough-border: 2;
color: rgba(238, 238, 236, 0.3); }
color: alpha(currentColor,0.5); }
.scale.vertical.scale-has-marks-above.slider {
border-style: none;
border-radius: 0;

View File

@ -3241,7 +3241,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
-GtkScale-slider-length: 20;
-GtkRange-slider-width: 24;
-GtkRange-trough-border: 2;
color: rgba(46, 52, 54, 0.3); }
color: alpha(currentColor,0.5); }
.scale.scale-has-marks-below.slider {
border-style: none;
border-radius: 0;
@ -3295,7 +3295,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
-GtkScale-slider-length: 20;
-GtkRange-slider-width: 24;
-GtkRange-trough-border: 2;
color: rgba(46, 52, 54, 0.3); }
color: alpha(currentColor,0.5); }
.scale.scale-has-marks-above.slider {
border-style: none;
border-radius: 0;
@ -3349,7 +3349,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
-GtkScale-slider-length: 20;
-GtkRange-slider-width: 24;
-GtkRange-trough-border: 2;
color: rgba(46, 52, 54, 0.3); }
color: alpha(currentColor,0.5); }
.scale.vertical.scale-has-marks-below.slider {
border-style: none;
border-radius: 0;
@ -3403,7 +3403,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
-GtkScale-slider-length: 20;
-GtkRange-slider-width: 24;
-GtkRange-trough-border: 2;
color: rgba(46, 52, 54, 0.3); }
color: alpha(currentColor,0.5); }
.scale.vertical.scale-has-marks-above.slider {
border-style: none;
border-radius: 0;