diff options
author | Horst3180 | 2016-04-05 18:58:22 +0200 |
---|---|---|
committer | Horst3180 | 2016-04-05 18:58:22 +0200 |
commit | 0573472a16b622eb9ac14560d147693342361306 (patch) | |
tree | 5858281641ec97bf7b453f6c03e0f007c5072f01 /common/gtk-3.0/3.20/sass | |
parent | 428f89c38c8a7ccef31085710bb7a19a3293625a (diff) | |
download | solarc-theme-0573472a16b622eb9ac14560d147693342361306.tar.gz solarc-theme-0573472a16b622eb9ac14560d147693342361306.tar.xz solarc-theme-0573472a16b622eb9ac14560d147693342361306.zip |
simplify scale style
Diffstat (limited to 'common/gtk-3.0/3.20/sass')
-rw-r--r-- | common/gtk-3.0/3.20/sass/_common.scss | 30 |
1 files changed, 8 insertions, 22 deletions
diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss index b045b74..e57988c 100644 --- a/common/gtk-3.0/3.20/sass/_common.scss +++ b/common/gtk-3.0/3.20/sass/_common.scss @@ -2053,20 +2053,18 @@ scale { $_marks_length: 3px; $_marks_distance: 1px; - min-height: 10px; - min-width: 10px; + min-height: 15px; + min-width: 15px; + padding: 3px; &.horizontal { - padding: 6px 0; - - trough { padding: 0 7px; } - highlight, fill { margin: 0 -7px; } + trough { padding: 0 4px; } + highlight, fill { margin: 0 -4px; } } - &.vertical { - padding: 0 6px; - trough { padding: 7px 0; } - highlight, fill { margin: -7px 0; } + &.vertical { + trough { padding: 4px 0; } + highlight, fill { margin: -4px 0; } } // The slider is inside the trough, negative margin to make it bigger @@ -2078,18 +2076,6 @@ scale { // Click-and-hold the slider to activate &.fine-tune { - &.horizontal { - padding-top: 4px; - padding-bottom: 4px; - min-height: 15px; - } - - &.vertical { - padding-left: 4px; - padding-right: 4px; - min-width: 15px; - } - // Make the trough grow in fine-tune mode slider { margin: -4px; } |