]> 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 f9977bda00b31105cd2e25b6401cee388a6c3b51..461a38204143e673fae906032c60c7065e65d9a5 100644 (file)
@@ -1,53 +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: 20px;
-}
+.upload-message {
+  width: 100%;
+  text-align: center;
+  margin-bottom: 0;
+  border-radius: 0;
 
-.alert {
-  font-size: 15px;
-}
+  &:last-child {
+    margin-bottom: 1rem;
+  }
 
-::ng-deep .video-add-nav {
-  border-bottom: $border-width $border-type $border-color;
-  margin: 20px 0 0 0 !important;
+  .about-link,
+  .contact-link {
+    @include peertube-button-link;
+    @include orange-button;
 
-  &.hide-nav {
-    display: none !important;
+    height: fit-content;
+    margin-top: 10px;
   }
+}
 
-  a.nav-link {
-    @include disable-default-a-behaviour;
-
-    margin-bottom: -$border-width;
-    height: $nav-link-height !important;
-    padding: 0 30px !important;
-    font-size: 15px;
+.upload-image {
+  width: 100%;
+  text-align: center;
 
-    border: $border-width $border-type transparent;
+  img {
+    margin-top: 10px;
+    margin-bottom: 75px;
+    width: 220px;
+    height: auto;
+  }
 
-    span {
-      border-bottom: 2px solid transparent;
+  @media screen and (max-height: 600px) {
+    img {
+      margin-top: 5px;
+      width: 160px;
     }
+  }
+}
 
-    &.active {
-      border-color: $border-color;
-      border-bottom-color: transparent;
-      background-color: pvar(--submenuColor) !important;
+.margin-content {
+  padding-top: 20px;
+}
 
-      span {
-        border-bottom-color: pvar(--mainColor);
-      }
-    }
+::ng-deep .video-add-nav {
+  @include peertube-nav-tabs($border-width, $border-type, $border-color, $nav-link-height);
 
-    &:hover:not(.active) {
-      border-color: transparent;
+  a.nav-link {
+    &.active {
+      background-color: pvar(--submenuBackgroundColor) !important;
     }
   }
 }
@@ -56,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%;