_fn.scss
2 years ago
_header.scss
2 years ago
_inputs.scss
2 years 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
105 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: 25%; |
| 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; |
| 27 | margin-bottom: 0.5rem; |
| 28 | appearance: none; |
| 29 | 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"), |
| 30 | linear-gradient(to bottom, #fff 0%, #fff 100%); |
| 31 | background-repeat: no-repeat, repeat; |
| 32 | background-position: right 0.5em top 50%, 0 0; |
| 33 | background-size: 0.65em auto, 100%; |
| 34 | |
| 35 | &[aria-invalid="true"]="true""], |
| 36 | &:invalid { |
| 37 | border-color: red; |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | input[type="text"]="text""]:not([name="amount"], [name="amount-custom"]), |
| 42 | input[type="password"]="password""], |
| 43 | input[type="email"]="email""], |
| 44 | textarea { |
| 45 | border-width: 0.078rem; |
| 46 | border-style: solid; |
| 47 | border-color: rgb(102, 102, 102); |
| 48 | border-radius: 0.25rem; |
| 49 | padding: 1.1875rem; |
| 50 | width: 100%; |
| 51 | margin-bottom: 0.5rem; |
| 52 | box-sizing: inherit; |
| 53 | inline-size: 100%; |
| 54 | background-color: rgb(255, 255, 255); |
| 55 | color: #4d4d4d; |
| 56 | font-size: 1rem; |
| 57 | font-family: inherit; |
| 58 | font-weight: 500; |
| 59 | line-height: 1.2; |
| 60 | |
| 61 | &[aria-invalid="true"]="true""], |
| 62 | &:invalid { |
| 63 | border-color: red; |
| 64 | } |
| 65 | |
| 66 | &::placeholder { |
| 67 | opacity: 0.6; |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | button[type="submit"]="submit""] { |
| 72 | display: flex; |
| 73 | justify-content: center; |
| 74 | align-items: center; |
| 75 | padding: 1rem 0; |
| 76 | border: 0.125rem solid var(--givewp-primary-color); |
| 77 | border-radius: 0.5rem; |
| 78 | background-color: var(--givewp-primary-color); |
| 79 | color: rgb(255, 255, 255); |
| 80 | text-align: center; |
| 81 | font-family: inherit; |
| 82 | font-size: 1.375rem; |
| 83 | font-weight: 600; |
| 84 | line-height: 1.2; |
| 85 | transition-property: filter, box-shadow, transform; |
| 86 | transition-duration: 0.3s; |
| 87 | transition-timing-function: ease-in-out; |
| 88 | cursor: pointer; |
| 89 | inline-size: 100%; |
| 90 | width: 100%; |
| 91 | margin: 1rem 0; |
| 92 | |
| 93 | &:hover { |
| 94 | filter: brightness(1.2); |
| 95 | transform: scale(1.01); |
| 96 | box-shadow: 0 0.0625rem 0.25rem rgb(0 0 0 / 25%); |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | .error-message { |
| 101 | font-size: 1rem; |
| 102 | height: 1rem; |
| 103 | text-align: right; |
| 104 | } |
| 105 |