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 {
244 .video-info-likes-dislikes-bar {
245 $likes-bar-height: 2px;
246 height: $likes-bar-height;
247 margin-top: -$likes-bar-height;
249 background-color: $red;
255 background-color: $green;
261 .video-info-description {
265 .video-info-description-html {
266 @include peertube-word-wrap;
269 .glyphicon, .description-loading {
273 .description-loading {
274 display: inline-block;
277 .video-info-description-more {
279 font-weight: $font-semibold;
280 color: $grey-foreground-color;
290 .video-attributes .video-attribute {
295 .video-attribute-label {
298 display: inline-block;
299 color: $grey-foreground-color;
300 font-weight: $font-bold;
303 a.video-attribute-value {
304 @include disable-default-a-behaviour;
305 color: var(--mainForegroundColor);
312 &.video-attribute-tags {
313 .video-attribute-value:not(:nth-child(2)) {
322 /deep/ .other-videos {
324 width: $other-videos-width;
327 margin-top: 0 !important;
336 .video-miniature-information {
348 display: inline-block;
353 // If the view is not expanded, take into account the menu
355 width: calc(100% - #{$menu-width});
358 @media screen and (max-width: $small-view) {
360 margin-left: $menu-width;
364 :host-context(.expanded) {
379 justify-content: flex-start;
380 background-color: rgba(0, 0, 0, 0.9);
383 .privacy-concerns-text {
388 @include disable-default-a-behaviour;
390 color: var(--mainColor);
391 transition: color 0.3s;
398 .privacy-concerns-okay {
399 background-color: var(--mainColor);
400 padding: 5px 8px 5px 7px;
404 transition: background-color 0.3s;
405 font-weight: $font-semibold;
408 background-color: #000;
413 @media screen and (min-width: map-get($grid-breakpoints, xl)) {
414 .video-bottom .video-info {
415 max-width: calc(100% - #{$other-videos-width});
419 @media screen and (max-width: 1600px) {
420 .video-bottom .video-info .video-attributes .video-attribute {
425 @media screen and (max-width: 1300px) {
430 .privacy-concerns-text {
436 @media screen and (max-width: 600px) {
443 .video-info-first-row {
453 /deep/ .other-videos {
454 padding-left: 0 !important;
456 /deep/ .video-miniature {
457 flex-direction: column;
470 @media screen and (max-width: 450px) {
472 .action-button .icon-text {
473 display: none !important;
476 .video-info .video-info-first-row {
481 .video-info-date-views {
485 .video-actions-rates {
490 .video-info-description {
491 font-size: 14px !important;