]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/player/playlist.scss
Refactoring margin and padding mixins
[github/Chocobozzz/PeerTube.git] / client / src / sass / player / playlist.scss
index ebbed02d9bc434879e5a588525fffb9a6a0c08e4..4419df2429a1887bbead5315e951de7ac6a629bb 100644 (file)
@@ -1,3 +1,7 @@
+@use '_variables' as *;
+@use '_mixins' as *;
+@use './_player-variables' as *;
+
 $playlist-menu-width: 350px;
 
 .vjs-playlist-menu {
@@ -40,14 +44,15 @@ $playlist-menu-width: 350px;
     }
 
     .cross {
-      cursor: pointer;
-      width: 20px;
-      height: 20px;
       mask-image: url('#{$assets-path}/images/feather/x.svg');
       -webkit-mask-image: url('#{$assets-path}/images/feather/x.svg');
-      background-color: white;
       mask-size: cover;
       -webkit-mask-size: cover;
+
+      cursor: pointer;
+      width: 20px;
+      height: 20px;
+      background-color: #fff;
     }
   }
 }
@@ -77,7 +82,7 @@ $playlist-menu-width: 350px;
 }
 
 .vjs-playlist-button {
-  font-size: 15px;
+  font-size: 16px;
   position: absolute;
   right: 0;
   top: 0;
@@ -87,13 +92,14 @@ $playlist-menu-width: 350px;
 }
 
 .vjs-playlist-icon {
-  width: 22px;
-  height: 22px;
   mask-image: url('#{$assets-path}/images/feather/list.svg');
   -webkit-mask-image: url('#{$assets-path}/images/feather/list.svg');
-  background-color: white;
   mask-size: cover;
   -webkit-mask-size: cover;
+
+  width: 22px;
+  height: 22px;
+  background-color: #fff;
   margin-bottom: 3px;
 }
 
@@ -133,9 +139,9 @@ $playlist-menu-width: 350px;
   }
 
   .item-player {
-    display: none;
-
     @include play-icon(20px, 16px);
+
+    display: none;
   }
 
   &.vjs-selected {