]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-edit/shared/video-edit.component.scss
Remove deprecated NgbTabsetModule module
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-edit / shared / video-edit.component.scss
index f3d9ee44acdd60a235a87938a466138d3ee604d9..90d26e13d7da943066b3652e75888cb7a4b84d07 100644 (file)
@@ -5,6 +5,24 @@
   @include peertube-select-container(auto);
 }
 
+.title-page a {
+  color: var(--mainForegroundColor);
+
+  &:hover {
+    text-decoration: none;
+    opacity: .8;
+  }
+}
+
+my-peertube-checkbox {
+  display: block;
+  margin-bottom: 1rem;
+}
+
+.nav-tabs {
+  margin-bottom: 15px;
+}
+
 .video-edit {
   height: 100%;
   min-height: 300px;
     display: block;
   }
 
-  input, select {
-    font-size: 15px
-  }
-
   .label-tags + span {
     font-size: 15px;
   }
@@ -37,7 +51,7 @@
     text-align: right;
 
     .create-caption {
-      @include create-button('../../../../assets/images/global/add.svg');
+      @include create-button;
     }
   }
 
     display: inline-block;
     margin-right: 25px;
 
-    color: #585858;
+    color: $grey-foreground-color;
     font-size: 15px;
   }
 
   .submit-button {
     @include peertube-button;
     @include orange-button;
+    @include button-with-icon(20px, 1px);
 
     display: inline-block;
 
       border: none;
       padding: 0;
       outline: 0;
-    }
-
-    .icon.icon-validate {
-      @include icon(20px);
-
-      cursor: inherit;
-      position: relative;
-      top: -1px;
-      margin-right: 4px;
-      background-image: url('../../../../assets/images/global/validate.svg');
+      color: inherit;
+      font-weight: $font-semibold;
     }
   }
 }
 p-calendar {
   display: block;
 
-  /deep/ {
+  ::ng-deep {
     input,
     .ui-calendar {
       width: 100%;
@@ -141,19 +148,7 @@ p-calendar {
   }
 }
 
-/deep/ {
-  .root-tabset > .nav {
-    margin-left: 15px;
-    margin-bottom: 15px;
-
-    .nav-link {
-      display: flex !important;
-      align-items: center;
-      height: 30px !important;
-      padding: 0 15px !important;
-    }
-  }
-
+::ng-deep {
   .ng2-tag-input {
     border: none !important;
   }
@@ -164,21 +159,24 @@ p-calendar {
     border: 1px solid #C6C6C6;
     border-radius: 3px;
     padding: 5px !important;
-    height: 40px;
+    height: max-content;
   }
 
   tag-input-form {
     input {
       height: 30px !important;
-      background-color: #fff !important;
+      font-size: 12px !important;
+
+      background-color: var(--mainBackgroundColor) !important;
+      color: var(--mainForegroundColor) !important;
     }
   }
 
   tag {
-    background-color: #E5E5E5 !important;
-    border-radius: 3px !important;
-    font-size: 15px !important;
+    background-color: $grey-background-color !important;
     color: #000 !important;
+    border-radius: 3px !important;
+    font-size: 12px !important;
     height: 30px !important;
     line-height: 30px !important;
     margin: 0 5px 0 0 !important;
@@ -201,7 +199,10 @@ p-calendar {
       top: -1px;
       height: auto !important;
       vertical-align: middle !important;
-      fill: #585858 !important;
+
+      path  {
+        fill: $grey-foreground-color !important;
+      }
     }
 
     &:hover {