This commit is contained in:
Vince 2021-07-04 22:58:00 +08:00
parent 7c7899484b
commit 9e01be8cc5
2 changed files with 28 additions and 24 deletions

View file

@ -1739,6 +1739,7 @@ actionbar {
background-color: $header_bg;
border-color: opacify($header_border, 1);
box-shadow: none;
padding: 0 $container_padding + 10px;
&:backdrop {
background-color: $header_bg_backdrop;
@ -1853,7 +1854,7 @@ actionbar {
.fullscreen & {
box-shadow: none;
&, &.background {
&, &.background, &:backdrop {
border-top-left-radius: $maximized_radius;
border-top-right-radius: $maximized_radius;
}
@ -1879,13 +1880,6 @@ window.background.csd.unified {
> box > separator { background: none; }
> button:disabled { @include button(header-insensitive); }
}
&.maximized {
> deck > box > headerbar.windowhandle {
border-top-left-radius: $maximized_radius;
border-top-right-radius: $maximized_radius;
}
}
}
window.background > box.vertical > headerbar:not(.titlebar) { // reset headerbar style for not CSD window

View file

@ -416,21 +416,17 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
&.background.csd {
border-radius: $maximized_radius_style;
&.unified { border-radius: $maximized_radius; }
notebook { &, > stack { border-radius: 0 0 $maximized_radius $maximized_radius; } }
&, &.unified {
notebook { &, > stack { border-radius: 0 0 $maximized_radius $maximized_radius; } }
> headerbar.titlebar,
> deck > box.vertical > headerbar.titlebar {
&, &.windowhandle {
border-top-left-radius: $maximized_radius;
border-top-right-radius: $maximized_radius;
}
> headerbar.titlebar,
> deck > box.vertical > headerbar.titlebar {
&, &.windowhandle {
border-top-left-radius: $maximized_radius;
border-top-right-radius: $maximized_radius;
}
placessidebar { border-bottom-left-radius: $maximized_radius; }
}
placessidebar { border-bottom-left-radius: $maximized_radius; }
}
}
@ -2014,8 +2010,6 @@ window.background.csd {
// Gnome Clocks
//
window.background.csd.unified {
border-radius: $wm_radius;
> deck > deck > deck {
> box.vertical > headerbar.titlebar.windowhandle {
> viewswitchertitle > squeezer {
@ -2030,8 +2024,6 @@ window.background.csd.unified {
}
&.maximized, &.tiled, &.fullscreen {
border-radius: $maximized_radius;
> deck > box.vertical > headerbar.titlebar.windowhandle {
border-top-left-radius: $maximized_radius;
border-top-right-radius: $maximized_radius;
@ -3060,4 +3052,22 @@ window.background.csd.unified {
> decoration-overlay {
border-radius: $wm_radius;
}
&.tiled,
&.tiled-top,
&.tiled-right,
&.tiled-bottom,
&.tiled-left,
&.maximized,
&.fullscreen {
> decoration-overlay {
box-shadow: none;
}
&,
> decoration,
> decoration-overlay {
border-radius: $maximized_radius;
}
}
}