]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/include/_mixins.scss
Handle basic playlist in embed
[github/Chocobozzz/PeerTube.git] / client / src / sass / include / _mixins.scss
index ee2fe04978ace5eeccbc32f4cd252a89df0c928a..e4c2dffa0f0e83794621bb9055ce9a5772b4967f 100644 (file)
     }
   }
 }
+
+@mixin play-icon ($width, $height) {
+  width: 0;
+  height: 0;
+
+  position: absolute;
+  left: 50%;
+  top: 50%;
+  transform: translate(-50%, -50%) scale(0.5);
+
+  border-top: ($height / 2) solid transparent;
+  border-bottom: ($height / 2) solid transparent;
+
+  border-left: $width solid rgba(255, 255, 255, 0.95);
+}