Yoshie Muranaka | 4b0fc1d | 2020-01-06 07:36:16 -0800 | [diff] [blame] | 1 | .form-text { |
| 2 | margin-top: -$spacer / 4; |
| 3 | margin-bottom: $spacer / 2; |
| 4 | color: $gray-800; |
| 5 | } |
| 6 | |
| 7 | .col-form-label { |
| 8 | color: $gray-800; |
| 9 | font-size: 14px; |
| 10 | } |
| 11 | |
| 12 | .form-group { |
| 13 | margin-bottom: $spacer * 2; |
| 14 | } |
| 15 | |
| 16 | .custom-select, |
| 17 | .custom-control-label, |
| 18 | .form-control { |
| 19 | //important needed to override validation colors on radio labels |
Derick Montague | 7f970a1 | 2020-03-02 17:56:09 -0600 | [diff] [blame] | 20 | color: $dark !important; |
Dixsie Wolmers | 8048c9a | 2020-02-19 18:39:31 -0600 | [diff] [blame] | 21 | font-size: 16px; |
| 22 | border-color: $gray-400 !important; |
Yoshie Muranaka | 4b0fc1d | 2020-01-06 07:36:16 -0800 | [diff] [blame] | 23 | &.is-invalid, |
| 24 | &:invalid { |
Dixsie Wolmers | 8048c9a | 2020-02-19 18:39:31 -0600 | [diff] [blame] | 25 | border-bottom: 2px solid $danger !important; |
Yoshie Muranaka | 4b0fc1d | 2020-01-06 07:36:16 -0800 | [diff] [blame] | 26 | } |
Dixsie Wolmers | 8048c9a | 2020-02-19 18:39:31 -0600 | [diff] [blame] | 27 | } |
Yoshie Muranaka | c05ff64 | 2020-02-26 14:23:15 -0800 | [diff] [blame] | 28 | |
| 29 | .custom-control { |
| 30 | .custom-control-input[disabled=disabled] { |
| 31 | & + .custom-control-label { |
| 32 | // Disabled label for checkbox, radio, |
| 33 | // switch bootstrap form components |
| 34 | color: $gray-700!important; |
| 35 | } |
| 36 | } |
Yoshie Muranaka | 532a4b0 | 2020-03-27 11:00:50 -0700 | [diff] [blame] | 37 | } |
| 38 | |
| 39 | .b-form-tag-remove { |
| 40 | // X button to remove tag |
| 41 | font-weight: normal; |
| 42 | } |
| 43 | |
| 44 | .b-form-tags-button { |
| 45 | // Add button inside input field |
| 46 | white-space: nowrap; |
| 47 | margin-right: -$spacer; |
| 48 | &.btn-link-primary { |
| 49 | color: $primary; |
| 50 | fill: currentColor; |
| 51 | } |
Yoshie Muranaka | c4e38ab | 2020-04-09 12:41:27 -0700 | [diff] [blame^] | 52 | } |
| 53 | |
| 54 | .form-background { |
| 55 | background-color: $container-bgd; |
Yoshie Muranaka | 3739381 | 2020-03-24 15:25:24 -0700 | [diff] [blame] | 56 | } |