mirror of https://github.com/Chocobozzz/PeerTube
change focus color instead of opacity of video play button (#2845)
parent
e66883b37a
commit
d8d8de7f87
|
@ -20,7 +20,7 @@ export class LanguageChooserComponent {
|
|||
@Inject(LOCALE_ID) private localeId: string
|
||||
) {
|
||||
const l = Object.keys(I18N_LOCALES)
|
||||
.map(k => ({ id: k, label: I18N_LOCALES[k] , iso: getShortLocale(k)}))
|
||||
.map(k => ({ id: k, label: I18N_LOCALES[k] , iso: getShortLocale(k) }))
|
||||
|
||||
this.languages = sortBy(l, 'label')
|
||||
}
|
||||
|
|
|
@ -85,9 +85,10 @@ body {
|
|||
background-image: url('#{$assets-path}/player/images/big-play-button.svg');
|
||||
}
|
||||
|
||||
&:hover {
|
||||
opacity: 0.8;
|
||||
&.focus-visible, &:hover {
|
||||
background-color: var(--mainColor);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Small effect when we click on the play button
|
||||
|
|
Loading…
Reference in New Issue