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 Jan 4, 2025
1 parent efe91fc commit ab8a202
Showing 1 changed file with 15 additions and 23 deletions.
38 changes: 15 additions & 23 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 Expand Up @@ -3189,18 +3178,21 @@ levelbar {
* Print dialog *
*****************/
window.dialog.print {
drawing {
color: $fg_color;
background: none;
border: none;
padding: 0;
page-thumbnail {
background: white;
color: #2e3436;
border: 1px solid $borders_color;

paper {
background: white;
label {
color: #2e3436;
border: 1px solid $borders_color;
}
}

.drawing {
color: $fg_color;
background: none;
border: none;
padding: 0;
}

.dialog-action-box { margin: 12px; }
Expand Down

0 comments on commit ab8a202

Please sign in to comment.