mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 06:10:21 +00:00
Merge branch 'wip/jimmac/hc-sidebar-borders' into 'main'
HC: make selected items better visible Closes #4984 See merge request GNOME/gtk!4813
This commit is contained in:
commit
8944493eca
@ -89,6 +89,13 @@ iconview {
|
||||
|
||||
@include focus-ring();
|
||||
|
||||
@if $contrast == 'high' {
|
||||
&:selected {
|
||||
box-shadow: inset 0 0 0 1px $borders_color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&:drop(active) {
|
||||
box-shadow: none;
|
||||
}
|
||||
@ -135,6 +142,11 @@ gridview {
|
||||
outline-color: $alt_focus_border_color;
|
||||
|
||||
@extend %selected_items;
|
||||
|
||||
@if $contrast == 'high' {
|
||||
box-shadow: inset 0 0 0 1px $borders_color;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
box { //cells
|
||||
@ -1947,7 +1959,13 @@ popover.menu {
|
||||
outline: none;
|
||||
transition: none;
|
||||
|
||||
&:selected { background: image($menu_selected_color); }
|
||||
&:selected {
|
||||
background: image($menu_selected_color);
|
||||
|
||||
@if $contrast == 'high' {
|
||||
box-shadow: inset 0 0 0 1px $borders_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -3624,6 +3642,11 @@ separator.sidebar {
|
||||
background-color: $menu_selected_color;
|
||||
color: inherit;
|
||||
|
||||
@if $contrast == 'high' {
|
||||
box-shadow: inset 0 0 0 1px $borders_color;
|
||||
}
|
||||
|
||||
|
||||
&:hover {
|
||||
background-color: darken($menu_selected_color,5%);
|
||||
}
|
||||
@ -4269,6 +4292,10 @@ popover.emoji-picker emoji {
|
||||
&:focus,
|
||||
&:hover {
|
||||
background: $selected_bg_color;
|
||||
|
||||
@if $contrast == 'high' {
|
||||
box-shadow: inset 0 0 0 1px $borders_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user