From 6cf7ea0237080ebe3baa4fa74275c7f453dbe39a Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Sat, 16 Mar 2024 23:08:54 +0800 Subject: [PATCH] update --- src/sass/gtk/_common-4.0.scss | 61 +++++++++++++++++++++++------------ 1 file changed, 40 insertions(+), 21 deletions(-) diff --git a/src/sass/gtk/_common-4.0.scss b/src/sass/gtk/_common-4.0.scss index 27a06e79..a9b3f686 100644 --- a/src/sass/gtk/_common-4.0.scss +++ b/src/sass/gtk/_common-4.0.scss @@ -3719,27 +3719,6 @@ row { color: $text-secondary; background-clip: padding-box; - label.subtitle { - font-size: smaller; - @extend .dim-label; - } - - > box.header { - margin-left: $space-size * 2; - margin-right: $space-size * 2; - min-height: $large-size; - - > .icon:disabled { - filter: opacity(0.35); - } - - > box.title { - margin-top: $space-size; - margin-bottom: $space-size; - border-spacing: $space-size / 2; - } - } - @at-root %row_activatable, &.activatable { transition: $transition, background-size $ripple-fade-out-duration $ease-out, @@ -3882,10 +3861,37 @@ row { &:dir(rtl) { margin-left: $space-size; } } } + + &.property > box.header > box.title > { + .title { + @extend .caption; + @extend .dim-label; + } + + .subtitle { + font-size: inherit; + opacity: 1; + } + } } // AdwEntryRow row.entry { + &:not(:selected).activatable.focused:hover, + &:not(:selected).activatable.focused:active { + background-color: transparent; + } + + &:disabled { + text { + opacity: 0.45; + } + + .dim-label, .subtitle { + opacity: 1; + } + } + .edit-icon, .indicator { min-width: 24px; min-height: 24px; @@ -3910,6 +3916,11 @@ row.entry { } row.spin { + &:not(:selected).activatable.focused:hover, + &:not(:selected).activatable.focused:active { + background-color: transparent; + } + spinbutton { background: none; border-spacing: $space-size; @@ -3995,6 +4006,14 @@ row.combo { popover > contents { min-width: 120px; + + .combo-searchbar { + margin: 6px; + + + scrolledwindow { + @include undershoot(top, $border); + } + } } }