Skip to content

Commit

Permalink
BUGfix: might fix slow sidebar rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
thekomer committed Mar 10, 2022
1 parent bdc3014 commit ed6f1d1
Show file tree
Hide file tree
Showing 6 changed files with 96 additions and 73 deletions.
2 changes: 1 addition & 1 deletion gtk-3.0/apps/_nemo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
iconview.cell { }
}

.sidebar, statusbar, box.toolbar, toolbar.primary-toolbar { //box.toolbar is actualy whole statusbar
.sidebar, .NemoSidebar, .nemo-places-sidebar, statusbar, box.toolbar, toolbar.primary-toolbar { //box.toolbar is actualy whole statusbar
color: $sidebar_fg_color;
background: $sidebar_bg_color;
margin-bottom: -4px;
Expand Down
28 changes: 14 additions & 14 deletions gtk-3.0/gtk-dark.css

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions gtk-3.0/gtk.css

Large diffs are not rendered by default.

19 changes: 15 additions & 4 deletions gtk-4.0/apps/_nemo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,28 @@
iconview.cell { }
}

.sidebar, statusbar, box.toolbar, toolbar.primary-toolbar { //box.toolbar is actualy whole statusbar
.sidebar, .NemoSidebar, .nemo-places-sidebar, statusbar, box.toolbar, toolbar.primary-toolbar { //box.toolbar is actualy whole statusbar
color: $sidebar_fg_color;
background: $sidebar_bg_color;
margin-bottom: -4px;
.view, .iconview, row {
background-color: transparent;
&:hover {
transition: $button_transition;
transition-duration: 500ms;
color: $selected_bg_color;
background-color: transparentize($fg_color, 0.95);
}
&:selected, &:active, &:checked {
transition: $button_transition;
transition-duration: 50ms;
color: $selected_fg_color;
// background: linear-gradient(to right, $theme-gradient-start 0%, $theme-gradient-end 100%);
background: $selected_bg_color;
}
&:backdrop {
transition: $backdrop_transition;
transition-duration: 500ms;
color: $backdrop_fg_color;
background-color: inherit;
&:selected{
Expand All @@ -41,19 +47,24 @@
margin-top: 5px;
margin-bottom: 5px;
min-height: 24px;
transition: $button_transition;
&:hover {
transition-duration: 500ms;
color: $selected_bg_color;
background: transparent;
}
&:backdrop {
transition: $backdrop_transition;
transition-duration: 500ms;
color: inherit;
background: transparent;
}
&:selected, &:active, &:checked {
transition-duration: 50ms;
@include button(active-header);
&:backdrop {
@include button(backdrop-active-header);
}
//&:backdrop {
//@include button(backdrop-active-header);
//}
}
&:disabled {
color: $insensitive_fg_color;
Expand Down
Loading

0 comments on commit ed6f1d1

Please sign in to comment.