This commit is contained in:
Vince
2022-10-26 23:05:41 +08:00
parent 17ecc60b9f
commit c06518bbaf

View File

@@ -4411,12 +4411,22 @@ colorchooser .popover.osd {
* Window Decorations * * Window Decorations *
**********************/ **********************/
window { window {
border: none;
transition: $transition-shadow; transition: $transition-shadow;
border-radius: $window-radius;
outline-color: highlight($background); &.csd {
outline-offset: -1px; border-radius: $window-radius;
outline-style: solid; outline-offset: -1px;
outline-width: 1px; outline: 1px solid highlight($background);
&.maximized,
&.fullscreen,
&.tiled,
&.tiled-top,
&.tiled-right,
&.tiled-bottom,
&.tiled-left { border-radius: 0; }
}
@if $rimless == 'true' { @if $rimless == 'true' {
box-shadow: $shadow-z16, 0 0 36px transparent; box-shadow: $shadow-z16, 0 0 36px transparent;
@@ -4436,15 +4446,7 @@ window {
} }
} }
&.popup { &.solid-csd {
border-radius: $menu-radius;
}
&.dialog.message {
border-radius: $window-radius;
}
.solid-csd & {
margin: 0; margin: 0;
padding: 2px; padding: 2px;
border-radius: 0; border-radius: 0;
@@ -4454,13 +4456,10 @@ window {
&:backdrop { background-color: $titlebar-backdrop; } &:backdrop { background-color: $titlebar-backdrop; }
} }
&.maximized, &.ssd {
&.fullscreen, // just doing borders, wm draws actual shadows
&.tiled, box-shadow: 0 0 0 1px $border;
&.tiled-top, }
&.tiled-right,
&.tiled-bottom,
&.tiled-left { border-radius: 0; }
} }
// Windows button // Windows button