diff options
Diffstat (limited to 'common/gtk-3.0/3.20/sass/_transparent_widgets.scss')
-rw-r--r-- | common/gtk-3.0/3.20/sass/_transparent_widgets.scss | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/common/gtk-3.0/3.20/sass/_transparent_widgets.scss b/common/gtk-3.0/3.20/sass/_transparent_widgets.scss index 5dd29cf..11722bf 100644 --- a/common/gtk-3.0/3.20/sass/_transparent_widgets.scss +++ b/common/gtk-3.0/3.20/sass/_transparent_widgets.scss @@ -21,26 +21,39 @@ background-color: $dark_sidebar_bg; - row.sidebar-new-bookmark-row { - &, image { color: $selected_bg_color; } - } - row { border: none; color: $dark_sidebar_fg; - &:not(:selected):not(:disabled):not(:active):not(.sidebar-new-bookmark-row) { - .sidebar-icon { color: transparentize($dark_sidebar_fg, 0.4); } - } + .sidebar-icon { color: transparentize($dark_sidebar_fg, 0.4); } &.has-open-popup, &:hover { background-color: transparentize($dark_sidebar_fg, 0.85); } + &:disabled { &, label, image { color: transparentize($dark_sidebar_fg, 0.6); } } + &:selected.has-open-popup, &:selected, &:selected:hover, &:active:hover { @extend %selected_items; + + .sidebar-icon { color: inherit; } + } + + &.sidebar-new-bookmark-row { + color: $selected_bg_color; + + .sidebar-icon { color: inherit; } + } + + &:drop(active):not(:disabled) { + &, label, .sidebar-icon { color: $drop_target_color; } + + &:selected { + &, label, .sidebar-icon { color: $selected_fg_color; } + background-color: $drop_target_color; + } } } |