Skip to content

Commit

Permalink
Fixed gnome-tweaks issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceliuice committed Feb 21, 2022
1 parent 5eeced7 commit 3dca2b1
Showing 1 changed file with 20 additions and 26 deletions.
46 changes: 20 additions & 26 deletions src/sass/gtk/apps/_gnome-3.22.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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;
Expand Down Expand Up @@ -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; }
Expand Down

0 comments on commit 3dca2b1

Please sign in to comment.