3 @import '_bootstrap-variables';
5 $other-videos-width: 260px;
8 flex-direction: column;
12 font-weight: $font-semibold;
15 #video-element-wrapper {
16 background-color: #000;
18 justify-content: center;
24 flex-direction: column;
27 justify-content: center;
28 background-color: #141313;
33 @media screen and (max-width: 1000px) {
37 @media screen and (max-width: 600px) {
43 width: calc(66vh * 1.77);
46 &.vjs-theater-enabled {
47 height: calc(100vh - #{$header-height} - #{$theater-bottom-space});
51 // VideoJS create an inner video player
54 position: relative !important;
58 @media screen and (max-width: 600px) {
62 height: calc(100vw / 1.7); // 16/9
76 font-weight: $font-semibold;
85 // Set min width for flex item
89 .video-info-first-row {
98 min-height: 40px; // Align with the action buttons
100 font-weight: $font-semibold;
104 .video-info-date-views {
111 .video-info-channel {
112 font-weight: $font-semibold;
116 @include disable-default-a-behaviour;
118 color: var(--mainForegroundColor);
125 @include avatar(18px);
127 margin: -2px 2px 0 5px;
131 my-subscribe-button {
139 @include disable-default-a-behaviour;
144 color: var(--mainForegroundColor);
151 @include avatar(18px);
170 .video-actions-rates {
171 margin: 20px 0 10px 0;
175 height: 40px; // Align with the title
179 .action-button:not(:first-child), .action-dropdown {
184 @include peertube-button;
185 @include grey-button;
186 @include button-with-icon(21px, 0, -1px);
187 @include apply-svg-color($grey-foreground-color);
190 font-weight: $font-semibold;
191 display: inline-block;
192 padding: 0 10px 0 10px;
199 &.action-button-like.activated {
200 background-color: $green;
203 @include apply-svg-color(#fff);
207 &.action-button-dislike.activated {
208 background-color: $red;
211 @include apply-svg-color(#fff);
215 &.action-button-save {
228 display: inline-block;
230 .dropdown-menu .dropdown-item {
231 @include dropdown-with-icon-item;
236 .video-info-likes-dislikes-bar {
237 $likes-bar-height: 2px;
238 height: $likes-bar-height;
239 margin-top: -$likes-bar-height;
241 background-color: $red;
247 background-color: $green;
253 .video-info-description {
257 .video-info-description-html {
258 @include peertube-word-wrap;
261 .glyphicon, .description-loading {
265 .description-loading {
266 display: inline-block;
269 .video-info-description-more {
271 font-weight: $font-semibold;
272 color: $grey-foreground-color;
282 .video-attributes .video-attribute {
287 .video-attribute-label {
290 display: inline-block;
291 color: $grey-foreground-color;
292 font-weight: $font-bold;
295 a.video-attribute-value {
296 @include disable-default-a-behaviour;
297 color: var(--mainForegroundColor);
304 &.video-attribute-tags {
305 .video-attribute-value:not(:nth-child(2)) {
314 /deep/ .other-videos {
316 width: $other-videos-width;
319 margin-top: 0 !important;
328 .video-miniature-information {
340 display: inline-block;
345 // If the view is not expanded, take into account the menu
347 width: calc(100% - #{$menu-width});
350 @media screen and (max-width: $small-view) {
352 margin-left: $menu-width;
356 :host-context(.expanded) {
371 justify-content: flex-start;
372 background-color: rgba(0, 0, 0, 0.9);
375 .privacy-concerns-text {
380 @include disable-default-a-behaviour;
382 color: var(--mainColor);
383 transition: color 0.3s;
390 .privacy-concerns-okay {
391 background-color: var(--mainColor);
392 padding: 5px 8px 5px 7px;
396 transition: background-color 0.3s;
397 font-weight: $font-semibold;
400 background-color: #000;
405 @media screen and (min-width: map-get($grid-breakpoints, xl)) {
406 .video-bottom .video-info {
407 max-width: calc(100% - #{$other-videos-width});
411 @media screen and (max-width: 1600px) {
412 .video-bottom .video-info .video-attributes .video-attribute {
417 @media screen and (max-width: 1300px) {
422 .privacy-concerns-text {
428 @media screen and (max-width: 600px) {
435 .video-info-first-row {
445 /deep/ .other-videos {
446 padding-left: 0 !important;
448 /deep/ .video-miniature {
449 flex-direction: column;
462 @media screen and (max-width: 450px) {
464 .action-button .icon-text {
465 display: none !important;
468 .video-info .video-info-first-row {
473 .video-info-date-views {
477 .video-actions-rates {
482 .video-info-description {
483 font-size: 14px !important;