]> 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 5b3346508fdd6edc67cfb47505297f691ce91e32..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
  *
       color: transparent;
       text-shadow: 0 0 0 #000;
     }
+
+    option {
+      color: #000;
+    }
   }
 }
 
   height: 160px;
   display: flex;
   flex-direction: column;
-  align-items: start;
+  align-items: flex-start;
 
   .actor {
     display: flex;
   }
 }
 
-@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;
-
-      span {
-        width: 100%;
-      }
-    }
+@mixin dropdown-with-icon-item {
+  padding: 6px 24px;
 
-    .video-thumbnail {
-      width: 100%;
-      height: auto;
+  my-global-icon {
+    width: 24px;
 
-      img {
-        width: 100%;
-        height: auto;
-      }
-    }
+    margin-right: 10px;
+    position: relative;
+    top: -2px;
   }
 }