give
/
src
/
DonorDashboards
/
resources
/
js
/
app
/
components
/
subscription-manager
/
amount-control
/
style.scss
give
/
src
/
DonorDashboards
/
resources
/
js
/
app
/
components
/
subscription-manager
/
amount-control
Last commit date
index.js
6 months ago
style.scss
1 year ago
style.scss
93 lines
| 1 | /* stylelint-disable function-url-quotes, selector-class-pattern */ |
| 2 | |
| 3 | $errorColor: #c91f1f; |
| 4 | |
| 5 | .give-donor-dashboard-amount-inputs__validation-error-message { |
| 6 | margin-top: 8px; |
| 7 | font-size: 14px; |
| 8 | font-weight: 500; |
| 9 | color: $errorColor; |
| 10 | } |
| 11 | |
| 12 | .give-donor-dashboard-amount-inputs { |
| 13 | flex: 1; |
| 14 | display: flex; |
| 15 | flex-direction: column; |
| 16 | |
| 17 | .give-donor-dashboard-field-row { |
| 18 | flex: 1; |
| 19 | display: flex; |
| 20 | align-items: center; |
| 21 | padding: 0; |
| 22 | |
| 23 | .give-donor-dashboard-select-control { |
| 24 | display: flex; |
| 25 | width: 100%; |
| 26 | margin: 0; |
| 27 | } |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | .give-donor-dashboard-currency-control { |
| 32 | margin-bottom: 2px; |
| 33 | |
| 34 | .give-donor-dashboard-currency-control__label { |
| 35 | font-family: Montserrat, Arial, Helvetica, sans-serif; |
| 36 | font-weight: 500; |
| 37 | font-size: 14px; |
| 38 | line-height: 1; |
| 39 | color: #555; |
| 40 | } |
| 41 | |
| 42 | .give-donor-dashboard-currency-control__input { |
| 43 | align-items: center; |
| 44 | background-color: hsl(0, 0%, 100%); |
| 45 | border-radius: 4px; |
| 46 | cursor: default; |
| 47 | display: flex; |
| 48 | min-height: 38px; |
| 49 | outline: 0 !important; |
| 50 | min-width: 190px; |
| 51 | width: 100%; |
| 52 | margin-top: 6px; |
| 53 | border: 1px solid #b8b8b8; |
| 54 | overflow: hidden; |
| 55 | padding: 1px; |
| 56 | box-shadow: 0 0 0 0 var(--give-donor-dashboard-accent-color); |
| 57 | transition: box-shadow 0.1s ease; |
| 58 | |
| 59 | &:focus-within { |
| 60 | box-shadow: 0 0 0 1px var(--give-donor-dashboard-accent-color); |
| 61 | } |
| 62 | |
| 63 | svg { |
| 64 | margin-right: 12px; |
| 65 | } |
| 66 | |
| 67 | input { |
| 68 | margin: 0 12px; |
| 69 | outline: none; |
| 70 | border: none; |
| 71 | padding: 0; |
| 72 | width: 100%; |
| 73 | font-size: 14px; |
| 74 | font-family: Montserrat, Arial, Helvetica, sans-serif; |
| 75 | font-weight: 500; |
| 76 | color: #545554; |
| 77 | line-height: 1.2; |
| 78 | } |
| 79 | |
| 80 | &.has-error { |
| 81 | border-color: $errorColor; |
| 82 | |
| 83 | &:focus-within { |
| 84 | box-shadow: 0 0 0 1px $errorColor; |
| 85 | } |
| 86 | |
| 87 | input { |
| 88 | color: $errorColor; |
| 89 | } |
| 90 | } |
| 91 | } |
| 92 | } |
| 93 |