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

                       
 
       
                


                        
                        
 
                 





                                      

     
 



                     

                       
             
   







                   

                

                                







                          
                                         

                                              
   
 
@use '_variables' as *;
@use '_mixins' as *;

.root {
  display: flex;

  .form-group-checkbox {
    display: flex;
    align-items: center;

    .label-text {
      font-weight: $font-regular;
      margin: 0;
    }

    input {
      @include peertube-checkbox(1px);
    }
  }

  label {
    margin-bottom: 0;
  }

  my-help {
    position: relative;
    top: 2px;
  }

  small {
    font-size: 90%;
  }

  .wrapper:empty {
    display: none;
  }

  .recommended {
    @include margin-left(.5rem);

    align-self: baseline;
    display: inline-block;
    padding: 4px 6px;
    cursor: default;
    border-radius: 3px;
    font-size: 12px;
    line-height: 12px;
    font-weight: 500;
    color: pvar(--inputPlaceholderColor);
    background-color: rgba(217, 225, 232, .1);
    border: 1px solid rgba(217, 225, 232, .5);
  }
}