-@import '_variables';
-@import '_mixins';
+@use '_variables' as *;
+@use '_mixins' as *;
+@use '_nav' as *;
$border-width: 3px;
$border-type: solid;
$border-color: #EAEAEA;
$nav-link-height: 40px;
-.margin-content {
- padding-top: 50px;
-}
+.upload-message {
+ width: 100%;
+ text-align: center;
+ margin-bottom: 0;
+ border-radius: 0;
+
+ &:last-child {
+ margin-bottom: 1rem;
+ }
-.alert {
- font-size: 15px;
+ .about-link,
+ .contact-link {
+ @include peertube-button-link;
+ @include orange-button;
+
+ height: fit-content;
+ margin-top: 10px;
+ }
}
-::ng-deep .video-add-nav {
- border-bottom: $border-width $border-type $border-color;
- margin: 50px 0 0 0 !important;
+.upload-image {
+ width: 100%;
+ text-align: center;
- &.hide-nav {
- display: none !important;
+ img {
+ margin-top: 10px;
+ margin-bottom: 75px;
+ width: 220px;
+ height: auto;
}
- a.nav-link {
- @include disable-default-a-behaviour;
+ @media screen and (max-height: 600px) {
+ img {
+ margin-top: 5px;
+ width: 160px;
+ }
+ }
+}
- margin-bottom: -$border-width;
- height: $nav-link-height !important;
- padding: 0 30px !important;
- font-size: 15px;
+.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 {
- border: $border-width $border-type $border-color;
- border-bottom: none;
- background-color: pvar(--submenuColor) !important;
-
- span {
- border-bottom: 2px solid pvar(--mainColor);
- font-weight: $font-bold;
- }
+ background-color: pvar(--submenuBackgroundColor) !important;
}
}
}
border: $border-width $border-type $border-color;
border-top: transparent;
- background-color: pvar(--submenuColor);
+ background-color: pvar(--submenuBackgroundColor);
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
width: 100%;
padding-bottom: 20px;
display: flex;
justify-content: center;
- align-items: center;
+ padding-top: 20px;
&.dragover {
border: 3px dashed pvar(--mainColor);
/* Hide active tab style to not have a moving tab effect */
a.nav-link.active {
- border: none;
+ border-color: transparent;
background-color: pvar(--mainBackgroundColor) !important;
}
}