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: #e4e4e4;
52 .playlist-display-name {
54 font-weight: $font-semibold;
59 color: $grey-foreground-color;
66 .playlist-index span:first-child::after {
73 my-video-playlist-element-miniature {
88 @include thumbnail-size-component(90px, 50px);
95 width: calc(66vh * 1.77);
98 &.vjs-theater-enabled {
99 height: calc(100vh - #{$header-height} - #{$theater-bottom-space});
103 // VideoJS create an inner video player
106 position: relative !important;
110 @media screen and (max-width: 600px) {
114 height: calc(100vw / 1.7); // 16/9
128 font-weight: $font-semibold;
137 // Set min width for flex item
141 .video-info-first-row {
144 & > div:first-child {
150 min-height: 40px; // Align with the action buttons
152 font-weight: $font-semibold;
156 .video-info-date-views {
163 .video-info-channel {
164 font-weight: $font-semibold;
168 @include disable-default-a-behaviour;
170 color: var(--mainForegroundColor);
177 @include avatar(18px);
179 margin: -2px 2px 0 5px;
183 my-subscribe-button {
191 @include disable-default-a-behaviour;
196 color: var(--mainForegroundColor);
203 @include avatar(18px);
222 .video-actions-rates {
223 margin: 20px 0 10px 0;
227 height: 40px; // Align with the title
231 .action-button:not(:first-child), .action-dropdown {
236 @include peertube-button;
237 @include grey-button;
238 @include button-with-icon(21px, 0, -1px);
239 @include apply-svg-color($grey-foreground-color);
242 font-weight: $font-semibold;
243 display: inline-block;
244 padding: 0 10px 0 10px;
251 &.action-button-like.activated {
252 background-color: $green;
255 @include apply-svg-color(#fff);
259 &.action-button-dislike.activated {
260 background-color: $red;
263 @include apply-svg-color(#fff);
267 &.action-button-save {
280 display: inline-block;
282 .dropdown-menu .dropdown-item {
283 @include dropdown-with-icon-item;
288 .video-info-likes-dislikes-bar {
289 $likes-bar-height: 2px;
290 height: $likes-bar-height;
291 margin-top: -$likes-bar-height;
293 background-color: $red;
299 background-color: $green;
305 .video-info-description {
309 .video-info-description-html {
310 @include peertube-word-wrap;
313 .glyphicon, .description-loading {
317 .description-loading {
318 display: inline-block;
321 .video-info-description-more {
323 font-weight: $font-semibold;
324 color: $grey-foreground-color;
334 .video-attributes .video-attribute {
339 .video-attribute-label {
342 display: inline-block;
343 color: $grey-foreground-color;
344 font-weight: $font-bold;
347 a.video-attribute-value {
348 @include disable-default-a-behaviour;
349 color: var(--mainForegroundColor);
356 &.video-attribute-tags {
357 .video-attribute-value:not(:nth-child(2)) {
366 /deep/ .other-videos {
368 width: $other-videos-width;
371 margin-top: 0 !important;
380 .video-miniature-information {
392 display: inline-block;
397 // If the view is not expanded, take into account the menu
399 width: calc(100% - #{$menu-width});
402 @media screen and (max-width: $small-view) {
404 margin-left: $menu-width;
408 :host-context(.expanded) {
423 justify-content: flex-start;
424 background-color: rgba(0, 0, 0, 0.9);
427 .privacy-concerns-text {
432 @include disable-default-a-behaviour;
434 color: var(--mainColor);
435 transition: color 0.3s;
442 .privacy-concerns-okay {
443 background-color: var(--mainColor);
444 padding: 5px 8px 5px 7px;
448 transition: background-color 0.3s;
449 font-weight: $font-semibold;
452 background-color: #000;
457 @media screen and (min-width: map-get($grid-breakpoints, xl)) {
458 .video-bottom .video-info {
459 max-width: calc(100% - #{$other-videos-width});
463 @media screen and (max-width: 1600px) {
464 .video-bottom .video-info .video-attributes .video-attribute {
469 @media screen and (max-width: 1300px) {
474 .privacy-concerns-text {
480 @media screen and (max-width: 600px) {
487 .video-info-first-row {
497 /deep/ .other-videos {
498 padding-left: 0 !important;
500 /deep/ .video-miniature {
501 flex-direction: column;
514 @media screen and (max-width: 450px) {
516 .action-button .icon-text {
517 display: none !important;
520 .video-info .video-info-first-row {
525 .video-info-date-views {
529 .video-actions-rates {
534 .video-info-description {
535 font-size: 14px !important;