Skip to content

Commit

Permalink
New upstream snapshot for GTK4
Browse files Browse the repository at this point in the history
  • Loading branch information
didrocks authored and github-actions[bot] committed Dec 9, 2024
1 parent ed6e3fd commit 727b537
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions gtk/upstream/gtk-4.0/Default/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2728,19 +2728,8 @@ scale {

// click-and-hold the slider to activate
&.fine-tune {
&.horizontal {
padding-top: 9px;
padding-bottom: 9px;
min-height: 16px;
}

&.vertical {
padding-left: 9px;
padding-right: 9px;
min-width: 16px;
}

// to make the trough grow in fine-tune mode
> trough { margin: -3px; }
> trough > slider { margin: -6px; }

> trough > fill,
Expand Down Expand Up @@ -2885,7 +2874,7 @@ scale {
&.top { margin-left: 3px; }
&.bottom { margin-right: 3px; }

indicator { min-height: ($_marks_length - 3px); }
indicator { min-width: ($_marks_length - 3px); }
}
}

Expand Down Expand Up @@ -2957,15 +2946,15 @@ scale {
&.fine-tune > trough > slider {
@if $dir_class == 'horizontal' {
// bigger negative margins to make the trough grow here as well
margin: -7px -10px;
margin: -7px;

@if $marks_infix == 'scale-has-marks-above' { margin-top: -11px; }

@else { margin-bottom: -11px; }
}

@else {
margin: -10px -7px;
margin: -7px;

@if $marks_infix == 'scale-has-marks-above' { margin-left: -11px; }

Expand Down

0 comments on commit 727b537

Please sign in to comment.