This commit is contained in:
vinceliuice
2024-08-28 23:31:20 +08:00
parent 481d902d64
commit bbe6cf460f
2 changed files with 36 additions and 9 deletions

View File

@@ -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;
// }
}
}

View File

@@ -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
//