give
/
src
/
Campaigns
/
resources
/
admin
/
components
/
CampaignFormModal
/
CampaignFormModal.module.scss
CampaignFormModal.module.scss
1 year ago
GoalTypeIcons.tsx
1 year ago
index.tsx
8 months ago
types.ts
8 months ago
CampaignFormModal.module.scss
116 lines
| 1 | .campaignForm { |
| 2 | .submitButton { |
| 3 | border-radius: 0; |
| 4 | font-size: 0.875rem; |
| 5 | font-weight: 600; |
| 6 | line-height: 1.43; |
| 7 | padding: var(--givewp-spacing-2) var(--givewp-spacing-4); |
| 8 | text-align: center; |
| 9 | } |
| 10 | |
| 11 | input, |
| 12 | label { |
| 13 | font-size: 1rem; |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | .fieldRequired { |
| 18 | color: var(--givewp-red-500); |
| 19 | } |
| 20 | |
| 21 | .goalType { |
| 22 | |
| 23 | .goalTypeOption { |
| 24 | margin: 0.5rem 0 0.5rem 0; |
| 25 | display: flex; |
| 26 | flex-direction: row; |
| 27 | align-items: center; |
| 28 | gap: 1rem; |
| 29 | |
| 30 | cursor: pointer; |
| 31 | border: 1px solid #9CA0AF; |
| 32 | border-radius: 8px; |
| 33 | padding: 0.75rem 1.5rem 0.75rem 1.5rem; |
| 34 | } |
| 35 | |
| 36 | .goalTypeOptionIcon { |
| 37 | |
| 38 | line-height: 0.875rem; |
| 39 | margin-top: 0.175rem; |
| 40 | |
| 41 | svg { |
| 42 | width: 1.5rem; |
| 43 | height: 1.5rem; |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | .goalTypeOptionText { |
| 48 | |
| 49 | label, |
| 50 | span { |
| 51 | cursor: pointer; |
| 52 | } |
| 53 | |
| 54 | > label { |
| 55 | font-size: 0.875rem !important; |
| 56 | } |
| 57 | |
| 58 | > span { |
| 59 | font-size: 0.75rem !important; |
| 60 | margin-top: 0.2rem; |
| 61 | display: none; |
| 62 | line-height: 1rem !important; |
| 63 | } |
| 64 | |
| 65 | /* Hide the radio button input */ |
| 66 | input { |
| 67 | position: absolute; |
| 68 | opacity: 0; |
| 69 | cursor: pointer; |
| 70 | height: 0; |
| 71 | width: 0; |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | .goalTypeOptionSelected { |
| 76 | background-color: #374151; |
| 77 | |
| 78 | .goalTypeOptionIcon { |
| 79 | |
| 80 | svg path:not([fill]) { |
| 81 | stroke: #F9FAFB; |
| 82 | } |
| 83 | |
| 84 | svg path:not([stroke]) { |
| 85 | fill: #F9FAFB; |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | .goalTypeOptionText { |
| 90 | label, |
| 91 | span { |
| 92 | color: #F9FAFB !important; |
| 93 | } |
| 94 | |
| 95 | span { |
| 96 | display: inline-block; |
| 97 | } |
| 98 | } |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | .button:is(:global(.button)) { |
| 103 | border-radius: var(--givewp-rounded-8) |
| 104 | } |
| 105 | |
| 106 | .previousButton:is(:global(.button)) { |
| 107 | background-color: transparent; |
| 108 | border: solid 1px #9ca0af; |
| 109 | color: #060c1a; |
| 110 | |
| 111 | &:hover { |
| 112 | border: solid 1px #9ca0af; |
| 113 | color: #060c1a; |
| 114 | } |
| 115 | } |
| 116 |