diff --git a/src/sass/gtk/_common-3.0.scss b/src/sass/gtk/_common-3.0.scss index 5dcec1f6..6ea6a403 100644 --- a/src/sass/gtk/_common-3.0.scss +++ b/src/sass/gtk/_common-3.0.scss @@ -2456,7 +2456,8 @@ notebook { background-color: $base_color; } - .csd &:not(.frame), .csd &:not(.frame) > stack { + .csd &:not(.frame), + .csd &:not(.frame) > stack { border-radius: 0 0 $wm_radius $wm_radius; } @@ -2546,10 +2547,8 @@ notebook { @if $monterey == 'false' { // tab overlap - + tab { - @if $_pos==top or $_pos==bottom { margin-left: -1px; } - @else { margin-top: -1px; } - } + @if $_pos==top or $_pos==bottom { margin-left: -1px; } + @else { margin-top: -1px; } } @else { + tab { @if $_pos==top or $_pos==bottom { margin-left: $container_padding / 2; } @@ -2597,17 +2596,23 @@ notebook { &.top, &.bottom { > tabs > tab { - &:first-child { border-left: none; } - &:last-child { border-right: none; } + &:last-child { margin-right: -1px; } } + + // > tabs > arrow + tab { + // margin-left: -1px; + // } } &.left, &.right { > tabs > tab { - &:first-child { border-top: none; } - &:last-child { border-bottom: none; } + &:last-child { margin-top: -1px;} } + + // > tabs > arrow + tab { + // margin-top: -1px; + // } } } diff --git a/src/sass/gtk/apps/_misc.scss b/src/sass/gtk/apps/_misc.scss index 8bb0cbe3..545a5235 100644 --- a/src/sass/gtk/apps/_misc.scss +++ b/src/sass/gtk/apps/_misc.scss @@ -389,6 +389,28 @@ window.background:not(.solid-csd):not(.csd) { } } +button { + &:active { + color: $fg_color; + background-color: if($variant == 'light', mix(black, $bg_color, 10%), mix(white, $bg_color, 10%)); + border-color: transparent; + } + + &:checked { + color: $fg_color; + background-color: if($variant == 'light', mix(black, $bg_color, 5%), mix(white, $bg_color, 5%)); + border-color: transparent; + } + + .background & { + &:active, &:checked { + color: $selected_fg_color; + background-color: $selected_bg_color; + border-color: if($variant=='light', $selected_bg_color, $dark_borders_color); + } + } +} + // // Tilix //