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