3 @import '_bootstrap-variables';
6 $other-videos-width: 260px;
9 flex-direction: column;
13 font-weight: $font-semibold;
17 background-color: #000;
19 justify-content: center;
25 flex-direction: column;
28 justify-content: center;
29 background-color: #141313;
34 @media screen and (max-width: 1000px) {
38 @media screen and (max-width: 600px) {
46 background-color: var(--mainBackgroundColor);
51 background-color: #e4e4e4;
53 .playlist-display-name {
55 font-weight: $font-semibold;
60 color: $grey-foreground-color;
67 .playlist-index span:first-child::after {
74 my-video-playlist-element-miniature {
89 @include thumbnail-size-component(90px, 50px);
96 width: calc(66vh * 1.77);
99 &.vjs-theater-enabled {
100 height: calc(100vh - #{$header-height} - #{$theater-bottom-space});
104 // VideoJS create an inner video player
107 position: relative !important;
111 @media screen and (max-width: 600px) {
115 height: calc(100vw / 1.7); // 16/9
129 font-weight: $font-semibold;
138 // Set min width for flex item
142 .video-info-first-row {
145 & > div:first-child {
151 min-height: 40px; // Align with the action buttons
153 font-weight: $font-semibold;
157 .video-info-date-views {
164 .video-info-channel {
165 font-weight: $font-semibold;
169 @include disable-default-a-behaviour;
171 color: var(--mainForegroundColor);
178 @include avatar(18px);
180 margin: -2px 2px 0 5px;
184 my-subscribe-button {
192 @include disable-default-a-behaviour;
197 color: var(--mainForegroundColor);
204 @include avatar(18px);
223 .video-actions-rates {
224 margin: 20px 0 10px 0;
228 height: 40px; // Align with the title
232 .action-button:not(:first-child), .action-dropdown {
237 @include peertube-button;
238 @include grey-button;
239 @include button-with-icon(21px, 0, -1px);
240 @include apply-svg-color($grey-foreground-color);
243 font-weight: $font-semibold;
244 display: inline-block;
245 padding: 0 10px 0 10px;
252 &.action-button-like.activated {
253 background-color: $green;
256 @include apply-svg-color(#fff);
260 &.action-button-dislike.activated {
261 background-color: $red;
264 @include apply-svg-color(#fff);
268 &.action-button-save {
281 display: inline-block;
283 .dropdown-menu .dropdown-item {
284 @include dropdown-with-icon-item;
289 .video-info-likes-dislikes-bar {
290 $likes-bar-height: 2px;
291 height: $likes-bar-height;
292 margin-top: -$likes-bar-height;
294 background-color: $red;
300 background-color: $green;
306 .video-info-description {
310 .video-info-description-html {
311 @include peertube-word-wrap;
314 .glyphicon, .description-loading {
318 .description-loading {
319 display: inline-block;
322 .video-info-description-more {
324 font-weight: $font-semibold;
325 color: $grey-foreground-color;
335 .video-attributes .video-attribute {
340 .video-attribute-label {
343 display: inline-block;
344 color: $grey-foreground-color;
345 font-weight: $font-bold;
348 a.video-attribute-value {
349 @include disable-default-a-behaviour;
350 color: var(--mainForegroundColor);
357 &.video-attribute-tags {
358 .video-attribute-value:not(:nth-child(2)) {
367 /deep/ .other-videos {
369 width: $other-videos-width;
372 margin-top: 0 !important;
381 .video-miniature-information {
393 display: inline-block;
398 // If the view is not expanded, take into account the menu
400 width: calc(100% - #{$menu-width});
403 @media screen and (max-width: $small-view) {
405 margin-left: $menu-width;
409 :host-context(.expanded) {
424 justify-content: flex-start;
425 background-color: rgba(0, 0, 0, 0.9);
428 .privacy-concerns-text {
433 @include disable-default-a-behaviour;
435 color: var(--mainColor);
436 transition: color 0.3s;
443 .privacy-concerns-okay {
444 background-color: var(--mainColor);
445 padding: 5px 8px 5px 7px;
449 transition: background-color 0.3s;
450 font-weight: $font-semibold;
453 background-color: #000;
458 @media screen and (min-width: map-get($grid-breakpoints, xl)) {
459 .video-bottom .video-info {
460 max-width: calc(100% - #{$other-videos-width});
464 @media screen and (max-width: 1600px) {
465 .video-bottom .video-info .video-attributes .video-attribute {
470 @media screen and (max-width: 1300px) {
475 .privacy-concerns-text {
481 @media screen and (max-width: 600px) {
488 .video-info-first-row {
498 /deep/ .other-videos {
499 padding-left: 0 !important;
501 /deep/ .video-miniature {
502 flex-direction: column;
515 @media screen and (max-width: 450px) {
517 .action-button .icon-text {
518 display: none !important;
521 .video-info .video-info-first-row {
526 .video-info-date-views {
530 .video-actions-rates {
535 .video-info-description {
536 font-size: 14px !important;