From 3dca2b10d0a24bd111119c3eb94df512d7e067f5 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Mon, 21 Feb 2022 16:45:22 +0800 Subject: [PATCH] Fixed gnome-tweaks issue --- src/sass/gtk/apps/_gnome-3.22.scss | 46 +++++++++++++----------------- 1 file changed, 20 insertions(+), 26 deletions(-) diff --git a/src/sass/gtk/apps/_gnome-3.22.scss b/src/sass/gtk/apps/_gnome-3.22.scss index dce7057..892db53 100644 --- a/src/sass/gtk/apps/_gnome-3.22.scss +++ b/src/sass/gtk/apps/_gnome-3.22.scss @@ -1425,32 +1425,6 @@ row#AutostartTitle.tweak { } } -// Themed left sidebar -.tweak-category:not(:selected):not(:hover) { - background: none; -} - -// sidebar on gnome tweak -.tweak-categories { - background-image: none; - background-color: rgba($dark_sidebar_bg, 1); - border-radius: 0 0 0 $wm_radius; - - .maximized &, - .fullscreen &, - .tiled &, - .tiled-top &, - .tiled-right &, - .tiled-bottom &, - .tiled-left & { border-radius: 0 0 0 $maximized_radius; } - - > separator { - min-width: 0; - min-height: 0; - background: none; - } -} - // separator of sidebar on Gnome control center and Gnome tweaks window.background.csd { > hdyleaflet, @@ -1473,6 +1447,24 @@ window.background.csd { border-bottom-right-radius: $wm_radius; } + // sidebar on gnome tweak + list.tweak-categories { + background-image: none; + background-color: rgba($dark_sidebar_bg, 1); + border-radius: 0 0 0 $wm_radius; + + // Themed left sidebar + .tweak-category:not(:selected):not(:hover) { + background: none; + } + + > separator { + min-width: 0; + min-height: 0; + background: none; + } + } + &.maximized, &.tiled, &.fullscreen { > hdyleaflet > box.vertical > stack.main-container { border-bottom-right-radius: $maximized_radius; @@ -1576,7 +1568,9 @@ window.background.csd { background: none; min-height: 2px; } + > list { border-radius: 4px; } + &:first-child:last-child > list { border-radius: $wm_radius; } &:first-child > list { border-radius: $wm_radius $wm_radius 4px 4px; } &:not(:first-child):last-child > list { border-radius: 4px 4px $wm_radius $wm_radius; }