~cadence/cloudtube

db49bb38b073479bbbabab29b5e8ebd5060e849f — Cadence Ember 6 months ago cebc433
Make details/summary keyboard accessible
2 files changed, 5 insertions(+), 2 deletions(-)

M sass/includes/base.sass
M sass/includes/video-list-item.sass
M sass/includes/base.sass => sass/includes/base.sass +1 -1
@@ 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


M sass/includes/video-list-item.sass => sass/includes/video-list-item.sass +4 -1
@@ 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