aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-forms/peertube-checkbox.component.scss
blob: ac912767738aba641881cc5bf70d2746a6c8bb16 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@use '_variables' as *;
@use '_mixins' as *;

.root {
  display: flex;

  label {
    display: flex;
    font-size: $form-input-font-size;

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

  label {
    margin-bottom: 0;
  }

  my-help {
    line-height: 17px;
  }

  .form-group-description {
    margin-top: 2px;
  }

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