summaryrefslogtreecommitdiff
path: root/src/assets/styles/_form-components.scss
blob: 7194d9e860eb3e41dd49e47d8df2d32ef9c5f43a (plain)
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
.form-text {
  margin-top: -$spacer / 4;
  margin-bottom: $spacer / 2;
  color: $gray-800;
}

.col-form-label {
  color: $gray-800;
  font-size: 14px;
}

.form-group {
  margin-bottom: $spacer * 2;
}

.custom-select,
.custom-control-label,
.form-control {
  //important needed to override validation colors on radio labels
  color: $gray-900 !important;
  font-size: 16px;
  border-color: $gray-400 !important;
  &::before {
    border-color: $primary;
  }
  &.is-invalid,
  &:invalid {
    border-bottom: 2px solid $danger !important;
  }
}