]>
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 C |
45 | .video-info-name { |
46 | font-size: 27px; | |
47 | font-weight: $font-semibold; | |
48 | flex-grow: 1; | |
49 | } | |
09223546 | 50 | |
b1fa3eba C |
51 | .video-info-actions { |
52 | .action-button { | |
53 | @include peertube-button; | |
7b272fd7 | 54 | @include grey-button; |
09223546 | 55 | |
b1fa3eba C |
56 | font-size: 15px; |
57 | font-weight: $font-semibold; | |
b1fa3eba C |
58 | display: inline-block; |
59 | padding: 0 10px 0 10px; | |
09223546 | 60 | |
7b272fd7 | 61 | .icon { |
0727cab0 C |
62 | @include icon(21px); |
63 | ||
7b272fd7 C |
64 | position: relative; |
65 | top: -2px; | |
66 | ||
67 | &.icon-like { | |
68 | background-image: url('../../../assets/images/video/like-grey.svg'); | |
69 | } | |
70 | ||
71 | &.icon-dislike { | |
72 | background-image: url('../../../assets/images/video/dislike-grey.svg'); | |
73 | } | |
74 | ||
75 | &.icon-share { | |
76 | background-image: url('../../../assets/images/video/share.svg'); | |
77 | } | |
78 | ||
79 | &.icon-more { | |
80 | background-image: url('../../../assets/images/video/more.svg'); | |
4cc66133 | 81 | top: -1px; |
7b272fd7 | 82 | } |
b1fa3eba | 83 | } |
d38b8281 | 84 | |
7b272fd7 C |
85 | &.activated { |
86 | @include orange-button; | |
4e1b0973 | 87 | |
7b272fd7 C |
88 | .icon-like { |
89 | background-image: url('../../../assets/images/video/like-white.svg'); | |
90 | } | |
d38b8281 | 91 | |
7b272fd7 C |
92 | .icon-dislike { |
93 | background-image: url('../../../assets/images/video/dislike-white.svg'); | |
94 | } | |
b1fa3eba | 95 | } |
7b272fd7 | 96 | } |
d38b8281 | 97 | |
7b272fd7 C |
98 | .action-more { |
99 | display: inline-block; | |
4f8c0eb0 | 100 | |
7b272fd7 C |
101 | .dropdown-menu .icon { |
102 | display: inline-block; | |
103 | background-repeat: no-repeat; | |
104 | background-size: contain; | |
105 | width: 21px; | |
106 | height: 21px; | |
107 | vertical-align: middle; | |
108 | margin-right: 5px; | |
109 | position: relative; | |
110 | top: -1px; | |
111 | ||
112 | &.icon-download { | |
0727cab0 | 113 | background-image: url('../../../assets/images/video/download-grey.svg'); |
7b272fd7 C |
114 | } |
115 | ||
116 | &.icon-alert { | |
117 | background-image: url('../../../assets/images/video/alert.svg'); | |
118 | } | |
119 | ||
120 | &.icon-blacklist { | |
121 | background-image: url('../../../assets/images/video/eye-closed.svg'); | |
122 | } | |
b1fa3eba | 123 | } |
4e1b0973 C |
124 | } |
125 | } | |
4f8c0eb0 | 126 | } |
d1992b93 | 127 | |
6a9e1d42 C |
128 | .video-info-date-views-bar { |
129 | display: flex; | |
130 | ||
131 | .video-info-date-views { | |
132 | font-size: 16px; | |
133 | margin-bottom: 10px; | |
134 | flex-grow: 1; | |
135 | } | |
136 | ||
137 | .video-info-likes-dislikes-bar { | |
138 | height: 5px; | |
139 | width: 186px; | |
140 | background-color: #E5E5E5; | |
141 | margin-top: 25px; | |
142 | ||
143 | .likes-bar { | |
144 | height: 100%; | |
145 | background-color: #39CC0B; | |
146 | } | |
147 | } | |
d1992b93 C |
148 | } |
149 | ||
b1fa3eba C |
150 | .video-info-channel { |
151 | font-weight: $font-semibold; | |
152 | font-size: 15px; | |
d1992b93 | 153 | } |
d1992b93 | 154 | |
b1fa3eba C |
155 | .video-info-by { |
156 | display: flex; | |
157 | align-items: center; | |
158 | font-size: 13px; | |
09223546 | 159 | |
b1fa3eba C |
160 | img { |
161 | width: 16px; | |
162 | height: 16px; | |
163 | margin-left: 3px; | |
09223546 | 164 | } |
6e07c3de | 165 | } |
d07137b9 | 166 | |
b1fa3eba C |
167 | .video-info-description { |
168 | margin: 20px 0; | |
169 | font-size: 15px; | |
d1992b93 | 170 | |
80958c78 C |
171 | .description-loading { |
172 | display: inline-block; | |
173 | } | |
174 | ||
b1fa3eba | 175 | .video-info-description-more { |
2de96f4d | 176 | cursor: pointer; |
b1fa3eba C |
177 | font-weight: $font-semibold; |
178 | color: #585858; | |
179 | font-size: 14px; | |
2de96f4d C |
180 | |
181 | .glyphicon { | |
182 | position: relative; | |
183 | top: 2px; | |
184 | } | |
185 | } | |
09223546 C |
186 | } |
187 | ||
b1fa3eba C |
188 | .video-attributes { |
189 | .video-attribute { | |
190 | font-size: 13px; | |
191 | display: block; | |
192 | margin-bottom: 12px; | |
3eeeb87f | 193 | |
b1fa3eba C |
194 | .video-attribute-label { |
195 | width: 86px; | |
196 | display: inline-block; | |
197 | color: #585858; | |
198 | font-weight: $font-bold; | |
3eeeb87f C |
199 | } |
200 | } | |
201 | } | |
41c3dfac C |
202 | } |
203 | ||
204 | .other-videos { | |
205 | .title-page { | |
206 | margin-top: 0; | |
207 | } | |
208 | ||
209 | /deep/ .video-miniature { | |
210 | display: flex; | |
211 | height: 100%; | |
212 | margin-bottom: 20px; | |
a01f107b | 213 | |
41c3dfac C |
214 | .video-miniature-information { |
215 | margin-left: 10px; | |
216 | } | |
217 | } | |
a01f107b | 218 | } |
d1992b93 | 219 | } |
41c3dfac | 220 | |
b9828abe | 221 | |
20206dfb | 222 | @media screen and (max-width: 1000px) { |
b9828abe C |
223 | .other-videos { |
224 | display: none; | |
225 | } | |
20206dfb | 226 | } |
b9828abe | 227 | |
20206dfb | 228 | @media screen and (max-width: 800px) { |
b9828abe | 229 | .video-bottom { |
20206dfb C |
230 | margin: 20px 0 0 0; |
231 | ||
b9828abe | 232 | .video-info { |
20206dfb | 233 | margin-right: 0; |
9b7d1c72 | 234 | |
b9828abe C |
235 | .video-info-name-actions { |
236 | align-items: left; | |
237 | flex-direction: column; | |
238 | margin-bottom: 30px; | |
239 | } | |
240 | ||
241 | .video-info-date-views-bar { | |
242 | align-items: left; | |
243 | flex-direction: column; | |
244 | margin-bottom: 30px; | |
245 | ||
246 | .video-info-likes-dislikes-bar { | |
247 | margin-top: 0; | |
248 | } | |
249 | } | |
250 | } | |
251 | } | |
252 | } |