]>
Commit | Line | Data |
---|---|---|
63c4db6d C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
830b4faf | 3 | @import '_miniature'; |
63c4db6d | 4 | |
501bc6c2 | 5 | .video-miniature { |
11dd0c2e | 6 | width: $video-miniature-width; |
e2409062 C |
7 | display: inline-flex; |
8 | flex-direction: column; | |
9bf9d2a5 | 9 | margin-bottom: 30px; |
e5fc7811 | 10 | height: 195px; |
0d7d2ad9 | 11 | vertical-align: top; |
501bc6c2 | 12 | |
0f4905e1 C |
13 | .video-bottom { |
14 | display: flex; | |
501bc6c2 | 15 | |
0f4905e1 C |
16 | .video-miniature-information { |
17 | width: 200px; | |
18 | line-height: normal; | |
501bc6c2 | 19 | |
0f4905e1 C |
20 | .video-miniature-name { |
21 | @include miniature-name; | |
22 | } | |
00a44645 | 23 | |
0f4905e1 C |
24 | .video-miniature-created-at-views { |
25 | display: block; | |
26 | font-size: 13px; | |
27 | } | |
03e12d7c | 28 | |
0f4905e1 C |
29 | .video-miniature-account, |
30 | .video-miniature-channel { | |
31 | @include disable-default-a-behaviour; | |
32 | @include ellipsis; | |
03e12d7c | 33 | |
0f4905e1 C |
34 | display: block; |
35 | font-size: 13px; | |
36 | color: $grey-foreground-color; | |
37 | ||
38 | &:hover { | |
39 | color: $grey-foreground-hover-color; | |
40 | } | |
03e12d7c | 41 | } |
e2409062 | 42 | |
0f4905e1 C |
43 | .video-info-privacy, |
44 | .video-info-blacklisted .blacklisted-label, | |
45 | .video-info-nsfw { | |
46 | font-weight: $font-semibold; | |
47 | } | |
e2409062 | 48 | |
0f4905e1 C |
49 | .video-info-blacklisted { |
50 | color: red; | |
e2409062 | 51 | |
0f4905e1 C |
52 | .blacklisted-reason::before { |
53 | content: ' - '; | |
54 | } | |
e2409062 | 55 | } |
e2409062 | 56 | |
0f4905e1 C |
57 | .video-info-nsfw { |
58 | color: red; | |
59 | } | |
e2409062 | 60 | } |
3a0fb65c C |
61 | |
62 | .video-actions { | |
63 | margin-top: 3px; | |
64 | margin-right: 10px; | |
3a0fb65c | 65 | |
0f4905e1 | 66 | /deep/ .dropdown-root:not(.show) { |
2b3f1919 | 67 | opacity: 0; |
0f4905e1 | 68 | } |
3a0fb65c | 69 | |
0f4905e1 | 70 | /deep/ .playlist-dropdown.show + my-action-dropdown .dropdown-root { |
2b3f1919 | 71 | opacity: 1; |
0f4905e1 | 72 | } |
3a0fb65c C |
73 | } |
74 | ||
0f4905e1 | 75 | &:hover .video-actions /deep/ .dropdown-root { |
2b3f1919 | 76 | opacity: 1; |
3a0fb65c C |
77 | } |
78 | ||
79 | @media screen and (max-width: $small-view) { | |
0f4905e1 C |
80 | .video-miniature-information .video-miniature-name { |
81 | margin-top: 0; | |
3a0fb65c C |
82 | } |
83 | ||
0f4905e1 C |
84 | .video-actions { |
85 | margin: 0; | |
86 | top: -3px; | |
87 | ||
88 | /deep/ .dropdown-root { | |
89 | display: block !important; | |
90 | } | |
3a0fb65c C |
91 | } |
92 | } | |
93 | } | |
94 | ||
e2409062 C |
95 | &.display-as-row { |
96 | flex-direction: row; | |
97 | margin-bottom: 0; | |
98 | height: auto; | |
99 | width: 100%; | |
100 | ||
101 | my-video-thumbnail { | |
102 | margin-right: 10px; | |
103 | } | |
104 | ||
0f4905e1 C |
105 | .video-bottom { |
106 | .video-miniature-information { | |
107 | width: auto; | |
108 | min-width: 500px; | |
109 | ||
110 | .video-miniature-name { | |
111 | @include ellipsis-multiline(1.3em, 2); | |
112 | ||
113 | margin-top: 2px; | |
114 | margin-bottom: 5px; | |
115 | } | |
116 | ||
117 | .video-miniature-created-at-views, | |
118 | .video-miniature-account, | |
119 | .video-miniature-channel { | |
120 | font-size: 14px; | |
121 | width: fit-content; | |
122 | } | |
123 | ||
124 | .video-info-privacy { | |
125 | margin-top: 5px; | |
126 | } | |
127 | ||
128 | .video-info-blacklisted { | |
129 | margin-top: 3px; | |
130 | } | |
e2409062 C |
131 | } |
132 | ||
0f4905e1 C |
133 | .video-actions { |
134 | margin: 0; | |
135 | top: -3px; | |
e2409062 C |
136 | } |
137 | } | |
138 | ||
139 | @media screen and (max-width: $small-view) { | |
140 | flex-direction: column; | |
141 | height: auto; | |
142 | ||
143 | my-video-thumbnail { | |
144 | margin-right: 0; | |
145 | } | |
8dfceec4 C |
146 | |
147 | .video-miniature-information { | |
148 | min-width: initial; | |
149 | } | |
e2409062 | 150 | } |
501bc6c2 C |
151 | } |
152 | } |