From ab8a20208e1aa2d1bf42bf76c300af7994d49634 Mon Sep 17 00:00:00 2001 From: didrocks <1823296+didrocks@users.noreply.github.com> Date: Sat, 4 Jan 2025 01:49:18 +0000 Subject: [PATCH] New upstream snapshot for GTK4 --- gtk/upstream/gtk-4.0/Default/_common.scss | 38 +++++++++-------------- 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/gtk/upstream/gtk-4.0/Default/_common.scss b/gtk/upstream/gtk-4.0/Default/_common.scss index d099253f33..690d816338 100644 --- a/gtk/upstream/gtk-4.0/Default/_common.scss +++ b/gtk/upstream/gtk-4.0/Default/_common.scss @@ -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, @@ -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); } } } @@ -2957,7 +2946,7 @@ 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; } @@ -2965,7 +2954,7 @@ scale { } @else { - margin: -10px -7px; + margin: -7px; @if $marks_infix == 'scale-has-marks-above' { margin-left: -11px; } @@ -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; }