| @@ -1,14 +1,18 @@ | ||
| 1 | 1 | /* Campaign summary widget */ |
| 2 | 2 | .campaign-description { |
| 3 | - margin-bottom: 1em; } | |
| 3 | + margin-bottom: 1em; | |
| 4 | +} | |
| 4 | 5 | |
| 5 | 6 | .single-campaign .campaign-description { |
| 6 | 7 | font-size: 1.5em; |
| 7 | - font-weight: bolder; } | |
| 8 | + font-weight: bolder; | |
| 9 | +} | |
| 10 | + | |
| 8 | 11 | .single-campaign.campaign-widget .campaign-description { |
| 9 | 12 | font-size: 1em; |
| 10 | - font-weight: normal; } | |
| 13 | + font-weight: normal; | |
| 14 | +} | |
| 11 | 15 | |
| 12 | 16 | .campaign-summary { |
| 13 | 17 | *zoom: 1; |
| 14 | 18 | padding: 0 1em; |
| @@ -15,52 +19,74 @@ | ||
| 15 | 19 | margin-bottom: 1em; |
| 16 | 20 | border: 1px solid #e6e6e6; |
| 17 | 21 | display: flex; |
| 18 | 22 | flex-wrap: wrap; |
| 19 | - flex-direction: row; } | |
| 20 | - .campaign-summary:before, .campaign-summary:after { | |
| 21 | - content: " "; | |
| 22 | - display: table; } | |
| 23 | - .campaign-summary:after { | |
| 24 | - clear: both; } | |
| 25 | - .campaign-summary .campaign-summary-item { | |
| 26 | - float: left; | |
| 27 | - width: 50%; | |
| 28 | - padding: 1em 0; | |
| 29 | - border-bottom: 1px solid #e6e6e6; } | |
| 30 | - .campaign-summary .campaign-raised .amount, | |
| 31 | - .campaign-summary .campaign-figures .amount { | |
| 32 | - display: block; | |
| 33 | - font-size: 1.5em; | |
| 34 | - font-weight: bolder; } | |
| 35 | - .campaign-summary .campaign-donors { | |
| 36 | - clear: left; } | |
| 37 | - .campaign-summary .donors-count, | |
| 38 | - .campaign-summary .time-left { | |
| 39 | - font-weight: bolder; } | |
| 40 | - .campaign-summary .campaign-donation { | |
| 41 | - float: left; | |
| 42 | - width: 100%; | |
| 43 | - padding: 1em 0; | |
| 44 | - text-align: center; } | |
| 45 | - .campaign-summary .campaign-donation .donate-button { | |
| 46 | - display: inline-block; } | |
| 23 | + flex-direction: row; | |
| 24 | +} | |
| 47 | 25 | |
| 26 | +.campaign-summary:before, | |
| 27 | +.campaign-summary:after { | |
| 28 | + content: " "; | |
| 29 | + display: table; | |
| 30 | +} | |
| 31 | + | |
| 32 | +.campaign-summary:after { | |
| 33 | + clear: both; | |
| 34 | +} | |
| 35 | + | |
| 36 | +.campaign-summary .campaign-summary-item { | |
| 37 | + float: left; | |
| 38 | + width: 50%; | |
| 39 | + padding: 1em 0; | |
| 40 | + border-bottom: 1px solid #e6e6e6; | |
| 41 | +} | |
| 42 | + | |
| 43 | +.campaign-summary .campaign-raised .amount, | |
| 44 | +.campaign-summary .campaign-figures .amount { | |
| 45 | + display: block; | |
| 46 | + font-size: 1.5em; | |
| 47 | + font-weight: bolder; | |
| 48 | +} | |
| 49 | + | |
| 50 | +.campaign-summary .campaign-donors { | |
| 51 | + clear: left; | |
| 52 | +} | |
| 53 | + | |
| 54 | +.campaign-summary .donors-count, | |
| 55 | +.campaign-summary .time-left { | |
| 56 | + font-weight: bolder; | |
| 57 | +} | |
| 58 | + | |
| 59 | +.campaign-summary .campaign-donation { | |
| 60 | + float: left; | |
| 61 | + width: 100%; | |
| 62 | + padding: 1em 0; | |
| 63 | + text-align: center; | |
| 64 | +} | |
| 65 | + | |
| 66 | +.campaign-summary .campaign-donation .donate-button { | |
| 67 | + display: inline-block; | |
| 68 | +} | |
| 69 | + | |
| 48 | 70 | .campaign-is-endless .campaign-summary-item, |
| 49 | 71 | .campaign-has-no-goal .campaign-summary-item { |
| 50 | 72 | width: 100%; |
| 51 | - text-align: center; } | |
| 73 | + text-align: center; | |
| 74 | +} | |
| 52 | 75 | |
| 53 | 76 | /* Campaign Progress Bar */ |
| 54 | 77 | .campaign-progress-bar { |
| 55 | 78 | width: 100%; |
| 56 | 79 | height: 10px; |
| 57 | - background-color: #e6e6e6; } | |
| 58 | - .campaign-progress-bar .bar { | |
| 59 | - position: relative; | |
| 60 | - display: block; | |
| 61 | - height: 100%; } | |
| 80 | + background-color: #e6e6e6; | |
| 81 | +} | |
| 62 | 82 | |
| 83 | +.campaign-progress-bar .bar { | |
| 84 | + position: relative; | |
| 85 | + display: block; | |
| 86 | + height: 100%; | |
| 87 | +} | |
| 88 | + | |
| 63 | 89 | /* Donate Button */ |
| 64 | 90 | .donate-button { |
| 65 | 91 | padding: 6px 24px; |
| 66 | 92 | font-size: 1em; |
| @@ -65,199 +91,346 @@ | ||
| 65 | 91 | padding: 6px 24px; |
| 66 | 92 | font-size: 1em; |
| 67 | 93 | line-height: 1.5em; |
| 68 | 94 | border: none; |
| 69 | - color: #fff; } | |
| 95 | + color: #fff; | |
| 96 | +} | |
| 70 | 97 | |
| 71 | 98 | /* Forms */ |
| 99 | +.charitable-button { | |
| 100 | + cursor: pointer; | |
| 101 | +} | |
| 102 | + | |
| 72 | 103 | .charitable-form-field { |
| 73 | - margin-bottom: 1em; } | |
| 74 | - .charitable-form-field label { | |
| 75 | - display: block; | |
| 76 | - margin-bottom: 4px; } | |
| 77 | - .charitable-form-field input, | |
| 78 | - .charitable-form-field select, | |
| 79 | - .charitable-form-field textarea { | |
| 80 | - width: 100%; } | |
| 81 | - .charitable-form-field button, | |
| 82 | - .charitable-form-field input[type=submit], | |
| 83 | - .charitable-form-field input[type=button], | |
| 84 | - .charitable-form-field input[type=radio], | |
| 85 | - .charitable-form-field input[type=checkbox] { | |
| 86 | - width: auto; | |
| 87 | - margin-left: 0; } | |
| 88 | - .charitable-form-field.odd { | |
| 89 | - clear: left; } | |
| 90 | - .charitable-form-field.charitable-form-field-checkbox input[type=checkbox] { | |
| 91 | - display: inline; | |
| 92 | - height: auto; } | |
| 93 | - .charitable-form-field.charitable-form-field-checkbox label { | |
| 94 | - display: inline; | |
| 95 | - padding-left: 4px; } | |
| 96 | - .charitable-form-field.charitable-radio-list { | |
| 97 | - list-style: none; | |
| 98 | - margin-left: 0; | |
| 99 | - padding-left: 0; } | |
| 100 | - .charitable-form-field.charitable-radio-list li { | |
| 101 | - list-style: none; | |
| 102 | - margin: 0 20px 0 0; | |
| 103 | - display: inline-block; | |
| 104 | - line-height: 1em; } | |
| 105 | - .charitable-form-field.charitable-form-field-multi-checkbox ul { | |
| 106 | - list-style: none; | |
| 107 | - margin-left: 0; | |
| 108 | - padding-left: 0; } | |
| 109 | - .charitable-form-field.charitable-form-field-multi-checkbox ul li { | |
| 110 | - list-style: none; | |
| 111 | - margin-left: 0; | |
| 112 | - padding-left: 0; } | |
| 113 | - .charitable-form-field .wp-media-buttons { | |
| 114 | - margin-bottom: 0.5em; } | |
| 115 | - .charitable-form-field .wp-editor-container { | |
| 116 | - border: 1px solid #dedede; } | |
| 104 | + margin-bottom: 1em; | |
| 105 | +} | |
| 117 | 106 | |
| 107 | +.charitable-form-field label { | |
| 108 | + display: block; | |
| 109 | + margin-bottom: 4px; | |
| 110 | +} | |
| 111 | + | |
| 112 | +.charitable-form-field input, | |
| 113 | +.charitable-form-field select, | |
| 114 | +.charitable-form-field textarea { | |
| 115 | + width: 100%; | |
| 116 | +} | |
| 117 | + | |
| 118 | +.charitable-form-field button, | |
| 119 | +.charitable-form-field input[type=submit], | |
| 120 | +.charitable-form-field input[type=button], | |
| 121 | +.charitable-form-field input[type=radio], | |
| 122 | +.charitable-form-field input[type=checkbox] { | |
| 123 | + width: auto; | |
| 124 | + margin-left: 0; | |
| 125 | +} | |
| 126 | + | |
| 127 | +.charitable-form-field.odd { | |
| 128 | + clear: left; | |
| 129 | +} | |
| 130 | + | |
| 131 | +.charitable-form-field.charitable-form-field-checkbox input[type=checkbox] { | |
| 132 | + display: inline; | |
| 133 | + height: auto; | |
| 134 | +} | |
| 135 | + | |
| 136 | +.charitable-form-field.charitable-form-field-checkbox label { | |
| 137 | + display: inline; | |
| 138 | + padding-left: 4px; | |
| 139 | + font-size: 16px; | |
| 140 | + line-height: 16px; | |
| 141 | +} | |
| 142 | + | |
| 143 | +.charitable-form-field.charitable-radio-list { | |
| 144 | + list-style: none; | |
| 145 | + margin-left: 0; | |
| 146 | + padding-left: 0; | |
| 147 | +} | |
| 148 | + | |
| 149 | +.charitable-form-field.charitable-radio-list li { | |
| 150 | + list-style: none; | |
| 151 | + margin: 0 20px 0 0; | |
| 152 | + display: inline-block; | |
| 153 | + line-height: 1em; | |
| 154 | +} | |
| 155 | + | |
| 156 | +.charitable-form-field.charitable-form-field-multi-checkbox ul { | |
| 157 | + list-style: none; | |
| 158 | + margin-left: 0; | |
| 159 | + padding-left: 0; | |
| 160 | +} | |
| 161 | + | |
| 162 | +.charitable-form-field.charitable-form-field-multi-checkbox ul li { | |
| 163 | + list-style: none; | |
| 164 | + margin-left: 0; | |
| 165 | + padding-left: 0; | |
| 166 | +} | |
| 167 | + | |
| 168 | +.charitable-form-field .wp-media-buttons { | |
| 169 | + margin-bottom: 0.5em; | |
| 170 | +} | |
| 171 | + | |
| 172 | +.charitable-form-field .wp-editor-container { | |
| 173 | + border: 1px solid #dedede; | |
| 174 | +} | |
| 175 | + | |
| 118 | 176 | .charitable-fieldset > :last-child, |
| 119 | 177 | .charitable-fieldset-field-wrapper > :last-child { |
| 120 | - margin-bottom: 1em; } | |
| 178 | + margin-bottom: 1em; | |
| 179 | +} | |
| 121 | 180 | |
| 122 | 181 | .charitable-radio-list label, |
| 123 | 182 | .charitable-checkbox-list label { |
| 124 | - display: inline; } | |
| 183 | + display: inline; | |
| 184 | +} | |
| 125 | 185 | |
| 126 | 186 | .charitable-submit-field .button { |
| 127 | 187 | font-size: 1em; |
| 128 | - line-height: 1.5em; } | |
| 188 | + line-height: 1.5em; | |
| 189 | +} | |
| 129 | 190 | |
| 130 | 191 | .charitable-form-content { |
| 131 | - margin-bottom: 1em; } | |
| 192 | + margin-bottom: 1em; | |
| 193 | + font-size: 16px; | |
| 194 | +} | |
| 132 | 195 | |
| 133 | 196 | .charitable-gateway-fields { |
| 134 | - padding-top: 1em; } | |
| 197 | + padding-top: 1em; | |
| 198 | +} | |
| 135 | 199 | |
| 136 | 200 | #charitable_field_cc_cvc { |
| 137 | - max-width: 140px; } | |
| 138 | - @media (min-width: 48em) { | |
| 139 | - #charitable_field_cc_cvc { | |
| 140 | - float: left; | |
| 141 | - width: 33%; } } | |
| 201 | + max-width: 180px; | |
| 202 | +} | |
| 142 | 203 | |
| 143 | 204 | @media (min-width: 48em) { |
| 205 | + #charitable_field_cc_cvc { | |
| 206 | + float: left; | |
| 207 | + width: 33%; | |
| 208 | + } | |
| 209 | +} | |
| 210 | +@media (min-width: 48em) { | |
| 144 | 211 | #charitable_field_cc_expiration { |
| 145 | 212 | float: left; |
| 146 | 213 | width: 63%; |
| 147 | - margin-left: 4%; } } | |
| 214 | + margin-left: 4%; | |
| 215 | + clear: none; | |
| 216 | + } | |
| 217 | +} | |
| 218 | +#charitable_field_cc_expiration .charitable-fieldset-field-header { | |
| 219 | + font-weight: normal; | |
| 220 | +} | |
| 221 | + | |
| 148 | 222 | #charitable_field_cc_expiration fieldset > *:not(.charitable-fieldset-field-header) { |
| 149 | 223 | float: left; |
| 150 | 224 | width: 49%; |
| 151 | - max-width: 140px; } | |
| 225 | + max-width: 140px; | |
| 226 | +} | |
| 227 | + | |
| 152 | 228 | #charitable_field_cc_expiration .year { |
| 153 | - margin-left: 2%; } | |
| 229 | + margin-left: 2%; | |
| 230 | +} | |
| 154 | 231 | |
| 155 | 232 | .charitable-form-fields .charitable-fieldset { |
| 156 | 233 | margin: 0 0 1em; |
| 157 | 234 | padding: 1.5em 20px 0.5em; |
| 158 | - border: 1px solid #ebebeb; } | |
| 235 | + border: 1px solid #ebebeb; | |
| 236 | +} | |
| 237 | + | |
| 159 | 238 | .charitable-form-fields .charitable-fieldset-field-wrapper { |
| 160 | 239 | margin: 0; |
| 161 | 240 | padding: 0; |
| 162 | - border: none; } | |
| 163 | - .charitable-form-fields .charitable-fieldset-field-wrapper .charitable-fieldset-field-header { | |
| 164 | - margin-bottom: 4px; | |
| 165 | - font-weight: bold; } | |
| 241 | + border: none; | |
| 242 | +} | |
| 166 | 243 | |
| 244 | +.charitable-form-fields .charitable-fieldset-field-wrapper .charitable-fieldset-field-header { | |
| 245 | + margin-bottom: 4px; | |
| 246 | + font-weight: bold; | |
| 247 | +} | |
| 248 | + | |
| 167 | 249 | .charitable-form-header { |
| 168 | 250 | margin: 0 0 1em; |
| 169 | 251 | font-size: 1.2em; |
| 170 | - font-weight: bolder; } | |
| 252 | + font-weight: bolder; | |
| 253 | +} | |
| 171 | 254 | |
| 172 | 255 | .charitable-repeatable-form-field-table { |
| 173 | - margin-bottom: 1em; } | |
| 256 | + margin-bottom: 1em; | |
| 257 | +} | |
| 174 | 258 | |
| 175 | 259 | .charitable-donation-form { |
| 176 | - padding-top: 1em; } | |
| 177 | - .charitable-donation-form .donation-amounts { | |
| 178 | - *zoom: 1; | |
| 179 | - margin: 0 0 1em; | |
| 180 | - padding: 0; | |
| 181 | - list-style: none; } | |
| 182 | - .charitable-donation-form .donation-amounts:before, .charitable-donation-form .donation-amounts:after { | |
| 183 | - content: " "; | |
| 184 | - display: table; } | |
| 185 | - .charitable-donation-form .donation-amounts:after { | |
| 186 | - clear: both; } | |
| 187 | - .charitable-donation-form .donation-amounts .donation-amount { | |
| 188 | - position: relative; | |
| 189 | - float: left; | |
| 190 | - width: 49%; | |
| 191 | - margin: 0 2% 0.5em 0; | |
| 192 | - border: 1px solid #ddd; | |
| 193 | - background-color: transparent; | |
| 194 | - list-style: none; } | |
| 195 | - .charitable-donation-form .donation-amounts .donation-amount .custom-donation-amount-wrapper, | |
| 196 | - .charitable-donation-form .donation-amounts .donation-amount > label { | |
| 197 | - display: block; | |
| 198 | - width: 100%; | |
| 199 | - padding: 0.5em 1em; | |
| 200 | - margin: 0; | |
| 201 | - font-size: 1em; | |
| 202 | - cursor: pointer; } | |
| 203 | - .charitable-donation-form .donation-amounts .donation-amount .amount { | |
| 204 | - font-weight: bolder; } | |
| 205 | - .charitable-donation-form .donation-amounts .donation-amount:nth-child(2n+2) { | |
| 206 | - margin-right: 0; } | |
| 207 | - .charitable-donation-form .donation-amounts .donation-amount input[type=radio] { | |
| 208 | - margin: 0 6px 0 0; | |
| 209 | - vertical-align: middle; } | |
| 210 | - .charitable-donation-form .donation-amounts .donation-amount.selected { | |
| 211 | - color: #fff; } | |
| 212 | - @media screen and (max-width: 37.5em) { | |
| 213 | - .charitable-donation-form .donation-amounts .donation-amount { | |
| 214 | - float: none; | |
| 215 | - width: 100%; | |
| 216 | - margin-right: 0; } } | |
| 217 | - .charitable-donation-form .custom-donation-input { | |
| 218 | - max-width: 100%; } | |
| 260 | + padding-top: 1em; | |
| 261 | +} | |
| 219 | 262 | |
| 263 | +.charitable-donation-form .donation-amounts { | |
| 264 | + display: grid; | |
| 265 | + grid-template-columns: 1fr 1fr; | |
| 266 | + margin: 0 0 1em; | |
| 267 | + padding: 0; | |
| 268 | + list-style: none; | |
| 269 | +} | |
| 270 | + | |
| 271 | +.charitable-donation-form .donation-amounts li:last-child { | |
| 272 | + /* grid-column: 1 / -1; */ | |
| 273 | +} | |
| 274 | + | |
| 275 | +.charitable-donation-form .donation-amounts li:last-child label { | |
| 276 | + /* width: 100%; */ | |
| 277 | +} | |
| 278 | + | |
| 279 | +.charitable-donation-form .donation-amounts:before, | |
| 280 | +.charitable-donation-form .donation-amounts:after { | |
| 281 | + /* content: " "; | |
| 282 | + display: table; */ | |
| 283 | +} | |
| 284 | + | |
| 285 | +.charitable-donation-form .donation-amounts:after { | |
| 286 | + clear: both; | |
| 287 | +} | |
| 288 | + | |
| 289 | +.charitable-donation-form .donation-amounts .donation-amount { | |
| 290 | + position: relative; | |
| 291 | + float: auto; | |
| 292 | + width: auto; | |
| 293 | + margin: 0 2% 0.5em 0; | |
| 294 | + border: 1px solid #ddd; | |
| 295 | + background-color: transparent; | |
| 296 | + list-style: none; | |
| 297 | +} | |
| 298 | + | |
| 299 | +.charitable-donation-form .donation-amounts .donation-amount .custom-donation-amount-wrapper, | |
| 300 | +.charitable-donation-form .donation-amounts .donation-amount > label { | |
| 301 | + display: block; | |
| 302 | + width: auto; | |
| 303 | + padding: 0.5em 1em; | |
| 304 | + margin: 0; | |
| 305 | + font-size: 1em; | |
| 306 | + cursor: pointer; | |
| 307 | +} | |
| 308 | + | |
| 309 | +.charitable-donation-form .donation-amounts .donation-amount .amount { | |
| 310 | + font-weight: bolder; | |
| 311 | +} | |
| 312 | + | |
| 313 | +.charitable-donation-form .donation-amounts .donation-amount:nth-child(2n+2) { | |
| 314 | + margin-right: 0; | |
| 315 | +} | |
| 316 | + | |
| 317 | +.charitable-donation-form .donation-amounts .donation-amount input[type=radio] { | |
| 318 | + margin: 0 6px 0 0; | |
| 319 | + vertical-align: middle; | |
| 320 | +} | |
| 321 | + | |
| 322 | +.charitable-donation-form .donation-amounts .donation-amount.selected { | |
| 323 | + background-color: black; | |
| 324 | +} | |
| 325 | + | |
| 326 | +.charitable-donation-form .donation-amounts .donation-amount.selected label { | |
| 327 | + color: #fff; | |
| 328 | +} | |
| 329 | + | |
| 330 | +.charitable-donation-form .donation-amounts .donation-amount.custom-donation-amount.selected label { | |
| 331 | + color: inherit; | |
| 332 | +} | |
| 333 | + | |
| 334 | +.charitable-donation-form.charitable-template-standard .donation-amounts .donation-amount.custom-donation-amount.selected, | |
| 335 | +.charitable-donation-form.charitable-template-standard .donation-amounts.donation-suggested-amount li { | |
| 336 | + background-color: transparent !important; | |
| 337 | +} | |
| 338 | + | |
| 339 | +.charitable-donation-form.charitable-template-standard .charitable-your-donation-amount { | |
| 340 | + font-size: 18px; | |
| 341 | + line-height: 20px; | |
| 342 | +} | |
| 343 | + | |
| 344 | +@media screen and (max-width: 37.5em) { | |
| 345 | + .charitable-donation-form .donation-amounts .donation-amount { | |
| 346 | + float: none; | |
| 347 | + width: 100%; | |
| 348 | + margin-right: 0; | |
| 349 | + } | |
| 350 | +} | |
| 351 | +.charitable-donation-form .custom-donation-input { | |
| 352 | + max-width: calc(100% - 2rem); | |
| 353 | + min-height: 30px; | |
| 354 | + border-width: 0.078rem; | |
| 355 | + border-style: solid; | |
| 356 | + border-radius: 0.25rem; | |
| 357 | + padding: 0.8rem 1rem; | |
| 358 | + background-color: #fff; | |
| 359 | + color: #4d4d4d; | |
| 360 | + font-size: 1rem; | |
| 361 | + font-family: inherit; | |
| 362 | + font-weight: 500; | |
| 363 | + line-height: 1.2; | |
| 364 | +} | |
| 365 | + | |
| 220 | 366 | #charitable-donor-fields > .charitable-form-field, |
| 221 | 367 | #charitable-donor-fields .charitable-form-fields > .charitable-form-field { |
| 222 | 368 | clear: both; |
| 223 | - padding: 0 20px; } | |
| 369 | + padding: 0 20px; | |
| 370 | +} | |
| 224 | 371 | |
| 225 | 372 | .widget_charitable_donate_widget #charitable-donation-amount-form { |
| 226 | - padding-top: 0; } | |
| 227 | - .widget_charitable_donate_widget #charitable-donation-amount-form .donation-amounts .donation-amount { | |
| 228 | - width: 100%; | |
| 229 | - margin-right: 0; } | |
| 373 | + padding-top: 0; | |
| 374 | +} | |
| 230 | 375 | |
| 376 | +.widget_charitable_donate_widget #charitable-donation-amount-form .donation-amounts .donation-amount { | |
| 377 | + width: 100%; | |
| 378 | + margin-right: 0; | |
| 379 | +} | |
| 380 | + | |
| 231 | 381 | .charitable-hidden { |
| 232 | 382 | display: none !important; |
| 233 | - visibility: hidden; } | |
| 383 | + visibility: hidden; | |
| 384 | +} | |
| 234 | 385 | |
| 235 | 386 | .charitable-form-field-donor-fields .charitable-login-details { |
| 236 | - padding-top: 1em; } | |
| 387 | + padding-top: 1em; | |
| 388 | +} | |
| 237 | 389 | |
| 238 | 390 | #charitable-donor-fields { |
| 239 | - padding: 1.5em 0 0.5em; } | |
| 240 | - #charitable-donor-fields .charitable-form-header { | |
| 241 | - padding: 0 20px; } | |
| 391 | + padding: 1.5em 0 0.5em; | |
| 392 | +} | |
| 242 | 393 | |
| 394 | +#charitable-donor-fields .charitable-form-header { | |
| 395 | + padding: 0 20px; | |
| 396 | +} | |
| 397 | + | |
| 398 | +.charitable-modal #charitable-donor-fields .charitable-form-header { | |
| 399 | + padding-left: 0; | |
| 400 | +} | |
| 401 | + | |
| 243 | 402 | .charitable-donor-details { |
| 244 | - padding: 0 20px 1em; } | |
| 245 | - .charitable-donor-details .donor-address, | |
| 246 | - .charitable-donor-details .donor-contact-details { | |
| 247 | - margin-bottom: 0.5em; } | |
| 248 | - .charitable-donor-details .charitable-change-user-details { | |
| 249 | - margin-bottom: 0; | |
| 250 | - padding-bottom: 0; } | |
| 403 | + padding: 0 20px 1em 0; | |
| 404 | + font-size: 1rem; | |
| 405 | + margin-bottom: 25px; | |
| 406 | +} | |
| 251 | 407 | |
| 408 | +.charitable-donor-details .donor-address, | |
| 409 | +.charitable-donor-details .donor-contact-details { | |
| 410 | + margin-bottom: 0.5em; | |
| 411 | +} | |
| 412 | + | |
| 413 | +.charitable-donor-details .charitable-change-user-details { | |
| 414 | + margin-bottom: 0; | |
| 415 | + padding-bottom: 0; | |
| 416 | +} | |
| 417 | + | |
| 252 | 418 | #charitable-user-fields, |
| 253 | 419 | #charitable-meta-fields { |
| 254 | - padding: 0 20px; } | |
| 420 | + padding: 0 20px; | |
| 421 | +} | |
| 255 | 422 | |
| 423 | +.charitable-modal #charitable-user-fields, | |
| 424 | +.charitable-modal #charitable-meta-fields { | |
| 425 | + padding: 0; | |
| 426 | +} | |
| 427 | + | |
| 256 | 428 | #charitable-meta-fields { |
| 257 | 429 | padding-top: 1.5em; |
| 258 | 430 | margin-top: 1.5em; |
| 259 | - border-top: 1px solid #ebebeb; } | |
| 431 | + border-top: 1px solid #ebebeb; | |
| 432 | +} | |
| 260 | 433 | |
| 261 | 434 | .charitable-terms-text { |
| 262 | 435 | border: 1px solid #ebebeb; |
| 263 | 436 | padding: 10px; |
| @@ -264,230 +437,1092 @@ | ||
| 264 | 437 | background-color: #f8f8f8; |
| 265 | 438 | margin-bottom: 1em; |
| 266 | 439 | max-height: 200px; |
| 267 | 440 | overflow: scroll; |
| 268 | - display: none; } | |
| 269 | - .charitable-terms-text.active { | |
| 270 | - display: block; } | |
| 441 | + display: none; | |
| 442 | +} | |
| 271 | 443 | |
| 444 | +.charitable-terms-text.active { | |
| 445 | + display: block; | |
| 446 | +} | |
| 447 | + | |
| 272 | 448 | #login-prompt { |
| 273 | - margin-bottom: 4px; } | |
| 449 | + margin-bottom: 4px; | |
| 450 | +} | |
| 274 | 451 | |
| 275 | 452 | .charitable-login-form { |
| 276 | 453 | padding: 1em; |
| 277 | 454 | margin-bottom: 1em; |
| 278 | - border: 1px solid #ebebeb; } | |
| 279 | - .charitable-login-form label { | |
| 280 | - display: block; | |
| 281 | - margin-bottom: 4px; } | |
| 282 | - .charitable-login-form > p, | |
| 283 | - .charitable-login-form .login-username, | |
| 284 | - .charitable-login-form .login-password, | |
| 285 | - .charitable-login-form .login-remember { | |
| 286 | - margin-bottom: 1em; | |
| 287 | - padding-bottom: 0; } | |
| 288 | - .charitable-login-form .login-submit { | |
| 289 | - margin-bottom: 0; | |
| 290 | - padding-bottom: 0; } | |
| 455 | + border: 1px solid #ebebeb; | |
| 456 | +} | |
| 291 | 457 | |
| 458 | +.charitable-login-form label { | |
| 459 | + display: block; | |
| 460 | + margin-bottom: 4px; | |
| 461 | +} | |
| 462 | + | |
| 463 | +.charitable-login-form > p, | |
| 464 | +.charitable-login-form .login-username, | |
| 465 | +.charitable-login-form .login-password, | |
| 466 | +.charitable-login-form .login-remember { | |
| 467 | + margin-bottom: 1em; | |
| 468 | + padding-bottom: 0; | |
| 469 | +} | |
| 470 | + | |
| 471 | +.charitable-login-form .login-submit { | |
| 472 | + margin-bottom: 0; | |
| 473 | + padding-bottom: 0; | |
| 474 | +} | |
| 475 | + | |
| 292 | 476 | .js .charitable-donation-form .donation-amount input[type=radio] { |
| 293 | - display: none; } | |
| 477 | + display: none; | |
| 478 | +} | |
| 294 | 479 | |
| 295 | 480 | /* Receipts */ |
| 481 | +.donation-summary { | |
| 482 | + margin-bottom: 1em; | |
| 483 | + padding-bottom: 0; | |
| 484 | +} | |
| 485 | + | |
| 486 | +.donation-summary dd, | |
| 296 | 487 | .donation-summary dt { |
| 488 | + margin-top: 0; | |
| 489 | +} | |
| 490 | + | |
| 491 | +.donation-summary dt { | |
| 297 | 492 | float: left; |
| 298 | - margin-right: .5em; | |
| 299 | - font-weight: bold; } | |
| 493 | + margin-right: 0.5em; | |
| 494 | + font-weight: bold; | |
| 495 | +} | |
| 496 | + | |
| 300 | 497 | .donation-summary dd { |
| 301 | 498 | display: block; |
| 302 | - margin-bottom: 0; } | |
| 499 | + margin-bottom: 0; | |
| 500 | +} | |
| 501 | + | |
| 303 | 502 | .donation-summary dd::after { |
| 304 | 503 | content: " "; |
| 305 | 504 | display: block; |
| 306 | - clear: left; } | |
| 505 | + clear: left; | |
| 506 | +} | |
| 307 | 507 | |
| 308 | -.charitable-table tr, .charitable-table td { | |
| 309 | - padding-right: 1.5em; } | |
| 508 | +.charitable-table.donation-details { | |
| 509 | + width: 100%; | |
| 510 | + text-align: left; | |
| 511 | +} | |
| 310 | 512 | |
| 513 | +.charitable-table.donation-details td { | |
| 514 | + padding: 15px 0; | |
| 515 | +} | |
| 516 | + | |
| 517 | +.charitable-table.donation-details tfoot td { | |
| 518 | + border-top: 1px solid #e6e6e6; | |
| 519 | + padding-top: 15px; | |
| 520 | + font-weight: 500; | |
| 521 | +} | |
| 522 | + | |
| 523 | +h3.charitable-header { | |
| 524 | + font-weight: 800; | |
| 525 | + border-bottom: 1px solid black; | |
| 526 | + padding-bottom: 10px; | |
| 527 | + margin-top: 50px; | |
| 528 | +} | |
| 529 | + | |
| 530 | +.charitable-table tr, | |
| 531 | +.charitable-table td { | |
| 532 | + padding-right: 1.5em; | |
| 533 | +} | |
| 534 | + | |
| 311 | 535 | /* Campaigns grid */ |
| 312 | 536 | .campaign-loop.campaign-list, |
| 313 | 537 | .campaign-loop.campaign-grid { |
| 314 | 538 | margin: 0 0 1em 0; |
| 315 | 539 | padding: 0; |
| 316 | - list-style: none; } | |
| 317 | - .campaign-loop.campaign-list li.campaign, | |
| 318 | - .campaign-loop.campaign-list .campaign.hentry, | |
| 319 | - .campaign-loop.campaign-grid li.campaign, | |
| 320 | - .campaign-loop.campaign-grid .campaign.hentry { | |
| 321 | - position: relative; | |
| 322 | - padding: 0; | |
| 323 | - margin: 0 0 1em 0; | |
| 324 | - list-style: none; | |
| 325 | - box-shadow: none; | |
| 326 | - box-sizing: border-box; } | |
| 327 | - .campaign-loop.campaign-list li.campaign h3, | |
| 328 | - .campaign-loop.campaign-list .campaign.hentry h3, | |
| 329 | - .campaign-loop.campaign-grid li.campaign h3, | |
| 330 | - .campaign-loop.campaign-grid .campaign.hentry h3 { | |
| 331 | - margin-top: 0; | |
| 332 | - text-decoration: none; } | |
| 333 | - .campaign-loop.campaign-list .wp-post-image, | |
| 334 | - .campaign-loop.campaign-grid .wp-post-image { | |
| 335 | - padding-bottom: 1em; } | |
| 336 | - .campaign-loop.campaign-list .campaign-donation-stats, | |
| 337 | - .campaign-loop.campaign-grid .campaign-donation-stats { | |
| 338 | - margin-bottom: 1em; } | |
| 339 | - .campaign-loop.campaign-list .campaign-donation-stats .amount, | |
| 340 | - .campaign-loop.campaign-list .campaign-donation-stats .goal-amount, | |
| 341 | - .campaign-loop.campaign-grid .campaign-donation-stats .amount, | |
| 342 | - .campaign-loop.campaign-grid .campaign-donation-stats .goal-amount { | |
| 343 | - font-weight: bolder; } | |
| 344 | - .campaign-loop.campaign-list .campaign-donation .button, | |
| 345 | - .campaign-loop.campaign-grid .campaign-donation .button { | |
| 346 | - display: inline-block; } | |
| 540 | + list-style: none; | |
| 541 | +} | |
| 347 | 542 | |
| 543 | +.campaign-loop.campaign-list li.campaign, | |
| 544 | +.campaign-loop.campaign-list .campaign.hentry, | |
| 545 | +.campaign-loop.campaign-grid li.campaign, | |
| 546 | +.campaign-loop.campaign-grid .campaign.hentry { | |
| 547 | + position: relative; | |
| 548 | + padding: 0; | |
| 549 | + margin: 0 0 1em 0; | |
| 550 | + list-style: none; | |
| 551 | + box-shadow: none; | |
| 552 | + box-sizing: border-box; | |
| 553 | +} | |
| 554 | + | |
| 555 | +.campaign-loop.campaign-list li.campaign h3, | |
| 556 | +.campaign-loop.campaign-list .campaign.hentry h3, | |
| 557 | +.campaign-loop.campaign-grid li.campaign h3, | |
| 558 | +.campaign-loop.campaign-grid .campaign.hentry h3 { | |
| 559 | + margin-top: 0; | |
| 560 | + text-decoration: none; | |
| 561 | +} | |
| 562 | + | |
| 563 | +.campaign-loop.campaign-list .wp-post-image, | |
| 564 | +.campaign-loop.campaign-grid .wp-post-image { | |
| 565 | + padding-bottom: 1em; | |
| 566 | +} | |
| 567 | + | |
| 568 | +.campaign-loop.campaign-list .campaign-donation-stats, | |
| 569 | +.campaign-loop.campaign-grid .campaign-donation-stats { | |
| 570 | + margin-bottom: 1em; | |
| 571 | +} | |
| 572 | + | |
| 573 | +.campaign-loop.campaign-list .campaign-donation-stats .amount, | |
| 574 | +.campaign-loop.campaign-list .campaign-donation-stats .goal-amount, | |
| 575 | +.campaign-loop.campaign-grid .campaign-donation-stats .amount, | |
| 576 | +.campaign-loop.campaign-grid .campaign-donation-stats .goal-amount { | |
| 577 | + font-weight: bolder; | |
| 578 | +} | |
| 579 | + | |
| 580 | +.campaign-loop.campaign-list .campaign-donation .button, | |
| 581 | +.campaign-loop.campaign-grid .campaign-donation .button { | |
| 582 | + display: inline-block; | |
| 583 | +} | |
| 584 | + | |
| 348 | 585 | .campaign-progress-bar { |
| 349 | 586 | margin-bottom: 0.5em; |
| 350 | - overflow: hidden; } | |
| 587 | + overflow: hidden; | |
| 588 | +} | |
| 351 | 589 | |
| 352 | 590 | .campaign-loop.campaign-list li.campaign, |
| 353 | 591 | .campaign-loop.campaign-list .campaign.hentry { |
| 354 | 592 | padding: 0 0 1em 0; |
| 355 | 593 | margin: 0 0 1em 0; |
| 356 | - border-bottom: 1px solid #e6e6e6; } | |
| 594 | + border-bottom: 1px solid #e6e6e6; | |
| 595 | +} | |
| 357 | 596 | |
| 358 | 597 | .campaign-loop.campaign-grid { |
| 359 | 598 | margin: 0 0 1em 0; |
| 360 | 599 | padding: 0; |
| 361 | - *zoom: 1; } | |
| 362 | - .campaign-loop.campaign-grid:before, .campaign-loop.campaign-grid:after { | |
| 363 | - content: " "; | |
| 364 | - display: table; } | |
| 365 | - .campaign-loop.campaign-grid:after { | |
| 366 | - clear: both; } | |
| 367 | - .campaign-loop.campaign-grid .wp-post-image { | |
| 368 | - max-width: 100%; | |
| 369 | - width: 100%; } | |
| 370 | - .campaign-loop.campaign-grid li.campaign, | |
| 371 | - .campaign-loop.campaign-grid .campaign.hentry { | |
| 372 | - list-style: none; | |
| 373 | - float: left; | |
| 374 | - margin: 0 2% 1em 0; | |
| 375 | - padding: 1em; | |
| 376 | - border: 1px solid #e6e6e6; } | |
| 377 | - .campaign-loop.campaign-grid .campaign-donation { | |
| 378 | - text-align: center; } | |
| 600 | + *zoom: 1; | |
| 601 | +} | |
| 379 | 602 | |
| 603 | +.campaign-loop.campaign-grid:before, | |
| 604 | +.campaign-loop.campaign-grid:after { | |
| 605 | + content: " "; | |
| 606 | + display: table; | |
| 607 | +} | |
| 608 | + | |
| 609 | +.campaign-loop.campaign-grid:after { | |
| 610 | + clear: both; | |
| 611 | +} | |
| 612 | + | |
| 613 | +.campaign-loop.campaign-grid .wp-post-image { | |
| 614 | + max-width: 100%; | |
| 615 | + width: 100%; | |
| 616 | +} | |
| 617 | + | |
| 618 | +.campaign-loop.campaign-grid li.campaign, | |
| 619 | +.campaign-loop.campaign-grid .campaign.hentry { | |
| 620 | + list-style: none; | |
| 621 | + float: left; | |
| 622 | + margin: 0 2% 1em 0; | |
| 623 | + padding: 1em; | |
| 624 | + border: 1px solid #e6e6e6; | |
| 625 | +} | |
| 626 | + | |
| 627 | +.campaign-loop.campaign-grid .campaign-donation { | |
| 628 | + text-align: center; | |
| 629 | +} | |
| 630 | + | |
| 380 | 631 | .campaign-grid.masonry { |
| 381 | 632 | -moz-column-gap: 1em; |
| 382 | 633 | -webkit-column-gap: 1em; |
| 383 | - column-gap: 1em; } | |
| 384 | - .campaign-grid.masonry li.campaign, | |
| 385 | - .campaign-grid.masonry .campaign.hentry { | |
| 386 | - display: inline-block; | |
| 387 | - margin: 0 0 1em; | |
| 388 | - width: 100%; | |
| 389 | - float: none; } | |
| 634 | + column-gap: 1em; | |
| 635 | +} | |
| 390 | 636 | |
| 637 | +.campaign-grid.masonry li.campaign, | |
| 638 | +.campaign-grid.masonry .campaign.hentry { | |
| 639 | + display: inline-block; | |
| 640 | + margin: 0 0 1em; | |
| 641 | + width: 100%; | |
| 642 | + float: none; | |
| 643 | +} | |
| 644 | + | |
| 391 | 645 | .campaign-grid-2 li.campaign, |
| 392 | 646 | .campaign-grid-2 .campaign.hentry { |
| 393 | - width: 49%; } | |
| 647 | + width: 49%; | |
| 648 | +} | |
| 649 | + | |
| 394 | 650 | .campaign-grid-2 li.campaign:nth-child(2n+2), |
| 395 | 651 | .campaign-grid-2 .campaign.hentry:nth-child(2n+2) { |
| 396 | - margin-right: 0; } | |
| 652 | + margin-right: 0; | |
| 653 | +} | |
| 654 | + | |
| 397 | 655 | .campaign-grid-2.masonry { |
| 398 | 656 | -moz-column-count: 2; |
| 399 | 657 | -webkit-column-count: 2; |
| 400 | - column-count: 2; } | |
| 658 | + column-count: 2; | |
| 659 | +} | |
| 401 | 660 | |
| 402 | 661 | .campaign-grid-3 li.campaign, |
| 403 | 662 | .campaign-grid-3 .campaign.hentry { |
| 404 | - width: 32%; } | |
| 405 | -.campaign-grid-3 li.campaign, | |
| 663 | + width: 32%; | |
| 664 | +} | |
| 665 | + | |
| 666 | +.campaign-grid-3 li.campaign:nth-child(3n+3), | |
| 406 | 667 | .campaign-grid-3 .campaign.hentry:nth-child(3n+3) { |
| 407 | - margin-right: 0; } | |
| 668 | + margin-right: 0; | |
| 669 | +} | |
| 670 | + | |
| 408 | 671 | .campaign-grid-3.masonry { |
| 409 | 672 | -moz-column-count: 3; |
| 410 | 673 | -webkit-column-count: 3; |
| 411 | - column-count: 3; } | |
| 674 | + column-count: 3; | |
| 675 | +} | |
| 412 | 676 | |
| 413 | 677 | .campaign-grid-4 li.campaign, |
| 414 | 678 | .campaign-grid-4 .campaign.hentry { |
| 415 | - width: 23.5%; } | |
| 416 | -.campaign-grid-4 li.campaign, | |
| 679 | + width: 23.5%; | |
| 680 | +} | |
| 681 | + | |
| 682 | +.campaign-grid-4 li.campaign:nth-child(4n+4), | |
| 417 | 683 | .campaign-grid-4 .campaign.hentry:nth-child(4n+4) { |
| 418 | - margin-right: 0; } | |
| 684 | + margin-right: 0; | |
| 685 | +} | |
| 686 | + | |
| 419 | 687 | .campaign-grid-4.masonry { |
| 420 | 688 | -moz-column-count: 4; |
| 421 | 689 | -webkit-column-count: 4; |
| 422 | - column-count: 4; } | |
| 690 | + column-count: 4; | |
| 691 | +} | |
| 423 | 692 | |
| 424 | 693 | /* Donors */ |
| 425 | 694 | .donors-list { |
| 426 | 695 | list-style: none; |
| 427 | 696 | padding-left: 0; |
| 428 | - margin-left: 0; } | |
| 429 | - .donors-list .donor { | |
| 430 | - *zoom: 1; | |
| 431 | - list-style: none; | |
| 432 | - padding: 1em 0; } | |
| 433 | - .donors-list .donor:before, .donors-list .donor:after { | |
| 434 | - content: " "; | |
| 435 | - display: table; } | |
| 436 | - .donors-list .donor:after { | |
| 437 | - clear: both; } | |
| 438 | - .donors-list .donor .avatar { | |
| 439 | - margin: 0; } | |
| 440 | - .donors-list .donor .donor-name { | |
| 441 | - font-weight: bold; } | |
| 442 | - .donors-list .donor .donor-name, | |
| 443 | - .donors-list .donor .donor-location, | |
| 444 | - .donors-list .donor .donor-donation-amount { | |
| 445 | - margin: 0.5em 0 0 0; } | |
| 446 | - .donors-list .donor > *:first-child { | |
| 447 | - margin-top: 0; } | |
| 448 | - .donors-list.donors-list-horizontal .donor { | |
| 449 | - display: inline-block; | |
| 450 | - padding: 0 20px 1em 0; | |
| 451 | - width: 100px; | |
| 452 | - vertical-align: top; } | |
| 453 | - .donors-list.donors-list-vertical .donor { | |
| 454 | - border-bottom: 1px solid #e6e6e6; } | |
| 697 | + margin-left: 0; | |
| 698 | +} | |
| 455 | 699 | |
| 700 | +.donors-list .donor { | |
| 701 | + *zoom: 1; | |
| 702 | + list-style: none; | |
| 703 | + padding: 1em 0; | |
| 704 | +} | |
| 705 | + | |
| 706 | +.donors-list .donor:before, | |
| 707 | +.donors-list .donor:after { | |
| 708 | + content: " "; | |
| 709 | + display: table; | |
| 710 | +} | |
| 711 | + | |
| 712 | +.donors-list .donor:after { | |
| 713 | + clear: both; | |
| 714 | +} | |
| 715 | + | |
| 716 | +.donors-list .donor .avatar { | |
| 717 | + margin: 0; | |
| 718 | +} | |
| 719 | + | |
| 720 | +.donors-list .donor .donor-name { | |
| 721 | + font-weight: bold; | |
| 722 | +} | |
| 723 | + | |
| 724 | +.donors-list .donor .donor-name, | |
| 725 | +.donors-list .donor .donor-location, | |
| 726 | +.donors-list .donor .donor-donation-amount { | |
| 727 | + margin: 0.5em 0 0 0; | |
| 728 | +} | |
| 729 | + | |
| 730 | +.donors-list .donor > *:first-child { | |
| 731 | + margin-top: 0; | |
| 732 | +} | |
| 733 | + | |
| 734 | +.donors-list.donors-list-horizontal .donor { | |
| 735 | + display: inline-block; | |
| 736 | + padding: 0 20px 1em 0; | |
| 737 | + width: 100px; | |
| 738 | + vertical-align: top; | |
| 739 | +} | |
| 740 | + | |
| 741 | +.donors-list.donors-list-vertical .donor { | |
| 742 | + border-bottom: 1px solid #e6e6e6; | |
| 743 | +} | |
| 744 | + | |
| 456 | 745 | /* Widgets */ |
| 457 | 746 | .widget.widget_charitable_campaigns_widget .campaigns { |
| 458 | 747 | margin: 0 0 1em 0; |
| 459 | 748 | padding: 0; |
| 460 | - list-style: none; } | |
| 749 | + list-style: none; | |
| 750 | +} | |
| 751 | + | |
| 461 | 752 | .widget.widget_charitable_campaigns_widget .campaign { |
| 462 | 753 | list-style: none; |
| 463 | 754 | padding: 1em 0; |
| 464 | 755 | border-bottom-color: #e6e6e6; |
| 465 | 756 | border-bottom-style: solid; |
| 466 | - border-bottom-width: 1px; } | |
| 467 | - .widget.widget_charitable_campaigns_widget .campaign .wp-post-image { | |
| 468 | - padding: 0; | |
| 469 | - margin: 0 0 0.5em 0; } | |
| 470 | - .widget.widget_charitable_campaigns_widget .campaign .campaign-title { | |
| 471 | - padding: 0; | |
| 472 | - margin: 0 0 0.5em 0; | |
| 473 | - font-size: inherit; | |
| 474 | - font-weight: bolder; } | |
| 475 | - .widget.widget_charitable_campaigns_widget .campaign .campaign-time-left { | |
| 476 | - font-weight: normal; } | |
| 757 | + border-bottom-width: 1px; | |
| 758 | +} | |
| 477 | 759 | |
| 760 | +.widget.widget_charitable_campaigns_widget .campaign .wp-post-image { | |
| 761 | + padding: 0; | |
| 762 | + margin: 0 0 0.5em 0; | |
| 763 | +} | |
| 764 | + | |
| 765 | +.widget.widget_charitable_campaigns_widget .campaign .campaign-title { | |
| 766 | + padding: 0; | |
| 767 | + margin: 0 0 0.5em 0; | |
| 768 | + font-size: inherit; | |
| 769 | + font-weight: bolder; | |
| 770 | +} | |
| 771 | + | |
| 772 | +.widget.widget_charitable_campaigns_widget .campaign .campaign-time-left { | |
| 773 | + font-weight: normal; | |
| 774 | +} | |
| 775 | + | |
| 478 | 776 | /* Notices */ |
| 479 | 777 | .charitable-notice { |
| 480 | 778 | padding: 1em; |
| 481 | 779 | margin-bottom: 1em; |
| 482 | - border: 1px solid; } | |
| 483 | - .charitable-notice > ul { | |
| 484 | - padding: 0; | |
| 485 | - margin: 0; | |
| 486 | - list-style: none; } | |
| 487 | - .charitable-notice > ul li { | |
| 488 | - padding: 0; | |
| 489 | - border: none; } | |
| 490 | - .charitable-notice a { | |
| 491 | - text-decoration: underline; } | |
| 780 | + border: 1px solid; | |
| 781 | +} | |
| 492 | 782 | |
| 493 | -/*# sourceMappingURL=charitable.css.map */ | |
| 783 | +.charitable-notice > ul { | |
| 784 | + padding: 0; | |
| 785 | + margin: 0; | |
| 786 | + list-style: none; | |
| 787 | +} | |
| 788 | +.charitable-notice > ul.charitable-notice-errors { | |
| 789 | + font-size: 1rem; | |
| 790 | + line-height: 1rem; | |
| 791 | +} | |
| 792 | +.charitable-notice > ul.charitable-notice-errors li { | |
| 793 | + margin-bottom: 5px; | |
| 794 | +} | |
| 795 | +.charitable-notice > ul.charitable-notice-errors li:last-child { | |
| 796 | + margin-bottom: 0; | |
| 797 | +} | |
| 798 | +.charitable-notice > ul.charitable-notice-errors li:before { | |
| 799 | + content: "\f534"; | |
| 800 | + font-family: "dashicons"; | |
| 801 | + height: 15px; | |
| 802 | + color: orange; | |
| 803 | + position: relative; | |
| 804 | + top: 6px; | |
| 805 | + font-size: 1.3rem; | |
| 806 | + margin-right: 10px; | |
| 807 | +} | |
| 808 | + | |
| 809 | +.charitable-notice > ul li { | |
| 810 | + padding: 0; | |
| 811 | + border: none; | |
| 812 | +} | |
| 813 | + | |
| 814 | +.charitable-notice a { | |
| 815 | + text-decoration: underline; | |
| 816 | +} | |
| 817 | + | |
| 818 | +/* modal donation */ | |
| 819 | +.charitable-modal.charitable-modal-donation { | |
| 820 | + width: 80%; | |
| 821 | + max-width: 800px; | |
| 822 | + padding: 1em; | |
| 823 | + background-color: #fff; | |
| 824 | + overflow-y: auto; | |
| 825 | +} | |
| 826 | + | |
| 827 | +.charitable-modal.charitable-modal-donation .charitable-submit-field { | |
| 828 | + margin-bottom: 0; | |
| 829 | +} | |
| 830 | + | |
| 831 | + | |
| 832 | +/* donation form templates */ | |
| 833 | +.charitable-donation-form.charitable-template-standard .charitable-fieldset { | |
| 834 | + padding: 0; | |
| 835 | + border: none; | |
| 836 | +} | |
| 837 | +.charitable-donation-form.charitable-template-standard .charitable-fieldset .charitable-form-header { | |
| 838 | + font-size: 21px; | |
| 839 | + line-height: 21px; | |
| 840 | + font-weight: 800; | |
| 841 | + margin-bottom: 10px; | |
| 842 | +} | |
| 843 | +.charitable-donation-form.charitable-template-standard .charitable-fieldset { | |
| 844 | + margin: 0 0 1em; | |
| 845 | + padding: 1em 20px 0.5em !important; | |
| 846 | + border: 1px solid #ebebeb; | |
| 847 | +} | |
| 848 | +.charitable-donation-form.charitable-template-standard .charitable-fieldset > :last-child, | |
| 849 | +.charitable-donation-form.charitable-template-standard .charitable-fieldset-field-wrapper > :last-child { | |
| 850 | + margin-bottom: 0; | |
| 851 | +} | |
| 852 | +.charitable-donation-form.charitable-template-standard .donation-amounts.has-suggested-amounts { | |
| 853 | + margin-bottom: 0; | |
| 854 | + grid-template-columns: 1fr 1fr; | |
| 855 | +} | |
| 856 | +.charitable-donation-form.charitable-template-standard .donation-amounts.has-suggested-amounts.donation-amounts-count-3 li:last-child, .charitable-donation-form.charitable-template-standard .donation-amounts.has-suggested-amounts.donation-amounts-count-5 li:last-child { | |
| 857 | + grid-column: 1/-1; | |
| 858 | +} | |
| 859 | +.charitable-donation-form.charitable-template-standard .donation-amounts .donation-amount { | |
| 860 | + margin: 5px; | |
| 861 | +} | |
| 862 | +.charitable-donation-form.charitable-template-standard .donation-amounts li { | |
| 863 | + text-align: center; | |
| 864 | +} | |
| 865 | +.charitable-donation-form.charitable-template-standard .donation-amounts li span.description { | |
| 866 | + font-size: 16px !important; | |
| 867 | + line-height: 21px !important; | |
| 868 | + font-weight: 500; | |
| 869 | + display: block; | |
| 870 | + margin: 5px auto; | |
| 871 | +} | |
| 872 | +.charitable-donation-form.charitable-template-standard .donation-amounts.donation-suggested-amount { | |
| 873 | + display: flex; | |
| 874 | + flex-direction: row; | |
| 875 | + margin-top: 5px !important; | |
| 876 | + margin-bottom: 10px; | |
| 877 | + padding: 5px; | |
| 878 | +} | |
| 879 | +.charitable-donation-form.charitable-template-standard .donation-amounts.donation-suggested-amount span.custom-donation-amount-wrapper { | |
| 880 | + display: flex; | |
| 881 | + flex-direction: column; | |
| 882 | + width: 100%; | |
| 883 | +} | |
| 884 | +.charitable-donation-form.charitable-template-standard .donation-amounts.donation-suggested-amount li { | |
| 885 | + display: flex; | |
| 886 | + text-align: left; | |
| 887 | + align-items: center; | |
| 888 | + justify-content: space-between; | |
| 889 | + background: white; | |
| 890 | + border: 1px solid #ddd; | |
| 891 | + border-radius: 0; | |
| 892 | + padding: 4px 0; | |
| 893 | + margin: 5px; | |
| 894 | + width: 100%; | |
| 895 | + margin: 0; | |
| 896 | +} | |
| 897 | +.charitable-donation-form.charitable-template-standard .donation-amounts.donation-suggested-amount li label { | |
| 898 | + width: 100%; | |
| 899 | + margin-bottom: 10px; | |
| 900 | + display: block; | |
| 901 | +} | |
| 902 | +.charitable-donation-form.charitable-template-standard .donation-amounts.donation-suggested-amount li input[type=text] { | |
| 903 | + border-width: 0.078rem; | |
| 904 | + border-style: solid; | |
| 905 | + border-radius: 0.25rem; | |
| 906 | + padding: 0.8rem 10px; | |
| 907 | + max-width: calc(100% - 4rem); | |
| 908 | + background-color: #fff; | |
| 909 | + color: #4d4d4d; | |
| 910 | + font-size: 1rem; | |
| 911 | + font-family: inherit; | |
| 912 | + font-weight: 500; | |
| 913 | + line-height: 1.2; | |
| 914 | +} | |
| 915 | +.charitable-donation-form.charitable-template-standard #charitable-donor-fields { | |
| 916 | + padding-top: 0; | |
| 917 | +} | |
| 918 | +.charitable-donation-form.charitable-template-standard #charitable-donor-fields .charitable-form-header { | |
| 919 | + padding: 0; | |
| 920 | +} | |
| 921 | +.charitable-donation-form.charitable-template-standard #charitable-donor-fields .charitable-form-fields { | |
| 922 | + margin-top: 15px; | |
| 923 | +} | |
| 924 | +.charitable-donation-form.charitable-template-standard #charitable-donor-fields #charitable-user-fields { | |
| 925 | + padding-left: 0; | |
| 926 | + padding-right: 0; | |
| 927 | +} | |
| 928 | +.charitable-donation-form.charitable-template-standard #charitable-donor-fields #charitable-user-fields input, | |
| 929 | +.charitable-donation-form.charitable-template-standard #charitable-donor-fields #charitable-user-fields select { | |
| 930 | + font-size: 16px; | |
| 931 | + line-height: 16px; | |
| 932 | +} | |
| 933 | +.charitable-donation-form.charitable-template-standard #charitable-donor-fields #charitable-user-fields input { | |
| 934 | + border-width: 0.078rem; | |
| 935 | + border-style: solid; | |
| 936 | + border-radius: 0.25rem; | |
| 937 | + padding: 0.8rem 1rem; | |
| 938 | + background-color: #fff; | |
| 939 | + color: #4d4d4d; | |
| 940 | + font-size: 1rem; | |
| 941 | + font-family: inherit; | |
| 942 | + font-weight: 500; | |
| 943 | + line-height: 1.2; | |
| 944 | +} | |
| 945 | +.charitable-donation-form.charitable-template-standard #charitable-donor-fields #charitable-user-fields select { | |
| 946 | + border-width: 0.078rem; | |
| 947 | + border-style: solid; | |
| 948 | + border-radius: 0.25rem; | |
| 949 | + padding: 0.8rem 1rem; | |
| 950 | + background-color: #fff; | |
| 951 | + color: #4d4d4d; | |
| 952 | + font-size: 1rem; | |
| 953 | + font-family: inherit; | |
| 954 | + font-weight: 500; | |
| 955 | + line-height: 1.2; | |
| 956 | +} | |
| 957 | +.charitable-donation-form.charitable-template-standard #charitable-donor-fields #charitable-user-fields .charitable-form-field { | |
| 958 | + display: flex; | |
| 959 | + flex-direction: column; | |
| 960 | +} | |
| 961 | +.charitable-donation-form.charitable-template-standard #charitable-donor-fields #charitable-user-fields .charitable-form-field label { | |
| 962 | + font-size: 16px; | |
| 963 | + line-height: 16px; | |
| 964 | + font-weight: 500; | |
| 965 | + margin-bottom: 10px; | |
| 966 | +} | |
| 967 | +.charitable-donation-form.charitable-template-standard #charitable-donor-fields #charitable-user-fields .charitable-form-field input { | |
| 968 | + width: auto; | |
| 969 | +} | |
| 970 | +.charitable-donation-form.charitable-template-standard #charitable-gateway-fields #charitable-gateway-selector-header { | |
| 971 | + font-size: 16px; | |
| 972 | + line-height: 16px; | |
| 973 | + font-weight: 500; | |
| 974 | + margin-bottom: 10px; | |
| 975 | +} | |
| 976 | +.charitable-donation-form.charitable-template-standard #charitable-gateway-fields .charitable-form-field { | |
| 977 | + margin-bottom: 5px; | |
| 978 | +} | |
| 979 | +.charitable-donation-form.charitable-template-standard #charitable-gateway-fields #charitable-gateway-selector { | |
| 980 | + margin-top: 5px; | |
| 981 | + margin-bottom: 0px; | |
| 982 | +} | |
| 983 | +.charitable-donation-form.charitable-template-standard #charitable-gateway-fields #charitable-gateway-selector li { | |
| 984 | + margin-right: 15px; | |
| 985 | +} | |
| 986 | +.charitable-donation-form.charitable-template-standard #charitable-gateway-fields #charitable-gateway-selector li label { | |
| 987 | + font-size: 16px; | |
| 988 | + line-height: 16px; | |
| 989 | + font-weight: 500; | |
| 990 | +} | |
| 991 | +.charitable-donation-form.charitable-template-standard #charitable-gateway-fields #charitable-gateway-selector-header { | |
| 992 | + display: none; | |
| 993 | +} | |
| 994 | +.charitable-donation-form.charitable-template-standard #charitable-gateway-fields .charitable-gateway-fields.charitable-form-fields .charitable-form-field { | |
| 995 | + display: flex; | |
| 996 | + flex-direction: column; | |
| 997 | +} | |
| 998 | +.charitable-donation-form.charitable-template-standard #charitable-gateway-fields .charitable-gateway-fields.charitable-form-fields label { | |
| 999 | + font-size: 16px; | |
| 1000 | + line-height: 16px; | |
| 1001 | + font-weight: 500; | |
| 1002 | + margin-top: 15px; | |
| 1003 | + margin-bottom: 10px; | |
| 1004 | + display: block; | |
| 1005 | +} | |
| 1006 | +.charitable-donation-form.charitable-template-standard #charitable-gateway-fields .charitable-gateway-fields.charitable-form-fields input { | |
| 1007 | + width: auto; | |
| 1008 | + border-width: 0.078rem; | |
| 1009 | + border-style: solid; | |
| 1010 | + border-radius: 0.25rem; | |
| 1011 | + padding: 12.8px 16px; | |
| 1012 | + min-height: 25px; | |
| 1013 | + background-color: #fff; | |
| 1014 | + color: #4d4d4d; | |
| 1015 | + font-size: 1rem; | |
| 1016 | + font-family: inherit; | |
| 1017 | + font-weight: 500; | |
| 1018 | + line-height: 1.2; | |
| 1019 | +} | |
| 1020 | +.charitable-donation-form.charitable-template-standard #charitable-gateway-fields #charitable_stripe_card_field { | |
| 1021 | + width: auto; | |
| 1022 | + border-width: 0.078rem; | |
| 1023 | + border-style: solid; | |
| 1024 | + border-radius: 0.25rem; | |
| 1025 | + padding: 0.8rem 1rem; | |
| 1026 | + min-height: 30px; | |
| 1027 | + background-color: #fff; | |
| 1028 | + color: #4d4d4d; | |
| 1029 | + font-size: 1rem; | |
| 1030 | + font-family: inherit; | |
| 1031 | + font-weight: 500; | |
| 1032 | + line-height: 1.2; | |
| 1033 | + display: grid; | |
| 1034 | + align-items: center; | |
| 1035 | +} | |
| 1036 | + | |
| 1037 | +.charitable-donation-form.charitable-template-minimal .charitable-fieldset { | |
| 1038 | + padding: 0; | |
| 1039 | + border: none; | |
| 1040 | +} | |
| 1041 | +.charitable-donation-form.charitable-template-minimal .charitable-fieldset .charitable-form-header { | |
| 1042 | + font-size: 21px; | |
| 1043 | + line-height: 21px; | |
| 1044 | + font-weight: 800; | |
| 1045 | + margin-bottom: 10px; | |
| 1046 | +} | |
| 1047 | +.charitable-donation-form.charitable-template-minimal .charitable-fieldset > :last-child, | |
| 1048 | +.charitable-donation-form.charitable-template-minimal .charitable-fieldset-field-wrapper > :last-child { | |
| 1049 | + margin-bottom: 0; | |
| 1050 | +} | |
| 1051 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts { | |
| 1052 | + margin-bottom: 0; | |
| 1053 | +} | |
| 1054 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-1 { | |
| 1055 | + grid-template-columns: 1fr; | |
| 1056 | +} | |
| 1057 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-2 { | |
| 1058 | + grid-template-columns: 1fr 1fr; | |
| 1059 | +} | |
| 1060 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-2 .donation-amount { | |
| 1061 | + margin: 5px; | |
| 1062 | +} | |
| 1063 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-2 .donation-amount:first-child { | |
| 1064 | + margin-left: 0; | |
| 1065 | +} | |
| 1066 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-2 .donation-amount:last-child { | |
| 1067 | + margin-right: 0; | |
| 1068 | +} | |
| 1069 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-3 { | |
| 1070 | + grid-template-columns: 1fr 1fr 1fr; | |
| 1071 | +} | |
| 1072 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-3 .donation-amount { | |
| 1073 | + margin: 5px; | |
| 1074 | +} | |
| 1075 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-3 .donation-amount:first-child { | |
| 1076 | + margin-left: 0; | |
| 1077 | +} | |
| 1078 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-3 .donation-amount:last-child { | |
| 1079 | + margin-right: 0; | |
| 1080 | +} | |
| 1081 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-4 { | |
| 1082 | + grid-template-columns: 1fr 1fr 1fr 1fr; | |
| 1083 | +} | |
| 1084 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-4 .donation-amount { | |
| 1085 | + margin: 5px; | |
| 1086 | +} | |
| 1087 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-4 .donation-amount:first-child { | |
| 1088 | + margin-left: 0; | |
| 1089 | +} | |
| 1090 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-4 .donation-amount:last-child { | |
| 1091 | + margin-right: 0; | |
| 1092 | +} | |
| 1093 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-5 { | |
| 1094 | + grid-template-columns: 1fr 1fr 1fr 1fr 1fr; | |
| 1095 | +} | |
| 1096 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-5 .donation-amount { | |
| 1097 | + margin: 5px; | |
| 1098 | +} | |
| 1099 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-5 .donation-amount:first-child { | |
| 1100 | + margin-left: 0; | |
| 1101 | +} | |
| 1102 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-5 .donation-amount:last-child { | |
| 1103 | + margin-right: 0; | |
| 1104 | +} | |
| 1105 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-6 { | |
| 1106 | + grid-template-columns: 1fr 1fr 1fr; | |
| 1107 | +} | |
| 1108 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-6 .donation-amount { | |
| 1109 | + margin: 5px; | |
| 1110 | +} | |
| 1111 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-7, .charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-8 { | |
| 1112 | + grid-template-columns: 1fr 1fr 1fr 1fr; | |
| 1113 | +} | |
| 1114 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-7 .donation-amount, .charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-8 .donation-amount { | |
| 1115 | + margin: 5px; | |
| 1116 | +} | |
| 1117 | +.charitable-donation-form.charitable-template-minimal .donation-amounts .donation-amount { | |
| 1118 | + margin: 5px; | |
| 1119 | +} | |
| 1120 | +.charitable-donation-form.charitable-template-minimal .donation-amounts .donation-amount:first-child { | |
| 1121 | + margin-left: 0; | |
| 1122 | +} | |
| 1123 | +.charitable-donation-form.charitable-template-minimal .donation-amounts .donation-amount:last-child { | |
| 1124 | + margin-right: 0; | |
| 1125 | +} | |
| 1126 | +.charitable-donation-form.charitable-template-minimal .donation-amounts li { | |
| 1127 | + text-align: center; | |
| 1128 | +} | |
| 1129 | +.charitable-donation-form.charitable-template-minimal .donation-amounts li span.description { | |
| 1130 | + font-size: 16px !important; | |
| 1131 | + line-height: 21px !important; | |
| 1132 | + font-weight: 500; | |
| 1133 | + display: block; | |
| 1134 | + margin: 5px auto; | |
| 1135 | +} | |
| 1136 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.donation-suggested-amount { | |
| 1137 | + display: flex; | |
| 1138 | + flex-direction: row; | |
| 1139 | + margin-top: 5px !important; | |
| 1140 | +} | |
| 1141 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.donation-suggested-amount span.custom-donation-amount-wrapper { | |
| 1142 | + display: block; | |
| 1143 | + width: 100%; | |
| 1144 | +} | |
| 1145 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.donation-suggested-amount li { | |
| 1146 | + display: flex; | |
| 1147 | + align-items: center; | |
| 1148 | + justify-content: space-between; | |
| 1149 | + background: white; | |
| 1150 | + border: solid 1px #8c8c8c; | |
| 1151 | + border-radius: 4px; | |
| 1152 | + padding: 4px 0; | |
| 1153 | + width: 100%; | |
| 1154 | + margin: 0; | |
| 1155 | +} | |
| 1156 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.donation-suggested-amount li label { | |
| 1157 | + width: 100%; | |
| 1158 | + display: none; | |
| 1159 | +} | |
| 1160 | +.charitable-donation-form.charitable-template-minimal .donation-amounts.donation-suggested-amount li input[type=text] { | |
| 1161 | + height: fit-content; | |
| 1162 | + background-color: #fff; | |
| 1163 | + font-size: var(--givewp-font-size-headline-md); | |
| 1164 | + font-weight: normal; | |
| 1165 | + line-height: 1.5; | |
| 1166 | + color: #bababa; | |
| 1167 | + border: none; | |
| 1168 | + outline: none; | |
| 1169 | + box-shadow: none; | |
| 1170 | + width: 100%; | |
| 1171 | + text-align: center; | |
| 1172 | + padding: 0; | |
| 1173 | + min-height: 45px; | |
| 1174 | +} | |
| 1175 | +.charitable-donation-form.charitable-template-minimal .charitable-custom-donation-field-alone { | |
| 1176 | + display: flex; | |
| 1177 | + align-items: center; | |
| 1178 | + justify-content: space-between; | |
| 1179 | + background: white; | |
| 1180 | + border: solid 1px #8c8c8c; | |
| 1181 | + border-radius: 4px; | |
| 1182 | + padding: 4px 0; | |
| 1183 | + width: 100%; | |
| 1184 | + margin: 0; | |
| 1185 | +} | |
| 1186 | +.charitable-donation-form.charitable-template-minimal .charitable-custom-donation-field-alone label { | |
| 1187 | + width: 100%; | |
| 1188 | + display: none; | |
| 1189 | +} | |
| 1190 | +.charitable-donation-form.charitable-template-minimal .charitable-custom-donation-field-alone input[type=text] { | |
| 1191 | + height: fit-content; | |
| 1192 | + background-color: #fff; | |
| 1193 | + font-size: var(--givewp-font-size-headline-md); | |
| 1194 | + font-weight: normal; | |
| 1195 | + line-height: 1.5; | |
| 1196 | + color: #bababa; | |
| 1197 | + border: none; | |
| 1198 | + outline: none; | |
| 1199 | + box-shadow: none; | |
| 1200 | + width: 100%; | |
| 1201 | + text-align: center; | |
| 1202 | + padding: 0; | |
| 1203 | +} | |
| 1204 | +.charitable-donation-form.charitable-template-minimal #charitable-donor-fields { | |
| 1205 | + padding-top: 0; | |
| 1206 | +} | |
| 1207 | +.charitable-donation-form.charitable-template-minimal #charitable-donor-fields .charitable-form-header { | |
| 1208 | + padding: 0; | |
| 1209 | +} | |
| 1210 | +.charitable-donation-form.charitable-template-minimal #charitable-donor-fields .charitable-form-fields { | |
| 1211 | + margin-top: 15px; | |
| 1212 | +} | |
| 1213 | +.charitable-donation-form.charitable-template-minimal #charitable-donor-fields #charitable-user-fields { | |
| 1214 | + padding-left: 0; | |
| 1215 | + padding-right: 0; | |
| 1216 | +} | |
| 1217 | +.charitable-donation-form.charitable-template-minimal #charitable-donor-fields #charitable-user-fields input, | |
| 1218 | +.charitable-donation-form.charitable-template-minimal #charitable-donor-fields #charitable-user-fields select { | |
| 1219 | + font-size: 16px; | |
| 1220 | + line-height: 16px; | |
| 1221 | +} | |
| 1222 | +.charitable-donation-form.charitable-template-minimal #charitable-donor-fields #charitable-user-fields input { | |
| 1223 | + border-width: 0.078rem; | |
| 1224 | + border-style: solid; | |
| 1225 | + border-radius: 0.25rem; | |
| 1226 | + padding: 0.8rem 1rem; | |
| 1227 | + background-color: #fff; | |
| 1228 | + color: #4d4d4d; | |
| 1229 | + font-size: inherit; | |
| 1230 | + font-family: inherit; | |
| 1231 | + font-weight: 500; | |
| 1232 | + line-height: 1.2; | |
| 1233 | + min-height: 18px; | |
| 1234 | +} | |
| 1235 | +.charitable-donation-form.charitable-template-minimal #charitable-donor-fields #charitable-user-fields select { | |
| 1236 | + border-width: 0.078rem; | |
| 1237 | + border-style: solid; | |
| 1238 | + border-radius: 0.25rem; | |
| 1239 | + padding: 0.5rem 1rem; | |
| 1240 | + min-height: 40px; | |
| 1241 | + background-color: #fff; | |
| 1242 | + color: #4d4d4d; | |
| 1243 | + font-size: inherit; | |
| 1244 | + font-family: inherit; | |
| 1245 | + font-weight: 500; | |
| 1246 | + line-height: 1.2; | |
| 1247 | +} | |
| 1248 | +.charitable-donation-form.charitable-template-minimal #charitable-donor-fields #charitable-user-fields .charitable-form-field { | |
| 1249 | + display: flex; | |
| 1250 | + flex-direction: column; | |
| 1251 | +} | |
| 1252 | +.charitable-donation-form.charitable-template-minimal #charitable-donor-fields #charitable-user-fields .charitable-form-field label { | |
| 1253 | + font-size: 16px; | |
| 1254 | + line-height: 16px; | |
| 1255 | + font-weight: 500; | |
| 1256 | + margin-bottom: 10px; | |
| 1257 | +} | |
| 1258 | +.charitable-donation-form.charitable-template-minimal #charitable-donor-fields #charitable-user-fields .charitable-form-field input { | |
| 1259 | + width: auto; | |
| 1260 | +} | |
| 1261 | +.charitable-donation-form.charitable-template-minimal #charitable-donor-fields #charitable-user-fields .charitable-form-group.charitable-form-group-number-1 { | |
| 1262 | + display: flex; | |
| 1263 | + flex-direction: row; | |
| 1264 | + justify-content: stretch; | |
| 1265 | + align-content: center; | |
| 1266 | + width: 100%; | |
| 1267 | + gap: 15px; | |
| 1268 | + flex-wrap: wrap; | |
| 1269 | +} | |
| 1270 | +.charitable-donation-form.charitable-template-minimal #charitable-donor-fields #charitable-user-fields .charitable-form-group.charitable-form-group-number-1 div#charitable_field_first_name, | |
| 1271 | +.charitable-donation-form.charitable-template-minimal #charitable-donor-fields #charitable-user-fields .charitable-form-group.charitable-form-group-number-1 div#charitable_field_last_name, | |
| 1272 | +.charitable-donation-form.charitable-template-minimal #charitable-donor-fields #charitable-user-fields .charitable-form-group.charitable-form-group-number-1 div#charitable_field_email { | |
| 1273 | + flex: 1; | |
| 1274 | +} | |
| 1275 | +.charitable-donation-form.charitable-template-minimal #charitable-gateway-fields #charitable-gateway-selector-header { | |
| 1276 | + font-size: 16px; | |
| 1277 | + line-height: 16px; | |
| 1278 | + font-weight: 500; | |
| 1279 | + margin-bottom: 10px; | |
| 1280 | +} | |
| 1281 | +.charitable-donation-form.charitable-template-minimal #charitable-gateway-fields .charitable-form-field { | |
| 1282 | + margin-bottom: 5px; | |
| 1283 | +} | |
| 1284 | +.charitable-donation-form.charitable-template-minimal #charitable-gateway-fields #charitable-gateway-selector { | |
| 1285 | + margin-top: 5px; | |
| 1286 | + margin-bottom: 0px; | |
| 1287 | +} | |
| 1288 | +.charitable-donation-form.charitable-template-minimal #charitable-gateway-fields #charitable-gateway-selector li { | |
| 1289 | + margin-right: 5px; | |
| 1290 | + /* Add checkmark icon when checked */ | |
| 1291 | +} | |
| 1292 | +.charitable-donation-form.charitable-template-minimal #charitable-gateway-fields #charitable-gateway-selector li input[type=radio] { | |
| 1293 | + display: none; | |
| 1294 | +} | |
| 1295 | +.charitable-donation-form.charitable-template-minimal #charitable-gateway-fields #charitable-gateway-selector li label { | |
| 1296 | + display: inline-block; | |
| 1297 | + position: relative; | |
| 1298 | + font-size: 16px; | |
| 1299 | + line-height: 16px; | |
| 1300 | + font-weight: 500; | |
| 1301 | + padding: 10px 20px; | |
| 1302 | + margin-right: -1px; | |
| 1303 | + /* Overlap bordering */ | |
| 1304 | + border: 1px solid #ccc; | |
| 1305 | + cursor: pointer; | |
| 1306 | + background-color: #f1f1f1; | |
| 1307 | + opacity: 0.55; | |
| 1308 | +} | |
| 1309 | +.charitable-donation-form.charitable-template-minimal #charitable-gateway-fields #charitable-gateway-selector li input[type=radio]:checked + label { | |
| 1310 | + background-color: #fff; | |
| 1311 | + color: #000; | |
| 1312 | + font-weight: bold; | |
| 1313 | + opacity: 1; | |
| 1314 | + padding-left: 35px; | |
| 1315 | +} | |
| 1316 | +.charitable-donation-form.charitable-template-minimal #charitable-gateway-fields #charitable-gateway-selector li input[type=radio]:checked + label::before { | |
| 1317 | + content: "\f15e"; | |
| 1318 | + font-size: 22px; | |
| 1319 | + font-family: "dashicons"; | |
| 1320 | + font-weight: 900; | |
| 1321 | + position: absolute; | |
| 1322 | + left: 10px; | |
| 1323 | + top: 50%; | |
| 1324 | + transform: translateY(-50%); | |
| 1325 | + color: green; | |
| 1326 | +} | |
| 1327 | +.charitable-donation-form.charitable-template-minimal #charitable-gateway-fields #charitable-gateway-selector-header { | |
| 1328 | + display: none; | |
| 1329 | +} | |
| 1330 | +.charitable-donation-form.charitable-template-minimal #charitable-gateway-fields .charitable-gateway-fields.charitable-form-fields { | |
| 1331 | + padding: 10px 10px; | |
| 1332 | +} | |
| 1333 | +.charitable-donation-form.charitable-template-minimal #charitable-gateway-fields .charitable-gateway-fields.charitable-form-fields .charitable-form-field { | |
| 1334 | + display: flex; | |
| 1335 | + flex-direction: column; | |
| 1336 | +} | |
| 1337 | +.charitable-donation-form.charitable-template-minimal #charitable-gateway-fields .charitable-gateway-fields.charitable-form-fields label { | |
| 1338 | + font-size: 16px; | |
| 1339 | + line-height: 16px; | |
| 1340 | + font-weight: 500; | |
| 1341 | + margin-top: 15px; | |
| 1342 | + margin-bottom: 10px; | |
| 1343 | + display: block; | |
| 1344 | +} | |
| 1345 | +.charitable-donation-form.charitable-template-minimal #charitable-gateway-fields .charitable-gateway-fields.charitable-form-fields input { | |
| 1346 | + width: auto; | |
| 1347 | + border-width: 0.078rem; | |
| 1348 | + border-style: solid; | |
| 1349 | + border-radius: 0.25rem; | |
| 1350 | + padding: 0.8rem 1rem; | |
| 1351 | + background-color: #fff; | |
| 1352 | + color: #4d4d4d; | |
| 1353 | + font-size: inherit; | |
| 1354 | + font-family: inherit; | |
| 1355 | + font-weight: 500; | |
| 1356 | + line-height: 1.2; | |
| 1357 | +} | |
| 1358 | +.charitable-donation-form.charitable-template-minimal .donate-button { | |
| 1359 | + width: 100%; | |
| 1360 | +} | |
| 1361 | +.charitable-donation-form.charitable-template-minimal .charitable-notice { | |
| 1362 | + padding: 5px 10px; | |
| 1363 | + font-size: 16px; | |
| 1364 | + line-height: 16px; | |
| 1365 | + font-weight: 600; | |
| 1366 | +} | |
| 1367 | +.charitable-donation-form.charitable-template-minimal .charitable-notice li { | |
| 1368 | + margin: 10px 0; | |
| 1369 | +} | |
| 1370 | + | |
| 1371 | +@media screen and (max-width: 700px) { | |
| 1372 | + .charitable-donation-form.charitable-template-minimal #charitable-donor-fields #charitable-user-fields .charitable-form-group.charitable-form-group-number-1 { | |
| 1373 | + flex-direction: column; | |
| 1374 | + } | |
| 1375 | + .charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-1, | |
| 1376 | + .charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-2, | |
| 1377 | + .charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-3, | |
| 1378 | + .charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-5, | |
| 1379 | + .charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-7, | |
| 1380 | + .charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-8, | |
| 1381 | + .charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-9, | |
| 1382 | + .charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-10 { | |
| 1383 | + grid-template-columns: 1fr; | |
| 1384 | + } | |
| 1385 | + .charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-4, | |
| 1386 | + .charitable-donation-form.charitable-template-minimal .donation-amounts.has-suggested-amounts.donation-amounts-count-6 { | |
| 1387 | + grid-template-columns: 1fr 1fr; | |
| 1388 | + } | |
| 1389 | +} | |
| 1390 | +#charitable-gateway-fields-stripe.charitable-cc-fields-multiple { | |
| 1391 | + display: grid; | |
| 1392 | + grid-template-columns: 75% 25%; | |
| 1393 | + grid-template-rows: auto auto; /* This creates the equivalent of a 2x2 grid */ | |
| 1394 | + gap: 10px; /* Optional: Sets the gap between grid items */ | |
| 1395 | +} | |
| 1396 | +#charitable-gateway-fields-stripe.charitable-cc-fields-multiple > div.charitable_stripe_multiple_field:nth-child(even) input, | |
| 1397 | +#charitable-gateway-fields-stripe.charitable-cc-fields-multiple > div:first-child input { | |
| 1398 | + font-family: sans-serif !important; | |
| 1399 | + font-size: 16px !important; | |
| 1400 | + padding: 10px 10px !important; | |
| 1401 | + min-height: 15px !important; | |
| 1402 | + font-weight: 500 !important; | |
| 1403 | +} | |
| 1404 | +#charitable-gateway-fields-stripe.charitable-cc-fields-multiple > div.charitable_stripe_multiple_field:nth-child(odd) { /* Target every even div (2nd, 4th, 6th, etc.) */ } | |
| 1405 | +#charitable-gateway-fields-stripe.charitable-cc-fields-multiple > div > div, | |
| 1406 | +#charitable-gateway-fields-stripe.charitable-cc-fields-multiple > div input { | |
| 1407 | + width: auto !important; | |
| 1408 | + border-width: 0.078rem !important; | |
| 1409 | + border-style: solid !important; | |
| 1410 | + border-radius: 0.25rem !important; | |
| 1411 | + padding: 10px 10px !important; | |
| 1412 | + background-color: #fff !important; | |
| 1413 | + color: #4d4d4d !important; | |
| 1414 | + font-size: 1rem !important; | |
| 1415 | + font-family: inherit !important; | |
| 1416 | + font-weight: 500 !important; | |
| 1417 | + line-height: 1.2 !important; | |
| 1418 | + min-height: 15px; | |
| 1419 | + font-size: 16px !important; | |
| 1420 | +} | |
| 1421 | + | |
| 1422 | +#google-pay-button { | |
| 1423 | + min-height: 40px; /* Minimum height for the button */ | |
| 1424 | + margin: 10px 0; | |
| 1425 | +} | |
| 1426 | +#google-pay-button button { | |
| 1427 | + width: 100%; | |
| 1428 | +} | |
| 1429 | + | |
| 1430 | +.charitable-privacy-policy-text { | |
| 1431 | + font-size: 16px; | |
| 1432 | + line-height: 21px; | |
| 1433 | + font-weight: 400; | |
| 1434 | +} | |
| 1435 | + | |
| 1436 | +#charitable-square-wallet-buttons { | |
| 1437 | + display: flex; | |
| 1438 | + flex-direction: row; | |
| 1439 | + gap: 0px; | |
| 1440 | + margin: 0; | |
| 1441 | +} | |
| 1442 | + | |
| 1443 | +/* When empty, hide the container */ | |
| 1444 | +#charitable-square-wallet-buttons:empty { | |
| 1445 | + display: none; | |
| 1446 | +} | |
| 1447 | + | |
| 1448 | +/* All direct child divs */ | |
| 1449 | +#charitable-square-wallet-buttons > div { | |
| 1450 | + flex: 1; /* This makes divs share space equally */ | |
| 1451 | +} | |
| 1452 | + | |
| 1453 | +/* When exactly one div child */ | |
| 1454 | +#charitable-square-wallet-buttons > div:only-child { | |
| 1455 | + width: 100%; | |
| 1456 | +} | |
| 1457 | + | |
| 1458 | +/* When exactly two div children */ | |
| 1459 | +#charitable-square-wallet-buttons > div:first-child:nth-last-child(2), | |
| 1460 | +#charitable-square-wallet-buttons > div:first-child:nth-last-child(2) ~ div { | |
| 1461 | + width: 50%; | |
| 1462 | +} | |
| 1463 | + | |
| 1464 | +#google-pay-button, | |
| 1465 | +#apple-pay-button { | |
| 1466 | + min-height: 40px; | |
| 1467 | + margin: 10px 0; | |
| 1468 | + display: flex; | |
| 1469 | + align-items: center; | |
| 1470 | + justify-content: center; | |
| 1471 | + color: #666; | |
| 1472 | + font-size: 14px; | |
| 1473 | + width: 100%; | |
| 1474 | + /* border: 1px solid #ddd; */ | |
| 1475 | +} | |
| 1476 | + | |
| 1477 | +#google-pay-button:before, | |
| 1478 | +#apple-pay-button:before { | |
| 1479 | + content: "Google Pay"; | |
| 1480 | + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; | |
| 1481 | +} | |
| 1482 | + | |
| 1483 | +#apple-pay-button:before { | |
| 1484 | + content: "Apple Pay"; | |
| 1485 | +} | |
| 1486 | + | |
| 1487 | +.wallet-enabled #google-pay-button:before, | |
| 1488 | +.wallet-enabled #apple-pay-button:before { | |
| 1489 | + display: none; | |
| 1490 | +} | |
| 1491 | + | |
| 1492 | +#charitable-square-wallet-separator { | |
| 1493 | + text-align: center; | |
| 1494 | + width: 100%; | |
| 1495 | + display: block; | |
| 1496 | + margin: 0; | |
| 1497 | + font-size: 14px; | |
| 1498 | + color: #666; | |
| 1499 | + position: relative; | |
| 1500 | +} | |
| 1501 | + | |
| 1502 | +#charitable-square-wallet-separator:before, | |
| 1503 | +#charitable-square-wallet-separator:after { | |
| 1504 | + content: ""; | |
| 1505 | + position: absolute; | |
| 1506 | + top: 50%; | |
| 1507 | + width: 33%; | |
| 1508 | + height: 1px; | |
| 1509 | + background: #ddd; | |
| 1510 | +} | |
| 1511 | + | |
| 1512 | +#charitable-square-wallet-separator:before { | |
| 1513 | + left: 0; | |
| 1514 | +} | |
| 1515 | + | |
| 1516 | +#charitable-square-wallet-separator:after { | |
| 1517 | + right: 0; | |
| 1518 | +} | |
| 1519 | + | |
| 1520 | +#charitable-square-card-payment-fields { | |
| 1521 | + border: 0; | |
| 1522 | + margin: 0; | |
| 1523 | + padding: 0; | |
| 1524 | +} | |
| 1525 | +#charitable-square-card-payment-fields.no-wallets { | |
| 1526 | + padding: 0; | |
| 1527 | + border: none; | |
| 1528 | +} | |