@use '_variables' as *; @use '_mixins' as *; @use '_nav' as *; $border-width: 3px; $border-type: solid; $border-color: #EAEAEA; $nav-link-height: 40px; .upload-message { width: 100%; text-align: center; font-size: 15px; margin-bottom: 0; border-radius: 0; &:last-child { margin-bottom: 1rem; } .about-link, .contact-link { @include peertube-button-link; @include orange-button; height: fit-content; margin-top: 10px; } } .upload-image { width: 100%; text-align: center; img { margin-top: 10px; margin-bottom: 75px; width: 220px; height: auto; } @media screen and (max-height: 600px) { img { margin-top: 5px; width: 160px; } } } .margin-content { padding-top: 20px; } ::ng-deep .video-add-nav { @include peertube-nav-tabs($border-width, $border-type, $border-color, $nav-link-height); a.nav-link { &.active { background-color: pvar(--submenuBackgroundColor) !important; } } } ::ng-deep .upload-video-container { border: $border-width $border-type $border-color; border-top: transparent; background-color: pvar(--submenuBackgroundColor); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; width: 100%; min-height: 440px; padding-bottom: 20px; display: flex; justify-content: center; padding-top: 20px; &.dragover { border: 3px dashed pvar(--mainColor); } } @mixin nav-scroll { ::ng-deep .video-add-nav { height: #{$nav-link-height + $border-width * 2}; overflow-x: auto; white-space: nowrap; flex-wrap: unset; /* Hide active tab style to not have a moving tab effect */ a.nav-link.active { border-color: transparent; background-color: pvar(--mainBackgroundColor) !important; } } } /* Make .video-add-nav tabs scrollable on small devices */ @media screen and (max-width: $small-view) { @include nav-scroll(); } @media screen and (max-width: #{$small-view + $menu-width}) { :host-context(.main-col:not(.expanded)) { @include nav-scroll(); } }