@aidenlx/player
Version:
Headless web components that make integrating media on the a web a breeze.
28 lines (24 loc) • 541 B
text/typescript
import { css } from 'lit';
export const toggleButtonElementStyles = css`
:host {
display: table;
contain: content;
user-select: none;
-webkit-user-select: none;
-webkit-tap-highlight-color: transparent;
}
:host([hidden]) {
display: none;
}
:host(:focus) {
outline: none;
}
:host(:focus-visible) {
outline: 1px auto Highlight;
outline: 1px auto -webkit-focus-ring-color;
}
:host(.focus-visible) {
outline: 1px auto Highlight;
outline: 1px auto -webkit-focus-ring-color;
}
`;