_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
2 years ago
variables.php
4 years ago
_currencyswitcher.scss
70 lines
| 1 | @use 'fn'; |
| 2 | |
| 3 | .give-donation-amount { |
| 4 | position: relative; |
| 5 | } |
| 6 | |
| 7 | .give-cs-mini-dropdown { |
| 8 | appearance: none; |
| 9 | cursor: pointer; |
| 10 | position: absolute; |
| 11 | inline-size: calc(var(--currency-text-width, auto) + 2.75rem); |
| 12 | block-size: fn.scaleBetween(2.625rem, 3.125rem); |
| 13 | border-width: 0; |
| 14 | border-style: dotted; |
| 15 | border-color: #c1c1c1; |
| 16 | background: none; |
| 17 | color: transparent; |
| 18 | inset-inline-end: 0.625rem; |
| 19 | margin-inline-end: 0.625rem; |
| 20 | border-inline-start-width: 0.125rem; |
| 21 | |
| 22 | option { |
| 23 | color: #333; |
| 24 | } |
| 25 | |
| 26 | &:first-child { |
| 27 | inset-inline-end: 0; |
| 28 | inset-inline-start: 0.625rem; |
| 29 | margin-inline-start: 0.625rem; |
| 30 | margin-inline-end: 0; |
| 31 | border-inline-start-width: 0; |
| 32 | border-inline-end-width: 0.125rem; |
| 33 | } |
| 34 | |
| 35 | &:focus { |
| 36 | padding: 1.25rem; |
| 37 | border-radius: 0.3125rem; |
| 38 | border: 0.0625rem solid var(--give-primary-color); |
| 39 | outline: none; |
| 40 | } |
| 41 | |
| 42 | + span.give-currency-position-after { |
| 43 | padding: 0; |
| 44 | } |
| 45 | |
| 46 | ~ span.give-currency-symbol { |
| 47 | padding-inline-end: 1.875rem; |
| 48 | display: inline-flex; |
| 49 | column-gap: 0.5em; |
| 50 | align-items: center; |
| 51 | white-space: nowrap; |
| 52 | |
| 53 | &::after { |
| 54 | display: inline; |
| 55 | content: '\f0d7'; |
| 56 | font-family: 'Font Awesome 5 Free'; |
| 57 | font-weight: 900; |
| 58 | font-size: 0.75em; |
| 59 | color: #6f6f6f; |
| 60 | } |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | // We move the message outside of the wrap and then the only contents are hidden |
| 65 | // fields. This is important since gateway changes add display: block as an |
| 66 | // inline style. |
| 67 | .give-currency-switcher-wrap { |
| 68 | display: none !important; |
| 69 | } |
| 70 |