_amount.scss
2 years ago
_billingAddress.scss
2 years ago
_donation-summary.scss
2 years ago
_form-errors.scss
2 years ago
_gateways.scss
2 years ago
_goal.scss
2 years ago
_pagination.scss
2 years ago
_receipt.scss
2 years ago
_goal.scss
94 lines
| 1 | .givewp-layouts-goal { |
| 2 | width: 100%; |
| 3 | background-color: var(--givewp-shades-white); |
| 4 | border: solid 1px var(--givewp-grey-100); |
| 5 | border-radius: var(--givewp-rounded-4); |
| 6 | |
| 7 | &__stats-panel { |
| 8 | |
| 9 | &__list { |
| 10 | display: flex; |
| 11 | margin: 0; |
| 12 | padding: 0; |
| 13 | list-style: none; |
| 14 | } |
| 15 | |
| 16 | &__list-item { |
| 17 | display: flex; |
| 18 | flex-direction: column; |
| 19 | align-items: center; |
| 20 | width: 100%; |
| 21 | padding: var(--givewp-spacing-2) var(--givewp-spacing-4); |
| 22 | border-bottom: solid 1px var(--givewp-grey-100); |
| 23 | |
| 24 | &:nth-child(2) { |
| 25 | border: solid 1px var(--givewp-grey-100); |
| 26 | border-top: none; |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | &__stat-value { |
| 31 | color: var(--givewp-grey-700); |
| 32 | font-size: 1.125rem; |
| 33 | font-weight: 600; |
| 34 | line-height: 1.56; |
| 35 | } |
| 36 | |
| 37 | &__stat-label { |
| 38 | color: var(--givewp-grey-400); |
| 39 | font-size: var(--givewp-font-size-paragraph-lg); |
| 40 | font-weight: 600; |
| 41 | line-height: 1.5; |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | &__progress { |
| 46 | display: flex; |
| 47 | flex-direction: column; |
| 48 | gap: var(--givewp-spacing-2); |
| 49 | padding: var(--givewp-spacing-4) var(--givewp-spacing-6); |
| 50 | |
| 51 | &__description { |
| 52 | /** Screen reader only */ |
| 53 | position: absolute; |
| 54 | width: 1px; |
| 55 | height: 1px; |
| 56 | padding: 0; |
| 57 | margin: -1px; |
| 58 | overflow: hidden; |
| 59 | clip: rect(0, 0, 0, 0); |
| 60 | white-space: nowrap; |
| 61 | border-width: 0; |
| 62 | } |
| 63 | |
| 64 | &__meter { |
| 65 | position: relative; |
| 66 | height: 1.25rem; |
| 67 | border-radius: var(--givewp-rounded-full); |
| 68 | background-color: var(--givewp-grey-25); |
| 69 | box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.09); |
| 70 | margin-bottom: 0; |
| 71 | |
| 72 | /** Add a vertical linear gradient to apply a slight shade over the accent color */ |
| 73 | &[value]]::-webkit-progress-value { |
| 74 | position: absolute; |
| 75 | border-radius: var(--givewp-rounded-full); |
| 76 | background-color: var(--secondary); |
| 77 | background-image: linear-gradient( |
| 78 | to bottom, |
| 79 | rgba(0, 0, 0, 0), |
| 80 | rgba(0, 0, 0, 0.1) |
| 81 | ); |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | &__markers { |
| 86 | display: flex; |
| 87 | justify-content: space-between; |
| 88 | color: var(--givewp-grey-700); |
| 89 | font-size: var(--givewp-font-size-paragraph-md); |
| 90 | font-weight: 600; |
| 91 | } |
| 92 | } |
| 93 | } |
| 94 |