Skip to content

Commit

Permalink
SASS for previous change
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Potts committed Jun 8, 2015
1 parent f41854e commit 4f0633f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/sass/plyr.scss
Original file line number Diff line number Diff line change
Expand Up @@ -572,12 +572,9 @@ $bp-captions-large: 768px !default; // When captions jump to the larger fo
top: auto;
bottom: 90px;

@media (min-width: $bp-control-split) and (max-width: ($bp-captions-large - 1)) {
@media (min-width: $bp-control-split) {
bottom: 60px;
}
@media (min-width: $bp-captions-large) {
bottom: 80px;
}
}
}
.player-controls {
Expand All @@ -590,11 +587,10 @@ $bp-captions-large: 768px !default; // When captions jump to the larger fo
// Hide controls when playing in full screen
&.fullscreen-hide-controls.playing .player-controls {
transform: translateY(100%) translateY($control-spacing / 2);
transition: transform .3s 1s ease;
transition: transform .3s .2s ease;

&.hover {
transform: translateY(0);
transition-delay: 0;
}
}
}
Expand Down

0 comments on commit 4f0633f

Please sign in to comment.