change focus color instead of opacity of video play button (#2845)

pull/2815/head
Caroline Chuong 2020-06-09 13:35:30 +02:00 committed by GitHub
parent e66883b37a
commit d8d8de7f87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -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