]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Some small css modifications
authorChocobozzz <florian.bigard@gmail.com>
Wed, 16 Mar 2016 19:59:56 +0000 (20:59 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Wed, 16 Mar 2016 19:59:56 +0000 (20:59 +0100)
client/angular/app/app.component.scss
client/angular/videos/components/add/videos-add.component.html
client/angular/videos/components/add/videos-add.component.scss
client/angular/videos/components/add/videos-add.component.ts
client/stylesheets/base.scss

index 346460a3128ec16387c0b6f17ee4c7f7b267cd14..6e36c73e3169e36c6b082477c89c426bf59b065b 100644 (file)
@@ -29,6 +29,6 @@ menu {
   }
 }
 
-footer {
-  margin-top: 30px;
+.panel_block:not(:last-child) {
+  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
 }
index 5f28ae650892557d571ac8443daa2966e75dba31..4252d7abd81e85edf26a316d52e9fc41387c369a 100644 (file)
     </div>
   </div>
 
-  <div class="btn btn-default btn-file">
-    <span>Select the video...</span>
-    <input type="file" name="input_video" id="input_video">
-  </div>
+  <div class="form-group">
+    <div class="btn btn-default btn-file">
+      <span>Select the video...</span>
+      <input type="file" name="input_video" id="input_video">
+    </div>
 
-  <span *ngIf="fileToUpload">{{ fileToUpload.name }}</span>
+    <span *ngIf="fileToUpload">{{ fileToUpload.name }}</span>
+  </div>
 
   <div class="form-group">
     <label for="description">Description</label>
index f4187088b1a342145b1875786fbb65dc83153f59..01195f0175b3e5c137aa243c53a92be705381bda 100644 (file)
   display: inline-block;
   margin-left: 10px;
 }
+
+.form-group {
+  margin-bottom: 10px;
+}
+
+#progress {
+  margin-bottom: 10px;
+}
index 8ff6cfec87db6f350f9ca3e2dd33b761419102b8..3a7b0213362e6c6177e827567406bed94f12af56 100644 (file)
@@ -36,7 +36,7 @@ export class VideosAddComponent implements OnInit {
 
       progressall: (e, data) => {
         this.progressBar.value = data.loaded;
-        this.progressBar.max= data.total;
+        this.progressBar.max = data.total;
       },
 
       done: (e, data) => {
index 14da74e0cf7663629f231eb43321100deb597aab..5c56e9507a8ebf9d17b9a9323e0971b8d79ae306 100644 (file)
@@ -7,18 +7,5 @@ footer {
   padding-top: 10px;
   text-align: center;
   font-size: small;
-}
-
-.search-group {
-  .search-btn {
-    position: relative;
-    left: -40px;
-    top: 0;
-
-    &:hover { text-decoration: none; }
-  }
-}
-
-.panel_block:not(:last-child) {
-  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
+  margin-top: 30px;
 }