Skip to content

Commit

Permalink
Add color to central video play button when focus is visible
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandoraaa committed Jun 9, 2020
1 parent 6ad971d commit 2eac890
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/app/menu/language-chooser.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
Expand Down
5 changes: 3 additions & 2 deletions client/src/sass/player/peertube-skin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2eac890

Please sign in to comment.