Skip to content

Commit

Permalink
gtk3: Add SSD backdrop border styling
Browse files Browse the repository at this point in the history
Fixes: #188 #194
  • Loading branch information
jnsh committed Sep 5, 2022
1 parent 5abd2b8 commit 651747b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions common/gtk-3.0/sass/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3303,15 +3303,17 @@ decoration {
border-radius: 0;
}
// server-side decorations as used by mutter
.ssd & {
.ssd &,
.ssd &:backdrop {
border-radius: if($variant=='light' or $variant=='lighter', 4px 4px 0 0, 3px 3px 0 0);
box-shadow: 0 0 0 1px if($variant == 'dark' or $variant == 'darker', transparentize(black, 0.35), $_wm_border);

&.maximized {
border-radius: 0;
box-shadow: none;
}
}
.ssd.maximized &,
.ssd.maximized &:backdrop {
border-radius: 0;
box-shadow: none;
}

.csd.popup & {
border-radius: 2px;
box-shadow: 0 3px 6px if($variant != 'dark', $_wm_border, transparentize($_wm_border, 0.1)),
Expand Down

0 comments on commit 651747b

Please sign in to comment.