_badge.scss
5 years ago
_buttons.scss
5 years ago
_card.scss
5 years ago
_forms.scss
5 years ago
_table.scss
5 years ago
_forms.scss
65 lines
| 1 | // Global naming class `everest-forms-input-control` to control all typable input types. |
| 2 | .everest-forms-input-control { |
| 3 | border: 1px solid $input-border-color; |
| 4 | |
| 5 | &:focus { |
| 6 | border-color: $input-border-focus-color; |
| 7 | } |
| 8 | } |
| 9 | |
| 10 | // Input group |
| 11 | .everest-forms-input-group { |
| 12 | $self: &; |
| 13 | position: relative; |
| 14 | display: flex; |
| 15 | flex-wrap: wrap; |
| 16 | align-items: stretch; |
| 17 | width: 100%; |
| 18 | border-top-left-radius: 0; |
| 19 | border-bottom-left-radius: 0; |
| 20 | |
| 21 | > .everest-forms-input-group__append { |
| 22 | > #{$self}__text { |
| 23 | .input-group-text { |
| 24 | border-top-left-radius: 0; |
| 25 | border-bottom-left-radius: 0; |
| 26 | } |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | input, |
| 31 | .everest-forms-input-control { |
| 32 | flex: 1; |
| 33 | width: 1%; |
| 34 | } |
| 35 | |
| 36 | &__prepend, |
| 37 | &__append { |
| 38 | display: flex; |
| 39 | } |
| 40 | |
| 41 | &__prepend { |
| 42 | margin-right: -1px; |
| 43 | } |
| 44 | |
| 45 | &__append { |
| 46 | margin-left: -1px; |
| 47 | } |
| 48 | |
| 49 | &__text { |
| 50 | display: flex; |
| 51 | align-items: center; |
| 52 | padding: 3px 8px; |
| 53 | margin-bottom: 0; |
| 54 | font-size: 1rem; |
| 55 | font-weight: 400; |
| 56 | line-height: 1.5; |
| 57 | color: $muted-text; |
| 58 | text-align: center; |
| 59 | white-space: nowrap; |
| 60 | background-color: #e9ecef; |
| 61 | border: 1px solid $input-border-color; |
| 62 | border-radius: .4rem; |
| 63 | } |
| 64 | } |
| 65 |