mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2026-04-17 08:42:41 +00:00
Fixed #1115
This commit is contained in:
@@ -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;
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user