aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/fields/CheckField.scss
blob: 14c547e9fdaa09b08212f54d05aaf837560c934a (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
@import "../../colors.scss";

.check-field {
  font-size: 0.9em;
  margin: 5px 0;

  .field-input {
    width: fit-content;
    border-radius: 5px;
    background-color: $color-primary-2;

    input {
      display: none;
    }

    label {
      margin: 0;
      padding: 6px 15px;
      cursor: pointer;
    }

    &:hover {
      background-color: $color-primary-1;
    }
  }

  &.field-checked .field-input {
    color: $color-primary-3;
    background-color: $color-primary-4 !important;
  }

  &.field-small {
    font-size: 0.8em;

    .field-input label {
      padding: 7px 15px;
    }
  }
}