Tweak the sidebar background color
Sidebars are no longer too bright in dark variant.
Sidebars are no longer too bright in dark variant.
by roundabout, Saturday, 10 March 2018, 07:30:59 (1520667059), pushed by roundabout, Sunday, 11 May 2025, 13:22:20 (1746969740)
Author identity: nana-4 <hnmaigo@gmail.com>
a63f0dd5c09bddbb4f12867784400b6552156310
// the sidebar
.tweak-categories {
// padding: 4px 0;
background-color: $lighter_bg_color;
background-image: linear-gradient(to bottom, $lighter_bg_color);
background-color: $alt_base_color;
background-image: linear-gradient(to bottom, $alt_base_color);
// hide separators
.separator {
***********/
.sidebar {
border-style: none;
background-color: $lighter_bg_color;
background-color: $alt_base_color;
@at-root %sidebar_left,
&:dir(ltr),
}
.gedit-document-panel {
background-color: $lighter_bg_color;
background-color: $alt_base_color;
// Try to look as the notebook tab close button
row button.flat {
.tweak-categories {
// padding: 4px 0;
// background-color: shade(@theme_bg_color, 0.99);
background-image: image($lighter_bg_color);
background-image: image($alt_base_color);
separator { @extend %hide_separators; }
}
.side-panel .view {
// background-color: mix(@theme_fg_color, @theme_bg_color, 0.9);
background-image: image($lighter_bg_color);
background-image: image($alt_base_color);
&:hover { background-image: image(mix($fg_color, $lighter_bg_color, percentage(0.05))); }
&:hover { background-image: image(mix($fg_color, $alt_base_color, percentage(0.05))); }
}
.side-panel .view:selected {
**************/
box.dialog-vbox scrolledwindow.related { border: 1px solid $border_color; }
list.categories { background-image: image($lighter_bg_color); }
list.categories { background-image: image($alt_base_color); }
/*********
}
.gedit-document-panel {
background-color: $lighter_bg_color;
background-color: $alt_base_color;
// Try to look as the notebook tab close button
row button.flat {
.tweak-categories {
// padding: 4px 0;
// background-color: shade(@theme_bg_color, 0.99);
background-image: image($lighter_bg_color);
background-image: image($alt_base_color);
separator { @extend %hide_separators; }
}
}
preferences stacksidebar.sidebar {
list { background-color: $lighter_bg_color; }
list { background-color: $alt_base_color; }
&:dir(ltr),
&:dir(rtl) { list { border-style: none; }}
.side-panel .view {
// background-color: mix(@theme_fg_color, @theme_bg_color, 0.9);
background-image: image($lighter_bg_color);
background-image: image($alt_base_color);
&:hover { background-image: image(mix($fg_color, $lighter_bg_color, percentage(0.05))); }
&:hover { background-image: image(mix($fg_color, $alt_base_color, percentage(0.05))); }
}
.side-panel .view:selected {
**************/
box.dialog-vbox scrolledwindow.related { border: 1px solid $border_color; }
list.categories { background-image: image($lighter_bg_color); }
list.categories { background-image: image($alt_base_color); }
/*********