_button.scss
4 years ago
_checkbox.scss
4 years ago
_currencyswitcher.scss
4 years ago
_donate-now.scss
4 years ago
_donation-amount.scss
4 years ago
_donation-summary.scss
4 years ago
_errors-notices.scss
3 years ago
_ffm.scss
4 years ago
_fn.scss
4 years ago
_funds.scss
4 years ago
_grid.scss
4 years ago
_header.scss
4 years ago
_icons.scss
4 years ago
_label.scss
4 years ago
_legacy-consumer.scss
4 years ago
_modal.scss
3 years ago
_page.scss
4 years ago
_payment-details.scss
3 years ago
_personal-info.scss
3 years ago
_radio.scss
4 years ago
_receipt.scss
4 years ago
_reset.scss
4 years ago
_section.scss
4 years ago
_stripe-checkout-modal.scss
4 years ago
_terms.scss
4 years ago
_text-input.scss
4 years ago
_tooltip.scss
4 years ago
_tributes.scss
4 years ago
_variables.scss
4 years ago
form.scss
1 year ago
variables.php
4 years ago
_personal-info.scss
155 lines
| 1 | @use 'fn'; |
| 2 | |
| 3 | .give-personal-info-section { |
| 4 | & fieldset:not(.ffm-field-container > fieldset) { |
| 5 | display: grid; |
| 6 | grid-template-columns: repeat(12, 1fr); |
| 7 | column-gap: fn.scaleBetween(1.5rem, 1.6875rem); |
| 8 | row-gap: fn.scaleBetween(1.5rem, 1.9375rem); |
| 9 | grid-column: span 12; |
| 10 | |
| 11 | & legend:first-of-type { |
| 12 | width: 100%; |
| 13 | padding-block-end: 0.75rem; |
| 14 | margin-block-end: 1rem; |
| 15 | border-block-end: 0.0625rem solid #ddd; |
| 16 | font-size: fn.scaleBetween(1.25rem, 1.5rem); |
| 17 | font-weight: 500; |
| 18 | line-height: 1.3; |
| 19 | color: #333; |
| 20 | } |
| 21 | |
| 22 | > .form-row-wide, div, p { |
| 23 | grid-column: span 12; |
| 24 | } |
| 25 | |
| 26 | > .form-row-responsive { |
| 27 | grid-column: span 12; |
| 28 | |
| 29 | @media screen and (min-width: $desktopMinWidth) { |
| 30 | grid-column: span 6; |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | #give-title-wrap label, |
| 36 | #give-first-name-wrap label, |
| 37 | #give-last-name-wrap label, |
| 38 | #give-email-wrap label { |
| 39 | @include visually-hidden; |
| 40 | } |
| 41 | |
| 42 | & .give-input[type='text']='text'], |
| 43 | & .give-input[type='email']='email'] { |
| 44 | inline-size: 100%; |
| 45 | padding: 1.1875rem; |
| 46 | border: 0.078rem solid #666; |
| 47 | border-radius: 0.25rem; |
| 48 | box-shadow: inset 0 0.08em 0.4em rgba(0, 0, 0, 0.15); |
| 49 | background-color: #fff; |
| 50 | color: #828382; |
| 51 | font-size: 1rem; |
| 52 | font-family: inherit; |
| 53 | font-weight: 500; |
| 54 | line-height: 1.2; |
| 55 | } |
| 56 | |
| 57 | & div[id^="give-user-login-submit"]^="give-user-login-submit""] { |
| 58 | display: grid; |
| 59 | grid-template-columns: repeat(12, 1fr); |
| 60 | column-gap: fn.scaleBetween(1.5rem, 1.6875rem); |
| 61 | |
| 62 | & input { |
| 63 | grid-column: span 6; |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | .give-personal-info-description { |
| 69 | grid-column: span 12; |
| 70 | } |
| 71 | |
| 72 | #give-title-wrap { |
| 73 | grid-column: span 2; |
| 74 | |
| 75 | |
| 76 | ~ :is(#give-first-name-wrap, #give-last-name-wrap) { |
| 77 | grid-column: span 5; |
| 78 | } |
| 79 | |
| 80 | @media screen and (max-width: $containerMaxWidth) { |
| 81 | grid-column: span 4; |
| 82 | |
| 83 | & + #give-first-name-wrap { |
| 84 | grid-column: span 8; |
| 85 | } |
| 86 | |
| 87 | & ~ #give-last-name-wrap { |
| 88 | grid-column: span 12; |
| 89 | } |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | #give-first-name-wrap, |
| 94 | #give-last-name-wrap, |
| 95 | #give-email-wrap { |
| 96 | position: relative; |
| 97 | |
| 98 | &::before { |
| 99 | position: absolute; |
| 100 | inset-inline-start: 1.1875rem; |
| 101 | // The specific inset block coordinates and the fixed block-size allow |
| 102 | // us to use margin to center the icon on the block-axis. |
| 103 | inset-block-start: 0; |
| 104 | inset-block-end: 0.1875em; |
| 105 | block-size: 1em; |
| 106 | margin-block: auto; |
| 107 | color: #8d8e8e; |
| 108 | font-family: 'Font Awesome 5 Free'; |
| 109 | font-weight: 900; |
| 110 | pointer-events: none; |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | #give-first-name-wrap input, |
| 115 | #give-email-wrap input { |
| 116 | padding-inline-start: 2.6875rem; |
| 117 | } |
| 118 | |
| 119 | #give-first-name-wrap::before { |
| 120 | content: '\f007'; |
| 121 | } |
| 122 | |
| 123 | #give-company-radio-list-wrap { |
| 124 | > label { |
| 125 | display: block; |
| 126 | margin-bottom: 10px; |
| 127 | } |
| 128 | |
| 129 | ul.give-company-radio-list { |
| 130 | margin: 0; |
| 131 | padding: 0; |
| 132 | list-style: none; |
| 133 | |
| 134 | li { |
| 135 | display: inline-flex; |
| 136 | margin-right: 15px; |
| 137 | margin-left: 0; |
| 138 | |
| 139 | input { |
| 140 | margin-right: 7px; |
| 141 | } |
| 142 | |
| 143 | label { |
| 144 | cursor: pointer; |
| 145 | display: inline; |
| 146 | margin: 0; |
| 147 | } |
| 148 | } |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | #give-email-wrap::before { |
| 153 | content: '\f0e0'; |
| 154 | } |
| 155 |