From 2f648891e76e34236abd20a16476cef340035a9d Mon Sep 17 00:00:00 2001 From: Vince Date: Tue, 27 Jul 2021 11:55:30 +0800 Subject: [PATCH] update --- src/_sass/gtk/_common-3.20.scss | 1 - src/_sass/gtk/_common-4.0.scss | 18 +++++++----------- src/gnome-shell/sass/widgets/_panel.scss | 1 + 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/src/_sass/gtk/_common-3.20.scss b/src/_sass/gtk/_common-3.20.scss index 6700f29..f124330 100644 --- a/src/_sass/gtk/_common-3.20.scss +++ b/src/_sass/gtk/_common-3.20.scss @@ -1062,7 +1062,6 @@ searchbar > revealer > box, searchbar > revealer > box { // workaround: undo the GtkContainer:border-width and use CSS padding instead margin: -6px; - padding: $container-padding; } diff --git a/src/_sass/gtk/_common-4.0.scss b/src/_sass/gtk/_common-4.0.scss index 30bbfeb..f0f4217 100644 --- a/src/_sass/gtk/_common-4.0.scss +++ b/src/_sass/gtk/_common-4.0.scss @@ -1264,10 +1264,6 @@ searchbar > revealer > box { padding: 0; } } - - // workaround for non-animatable buttons - .background:not(.csd) & windowcontrols button:active, - .background:not(.csd) & windowcontrols menubutton:active {background-size: 1000% 1000%}; } .solid-csd & { @@ -3706,13 +3702,13 @@ window { &:backdrop { background-color: $titlebar-backdrop; } } - // .maximized &, - // .fullscreen &, - // .tiled &, - // .tiled-top &, - // .tiled-right &, - // .tiled-bottom &, - // .tiled-left & { border-radius: 0; } + &.maximized, + &.fullscreen, + &.tiled, + &.tiled-top, + &.tiled-right, + &.tiled-bottom, + &.tiled-left { border-radius: 0; } } } diff --git a/src/gnome-shell/sass/widgets/_panel.scss b/src/gnome-shell/sass/widgets/_panel.scss index 4583a2e..18bdb96 100644 --- a/src/gnome-shell/sass/widgets/_panel.scss +++ b/src/gnome-shell/sass/widgets/_panel.scss @@ -24,6 +24,7 @@ $panel_transition_duration: 250ms; // same as the overview transition duration border-radius: $circular_radius; height: $medium_size + 2px; } + // transparent panel on lock & login screens &.unlock-screen, &.login-screen,