]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-video-playlist/video-playlist-miniature.component.scss
Fix multiline ellipsis
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-video-playlist / video-playlist-miniature.component.scss
CommitLineData
830b4faf
C
1@import '_variables';
2@import '_mixins';
3@import '_miniature';
4
5.miniature {
6 display: inline-block;
7
f0a39880
C
8 &.no-videos:not(.to-manage){
9 a {
10 cursor: default !important;
11 }
12 }
13
bce47964 14 &.to-manage,
f0a39880 15 &.no-videos {
bce47964
C
16 .play-overlay {
17 display: none;
18 }
f0a39880
C
19 }
20
830b4faf
C
21 .miniature-thumbnail {
22 @include miniature-thumbnail;
23
24 .miniature-playlist-info-overlay {
25 @include static-thumbnail-overlay;
26
27 position: absolute;
28 right: 0;
29 bottom: 0;
30 height: $video-thumbnail-height;
31 padding: 0 10px;
32 display: flex;
33 align-items: center;
c5a1ae50
C
34 font-size: 14px;
35 font-weight: $font-semibold;
830b4faf
C
36 }
37 }
38
bce47964 39 .miniature-info {
830b4faf
C
40 width: 200px;
41 margin-top: 2px;
42 line-height: normal;
43
44 .miniature-name {
45 @include miniature-name;
3143ae17
C
46
47 @include ellipsis-multiline(1.3em, 2);
48
49 margin: 0;
830b4faf 50 }
bce47964 51
3143ae17
C
52 .by {
53 @include disable-default-a-behaviour;
bce47964 54
3143ae17 55 display: block;
e66883b3 56 color: pvar(--greyForegroundColor);
3143ae17 57 }
bce47964 58
3143ae17
C
59 .privacy-date {
60 margin-top: 5px;
61
62 .video-info-privacy {
63 font-size: 14px;
64 font-weight: $font-semibold;
bce47964
C
65
66 &::after {
67 content: '-';
68 margin: 0 3px;
69 }
70 }
71 }
72
bce47964
C
73 .video-info-description {
74 margin-top: 10px;
e66883b3 75 color: pvar(--greyForegroundColor);
bce47964 76 }
830b4faf
C
77 }
78}