This commit is contained in:
vinceliuice 2022-11-13 12:58:58 +08:00
parent c10a76ebf0
commit 7545faad5b
2 changed files with 28 additions and 9 deletions

View file

@ -3845,6 +3845,7 @@ stacksidebar {
padding-left: $container_padding;
padding-right: $container_padding;
}
&.needs-attention > label {
@extend %needs_attention;
background-size: $container_padding $container_padding, 0 0;
@ -3904,17 +3905,24 @@ stacksidebar {
background-clip: content-box;
}
&.sidebar-new-bookmark-row { color: $selected_bg_color; }
&.sidebar-new-bookmark-row {
color: $selected_bg_color;
&:drop(active):not(:disabled) {
&, label, .sidebar-icon { color: $selected_fg_color; }
background-color: $selected_bg_color;
}
}
&:drop(active):not(:disabled) {
box-shadow: none;
background-color: rgba($drop_target_color, 0.15);
&, label, image { color: $drop_target_color; }
box-shadow: inset 0 1px $drop_target_color,
inset 0 -1px $drop_target_color;
&:selected {
&, label, image { color: $dark_sidebar_fg; }
background-color: $drop_target_color;
&, label, image { color: $drop_target_color; }
background-color: rgba($drop_target_color, 0.35);
}
}
}

View file

@ -225,15 +225,26 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
&.sidebar-new-bookmark-row {
color: $selected_bg_color;
&:drop(active):not(:disabled) {
&, label, .sidebar-icon { color: $selected_fg_color; }
background-color: $selected_bg_color;
}
.sidebar-icon { color: inherit; }
}
&:drop(active):not(:disabled) {
border: none;
border-radius: 0;
background-color: rgba($dark_sidebar_fg, 0.15);
&, label, .sidebar-icon { color: $dark_sidebar_fg; }
&:selected {
&, label, .sidebar-icon { color: $dark_sidebar_fg; }
background-color: $drop_target_color;
&:selected.has-open-popup,
&:selected, &:selected:hover {
background-image: none;
background-color: rgba($selected_bg_color, 0.15);
&, label, .sidebar-icon { color: $selected_bg_color; }
}
}
}