diff --git a/index.html b/index.html index 290dd46..f2d029b 100644 --- a/index.html +++ b/index.html @@ -82,6 +82,21 @@ button { font-family: 'Segoe UI Symbol', sans-serif; } + + a[href]:not([tabindex='-1']):focus-visible, + area[href]:not([tabindex='-1']):focus-visible, + input:not([disabled]):not([tabindex='-1']):focus-visible, + select:not([disabled]):not([tabindex='-1']):focus-visible, + textarea:not([disabled]):not([tabindex='-1']):focus-visible, + button:not([disabled]):not([tabindex='-1']):focus-visible, + iframe:not([tabindex='-1']):focus-visible, + [tabindex]:not([tabindex='-1']):focus-visible, + [contentEditable=true]:not([tabindex='-1']):focus-visible + { + outline: 2px solid rgb(83, 186, 255); + outline-offset: 2px; + border-radius: 2px; + } /*** title ***/ @@ -548,7 +563,7 @@ align-items: center; } - .track button { + .track .playButton { margin-right: 12px; width: 26px; height: 26px; @@ -562,7 +577,12 @@ align-items: center; justify-content: center; } - .track button:not(.loading, .error, .locked):after { + /* .track .playButton:focus-visible { + outline: 2px solid rgb(83, 186, 255); + outline-offset: 2px; + } */ + + .track .playButton:not(.loading, .error, .locked):after { content: ''; display: block; width: 0px; @@ -575,7 +595,7 @@ position: relative; left: 1px; } - .track button:not(.loading, .error, .locked).pause:after { + .track .playButton:not(.loading, .error, .locked).pause:after { content: ''; border: 0; border-left: 4px solid var(--secondaryColor); @@ -587,7 +607,7 @@ left: 0; } - .track button.loading.loading:after { + .track .playButton.loading.loading:after { content: "\1f506"; color: var(--secondaryColor); font-family: 'icons' !important; @@ -600,15 +620,15 @@ font-size: 20px; animation: pulse 1.0s infinite; } - .track button.error { + .track .playButton.error { opacity: 0.5; cursor: default; } - .track button.locked { + .track .playButton.locked { cursor: default; } - .track button.locked:after { + .track .playButton.locked:after { content: "\1f512"; color: var(--secondaryColor); font-family: 'icons' !important; @@ -621,7 +641,7 @@ font-size: 20px; } - .track.looped button:before { + .track.looped .playButton:before { content: attr(loopcount); display: block; width: 15px; @@ -638,7 +658,7 @@ font-size: 10px; text-align: center; } - .track.active.looped button:before { + .track.active.looped .playButton:before { border-color: var(--secondaryColor);; } @@ -668,6 +688,7 @@ .track .toggleInfo { margin-left: 8px; margin-right: 4px; + border-radius: 2px; cursor: pointer; color: var(--primaryAltTextColor); } @@ -681,6 +702,7 @@ } .track .infoContainer:not(.active) { height: 0px !important; + overflow: hidden; } .track .info { @@ -787,6 +809,7 @@