aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-forms/peertube-checkbox.component.scss
blob: cf8540dc37c87a809a43aabe5f0f1430eb57e661 (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
48
49
50
51
52
@import '_variables';
@import '_mixins';

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