diff options
Diffstat (limited to 'common/gtk-3.0/3.20/sass')
-rw-r--r-- | common/gtk-3.0/3.20/sass/_common.scss | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss index 980ccfc..a889726 100644 --- a/common/gtk-3.0/3.20/sass/_common.scss +++ b/common/gtk-3.0/3.20/sass/_common.scss @@ -1966,26 +1966,42 @@ checkbutton check { // scale { $_marks_length: 3px; - $_marks_margin: -4px; + $_marks_margin: -2px; min-height: 9px; min-width: 9px; padding: 5px; + value { color: gtkalpha(currentColor, 0.4); } + marks { color: gtkalpha(currentColor, 0.4); - @each $marks_pos, $marks_margin in (top, bottom), - (bottom, top), - (left, right), - (right, left) { - &.#{$marks_pos} { + @each $marks_class, $marks_pos, $marks_margin in (top, top, bottom), + (bottom, bottom, top), + (top, left, right), + (bottom, right, left) { + &.#{$marks_class} { margin-#{$marks_margin}: $_marks_margin; margin-#{$marks_pos}: -$_marks_margin; } } } + &.fine-tune marks { + color: gtkalpha(currentColor, 0.4); + + @each $marks_class, $marks_pos, $marks_margin in (top, top, bottom), + (bottom, bottom, top), + (top, left, right), + (bottom, right, left) { + &.#{$marks_class} { + margin-#{$marks_margin}: $_marks_margin - 2px; + margin-#{$marks_pos}: -$_marks_margin + 2px; + } + } + } + &.horizontal indicator { min-height: $_marks_length; min-width: 1px; |