Put "start at" at the top of the modal
authorChocobozzz <me@florianbigard.com>
Wed, 5 Sep 2018 13:32:15 +0000 (15:32 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 5 Sep 2018 13:32:15 +0000 (15:32 +0200)
client/src/app/videos/+video-watch/modal/video-share.component.html
client/src/sass/application.scss
client/src/sass/include/_mixins.scss
client/src/sass/include/_variables.scss

index a20c320a47261a1ac64c96346f8b08364c36819d..301f67f2d0b20439f919ce95a9141419ac42bf76 100644 (file)
@@ -5,6 +5,14 @@
   </div>
 
   <div class="modal-body">
+
+    <div *ngIf="currentVideoTimestampString" class="start-at">
+      <my-peertube-checkbox
+        inputName="startAt" [(ngModel)]="startAtCheckbox"
+        i18n-labelText [labelText]="getStartCheckboxLabel()"
+      ></my-peertube-checkbox>
+    </div>
+
     <div class="form-group">
       <label i18n>URL</label>
       <div class="input-group input-group-sm">
     </div>
   </div>
 
-  <div *ngIf="currentVideoTimestampString" class="start-at">
-    <my-peertube-checkbox
-      inputName="startAt" [(ngModel)]="startAtCheckbox"
-      i18n-labelText [labelText]="getStartCheckboxLabel()"
-    ></my-peertube-checkbox>
-  </div>
-
   <div class="modal-footer inputs">
     <span i18n class="action-button action-button-cancel" (click)="hide()">Close</span>
   </div>
index fd0d5e4586ca87b21744d1586e01d0e51a4230fc..b96cf07c0849e4bfc3b035d1cd71196e8b6545f6 100644 (file)
@@ -1,9 +1,9 @@
-@import '_variables';
-@import '_mixins';
-
 $icon-font-path: '../../node_modules/@neos21/bootstrap3-glyphicons/assets/fonts/';
 @import '_bootstrap';
 
+@import '_variables';
+@import '_mixins';
+
 @import '_fonts';
 
 @import '~video.js/dist/video-js.css';
@@ -19,6 +19,17 @@ $assets-path: '../assets/';
 }
 
 body {
+  /*** theme ***/
+  // now beware node-sass requires interpolation
+  // for css custom properties #{$var}
+  --mainColor: #{$orange-color};
+  --mainHoverColor: #{$orange-hoover-color};
+  --mainBackgroundColor: #{$bg-color};
+  --mainForegroundColor: #{$fg-color};
+  --submenuColor: #{$sub-menu-color};
+  --inputColor: #{$input-color};
+  --inputPlaceholderColor: #{$input-placeholder-color};
+
   font-family: $main-fonts;
   font-weight: $font-regular;
   color: var(--mainForegroundColor);
index 6e2feb748b06d5fbda21b7b55df5d381ec308009..03cb337c2fc6edf4850720729f47736b6adbddd5 100644 (file)
       height: 12px;
       opacity: 0;
       transform: rotate(45deg) scale(0);
-      border-right: 2px solid var(--mainForegroundColor);
-      border-bottom: 2px solid var(--mainForegroundColor);
+      border-right: 2px solid var(--mainBackgroundColor);
+      border-bottom: 2px solid var(--mainBackgroundColor);
     }
   }
 
index fb253fc1f39380f8186f400d70243559573f77d4..0735a00a0f71e0a680a98a71e63936433990a083 100644 (file)
@@ -46,23 +46,9 @@ $video-thumbnail-width: 200px;
 
 $theater-bottom-space: 85px;
 
-$input-color: $bg-color;
+$input-color: inherit;
 $input-placeholder-color: #898989;
 
-/*** theme ***/
-
-body {
-  // now beware node-sass requires interpolation
-  // for css custom properties #{$var}
-  --mainColor: #{$orange-color};
-  --mainHoverColor: #{$orange-hoover-color};
-  --mainBackgroundColor: #{$bg-color};
-  --mainForegroundColor: #{$fg-color};
-  --submenuColor: #{$sub-menu-color};
-  --inputColor: #{$input-color};
-  --inputPlaceholderColor: #{$input-placeholder-color};
-}
-
 /*** map theme ***/
 
 // pass variables into a sass map,