_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
4 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
_page.scss
4 years ago
_payment-details.scss
4 years ago
_personal-info.scss
4 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
4 years ago
variables.php
4 years ago
_donation-summary.scss
106 lines
| 1 | @use 'fn'; |
| 2 | |
| 3 | .give-donation-summary-section { |
| 4 | // Hide the heading |
| 5 | .heading { |
| 6 | display: none; |
| 7 | } |
| 8 | |
| 9 | table { |
| 10 | inline-size: 100%; |
| 11 | border-collapse: collapse; |
| 12 | line-height: 1.2; |
| 13 | } |
| 14 | |
| 15 | button { |
| 16 | flex-shrink: 0; |
| 17 | display: inline-flex; |
| 18 | align-items: baseline; |
| 19 | column-gap: 0.25em; |
| 20 | appearance: none; |
| 21 | background: none; |
| 22 | border: 0; |
| 23 | padding: 0; |
| 24 | line-height: inherit; |
| 25 | text-align: start; |
| 26 | font-size: inherit; |
| 27 | font-family: inherit; |
| 28 | color: var(--give-primary-color); |
| 29 | cursor: pointer; |
| 30 | white-space: nowrap; |
| 31 | |
| 32 | & svg path { |
| 33 | fill: var(--give-primary-color); |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | tr { |
| 38 | vertical-align: baseline; |
| 39 | |
| 40 | // Selects th in thead and tfoot. Selects td in tbody. |
| 41 | > :first-of-type { |
| 42 | text-align: start; |
| 43 | } |
| 44 | > :last-of-type { |
| 45 | text-align: end; |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | // Colors (tobdy inherits) |
| 50 | thead, |
| 51 | tfoot { |
| 52 | color: #333; |
| 53 | } |
| 54 | |
| 55 | // Borders |
| 56 | tbody tr, |
| 57 | tfoot { |
| 58 | border-block-start: 0.0625rem solid #ddd; |
| 59 | } |
| 60 | |
| 61 | // Header specific |
| 62 | thead th { |
| 63 | padding-block-end: 1.25rem; |
| 64 | |
| 65 | // Donation Summary title |
| 66 | &:first-of-type { |
| 67 | font-size: fn.scaleBetween(1.25rem, 1.5rem); |
| 68 | font-weight: 400; |
| 69 | } |
| 70 | |
| 71 | .back-btn { |
| 72 | font-size: 0.875rem; |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | // Body specific |
| 77 | tbody td { |
| 78 | padding-block: 1.25rem; |
| 79 | font-size: fn.scaleBetween(1rem, 1.125rem); |
| 80 | |
| 81 | &:last-of-type { |
| 82 | min-inline-size: 6rem; |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | // Footer specific |
| 87 | tfoot th { |
| 88 | padding-block-start: 1.75rem; |
| 89 | font-size: 1.125rem; |
| 90 | font-weight: 700; |
| 91 | } |
| 92 | |
| 93 | .give-donation-summary-help-text { |
| 94 | display: inline-flex; |
| 95 | column-gap: 0.25rem; |
| 96 | align-items: start; |
| 97 | margin-block-start: 0.5rem; |
| 98 | font-size: 0.875rem; |
| 99 | color: #8c8c8c; |
| 100 | |
| 101 | > img { |
| 102 | transform: translateY(0.1em); |
| 103 | } |
| 104 | } |
| 105 | } |
| 106 |