Skip to content

Commit f7f927a

Browse files
megaxlots0logs
authored andcommitted
GTK 3.20 :: Fix #560 (#563)
* * Fix #560. * * Fix fine-tune.
1 parent 69b3706 commit f7f927a

1 file changed

Lines changed: 16 additions & 14 deletions

File tree

gtk-3.20/scss/widgets/_progress.scss

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,19 @@
145145

146146
min-height: 10px;
147147
min-width: 10px;
148-
padding: $spacing ($spacing * 2);
148+
padding: $spacing;
149+
150+
&.horizontal {
151+
trough { padding: 0 3px; }
152+
153+
highlight, fill { margin: 0 -4px; }
154+
}
155+
156+
&.vertical {
157+
trough { padding: 3px 0; }
158+
159+
highlight, fill { margin: -4px 0; }
160+
}
149161

150162
// The slider is inside the trough, negative margin to make it bigger
151163
slider {
@@ -156,20 +168,10 @@
156168

157169
// Click-and-hold the slider to activate
158170
&.fine-tune {
159-
&.horizontal {
160-
padding-top: 4px;
161-
padding-bottom: 4px;
162-
min-height: 15px;
163-
}
164-
165-
&.vertical {
166-
padding-left: 4px;
167-
padding-right: 4px;
168-
min-width: 15px;
169-
}
170-
171171
// Make the trough grow in fine-tune mode
172-
slider { margin: -4px; }
172+
slider { margin: -7px; }
173+
174+
highlight { background-color: shade($selected_bg_color, 1.1); }
173175

174176
fill,
175177
highlight,

0 commit comments

Comments
 (0)