diff options
author | Sam Potts <me@sampotts.me> | 2015-06-08 21:43:49 +1000 |
---|---|---|
committer | Sam Potts <me@sampotts.me> | 2015-06-08 21:43:49 +1000 |
commit | f41854ebe72e4ba44c7b66464205b966f5b2f3d2 (patch) | |
tree | 26d935d5b563165cb0e0110d935a5ed29b8a4914 /src/less | |
parent | f398266206e10b945cccdacc7edc4b5eb3308442 (diff) | |
download | plyr-f41854ebe72e4ba44c7b66464205b966f5b2f3d2.tar.lz plyr-f41854ebe72e4ba44c7b66464205b966f5b2f3d2.tar.xz plyr-f41854ebe72e4ba44c7b66464205b966f5b2f3d2.zip |
Minor tweak to hiding controls in fullscreen
Diffstat (limited to 'src/less')
-rw-r--r-- | src/less/plyr.less | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/less/plyr.less b/src/less/plyr.less index bd10d69f..3f572c3e 100644 --- a/src/less/plyr.less +++ b/src/less/plyr.less @@ -564,12 +564,9 @@ 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 { @@ -582,11 +579,10 @@ // 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; } } } |