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