change focus color instead of opacity of video play button (#2845)
This commit is contained in:
parent
e66883b37a
commit
d8d8de7f87
2 changed files with 4 additions and 3 deletions
|
@ -20,7 +20,7 @@ export class LanguageChooserComponent {
|
||||||
@Inject(LOCALE_ID) private localeId: string
|
@Inject(LOCALE_ID) private localeId: string
|
||||||
) {
|
) {
|
||||||
const l = Object.keys(I18N_LOCALES)
|
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')
|
this.languages = sortBy(l, 'label')
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,9 +85,10 @@ body {
|
||||||
background-image: url('#{$assets-path}/player/images/big-play-button.svg');
|
background-image: url('#{$assets-path}/player/images/big-play-button.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&.focus-visible, &:hover {
|
||||||
opacity: 0.8;
|
background-color: var(--mainColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Small effect when we click on the play button
|
// Small effect when we click on the play button
|
||||||
|
|
Loading…
Add table
Reference in a new issue