X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Finclude%2F_mixins.scss;h=7faeec6bdcc0893e370b9f38a0d5cfe4b7b67420;hb=c5a1ae500e68b759f76851552be6dd10631d34f4;hp=5b3346508fdd6edc67cfb47505297f691ce91e32;hpb=f2fab901df31a0e7081f4bb225f28e98798950b0;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 5b3346508..7faeec6bd 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -18,6 +18,12 @@ } } + +@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 * @@ -261,6 +267,10 @@ color: transparent; text-shadow: 0 0 0 #000; } + + option { + color: #000; + } } } @@ -428,7 +438,7 @@ height: 160px; display: flex; flex-direction: column; - align-items: start; + align-items: flex-start; .actor { display: flex; @@ -506,31 +516,14 @@ } } -@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; } }