]>
Commit | Line | Data |
---|---|---|
63c4db6d C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
3 | ||
e31f6ad6 | 4 | #video-container { |
be6a4802 C |
5 | background-color: #000; |
6 | display: flex; | |
7 | justify-content: center; | |
8 | ||
9 | #video-element { | |
10 | width: 888px; | |
11 | height: 500px; | |
7b272fd7 | 12 | |
b9828abe C |
13 | @media screen and (max-width: 800px) { |
14 | height: auto; | |
15 | } | |
16 | ||
7b272fd7 C |
17 | // VideoJS create an inner video player |
18 | video { | |
19 | outline: 0; | |
b9828abe | 20 | position: relative !important; |
7b272fd7 | 21 | } |
be6a4802 | 22 | } |
e56b20f5 C |
23 | } |
24 | ||
9c89a45c C |
25 | #video-not-found { |
26 | height: 300px; | |
27 | line-height: 300px; | |
28 | margin-top: 50px; | |
29 | text-align: center; | |
30 | font-weight: bold; | |
31 | } | |
32 | ||
b1fa3eba C |
33 | .video-bottom { |
34 | margin-top: 40px; | |
35 | display: flex; | |
d1992b93 | 36 | |
b1fa3eba C |
37 | .video-info { |
38 | flex-grow: 1; | |
39 | margin-right: 28px; | |
3eeeb87f | 40 | |
b1fa3eba C |
41 | .video-info-name-actions { |
42 | display: flex; | |
43 | align-items: center; | |
d1992b93 | 44 | |
b1fa3eba | 45 | .video-info-name { |
b2731bff | 46 | margin-right: 30px; |
b1fa3eba C |
47 | font-size: 27px; |
48 | font-weight: $font-semibold; | |
49 | flex-grow: 1; | |
50 | } | |
09223546 | 51 | |
b1fa3eba | 52 | .video-info-actions { |
b2731bff | 53 | min-width: 215px; |
6e33bf28 C |
54 | display: flex; |
55 | justify-content: end; | |
56 | ||
57 | .action-button:not(:first-child), .action-more { | |
58 | margin-left: 10px; | |
59 | } | |
b2731bff | 60 | |
b1fa3eba C |
61 | .action-button { |
62 | @include peertube-button; | |
7b272fd7 | 63 | @include grey-button; |
09223546 | 64 | |
b1fa3eba C |
65 | font-size: 15px; |
66 | font-weight: $font-semibold; | |
b1fa3eba C |
67 | display: inline-block; |
68 | padding: 0 10px 0 10px; | |
09223546 | 69 | |
7b272fd7 | 70 | .icon { |
0727cab0 C |
71 | @include icon(21px); |
72 | ||
7b272fd7 C |
73 | position: relative; |
74 | top: -2px; | |
75 | ||
76 | &.icon-like { | |
77 | background-image: url('../../../assets/images/video/like-grey.svg'); | |
78 | } | |
79 | ||
80 | &.icon-dislike { | |
81 | background-image: url('../../../assets/images/video/dislike-grey.svg'); | |
82 | } | |
83 | ||
84 | &.icon-share { | |
85 | background-image: url('../../../assets/images/video/share.svg'); | |
86 | } | |
87 | ||
88 | &.icon-more { | |
89 | background-image: url('../../../assets/images/video/more.svg'); | |
4cc66133 | 90 | top: -1px; |
7b272fd7 | 91 | } |
b1fa3eba | 92 | } |
d38b8281 | 93 | |
6e33bf28 C |
94 | &.action-button-like.activated { |
95 | background-color: #39CC0B; | |
4e1b0973 | 96 | |
7b272fd7 C |
97 | .icon-like { |
98 | background-image: url('../../../assets/images/video/like-white.svg'); | |
99 | } | |
6e33bf28 C |
100 | } |
101 | ||
102 | &.action-button-dislike.activated { | |
103 | background-color: #FF0000; | |
d38b8281 | 104 | |
7b272fd7 C |
105 | .icon-dislike { |
106 | background-image: url('../../../assets/images/video/dislike-white.svg'); | |
107 | } | |
b1fa3eba | 108 | } |
7b272fd7 | 109 | } |
d38b8281 | 110 | |
7b272fd7 C |
111 | .action-more { |
112 | display: inline-block; | |
4f8c0eb0 | 113 | |
5f0805d3 C |
114 | .dropdown-menu .dropdown-item { |
115 | padding: 6px 24px; | |
7b272fd7 | 116 | |
5f0805d3 C |
117 | .icon { |
118 | @include icon(24px); | |
7b272fd7 | 119 | |
5f0805d3 C |
120 | margin-right: 10px; |
121 | position: relative; | |
122 | top: -1px; | |
123 | ||
124 | &.icon-download { | |
125 | background-image: url('../../../assets/images/video/download-black.svg'); | |
126 | } | |
127 | ||
128 | &.icon-alert { | |
129 | background-image: url('../../../assets/images/video/alert.svg'); | |
130 | } | |
7b272fd7 | 131 | |
5f0805d3 C |
132 | &.icon-blacklist { |
133 | background-image: url('../../../assets/images/video/blacklist.svg'); | |
134 | } | |
7b272fd7 | 135 | } |
b1fa3eba | 136 | } |
4e1b0973 C |
137 | } |
138 | } | |
4f8c0eb0 | 139 | } |
d1992b93 | 140 | |
6a9e1d42 C |
141 | .video-info-date-views-bar { |
142 | display: flex; | |
143 | ||
144 | .video-info-date-views { | |
145 | font-size: 16px; | |
146 | margin-bottom: 10px; | |
147 | flex-grow: 1; | |
148 | } | |
149 | ||
150 | .video-info-likes-dislikes-bar { | |
151 | height: 5px; | |
152 | width: 186px; | |
153 | background-color: #E5E5E5; | |
154 | margin-top: 25px; | |
155 | ||
156 | .likes-bar { | |
157 | height: 100%; | |
158 | background-color: #39CC0B; | |
159 | } | |
160 | } | |
d1992b93 C |
161 | } |
162 | ||
b1fa3eba C |
163 | .video-info-channel { |
164 | font-weight: $font-semibold; | |
165 | font-size: 15px; | |
d1992b93 | 166 | } |
d1992b93 | 167 | |
b1fa3eba C |
168 | .video-info-by { |
169 | display: flex; | |
170 | align-items: center; | |
171 | font-size: 13px; | |
09223546 | 172 | |
b1fa3eba C |
173 | img { |
174 | width: 16px; | |
175 | height: 16px; | |
176 | margin-left: 3px; | |
09223546 | 177 | } |
6e07c3de | 178 | } |
d07137b9 | 179 | |
b1fa3eba C |
180 | .video-info-description { |
181 | margin: 20px 0; | |
182 | font-size: 15px; | |
d1992b93 | 183 | |
80958c78 C |
184 | .description-loading { |
185 | display: inline-block; | |
186 | } | |
187 | ||
b1fa3eba | 188 | .video-info-description-more { |
2de96f4d | 189 | cursor: pointer; |
b1fa3eba C |
190 | font-weight: $font-semibold; |
191 | color: #585858; | |
192 | font-size: 14px; | |
2de96f4d C |
193 | |
194 | .glyphicon { | |
195 | position: relative; | |
196 | top: 2px; | |
197 | } | |
198 | } | |
09223546 C |
199 | } |
200 | ||
b1fa3eba C |
201 | .video-attributes { |
202 | .video-attribute { | |
203 | font-size: 13px; | |
204 | display: block; | |
205 | margin-bottom: 12px; | |
3eeeb87f | 206 | |
b1fa3eba C |
207 | .video-attribute-label { |
208 | width: 86px; | |
209 | display: inline-block; | |
210 | color: #585858; | |
211 | font-weight: $font-bold; | |
3eeeb87f C |
212 | } |
213 | } | |
214 | } | |
41c3dfac C |
215 | } |
216 | ||
217 | .other-videos { | |
218 | .title-page { | |
219 | margin-top: 0; | |
220 | } | |
221 | ||
222 | /deep/ .video-miniature { | |
223 | display: flex; | |
224 | height: 100%; | |
225 | margin-bottom: 20px; | |
a01f107b | 226 | |
41c3dfac C |
227 | .video-miniature-information { |
228 | margin-left: 10px; | |
229 | } | |
230 | } | |
a01f107b | 231 | } |
d1992b93 | 232 | } |
41c3dfac | 233 | |
b9828abe | 234 | |
6e33bf28 | 235 | @media screen and (max-width: 1300px) { |
b9828abe C |
236 | .other-videos { |
237 | display: none; | |
238 | } | |
239 | ||
240 | .video-bottom { | |
241 | .video-info { | |
20206dfb | 242 | margin-right: 0; |
9b7d1c72 | 243 | |
b9828abe C |
244 | .video-info-name-actions { |
245 | align-items: left; | |
246 | flex-direction: column; | |
247 | margin-bottom: 30px; | |
248 | } | |
249 | ||
250 | .video-info-date-views-bar { | |
251 | align-items: left; | |
252 | flex-direction: column; | |
253 | margin-bottom: 30px; | |
254 | ||
255 | .video-info-likes-dislikes-bar { | |
256 | margin-top: 0; | |
257 | } | |
258 | } | |
259 | } | |
260 | } | |
261 | } | |
b2731bff C |
262 | |
263 | @media screen and (max-width: 800px) { | |
264 | .video-bottom { | |
265 | margin: 20px 0 0 0; | |
266 | } | |
267 | } |