aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/shared-forms/timestamp-input.component.scss
blob: df19240b4deb5373287b55cdd55160174ccf138c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                       
                    
 
             
                   
                
                       


                   
                                                                      
     




                                              
   











                                         
 
@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);
    }
  }
}