]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-edit/shared/video-edit.component.scss
Migrate to bootstrap 4 and ng-bootstrap
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-edit / shared / video-edit.component.scss
index ba0ca1e21aae8f1cb27a4e22b8556d05cc672c46..4d18712310113dd1c12bbca21b5358606b4a9285 100644 (file)
@@ -5,12 +5,9 @@
   @include peertube-select-container(auto);
 }
 
-.peertube-select-disabled-container {
-  @include peertube-select-disabled-container(auto);
-}
-
 .video-edit {
   height: 100%;
+  min-height: 300px;
 
   .form-group {
     margin-bottom: 25px;
   input {
     @include peertube-input-text(100%);
     display: block;
-
-    &[type=checkbox] {
-      outline: 0;
-    }
   }
 
   input, select {
     font-size: 15px
   }
 
-  .form-group-checkbox {
+  .label-tags + span {
+    font-size: 15px;
+  }
+
+  .advanced-settings .form-group {
+    margin-bottom: 20px;
+  }
+}
+
+.captions {
+
+  .captions-header {
+    text-align: right;
+
+    .create-caption {
+      @include create-button('../../../../assets/images/global/add.svg');
+    }
+  }
+
+  .caption-entry {
     display: flex;
+    height: 40px;
     align-items: center;
 
-    label {
-      font-weight: $font-regular;
-      margin: 0;
+    a.caption-entry-label {
+      @include disable-default-a-behaviour;
+
+      color: #000;
+
+      &:hover {
+        opacity: 0.8;
+      }
     }
 
-    input {
-      width: 10px;
-      margin-right: 10px;
+    .caption-entry-label {
+      font-size: 15px;
+      font-weight: bold;
+
+      margin-right: 20px;
+      width: 150px;
+    }
+
+    .caption-entry-state {
+      width: 200px;
+
+      &.caption-entry-state-create {
+        color: #39CC0B;
+      }
+
+      &.caption-entry-state-delete {
+        color: #FF0000;
+      }
     }
+
+    .caption-entry-delete {
+      @include peertube-button;
+      @include grey-button;
+    }
+  }
+
+  .no-caption {
+    text-align: center;
+    font-size: 15px;
   }
 }
 
 .submit-container {
   text-align: right;
-  position: relative;
-  bottom: $button-height;
 
   .message-submit {
     display: inline-block;
       border: none;
       padding: 0;
       outline: 0;
+      color: inherit;
+      font-weight: $font-semibold;
     }
 
     .icon.icon-validate {
   }
 }
 
+p-calendar {
+  display: block;
+
+  /deep/ {
+    input,
+    .ui-calendar {
+      width: 100%;
+    }
+
+    input {
+      @include peertube-input-text(100%);
+      color: #000;
+    }
+  }
+}
+
 /deep/ {
+  .root-tabset > .nav {
+    margin-bottom: 15px;
+  }
+
   .ng2-tag-input {
     border: none !important;
   }
     border: 1px solid #C6C6C6;
     border-radius: 3px;
     padding: 5px !important;
+    height: 40px;
+  }
+
+  tag-input-form {
+    input {
+      height: 30px !important;
+      background-color: #fff !important;
+    }
   }
 
   tag {
     padding-left: 6px !important;
 
     svg {
+      position: relative;
+      top: -1px;
       height: auto !important;
       vertical-align: middle !important;
       fill: #585858 !important;
     }
   }
 }
-
-.little-information {
-  font-size: 0.8em;
-  font-style: italic;
-}