styles.scss
98 lines
| 1 | .give-campaigns-component-campaign { |
| 2 | |
| 3 | padding: 0 0 24px; |
| 4 | border-radius: 8px; |
| 5 | box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05); |
| 6 | border: solid 1px var(--neutral-100); |
| 7 | background-color: #fff; |
| 8 | |
| 9 | |
| 10 | &-image { |
| 11 | background-size: cover; |
| 12 | height: 180px; |
| 13 | border-radius: 8px 8px 0 0; |
| 14 | } |
| 15 | |
| 16 | &-title { |
| 17 | padding: 8px; |
| 18 | font-size: 16px; |
| 19 | font-weight: bold; |
| 20 | line-height: 1.5; |
| 21 | color: #060c1a; |
| 22 | } |
| 23 | |
| 24 | &-description { |
| 25 | padding: 0 8px; |
| 26 | font-size: 14px; |
| 27 | font-weight: normal; |
| 28 | line-height: 1.43; |
| 29 | color: #363636; |
| 30 | } |
| 31 | |
| 32 | &__goal { |
| 33 | display: flex; |
| 34 | flex-direction: column; |
| 35 | gap: 0.5rem; |
| 36 | padding: 8px; |
| 37 | margin-top: 8px; |
| 38 | |
| 39 | &-container { |
| 40 | display: flex; |
| 41 | flex-direction: row; |
| 42 | justify-content: space-between; |
| 43 | |
| 44 | &-item { |
| 45 | display: flex; |
| 46 | flex-direction: column; |
| 47 | |
| 48 | span { |
| 49 | text-transform: uppercase; |
| 50 | font-size: 12px; |
| 51 | font-weight: 600; |
| 52 | line-height: 1.5; |
| 53 | letter-spacing: 0.48px; |
| 54 | color: #4b5563; |
| 55 | } |
| 56 | |
| 57 | strong { |
| 58 | font-size: 16px; |
| 59 | font-weight: 600; |
| 60 | line-height: 1.5; |
| 61 | color: #060c1a; |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | &-item:first-child { |
| 66 | margin-bottom: 8px; |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | &-progress { |
| 71 | display: flex; |
| 72 | |
| 73 | &-container { |
| 74 | display: flex; |
| 75 | height: 8px; |
| 76 | flex-grow: 1; |
| 77 | border-radius: 14px; |
| 78 | box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.09); |
| 79 | background-color: #f2f2f2; |
| 80 | } |
| 81 | |
| 82 | &-bar { |
| 83 | display: flex; |
| 84 | height: 8px; |
| 85 | border-radius: 14px; |
| 86 | box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.09); |
| 87 | background: var(--givewp-secondary-color, #2d802f); |
| 88 | } |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | &__pagination { |
| 93 | display: flex; |
| 94 | justify-content: center; |
| 95 | margin-top: 16px; |
| 96 | } |
| 97 | } |
| 98 |