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; background-color: $header_bg;
border-color: opacify($header_border, 1); border-color: opacify($header_border, 1);
box-shadow: none; box-shadow: none;
padding: 0 $container_padding + 10px;
&:backdrop { &:backdrop {
background-color: $header_bg_backdrop; background-color: $header_bg_backdrop;
@ -1853,7 +1854,7 @@ actionbar {
.fullscreen & { .fullscreen & {
box-shadow: none; box-shadow: none;
&, &.background { &, &.background, &:backdrop {
border-top-left-radius: $maximized_radius; border-top-left-radius: $maximized_radius;
border-top-right-radius: $maximized_radius; border-top-right-radius: $maximized_radius;
} }
@ -1879,13 +1880,6 @@ window.background.csd.unified {
> box > separator { background: none; } > box > separator { background: none; }
> button:disabled { @include button(header-insensitive); } > 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 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 { &.background.csd {
border-radius: $maximized_radius_style; border-radius: $maximized_radius_style;
&.unified { border-radius: $maximized_radius; } notebook { &, > stack { border-radius: 0 0 $maximized_radius $maximized_radius; } }
&, &.unified { > headerbar.titlebar,
notebook { &, > stack { border-radius: 0 0 $maximized_radius $maximized_radius; } } > deck > box.vertical > headerbar.titlebar {
&, &.windowhandle {
> headerbar.titlebar, border-top-left-radius: $maximized_radius;
> deck > box.vertical > headerbar.titlebar { border-top-right-radius: $maximized_radius;
&, &.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 // Gnome Clocks
// //
window.background.csd.unified { window.background.csd.unified {
border-radius: $wm_radius;
> deck > deck > deck { > deck > deck > deck {
> box.vertical > headerbar.titlebar.windowhandle { > box.vertical > headerbar.titlebar.windowhandle {
> viewswitchertitle > squeezer { > viewswitchertitle > squeezer {
@ -2030,8 +2024,6 @@ window.background.csd.unified {
} }
&.maximized, &.tiled, &.fullscreen { &.maximized, &.tiled, &.fullscreen {
border-radius: $maximized_radius;
> deck > box.vertical > headerbar.titlebar.windowhandle { > deck > box.vertical > headerbar.titlebar.windowhandle {
border-top-left-radius: $maximized_radius; border-top-left-radius: $maximized_radius;
border-top-right-radius: $maximized_radius; border-top-right-radius: $maximized_radius;
@ -3060,4 +3052,22 @@ window.background.csd.unified {
> decoration-overlay { > decoration-overlay {
border-radius: $wm_radius; 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;
}
}
} }