From 2f79cc92ebbf03a1e4a312d21e547c770df45c1e Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Sun, 9 Oct 2022 16:53:12 +0800 Subject: [PATCH] update --- src/sass/gtk/_common-4.0.scss | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/sass/gtk/_common-4.0.scss b/src/sass/gtk/_common-4.0.scss index 8765af2..9b4cbbc 100644 --- a/src/sass/gtk/_common-4.0.scss +++ b/src/sass/gtk/_common-4.0.scss @@ -2697,14 +2697,14 @@ popover.menu { margin: 0; box-shadow: none; - &:hover:not(:checked) { + &:hover:not(:checked):not(:selected) { color: mix($fg_color, $disabled_fg_color, 50%); background-color: if($variant == 'light', rgba(white, 0.2), rgba(white, 0.05)); border-color: if($variant == 'light', darken($header_bg, 15%), lighten($header_bg, 5%)); box-shadow: none; } - &:checked { + &:checked, &:selected { color: $fg_color; background-color: $header_bg; border-color: if($variant == 'light', darken($header_bg, 15%), lighten($header_bg, 5%)); @@ -2722,13 +2722,13 @@ popover.menu { margin: 0; box-shadow: none; - &:hover:not(:checked) { + &:hover:not(:checked):not(:selected){ color: mix($fg_color, $disabled_fg_color, 50%); background-color: rgba($fg_color, 0.06); box-shadow: none; } - &:checked { + &:checked, &:selected { color: $fg_color; background-color: rgba($fg_color, 0.12); box-shadow: none; @@ -2946,7 +2946,13 @@ tabbox { padding: 0 $container_padding / 2 $container_padding / 2; } - > tab { + > tabboxchild { + margin: 0 -3px; + border-radius: 0; + } + + > tab, + > tabboxchild > tab { @if $monterey == 'false' { @extend %tabs_tab; border-top: none;