Controls bug fix

This commit is contained in:
Sam Potts
2016-01-12 22:31:37 +11:00
parent 18b2d81985
commit c449fc0867
2 changed files with 3 additions and 3 deletions

2
dist/plyr.css vendored

File diff suppressed because one or more lines are too long

View File

@ -637,7 +637,7 @@
}
// Hide controls when playing in full screen
&--fullscreen--hide-controls.plyr--playing {
&--fullscreen--hide-controls&--fullscreen-active.plyr--playing {
.plyr__controls {
transform: translateY(100%) translateY(@control-spacing / 2);
transition: transform .3s .2s ease;
@ -654,7 +654,7 @@
// Captions
&--fullscreen .plyr__captions,
&--fullscreen-active .plyr__captions,
&--fullscreen--hide-controls.plyr--playing.plyr--hover .plyr__captions {
&--fullscreen--hide-controls&--fullscreen-active&--playing&--hover .plyr__captions {
top: auto;
bottom: 90px;