X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-forms%2Ftimestamp-input.component.scss;h=e69a06947c95f3cdae9103deb5824b3420ef3394;hb=HEAD;hp=36f5711a61fe2db11f926668514cee4178bb3821;hpb=c27463a603186b623500b03c6a56b330a6568350;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared-forms/timestamp-input.component.scss b/client/src/app/shared/shared-forms/timestamp-input.component.scss index 36f5711a6..e69a06947 100644 --- a/client/src/app/shared/shared-forms/timestamp-input.component.scss +++ b/client/src/app/shared/shared-forms/timestamp-input.component.scss @@ -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); + } + } }