]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/video-js-custom.scss
Add bootstrap analyzer and optimize build
[github/Chocobozzz/PeerTube.git] / client / src / sass / video-js-custom.scss
index 2fcfc6203dd057f1ba7ba7d13f367296e9076797..25362c5af7cadac679df76fa563efd0901ad853c 100644 (file)
@@ -23,15 +23,12 @@ $control-bar-height: 34px;
   }
 
   .vjs-big-play-button {
+    outline: 0;
     font-size: 8em;
 
     $big-play-width: 3em;
     $big-play-height: 1.5em;
 
-    line-height: $big-play-height;
-    height: $big-play-height;
-    width: $big-play-width;
-
     border: 0;
     border-radius: 0.3em;
 
@@ -39,10 +36,7 @@ $control-bar-height: 34px;
     top: 50%;
     margin-left: -($big-play-width / 2);
     margin-top: -($big-play-height / 2);
-  }
-
-  &:hover .vjs-big-play-button {
-    background-color: transparent;
+    background-color: transparent !important;
   }
 
   .vjs-control-bar,
@@ -321,18 +315,14 @@ $control-bar-height: 34px;
 
 // Thanks: https://projects.lukehaas.me/css-loaders/
 .vjs-loading-spinner {
-  margin: 0 !important;
-  //position: absolute;
-  // 15px is the nav bar height
-  top: calc(50% - 15px);
   left: 50%;
   font-size: 10px;
-  position: relative;
   text-indent: -9999em;
   border: 0.7em solid rgba(255, 255, 255, 0.2);
   border-left-color: #ffffff;
   transform: translateZ(0);
   animation: spinner 1.4s infinite linear;
+  overflow: hidden;
 
   &:before {
     animation: none !important;