| 1 |
.formModal { |
| 2 |
:global { |
| 3 |
.givewp-modal-dialog { |
| 4 |
max-width: 35rem; |
| 5 |
|
| 6 |
.givewp-modal-header { |
| 7 |
font-size: 1.25rem; |
| 8 |
font-weight: 600; |
| 9 |
line-height: 1.6; |
| 10 |
} |
| 11 |
|
| 12 |
.givewp-modal-close { |
| 13 |
translateY: 4.5px; |
| 14 |
} |
| 15 |
} |
| 16 |
|
| 17 |
.givewp-campaigns { |
| 18 |
&__form { |
| 19 |
label { |
| 20 |
color: var(--givewp-neutral-700); |
| 21 |
font-size: 1rem; |
| 22 |
font-weight: 500; |
| 23 |
line-height: 1.5; |
| 24 |
} |
| 25 |
|
| 26 |
input, textarea { |
| 27 |
border-color: var(--givewp-grey-400); |
| 28 |
font-size: 1rem; |
| 29 |
font-weight: 400; |
| 30 |
line-height: 1.5; |
| 31 |
padding: var(--givewp-spacing-3) var(--givewp-spacing-4); |
| 32 |
|
| 33 |
&::placeholder { |
| 34 |
color: var(--givewp-grey-400); |
| 35 |
} |
| 36 |
|
| 37 |
&[aria-invalid="true"]="true""] { |
| 38 |
border-color: var(--givewp-red-500); |
| 39 |
outline-color: var(--givewp-red-500); |
| 40 |
} |
| 41 |
} |
| 42 |
|
| 43 |
span:not(.givewp-field-required, .givewp-textarea-control__counter) { |
| 44 |
color: var(--givewp-neutral-500); |
| 45 |
font-size: 0.875rem; |
| 46 |
line-height: 1.5; |
| 47 |
margin-bottom: var(--givewp-spacing-2); |
| 48 |
|
| 49 |
strong { |
| 50 |
color: var(--givewp-neutral-600); |
| 51 |
font-weight: 600; |
| 52 |
} |
| 53 |
} |
| 54 |
|
| 55 |
button.button { |
| 56 |
&[type="button"]="button""], |
| 57 |
&[type="submit"]="submit""] { |
| 58 |
display: block; |
| 59 |
font-size: 1rem; |
| 60 |
font-weight: 500; |
| 61 |
line-height: 1.5; |
| 62 |
padding: var(--givewp-spacing-3) var(--givewp-spacing-5); |
| 63 |
width: 100%; |
| 64 |
border-radius: 8px; |
| 65 |
|
| 66 |
&.button-secondary { |
| 67 |
color: #060c1a; |
| 68 |
border-color: #9ca0af; |
| 69 |
background-color: white; |
| 70 |
} |
| 71 |
} |
| 72 |
} |
| 73 |
} |
| 74 |
|
| 75 |
&__form-row { |
| 76 |
display: flex; |
| 77 |
flex-direction: column; |
| 78 |
gap: var(--givewp-spacing-1); |
| 79 |
margin-bottom: var(--givewp-spacing-6); |
| 80 |
|
| 81 |
&--half { |
| 82 |
flex-direction: row; |
| 83 |
gap: var(--givewp-spacing-6); |
| 84 |
} |
| 85 |
} |
| 86 |
|
| 87 |
&__form-column { |
| 88 |
display: flex; |
| 89 |
flex: 1; |
| 90 |
flex-direction: column; |
| 91 |
gap: var(--givewp-spacing-1); |
| 92 |
} |
| 93 |
|
| 94 |
&__form-errors { |
| 95 |
|
| 96 |
padding-left: var(--givewp-spacing-1); |
| 97 |
|
| 98 |
ul { |
| 99 |
list-style: disc; |
| 100 |
margin-bottom: var(--givewp-spacing-6); |
| 101 |
margin-top: 0; |
| 102 |
padding-left: var(--givewp-spacing-4); |
| 103 |
} |
| 104 |
|
| 105 |
p, |
| 106 |
li { |
| 107 |
color: var(--givewp-red-500); |
| 108 |
font-size: 0.875rem; |
| 109 |
font-weight: 500; |
| 110 |
line-height: 1.5; |
| 111 |
margin: 0; |
| 112 |
} |
| 113 |
} |
| 114 |
} |
| 115 |
} |
| 116 |
} |
| 117 |
|