From 0573472a16b622eb9ac14560d147693342361306 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Tue, 5 Apr 2016 18:58:22 +0200 Subject: simplify scale style --- common/gtk-3.0/3.20/sass/_common.scss | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) (limited to 'common/gtk-3.0/3.20/sass') 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; } -- cgit v1.2.3