]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-edit/video-add.component.scss
Add loading bar when updating a video
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-edit / video-add.component.scss
index 4bb50900957364a95bb3ac6ce5499b5d882fdc64..0c74552d3883bd7afc2940623e9daacfae0ca42e 100644 (file)
   }
 }
 
-p-progressBar {
-  /deep/ .ui-progressbar {
-    margin-top: 25px !important;
-    margin-bottom: 40px !important;
-    font-size: 15px !important;
-    color: #fff !important;
-    height: 30px !important;
-    line-height: 30px !important;
-    border-radius: 3px !important;
-    background-color: rgba(11, 204, 41, 0.16) !important;
-
-    .ui-progressbar-value {
-      background-color: #0BCC29 !important;
-    }
+.upload-progress-cancel {
+  display: flex;
+  margin-top: 25px;
+  margin-bottom: 40px;
+
+  p-progressBar {
+    flex-grow: 1;
+
+    /deep/ .ui-progressbar {
+      font-size: 15px !important;
+      color: #fff !important;
+      height: 30px !important;
+      line-height: 30px !important;
+      border-radius: 3px !important;
+      background-color: rgba(11, 204, 41, 0.16) !important;
+
+      .ui-progressbar-value {
+        background-color: #0BCC29 !important;
+      }
 
-    .ui-progressbar-label {
-      text-align: left;
-      padding-left: 18px;
-      margin-top: 0 !important;
+      .ui-progressbar-label {
+        text-align: left;
+        padding-left: 18px;
+        margin-top: 0 !important;
+      }
     }
-  }
 
-  &.processing {
-    /deep/ .ui-progressbar-label {
-      // Same color as background to hide "100%"
-      color: rgba(11, 204, 41, 0.16) !important;
+    &.processing {
+      /deep/ .ui-progressbar-label {
+        // Same color as background to hide "100%"
+        color: rgba(11, 204, 41, 0.16) !important;
 
-      &::before {
-        content: 'Processing...';
-        color: #fff;
+        &::before {
+          content: 'Processing...';
+          color: #fff;
+        }
       }
     }
   }
-}
 
+  input {
+    @include peertube-button;
+    @include grey-button;
+
+    margin-left: 10px;
+  }
+}