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