mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 17:30:10 +00:00
Adwaita: use currentColor for scale marks.
So it should work ok when used in selected items.
This commit is contained in:
parent
30ac073dd4
commit
a9fd764b77
@ -2336,7 +2336,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
|
|||||||
-GtkRange-slider-width: 24;
|
-GtkRange-slider-width: 24;
|
||||||
-GtkRange-trough-border: 2;
|
-GtkRange-trough-border: 2;
|
||||||
|
|
||||||
color: transparentize($fg_color, 0.7); // marks color
|
color: gtkalpha(currentColor, 0.5); // marks color
|
||||||
|
|
||||||
@extend %#{$we}_#{$dn};
|
@extend %#{$we}_#{$dn};
|
||||||
|
|
||||||
|
@ -3079,7 +3079,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
|
|||||||
-GtkScale-slider-length: 20;
|
-GtkScale-slider-length: 20;
|
||||||
-GtkRange-slider-width: 24;
|
-GtkRange-slider-width: 24;
|
||||||
-GtkRange-trough-border: 2;
|
-GtkRange-trough-border: 2;
|
||||||
color: rgba(238, 238, 236, 0.3); }
|
color: alpha(currentColor,0.5); }
|
||||||
.scale.scale-has-marks-below.slider {
|
.scale.scale-has-marks-below.slider {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
@ -3133,7 +3133,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
|
|||||||
-GtkScale-slider-length: 20;
|
-GtkScale-slider-length: 20;
|
||||||
-GtkRange-slider-width: 24;
|
-GtkRange-slider-width: 24;
|
||||||
-GtkRange-trough-border: 2;
|
-GtkRange-trough-border: 2;
|
||||||
color: rgba(238, 238, 236, 0.3); }
|
color: alpha(currentColor,0.5); }
|
||||||
.scale.scale-has-marks-above.slider {
|
.scale.scale-has-marks-above.slider {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
@ -3187,7 +3187,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
|
|||||||
-GtkScale-slider-length: 20;
|
-GtkScale-slider-length: 20;
|
||||||
-GtkRange-slider-width: 24;
|
-GtkRange-slider-width: 24;
|
||||||
-GtkRange-trough-border: 2;
|
-GtkRange-trough-border: 2;
|
||||||
color: rgba(238, 238, 236, 0.3); }
|
color: alpha(currentColor,0.5); }
|
||||||
.scale.vertical.scale-has-marks-below.slider {
|
.scale.vertical.scale-has-marks-below.slider {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
@ -3241,7 +3241,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
|
|||||||
-GtkScale-slider-length: 20;
|
-GtkScale-slider-length: 20;
|
||||||
-GtkRange-slider-width: 24;
|
-GtkRange-slider-width: 24;
|
||||||
-GtkRange-trough-border: 2;
|
-GtkRange-trough-border: 2;
|
||||||
color: rgba(238, 238, 236, 0.3); }
|
color: alpha(currentColor,0.5); }
|
||||||
.scale.vertical.scale-has-marks-above.slider {
|
.scale.vertical.scale-has-marks-above.slider {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
@ -3241,7 +3241,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
|
|||||||
-GtkScale-slider-length: 20;
|
-GtkScale-slider-length: 20;
|
||||||
-GtkRange-slider-width: 24;
|
-GtkRange-slider-width: 24;
|
||||||
-GtkRange-trough-border: 2;
|
-GtkRange-trough-border: 2;
|
||||||
color: rgba(46, 52, 54, 0.3); }
|
color: alpha(currentColor,0.5); }
|
||||||
.scale.scale-has-marks-below.slider {
|
.scale.scale-has-marks-below.slider {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
@ -3295,7 +3295,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
|
|||||||
-GtkScale-slider-length: 20;
|
-GtkScale-slider-length: 20;
|
||||||
-GtkRange-slider-width: 24;
|
-GtkRange-slider-width: 24;
|
||||||
-GtkRange-trough-border: 2;
|
-GtkRange-trough-border: 2;
|
||||||
color: rgba(46, 52, 54, 0.3); }
|
color: alpha(currentColor,0.5); }
|
||||||
.scale.scale-has-marks-above.slider {
|
.scale.scale-has-marks-above.slider {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
@ -3349,7 +3349,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
|
|||||||
-GtkScale-slider-length: 20;
|
-GtkScale-slider-length: 20;
|
||||||
-GtkRange-slider-width: 24;
|
-GtkRange-slider-width: 24;
|
||||||
-GtkRange-trough-border: 2;
|
-GtkRange-trough-border: 2;
|
||||||
color: rgba(46, 52, 54, 0.3); }
|
color: alpha(currentColor,0.5); }
|
||||||
.scale.vertical.scale-has-marks-below.slider {
|
.scale.vertical.scale-has-marks-below.slider {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
@ -3403,7 +3403,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
|
|||||||
-GtkScale-slider-length: 20;
|
-GtkScale-slider-length: 20;
|
||||||
-GtkRange-slider-width: 24;
|
-GtkRange-slider-width: 24;
|
||||||
-GtkRange-trough-border: 2;
|
-GtkRange-trough-border: 2;
|
||||||
color: rgba(46, 52, 54, 0.3); }
|
color: alpha(currentColor,0.5); }
|
||||||
.scale.vertical.scale-has-marks-above.slider {
|
.scale.vertical.scale-has-marks-above.slider {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user