mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2024-11-12 19:37:29 +00:00
Make details/summary keyboard accessible
This commit is contained in:
parent
cebc4331bc
commit
db49bb38b0
@ -45,7 +45,7 @@ select:-moz-focusring
|
||||
text-shadow: 0 0 0 c.$fg-bright
|
||||
|
||||
body.show-focus
|
||||
a, select, button, input, video
|
||||
a, select, button, input, video, summary
|
||||
&:focus
|
||||
outline: 2px dotted #ddd
|
||||
|
||||
|
@ -17,7 +17,10 @@
|
||||
|
||||
visibility: hidden
|
||||
|
||||
@at-root .thumbnail:hover &, &[open]
|
||||
@at-root .thumbnail:hover &, body.show-focus &
|
||||
visibility: visible
|
||||
|
||||
&[open]
|
||||
visibility: visible
|
||||
|
||||
&__show-more
|
||||
|
Loading…
Reference in New Issue
Block a user