From efc18e1c7f81924be39f3787acb54d7c5be95949 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Tue, 29 Dec 2020 08:37:34 +0800 Subject: [PATCH] update --- install.sh | 6 ++--- src/main/gtk-3.0/gtk-dark-solid.css | 36 ++++++---------------------- src/main/gtk-3.0/gtk-dark.css | 36 ++++++---------------------- src/main/gtk-3.0/gtk-light-solid.css | 36 ++++++---------------------- src/main/gtk-3.0/gtk-light.css | 36 ++++++---------------------- src/sass/gtk/_applications.scss | 10 ++++---- src/sass/gtk/_common.scss | 33 ++++++++++++------------- 7 files changed, 53 insertions(+), 140 deletions(-) diff --git a/install.sh b/install.sh index 6b3bc33..766cd5b 100755 --- a/install.sh +++ b/install.sh @@ -868,7 +868,7 @@ if [[ "${panel:-}" == 'true' ]]; then else run_shell_dialog fi - notify-send "Finished" "Enjoy your new WhiteSur theme!" -i face-smile + # notify-send "Finished" "Enjoy your new WhiteSur theme!" -i face-smile fi if [[ "${size:-}" == 'true' ]]; then @@ -877,7 +877,7 @@ if [[ "${size:-}" == 'true' ]]; then else run_sidebar_dialog fi - notify-send "Finished" "Enjoy your new WhiteSur theme!" -i face-smile + # notify-send "Finished" "Enjoy your new WhiteSur theme!" -i face-smile fi if [[ "${theme:-}" == 'true' ]]; then @@ -886,7 +886,7 @@ if [[ "${theme:-}" == 'true' ]]; then else run_theme_dialog fi - notify-send "Finished" "Enjoy your new WhiteSur theme!" -i face-smile + # notify-send "Finished" "Enjoy your new WhiteSur theme!" -i face-smile fi if [[ "${gdm:-}" != 'true' && "${remove:-}" != 'true' ]]; then diff --git a/src/main/gtk-3.0/gtk-dark-solid.css b/src/main/gtk-3.0/gtk-dark-solid.css index 3c42e10..0cecfa3 100644 --- a/src/main/gtk-3.0/gtk-dark-solid.css +++ b/src/main/gtk-3.0/gtk-dark-solid.css @@ -35,7 +35,7 @@ border-radius: 0 0 12px 12px; } -.background.maximized, .background.solid-csd { +.background.solid-csd { border-radius: 0; } @@ -1605,7 +1605,6 @@ headerbar.titlebar headerbar:not(.titlebar) { } .tiled headerbar, .tiled headerbar:backdrop, .maximized headerbar, .maximized headerbar:backdrop { - border-radius: 0; box-shadow: none; } @@ -1646,18 +1645,10 @@ separator:first-child + headerbar, separator:first-child + headerbar:backdrop, h border-top-left-radius: 12px; } -.maximized separator:first-child + headerbar, .tiled separator:first-child + headerbar, .maximized separator:first-child + headerbar:backdrop, .tiled separator:first-child + headerbar:backdrop, .maximized headerbar:first-child, .tiled headerbar:first-child, .maximized headerbar:first-child:backdrop, .tiled headerbar:first-child:backdrop { - border-radius: 0; -} - headerbar:last-child, headerbar:last-child:backdrop { border-top-right-radius: 12px; } -.maximized headerbar:last-child, .tiled headerbar:last-child, .maximized headerbar:last-child:backdrop, .tiled headerbar:last-child:backdrop { - border-radius: 0; -} - stack headerbar:first-child, stack headerbar:last-child { border-top-left-radius: 12px; border-top-right-radius: 12px; @@ -1676,7 +1667,7 @@ window stack headerbar:first-child:backdrop, window stack headerbar:first-child, border-top-right-radius: 12px; } -window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerbar:last-child, window.tiled headerbar:only-child, window.tiled-top headerbar, window.tiled-top headerbar:first-child, window.tiled-top headerbar:last-child, window.tiled-top headerbar:only-child, window.tiled-right headerbar, window.tiled-right headerbar:first-child, window.tiled-right headerbar:last-child, window.tiled-right headerbar:only-child, window.tiled-bottom headerbar, window.tiled-bottom headerbar:first-child, window.tiled-bottom headerbar:last-child, window.tiled-bottom headerbar:only-child, window.tiled-left headerbar, window.tiled-left headerbar:first-child, window.tiled-left headerbar:last-child, window.tiled-left headerbar:only-child, window.maximized headerbar, window.maximized headerbar:first-child, window.maximized headerbar:last-child, window.maximized headerbar:only-child, window.fullscreen headerbar, window.fullscreen headerbar:first-child, window.fullscreen headerbar:last-child, window.fullscreen headerbar:only-child, .solid-csd headerbar, .solid-csd headerbar:first-child, .solid-csd headerbar:last-child, .solid-csd headerbar:only-child { +window.fullscreen headerbar, window.fullscreen headerbar:first-child, window.fullscreen headerbar:last-child, window.fullscreen headerbar:only-child, .solid-csd headerbar, .solid-csd headerbar:first-child, .solid-csd headerbar:last-child, .solid-csd headerbar:only-child { border-top-left-radius: 0; border-top-right-radius: 0; } @@ -1690,7 +1681,7 @@ window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerb box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); } -.tiled .titlebar, .maximized .titlebar, .fullscreen .titlebar, .tiled .titlebar headerbar, .maximized .titlebar headerbar, .fullscreen .titlebar headerbar { +.fullscreen .titlebar, .fullscreen .titlebar headerbar { box-shadow: none; } @@ -4523,10 +4514,13 @@ decoration:backdrop { } .maximized decoration, .fullscreen decoration, .tiled decoration, .tiled-top decoration, .tiled-right decoration, .tiled-bottom decoration, .tiled-left decoration { - border-radius: 0; box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.75); } +.fullscreen decoration { + border-radius: 0; +} + .popup decoration { box-shadow: none; border-radius: 12px; @@ -4538,10 +4532,6 @@ decoration:backdrop { box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.75); } -.ssd decoration.maximized { - border-radius: 0; -} - .csd.popup decoration { border-radius: 10px; box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15), 0 8px 15px rgba(0, 0, 0, 0.08), 0 0 0 2px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.75); @@ -4782,10 +4772,6 @@ terminal-window notebook button.flat.toggle.popup { margin: -2px; } -terminal-window.background.csd.maximized { - border-radius: 0 0 0 0; -} - window.background.csd > box.vertical > box.horizontal > frame > border { border-width: 0 1px 0 0; } @@ -5047,14 +5033,6 @@ filechooser paned > separator:hover, -gtk-icon-shadow: none; } -.nautilus-window.maximized notebook, .nautilus-window.maximized notebook > stack { - border-radius: 0; -} - -.nautilus-window.maximized headerbar, .nautilus-window.maximized placessidebar { - border-radius: 0; -} - .nautilus-window placesview row.activatable { border-radius: 6px; margin-right: 6px; diff --git a/src/main/gtk-3.0/gtk-dark.css b/src/main/gtk-3.0/gtk-dark.css index 208267b..e46c6ae 100644 --- a/src/main/gtk-3.0/gtk-dark.css +++ b/src/main/gtk-3.0/gtk-dark.css @@ -35,7 +35,7 @@ border-radius: 0 0 12px 12px; } -.background.maximized, .background.solid-csd { +.background.solid-csd { border-radius: 0; } @@ -1605,7 +1605,6 @@ headerbar.titlebar headerbar:not(.titlebar) { } .tiled headerbar, .tiled headerbar:backdrop, .maximized headerbar, .maximized headerbar:backdrop { - border-radius: 0; box-shadow: none; } @@ -1646,18 +1645,10 @@ separator:first-child + headerbar, separator:first-child + headerbar:backdrop, h border-top-left-radius: 12px; } -.maximized separator:first-child + headerbar, .tiled separator:first-child + headerbar, .maximized separator:first-child + headerbar:backdrop, .tiled separator:first-child + headerbar:backdrop, .maximized headerbar:first-child, .tiled headerbar:first-child, .maximized headerbar:first-child:backdrop, .tiled headerbar:first-child:backdrop { - border-radius: 0; -} - headerbar:last-child, headerbar:last-child:backdrop { border-top-right-radius: 12px; } -.maximized headerbar:last-child, .tiled headerbar:last-child, .maximized headerbar:last-child:backdrop, .tiled headerbar:last-child:backdrop { - border-radius: 0; -} - stack headerbar:first-child, stack headerbar:last-child { border-top-left-radius: 12px; border-top-right-radius: 12px; @@ -1676,7 +1667,7 @@ window stack headerbar:first-child:backdrop, window stack headerbar:first-child, border-top-right-radius: 12px; } -window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerbar:last-child, window.tiled headerbar:only-child, window.tiled-top headerbar, window.tiled-top headerbar:first-child, window.tiled-top headerbar:last-child, window.tiled-top headerbar:only-child, window.tiled-right headerbar, window.tiled-right headerbar:first-child, window.tiled-right headerbar:last-child, window.tiled-right headerbar:only-child, window.tiled-bottom headerbar, window.tiled-bottom headerbar:first-child, window.tiled-bottom headerbar:last-child, window.tiled-bottom headerbar:only-child, window.tiled-left headerbar, window.tiled-left headerbar:first-child, window.tiled-left headerbar:last-child, window.tiled-left headerbar:only-child, window.maximized headerbar, window.maximized headerbar:first-child, window.maximized headerbar:last-child, window.maximized headerbar:only-child, window.fullscreen headerbar, window.fullscreen headerbar:first-child, window.fullscreen headerbar:last-child, window.fullscreen headerbar:only-child, .solid-csd headerbar, .solid-csd headerbar:first-child, .solid-csd headerbar:last-child, .solid-csd headerbar:only-child { +window.fullscreen headerbar, window.fullscreen headerbar:first-child, window.fullscreen headerbar:last-child, window.fullscreen headerbar:only-child, .solid-csd headerbar, .solid-csd headerbar:first-child, .solid-csd headerbar:last-child, .solid-csd headerbar:only-child { border-top-left-radius: 0; border-top-right-radius: 0; } @@ -1690,7 +1681,7 @@ window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerb box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); } -.tiled .titlebar, .maximized .titlebar, .fullscreen .titlebar, .tiled .titlebar headerbar, .maximized .titlebar headerbar, .fullscreen .titlebar headerbar { +.fullscreen .titlebar, .fullscreen .titlebar headerbar { box-shadow: none; } @@ -4523,10 +4514,13 @@ decoration:backdrop { } .maximized decoration, .fullscreen decoration, .tiled decoration, .tiled-top decoration, .tiled-right decoration, .tiled-bottom decoration, .tiled-left decoration { - border-radius: 0; box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.75); } +.fullscreen decoration { + border-radius: 0; +} + .popup decoration { box-shadow: none; border-radius: 12px; @@ -4538,10 +4532,6 @@ decoration:backdrop { box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.75); } -.ssd decoration.maximized { - border-radius: 0; -} - .csd.popup decoration { border-radius: 10px; box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15), 0 8px 15px rgba(0, 0, 0, 0.08), 0 0 0 2px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.75); @@ -4782,10 +4772,6 @@ terminal-window notebook button.flat.toggle.popup { margin: -2px; } -terminal-window.background.csd.maximized { - border-radius: 0 0 0 0; -} - window.background.csd > box.vertical > box.horizontal > frame > border { border-width: 0 1px 0 0; } @@ -5043,14 +5029,6 @@ filechooser paned > separator:hover, -gtk-icon-shadow: none; } -.nautilus-window.maximized notebook, .nautilus-window.maximized notebook > stack { - border-radius: 0; -} - -.nautilus-window.maximized headerbar, .nautilus-window.maximized placessidebar { - border-radius: 0; -} - .nautilus-window placesview row.activatable { border-radius: 6px; margin-right: 6px; diff --git a/src/main/gtk-3.0/gtk-light-solid.css b/src/main/gtk-3.0/gtk-light-solid.css index 777460a..6d7f62c 100644 --- a/src/main/gtk-3.0/gtk-light-solid.css +++ b/src/main/gtk-3.0/gtk-light-solid.css @@ -35,7 +35,7 @@ border-radius: 0 0 12px 12px; } -.background.maximized, .background.solid-csd { +.background.solid-csd { border-radius: 0; } @@ -1613,7 +1613,6 @@ headerbar.titlebar headerbar:not(.titlebar) { } .tiled headerbar, .tiled headerbar:backdrop, .maximized headerbar, .maximized headerbar:backdrop { - border-radius: 0; box-shadow: none; } @@ -1654,18 +1653,10 @@ separator:first-child + headerbar, separator:first-child + headerbar:backdrop, h border-top-left-radius: 12px; } -.maximized separator:first-child + headerbar, .tiled separator:first-child + headerbar, .maximized separator:first-child + headerbar:backdrop, .tiled separator:first-child + headerbar:backdrop, .maximized headerbar:first-child, .tiled headerbar:first-child, .maximized headerbar:first-child:backdrop, .tiled headerbar:first-child:backdrop { - border-radius: 0; -} - headerbar:last-child, headerbar:last-child:backdrop { border-top-right-radius: 12px; } -.maximized headerbar:last-child, .tiled headerbar:last-child, .maximized headerbar:last-child:backdrop, .tiled headerbar:last-child:backdrop { - border-radius: 0; -} - stack headerbar:first-child, stack headerbar:last-child { border-top-left-radius: 12px; border-top-right-radius: 12px; @@ -1684,7 +1675,7 @@ window stack headerbar:first-child:backdrop, window stack headerbar:first-child, border-top-right-radius: 12px; } -window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerbar:last-child, window.tiled headerbar:only-child, window.tiled-top headerbar, window.tiled-top headerbar:first-child, window.tiled-top headerbar:last-child, window.tiled-top headerbar:only-child, window.tiled-right headerbar, window.tiled-right headerbar:first-child, window.tiled-right headerbar:last-child, window.tiled-right headerbar:only-child, window.tiled-bottom headerbar, window.tiled-bottom headerbar:first-child, window.tiled-bottom headerbar:last-child, window.tiled-bottom headerbar:only-child, window.tiled-left headerbar, window.tiled-left headerbar:first-child, window.tiled-left headerbar:last-child, window.tiled-left headerbar:only-child, window.maximized headerbar, window.maximized headerbar:first-child, window.maximized headerbar:last-child, window.maximized headerbar:only-child, window.fullscreen headerbar, window.fullscreen headerbar:first-child, window.fullscreen headerbar:last-child, window.fullscreen headerbar:only-child, .solid-csd headerbar, .solid-csd headerbar:first-child, .solid-csd headerbar:last-child, .solid-csd headerbar:only-child { +window.fullscreen headerbar, window.fullscreen headerbar:first-child, window.fullscreen headerbar:last-child, window.fullscreen headerbar:only-child, .solid-csd headerbar, .solid-csd headerbar:first-child, .solid-csd headerbar:last-child, .solid-csd headerbar:only-child { border-top-left-radius: 0; border-top-right-radius: 0; } @@ -1698,7 +1689,7 @@ window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerb box-shadow: inset 0 1px rgba(255, 255, 255, 0.65); } -.tiled .titlebar, .maximized .titlebar, .fullscreen .titlebar, .tiled .titlebar headerbar, .maximized .titlebar headerbar, .fullscreen .titlebar headerbar { +.fullscreen .titlebar, .fullscreen .titlebar headerbar { box-shadow: none; } @@ -4545,10 +4536,13 @@ decoration:backdrop { } .maximized decoration, .fullscreen decoration, .tiled decoration, .tiled-top decoration, .tiled-right decoration, .tiled-bottom decoration, .tiled-left decoration { - border-radius: 0; box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.15), 0 0 0 2px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(0, 0, 0, 0.12); } +.fullscreen decoration { + border-radius: 0; +} + .popup decoration { box-shadow: none; border-radius: 12px; @@ -4560,10 +4554,6 @@ decoration:backdrop { box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15), 0 0 0 2px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(0, 0, 0, 0.12); } -.ssd decoration.maximized { - border-radius: 0; -} - .csd.popup decoration { border-radius: 10px; box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15), 0 8px 15px rgba(0, 0, 0, 0.08), 0 0 0 2px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(0, 0, 0, 0.12); @@ -4804,10 +4794,6 @@ terminal-window notebook button.flat.toggle.popup { margin: -2px; } -terminal-window.background.csd.maximized { - border-radius: 0 0 0 0; -} - window.background.csd > box.vertical > box.horizontal > frame > border { border-width: 0 1px 0 0; } @@ -5069,14 +5055,6 @@ filechooser paned > separator:hover, -gtk-icon-shadow: none; } -.nautilus-window.maximized notebook, .nautilus-window.maximized notebook > stack { - border-radius: 0; -} - -.nautilus-window.maximized headerbar, .nautilus-window.maximized placessidebar { - border-radius: 0; -} - .nautilus-window placesview row.activatable { border-radius: 6px; margin-right: 6px; diff --git a/src/main/gtk-3.0/gtk-light.css b/src/main/gtk-3.0/gtk-light.css index f567d93..d454d58 100644 --- a/src/main/gtk-3.0/gtk-light.css +++ b/src/main/gtk-3.0/gtk-light.css @@ -35,7 +35,7 @@ border-radius: 0 0 12px 12px; } -.background.maximized, .background.solid-csd { +.background.solid-csd { border-radius: 0; } @@ -1613,7 +1613,6 @@ headerbar.titlebar headerbar:not(.titlebar) { } .tiled headerbar, .tiled headerbar:backdrop, .maximized headerbar, .maximized headerbar:backdrop { - border-radius: 0; box-shadow: none; } @@ -1654,18 +1653,10 @@ separator:first-child + headerbar, separator:first-child + headerbar:backdrop, h border-top-left-radius: 12px; } -.maximized separator:first-child + headerbar, .tiled separator:first-child + headerbar, .maximized separator:first-child + headerbar:backdrop, .tiled separator:first-child + headerbar:backdrop, .maximized headerbar:first-child, .tiled headerbar:first-child, .maximized headerbar:first-child:backdrop, .tiled headerbar:first-child:backdrop { - border-radius: 0; -} - headerbar:last-child, headerbar:last-child:backdrop { border-top-right-radius: 12px; } -.maximized headerbar:last-child, .tiled headerbar:last-child, .maximized headerbar:last-child:backdrop, .tiled headerbar:last-child:backdrop { - border-radius: 0; -} - stack headerbar:first-child, stack headerbar:last-child { border-top-left-radius: 12px; border-top-right-radius: 12px; @@ -1684,7 +1675,7 @@ window stack headerbar:first-child:backdrop, window stack headerbar:first-child, border-top-right-radius: 12px; } -window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerbar:last-child, window.tiled headerbar:only-child, window.tiled-top headerbar, window.tiled-top headerbar:first-child, window.tiled-top headerbar:last-child, window.tiled-top headerbar:only-child, window.tiled-right headerbar, window.tiled-right headerbar:first-child, window.tiled-right headerbar:last-child, window.tiled-right headerbar:only-child, window.tiled-bottom headerbar, window.tiled-bottom headerbar:first-child, window.tiled-bottom headerbar:last-child, window.tiled-bottom headerbar:only-child, window.tiled-left headerbar, window.tiled-left headerbar:first-child, window.tiled-left headerbar:last-child, window.tiled-left headerbar:only-child, window.maximized headerbar, window.maximized headerbar:first-child, window.maximized headerbar:last-child, window.maximized headerbar:only-child, window.fullscreen headerbar, window.fullscreen headerbar:first-child, window.fullscreen headerbar:last-child, window.fullscreen headerbar:only-child, .solid-csd headerbar, .solid-csd headerbar:first-child, .solid-csd headerbar:last-child, .solid-csd headerbar:only-child { +window.fullscreen headerbar, window.fullscreen headerbar:first-child, window.fullscreen headerbar:last-child, window.fullscreen headerbar:only-child, .solid-csd headerbar, .solid-csd headerbar:first-child, .solid-csd headerbar:last-child, .solid-csd headerbar:only-child { border-top-left-radius: 0; border-top-right-radius: 0; } @@ -1698,7 +1689,7 @@ window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerb box-shadow: inset 0 1px rgba(255, 255, 255, 0.65); } -.tiled .titlebar, .maximized .titlebar, .fullscreen .titlebar, .tiled .titlebar headerbar, .maximized .titlebar headerbar, .fullscreen .titlebar headerbar { +.fullscreen .titlebar, .fullscreen .titlebar headerbar { box-shadow: none; } @@ -4545,10 +4536,13 @@ decoration:backdrop { } .maximized decoration, .fullscreen decoration, .tiled decoration, .tiled-top decoration, .tiled-right decoration, .tiled-bottom decoration, .tiled-left decoration { - border-radius: 0; box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.15), 0 0 0 2px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(0, 0, 0, 0.12); } +.fullscreen decoration { + border-radius: 0; +} + .popup decoration { box-shadow: none; border-radius: 12px; @@ -4560,10 +4554,6 @@ decoration:backdrop { box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15), 0 0 0 2px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(0, 0, 0, 0.12); } -.ssd decoration.maximized { - border-radius: 0; -} - .csd.popup decoration { border-radius: 10px; box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15), 0 8px 15px rgba(0, 0, 0, 0.08), 0 0 0 2px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(0, 0, 0, 0.12); @@ -4804,10 +4794,6 @@ terminal-window notebook button.flat.toggle.popup { margin: -2px; } -terminal-window.background.csd.maximized { - border-radius: 0 0 0 0; -} - window.background.csd > box.vertical > box.horizontal > frame > border { border-width: 0 1px 0 0; } @@ -5065,14 +5051,6 @@ filechooser paned > separator:hover, -gtk-icon-shadow: none; } -.nautilus-window.maximized notebook, .nautilus-window.maximized notebook > stack { - border-radius: 0; -} - -.nautilus-window.maximized headerbar, .nautilus-window.maximized placessidebar { - border-radius: 0; -} - .nautilus-window placesview row.activatable { border-radius: 6px; margin-right: 6px; diff --git a/src/sass/gtk/_applications.scss b/src/sass/gtk/_applications.scss index 5cdabdb..1ffdaa3 100644 --- a/src/sass/gtk/_applications.scss +++ b/src/sass/gtk/_applications.scss @@ -30,7 +30,7 @@ terminal-window { } } - &.background.csd.maximized { border-radius: 0 0 0 0; } // Fixed gnome 3.32 issue: Unable to restore window size after maximization + // &.background.csd.maximized { border-radius: 0 0 0 0; } // Fixed gnome 3.32 issue: Unable to restore window size after maximization } window.background.csd { // gnome-terminal 3.32 setting @@ -316,10 +316,10 @@ filechooser, } // Reset maximized nautilus-window border-radius - &.maximized { - notebook { &, > stack { border-radius: 0; } } - headerbar, placessidebar { border-radius: 0; } - } + // &.maximized { + // notebook { &, > stack { border-radius: 0; } } + // headerbar, placessidebar { border-radius: 0; } + // } placesview { row.activatable { diff --git a/src/sass/gtk/_common.scss b/src/sass/gtk/_common.scss index ea52bc8..faae096 100644 --- a/src/sass/gtk/_common.scss +++ b/src/sass/gtk/_common.scss @@ -34,7 +34,7 @@ // > box > stack { background-color: $bg_color; } &.csd { border-radius: 0 0 $wm_radius $wm_radius; } // Set csd windows botttom border radius - &.maximized, &.solid-csd { border-radius: 0; } // No radius when windows maximized + &.solid-csd { border-radius: 0; } } .popup.background { @@ -1425,7 +1425,7 @@ headerbar { .tiled &, .tiled &:backdrop, .maximized &, .maximized &:backdrop { - border-radius: 0; // squared corners when the window is max'd or tiled + // border-radius: 0; // squared corners when the window is max'd or tiled box-shadow: none; } @@ -1474,8 +1474,8 @@ headerbar { &, &:backdrop { border-top-left-radius: $wm_radius; - .maximized &, - .tiled & { border-radius: 0; } + // .maximized &, + // .tiled & { border-radius: 0; } } } @@ -1483,8 +1483,8 @@ headerbar { &, &:backdrop { border-top-right-radius: $wm_radius; - .maximized &, - .tiled & { border-radius: 0; } + // .maximized &, + // .tiled & { border-radius: 0; } } } @@ -1508,12 +1508,12 @@ headerbar { } } - window.tiled &, - window.tiled-top &, - window.tiled-right &, - window.tiled-bottom &, - window.tiled-left &, - window.maximized &, + // window.tiled &, + // window.tiled-top &, + // window.tiled-right &, + // window.tiled-bottom &, + // window.tiled-left &, + // window.maximized &, window.fullscreen &, .solid-csd & { &, @@ -1535,8 +1535,8 @@ headerbar { &, & headerbar { box-shadow: inset 0 1px $highlight_color; - .tiled &, - .maximized &, + // .tiled &, + // .maximized &, .fullscreen & { box-shadow: none; } } @@ -3866,10 +3866,11 @@ decoration { .tiled-right &, .tiled-bottom &, .tiled-left & { - border-radius: 0; box-shadow: 0 3px 3px 0 $wm_shadow, $wm_outline; } + .fullscreen & { border-radius: 0; } + .popup & { box-shadow: none; border-radius: $wm_radius; @@ -3880,7 +3881,7 @@ decoration { margin: -5px; border-radius: $wm_radius $wm_radius 0 0; box-shadow: 0 0 5px 0 $wm_shadow, $wm_outline; - &.maximized { border-radius: 0; } + // &.maximized { border-radius: 0; } } .csd.popup & {