Merge branch 'drag-controller' of https://github.com/arao456/videospeed into arao456-drag-controller

Some cleanup + refactoring.
This commit is contained in:
Ilya Grigorik
2016-07-28 23:30:42 +02:00
3 changed files with 70 additions and 11 deletions

View File

@@ -1,5 +1,10 @@
/* Origin specific overrides */
.vsc-hidden { display: none !important; }
.vsc-manual {
visibility: visible !important;
opacity: 1.0 !important;
}
/* Origin specific overrides */
/* YouTube player */
.ytp-hide-info-bar .vsc-controller {
position: relative;
@@ -17,12 +22,6 @@
opacity: 1.0;
}
.vsc-hidden { display: none !important; }
.vsc-manual {
visibility: visible !important;
opacity: 1.0 !important;
}
/* YouTube embedded player */
/* e.g. https://www.igvita.com/2012/09/12/web-fonts-performance-making-pretty-fast/ */
.full-frame .html5-video-player:not(.ytp-fullscreen) .vsc-controller {
@@ -57,6 +56,7 @@ div.video-wrapper + div.target {
height: 0;
}
/* Fix black overlay on Kickstarter */
div.video-player.has_played.vertically_center:before, div.legacy-video-player.has_played.vertically_center:before {
content: none !important;