diff options
author | Horst3180 | 2016-03-03 12:04:24 +0100 |
---|---|---|
committer | Horst3180 | 2016-03-03 12:04:24 +0100 |
commit | 58bf6bb81bae5ff75560e03a66f634238476d618 (patch) | |
tree | 41adef20086dbaf24e5b41c2e97b6c1abd9bb00c /common/gtk-3.0/3.20/sass/_common.scss | |
parent | 900af619c3291fcacf7b129554f5ff4da7ca713c (diff) | |
download | solarc-theme-58bf6bb81bae5ff75560e03a66f634238476d618.tar.gz solarc-theme-58bf6bb81bae5ff75560e03a66f634238476d618.tar.xz solarc-theme-58bf6bb81bae5ff75560e03a66f634238476d618.zip |
fix scales with marks
Diffstat (limited to 'common/gtk-3.0/3.20/sass/_common.scss')
-rw-r--r-- | common/gtk-3.0/3.20/sass/_common.scss | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss index f404cb3..3eac8c2 100644 --- a/common/gtk-3.0/3.20/sass/_common.scss +++ b/common/gtk-3.0/3.20/sass/_common.scss @@ -1968,26 +1968,34 @@ checkbutton check { // GtkScale // scale { + $_marks_length: 3px; + $_marks_margin: -4px; + min-height: 9px; min-width: 9px; padding: 5px; marks { - color: gtkalpha(currentColor, 0.3); - - &.top { margin-bottom: -4px; } - &.bottom { margin-top: -4px; } - &.left { margin-right: -4px; } - &.right { margin-left: -4px; } + color: gtkalpha(currentColor, 0.4); + + @each $marks_pos, $marks_margin in (top, bottom), + (bottom, top), + (left, right), + (right, left) { + &.#{$marks_pos} { + margin-#{$marks_margin}: $_marks_margin; + margin-#{$marks_pos}: -$_marks_margin; + } + } } - &.horizontal mark indicator { - min-height: 3px; + &.horizontal indicator { + min-height: $_marks_length; min-width: 1px; } - &.vertical mark indicator { + &.vertical indicator { min-height: 1px; - min-width: 3px; + min-width: $_marks_length; } &.fine-tune { |