Merge branch '53-carousel-focus' into 'main'

ui: Add explicit focus outline to carousel items

Closes #53

See merge request pwithnall/malcontent!156
This commit is contained in:
Philip Withnall 2023-10-13 13:58:45 +00:00
commit c764487abf
1 changed files with 9 additions and 0 deletions

View File

@ -28,3 +28,12 @@ carousel-item {
border: none;
color: @theme_fg_color;
}
carousel-item:focus:focus-visible avatar {
/* this should actually be $focus_border_color from
* gtk/theme/Default/_colors.scss, but we have to simplify the theming slightly */
outline-color: @theme_selected_bg_color;
outline-offset: -2px;
outline-width: 2px;
outline-style: solid;
}