give
/
src
/
Campaigns
/
resources
/
admin
/
components
/
ExistingUserIntroModal
/
ExistingUserIntroModal.module.scss
ExistingUserIntroModal.module.scss
1 year ago
StepDetails.tsx
1 year ago
icons.tsx
1 year ago
index.tsx
1 year ago
ExistingUserIntroModal.module.scss
126 lines
| 1 | .introModal { |
| 2 | :global { |
| 3 | .givewp-modal-dialog { |
| 4 | border-radius: 16px; |
| 5 | padding: 0; |
| 6 | |
| 7 | .givewp-modal-header { |
| 8 | display: none; |
| 9 | } |
| 10 | |
| 11 | .givewp-modal-content { |
| 12 | border-radius: 16px; |
| 13 | padding: 0; |
| 14 | } |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | -webkit-backdrop-filter: blur(10px); |
| 19 | backdrop-filter: blur(10px); |
| 20 | background-color: rgba(0, 0, 0, 0.25); |
| 21 | |
| 22 | .dismiss { |
| 23 | position: absolute; |
| 24 | top: var(--givewp-spacing-4); |
| 25 | right: var(--givewp-spacing-4); |
| 26 | cursor: pointer; |
| 27 | border: none; |
| 28 | background-color: transparent; |
| 29 | outline: none; |
| 30 | margin: 0; |
| 31 | padding: 0; |
| 32 | } |
| 33 | |
| 34 | .badge { |
| 35 | width: 63px; |
| 36 | display: flex; |
| 37 | justify-content: center; |
| 38 | align-items: center; |
| 39 | gap: var(--givewp-spacing-1); |
| 40 | padding: var(--givewp-spacing-1) 0; |
| 41 | border-radius: 12px; |
| 42 | font-size: 12px; |
| 43 | font-weight: bold; |
| 44 | line-height: 1.4; |
| 45 | background-color: var(--givewp-green-400); |
| 46 | color: var(--givewp-emerald-25); |
| 47 | } |
| 48 | |
| 49 | .preview { |
| 50 | display: flex; |
| 51 | |
| 52 | .previewImage { |
| 53 | max-height: 347px; |
| 54 | width: 100%; |
| 55 | border-radius: 16px 16px 0 0; |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | .details { |
| 60 | display: flex; |
| 61 | flex-direction: column; |
| 62 | padding: var(--givewp-spacing-6) var(--givewp-spacing-6) var(--givewp-spacing-10) var(--givewp-spacing-6); |
| 63 | |
| 64 | .title { |
| 65 | margin: var(--givewp-spacing-2) 0 var(--givewp-spacing-1); |
| 66 | font-size: 20px; |
| 67 | font-weight: 600; |
| 68 | line-height: 1.6; |
| 69 | color: var(--givewp-neutral-900); |
| 70 | } |
| 71 | |
| 72 | .description { |
| 73 | margin: 0 0 var(--givewp-spacing-9) 0; |
| 74 | font-size: 16px; |
| 75 | line-height: 1.5; |
| 76 | color: var(--givewp-neutral-500); |
| 77 | } |
| 78 | |
| 79 | .actions { |
| 80 | display: flex; |
| 81 | justify-content: space-between; |
| 82 | gap: var(--givewp-spacing-6); |
| 83 | |
| 84 | &:has(.link) { |
| 85 | .button, .link { |
| 86 | flex: 1; |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | .button, .link { |
| 91 | display: flex; |
| 92 | justify-content: center; |
| 93 | align-items: center; |
| 94 | gap: var(--givewp-spacing-2); |
| 95 | width: 244px; |
| 96 | padding: 12px 24px; |
| 97 | border-radius: 8px; |
| 98 | background-color: var(--givewp-green-500); |
| 99 | font-size: 1rem; |
| 100 | font-weight: 500; |
| 101 | line-height: 1.5; |
| 102 | color: var(--givewp-shades-white); |
| 103 | border: none; |
| 104 | outline: none; |
| 105 | cursor: pointer; |
| 106 | margin-left: auto; |
| 107 | } |
| 108 | |
| 109 | .button:hover { |
| 110 | background-color: var(--givewp-green-600); |
| 111 | } |
| 112 | |
| 113 | .link { |
| 114 | background-color: var(--givewp-neutral-100); |
| 115 | color: var(--givewp-neutral-900); |
| 116 | text-decoration: none; |
| 117 | |
| 118 | &:hover { |
| 119 | background-color: var(--givewp-neutral-200); |
| 120 | |
| 121 | } |
| 122 | } |
| 123 | } |
| 124 | } |
| 125 | } |
| 126 |