]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/include/_mixins.scss
Playlist videos component
[github/Chocobozzz/PeerTube.git] / client / src / sass / include / _mixins.scss
index 6fb9bf200bad614b6a4972d1424d3f21489df0af..7faeec6bdcc0893e370b9f38a0d5cfe4b7b67420 100644 (file)
   }
 }
 
+
+@mixin ellipsis {
+  white-space: nowrap;
+  overflow: hidden;
+  text-overflow: ellipsis;
+}
 /**
  *  This mixin will crop text in block for needed amount of lines and put ellipsis at the end
  *
   }
 }
 
-@mixin video-miniature-small-screen {
-  text-align: center;
-
-  /deep/ .video-miniature {
-    padding-right: 0;
-    height: auto;
-    width: 100%;
-    margin-bottom: 20px;
-
-    .video-miniature-information {
-      width: 100% !important;
+@mixin dropdown-with-icon-item {
+  padding: 6px 24px;
 
-      span {
-        width: 100%;
-      }
-    }
-
-    .video-thumbnail {
-      width: 100%;
-      height: auto;
+  my-global-icon {
+    width: 24px;
 
-      img {
-        width: 100%;
-        height: auto;
-      }
-    }
+    margin-right: 10px;
+    position: relative;
+    top: -2px;
   }
 }