]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+videos/+video-edit/video-add.component.scss
Update translations
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-edit / video-add.component.scss
index 0ad57d897927db026130a611472e137948cfeb01..461a38204143e673fae906032c60c7065e65d9a5 100644 (file)
@@ -1,44 +1,61 @@
-@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;
     }
   }
 }
@@ -47,7 +64,7 @@ $nav-link-height: 40px;
   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%;
@@ -55,7 +72,7 @@ $nav-link-height: 40px;
   padding-bottom: 20px;
   display: flex;
   justify-content: center;
-  align-items: center;
+  padding-top: 20px;
 
   &.dragover {
     border: 3px dashed pvar(--mainColor);
@@ -71,7 +88,7 @@ $nav-link-height: 40px;
 
     /* 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;
     }
   }