aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-forms/timestamp-input.component.scss
blob: df19240b4deb5373287b55cdd55160174ccf138c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@use '_variables' as *;
@use '_mixins' as *;

p-inputmask {
  ::ng-deep input {
    width: 80px;
    text-align: center;

    &:focus-within,
    &:focus {
      box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
    }

    &:disabled {
      background: pvar(--mainBackgroundColor);
      opacity: 0.5;
    }
  }

  &.border-disabled {
    ::ng-deep input {
      border: 0;
    }
  }

  &:not(.border-disabled) {
    ::ng-deep input {
      @include peertube-input-text(80px);
    }
  }
}