]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-forms/timestamp-input.component.scss
Bumped to version v5.2.1
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-forms / timestamp-input.component.scss
index 36f5711a61fe2db11f926668514cee4178bb3821..e69a06947c95f3cdae9103deb5824b3420ef3394 100644 (file)
@@ -1,10 +1,9 @@
-@import 'variables';
+@use '_variables' as *;
+@use '_mixins' as *;
 
 p-inputmask {
   ::ng-deep input {
     width: 80px;
-    font-size: 15px;
-    border: 0;
 
     &:focus-within,
     &:focus {
@@ -16,4 +15,16 @@ p-inputmask {
       opacity: 0.5;
     }
   }
+
+  &.border-disabled {
+    ::ng-deep input {
+      border: 0;
+    }
+  }
+
+  &:not(.border-disabled) {
+    ::ng-deep input {
+      @include peertube-input-text(80px);
+    }
+  }
 }