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