_fn.scss
2 years ago
_header.scss
2 years ago
_inputs.scss
1 year ago
_layouts.scss
2 years ago
_reset.scss
2 years ago
_sections.scss
2 years ago
_utilities.scss
2 years ago
_variables.scss
2 years ago
main.scss
2 years ago
_inputs.scss
98 lines
| 1 | .givewp-groups-name { |
| 2 | position: relative; |
| 3 | width: 100%; |
| 4 | display: flex; |
| 5 | flex-direction: row; |
| 6 | column-gap: 1rem; |
| 7 | } |
| 8 | |
| 9 | .givewp-fields-select-honorific { |
| 10 | flex-basis: 35%; |
| 11 | } |
| 12 | |
| 13 | .givewp-fields-hidden { |
| 14 | display: none; |
| 15 | } |
| 16 | |
| 17 | select:not(.givewp-fields-amount__currency-select) { |
| 18 | border: 0.078rem solid #666; |
| 19 | border-radius: 0.25rem; |
| 20 | background-color: #fff; |
| 21 | color: #4d4d4d; |
| 22 | font-size: 1rem; |
| 23 | font-family: inherit; |
| 24 | font-weight: 500; |
| 25 | line-height: 1.2; |
| 26 | padding: 0.9rem var(--givewp-spacing-8) 0.9rem 1.1875rem; |
| 27 | appearance: none; |
| 28 | background-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"), |
| 29 | linear-gradient(to bottom, #fff 0%, #fff 100%); |
| 30 | background-repeat: no-repeat, repeat; |
| 31 | background-position: right var(--givewp-spacing-4) top 50%, 0 0; |
| 32 | background-size: 0.65em auto, 100%; |
| 33 | |
| 34 | &[aria-invalid="true"]="true""], |
| 35 | &:invalid { |
| 36 | border-color: red; |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | input[type="text"]="text""]:not([name="amount"], [name="amount-custom"]), |
| 41 | input[type="password"]="password""], |
| 42 | input[type="email"]="email""], |
| 43 | textarea { |
| 44 | border-width: 0.078rem; |
| 45 | border-style: solid; |
| 46 | border-radius: 0.25rem; |
| 47 | padding: 1.1875rem; |
| 48 | width: 100%; |
| 49 | box-sizing: inherit; |
| 50 | inline-size: 100%; |
| 51 | background-color: rgb(255, 255, 255); |
| 52 | color: #4d4d4d; |
| 53 | font-size: 1rem; |
| 54 | font-family: inherit; |
| 55 | font-weight: 500; |
| 56 | line-height: 1.2; |
| 57 | |
| 58 | &::placeholder { |
| 59 | opacity: 0.6; |
| 60 | } |
| 61 | |
| 62 | &:focus { |
| 63 | border-color: transparent; |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | button[type="submit"]="submit""] { |
| 68 | display: flex; |
| 69 | justify-content: center; |
| 70 | align-items: center; |
| 71 | padding: 1rem 0; |
| 72 | border: 0.125rem solid var(--givewp-primary-color); |
| 73 | border-radius: 0.5rem; |
| 74 | background-color: var(--givewp-primary-color); |
| 75 | color: rgb(255, 255, 255); |
| 76 | text-align: center; |
| 77 | font-family: inherit; |
| 78 | font-size: 1.375rem; |
| 79 | font-weight: 600; |
| 80 | line-height: 1.2; |
| 81 | cursor: pointer; |
| 82 | inline-size: 100%; |
| 83 | width: 100%; |
| 84 | margin: 1rem 0; |
| 85 | |
| 86 | @supports (background-color: color-mix(in lab, var(--givewp-primary-color) 90%, black)) { |
| 87 | &:hover { |
| 88 | background-color: color-mix(in lab, var(--givewp-primary-color) 90%, black); |
| 89 | } |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | .error-message { |
| 94 | font-size: 1rem; |
| 95 | height: 1rem; |
| 96 | text-align: right; |
| 97 | } |
| 98 |