icons
1 year ago
authorizenet.scss
4 years ago
currencyswitcher.scss
4 years ago
feerecovery.scss
4 years ago
ffm.scss
4 years ago
form.scss
3 years ago
legacy-consumer.scss
1 year ago
mixins.scss
4 years ago
newsletter.scss
4 years ago
paypal-commerce.scss
4 years ago
receipt.scss
3 years ago
recurring.scss
4 years ago
square.scss
4 years ago
tributes.scss
3 years ago
util.scss
4 years ago
form.scss
1653 lines
| 1 | /* stylelint-disable */ |
| 2 | @import 'mixins'; |
| 3 | @import 'util'; |
| 4 | |
| 5 | // Icons |
| 6 | @import './icons/fontawesome'; |
| 7 | @import './icons/regular'; |
| 8 | @import './icons/solid'; |
| 9 | @import './icons/brands'; |
| 10 | |
| 11 | // Donation Form |
| 12 | @import 'legacy-consumer'; |
| 13 | |
| 14 | // Receipt Styles |
| 15 | @import 'receipt'; |
| 16 | @import 'recurring'; |
| 17 | @import 'feerecovery'; |
| 18 | @import 'ffm'; |
| 19 | @import 'tributes'; |
| 20 | @import 'newsletter'; |
| 21 | @import 'square'; |
| 22 | @import 'currencyswitcher'; |
| 23 | |
| 24 | // Payment gateways |
| 25 | @import 'paypal-commerce'; |
| 26 | @import 'authorizenet'; |
| 27 | |
| 28 | // Structure |
| 29 | html { |
| 30 | margin: 0; |
| 31 | padding: 0; |
| 32 | border: 0; |
| 33 | } |
| 34 | |
| 35 | body { |
| 36 | margin: 10px; |
| 37 | font-family: system-ui, sans-serif; |
| 38 | color: #555; |
| 39 | } |
| 40 | |
| 41 | form { |
| 42 | margin: 0 !important; |
| 43 | position: relative; |
| 44 | } |
| 45 | |
| 46 | // Typography |
| 47 | |
| 48 | h2 { |
| 49 | font-weight: 600; |
| 50 | font-size: 26px; |
| 51 | line-height: 30px; |
| 52 | color: #333; |
| 53 | } |
| 54 | |
| 55 | .give-stripe-becs-mandate-acceptance-text, |
| 56 | .give-stripe-sepa-mandate-acceptance-text, |
| 57 | p { |
| 58 | font-size: 15px; |
| 59 | font-weight: 400; |
| 60 | line-height: 24px; |
| 61 | color: #6f6f6f; |
| 62 | } |
| 63 | |
| 64 | .give-stripe-becs-mandate-acceptance-text, |
| 65 | .give-stripe-sepa-mandate-acceptance-text { |
| 66 | margin-bottom: 16px !important; |
| 67 | |
| 68 | &::before, |
| 69 | &::after { |
| 70 | display: none !important; |
| 71 | content: none !important; |
| 72 | } |
| 73 | |
| 74 | &:empty { |
| 75 | margin-bottom: 0 !important; |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | // Container |
| 80 | |
| 81 | .give-embed-form, |
| 82 | .give-embed-receipt { |
| 83 | max-width: 552px; |
| 84 | margin: auto; |
| 85 | border-radius: 6px; |
| 86 | color: #696969; |
| 87 | display: flex; |
| 88 | flex-direction: column; |
| 89 | background-color: #fff; |
| 90 | -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), |
| 91 | 0 1px 5px 0 rgba(0, 0, 0, 0.12); |
| 92 | box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); |
| 93 | width: 100%; |
| 94 | overflow: hidden; |
| 95 | position: relative; |
| 96 | } |
| 97 | |
| 98 | // Buttons |
| 99 | |
| 100 | .give-btn { |
| 101 | background-color: #28c77b; |
| 102 | color: #fff; |
| 103 | font-weight: 500; |
| 104 | text-align: center; |
| 105 | border-radius: 4px; |
| 106 | font-size: 30px; |
| 107 | padding-top: 15px; |
| 108 | padding-bottom: 15px; |
| 109 | |
| 110 | &:focus { |
| 111 | outline: none; |
| 112 | box-shadow: 0 0 8px #28c77b; |
| 113 | } |
| 114 | |
| 115 | &:hover { |
| 116 | filter: brightness(1.2); |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | .advance-btn, |
| 121 | .give-submit, |
| 122 | .download-btn { |
| 123 | order: 99 !important; |
| 124 | display: flex; |
| 125 | align-items: center; |
| 126 | justify-content: center; |
| 127 | padding: 20px 28px !important; |
| 128 | border-radius: 4px; |
| 129 | -webkit-appearance: none; |
| 130 | border: none; |
| 131 | font-size: 22px; |
| 132 | line-height: 20px; |
| 133 | margin-top: 48px; |
| 134 | margin-bottom: 16px; |
| 135 | min-width: 236px; |
| 136 | filter: brightness(1); |
| 137 | transition: filter 0.2s ease; |
| 138 | |
| 139 | > i { |
| 140 | font-size: 15px; |
| 141 | margin-left: 15px; |
| 142 | } |
| 143 | |
| 144 | @media screen and (max-width: $break-phone) { |
| 145 | margin-top: 26px; |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | .advance-btn:disabled, |
| 150 | .give-submit:disabled, |
| 151 | .download-btn:disabled { |
| 152 | filter: grayscale(0.3); |
| 153 | opacity: 0.6; |
| 154 | } |
| 155 | |
| 156 | .download-btn { |
| 157 | font-size: 16px; |
| 158 | line-height: 20px; |
| 159 | margin-top: 10px; |
| 160 | margin-bottom: 15px; |
| 161 | padding: 16px 10px !important; |
| 162 | |
| 163 | > i { |
| 164 | font-size: 16px; |
| 165 | margin-left: 15px; |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | // Notices |
| 170 | |
| 171 | .give_error, |
| 172 | .give_success, |
| 173 | .give_warning { |
| 174 | @include before-after-content-none; |
| 175 | position: relative; |
| 176 | margin: 20px 20px 0 20px; |
| 177 | padding: 10px 15px; |
| 178 | background: #fff; |
| 179 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); |
| 180 | border-width: 0 0 0 5px; |
| 181 | |
| 182 | font-weight: 400; |
| 183 | font-size: 16px; |
| 184 | line-height: 24px; |
| 185 | word-break: break-word; |
| 186 | color: #555 !important; |
| 187 | |
| 188 | > strong { |
| 189 | font-weight: 500 !important; |
| 190 | } |
| 191 | } |
| 192 | |
| 193 | // Images |
| 194 | |
| 195 | .image { |
| 196 | display: block; |
| 197 | width: 100%; |
| 198 | height: auto; |
| 199 | position: relative; |
| 200 | overflow: hidden; |
| 201 | padding: 55.4% 0 0 0; |
| 202 | margin: 0; |
| 203 | |
| 204 | img { |
| 205 | display: block; |
| 206 | width: 100%; |
| 207 | height: 100%; |
| 208 | position: absolute; |
| 209 | object-fit: cover; |
| 210 | top: 0; |
| 211 | bottom: 0; |
| 212 | left: 0; |
| 213 | right: 0; |
| 214 | } |
| 215 | } |
| 216 | |
| 217 | // Navigator Styles |
| 218 | |
| 219 | .give-form-navigator { |
| 220 | display: flex; |
| 221 | align-items: center; |
| 222 | background: #fbfbfb; |
| 223 | border-bottom: 1px solid #f2f2f2; |
| 224 | height: 50px; |
| 225 | width: 100%; |
| 226 | position: absolute; |
| 227 | z-index: 99; |
| 228 | transition: transform 0.2s ease; |
| 229 | transform: translate3d(0, -50px, 0); |
| 230 | |
| 231 | &.nav-visible { |
| 232 | transform: translate3d(0, 0, 0); |
| 233 | transition-delay: 0.15s; |
| 234 | } |
| 235 | |
| 236 | > .back-btn { |
| 237 | padding: 0 20px; |
| 238 | height: 100%; |
| 239 | background: none; |
| 240 | border: none; |
| 241 | color: #424242; |
| 242 | font-size: 12px; |
| 243 | position: absolute; |
| 244 | border-radius: 6px 0 0 0; |
| 245 | overflow: hidden; |
| 246 | cursor: pointer; |
| 247 | |
| 248 | &:focus { |
| 249 | outline: none; |
| 250 | background: rgba(0, 0, 0, 0.04); |
| 251 | box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.09487); |
| 252 | } |
| 253 | } |
| 254 | |
| 255 | > .title { |
| 256 | flex: 1; |
| 257 | text-align: center; |
| 258 | font-size: 15px; |
| 259 | font-weight: 500; |
| 260 | color: #424242; |
| 261 | } |
| 262 | } |
| 263 | |
| 264 | // Footer Styles |
| 265 | |
| 266 | .form-footer { |
| 267 | display: flex; |
| 268 | flex-direction: column; |
| 269 | |
| 270 | .navigator-tracker { |
| 271 | display: flex; |
| 272 | align-items: center; |
| 273 | margin: 5px auto 15px auto; |
| 274 | |
| 275 | .step-tracker { |
| 276 | background-color: #e4e4e4; |
| 277 | border-radius: 50%; |
| 278 | overflow: hidden; |
| 279 | height: 12px; |
| 280 | width: 12px; |
| 281 | margin: 7.5px; |
| 282 | padding: 0; |
| 283 | cursor: pointer; |
| 284 | transition: background-color 0.2s ease; |
| 285 | border: none; |
| 286 | |
| 287 | &.current { |
| 288 | background-color: #747474; |
| 289 | } |
| 290 | |
| 291 | &:focus { |
| 292 | border: 1px solid #959595; |
| 293 | outline: none; |
| 294 | } |
| 295 | } |
| 296 | |
| 297 | @media screen and (max-width: $break-phone) { |
| 298 | margin: 5px auto 5px auto; |
| 299 | } |
| 300 | } |
| 301 | |
| 302 | .secure-notice { |
| 303 | margin-top: 15px; |
| 304 | color: #989898; |
| 305 | display: flex; |
| 306 | align-items: center; |
| 307 | justify-content: center; |
| 308 | height: 60px; |
| 309 | justify-content: center; |
| 310 | background: #fbfbfb; |
| 311 | border-top: 1px solid #f2f2f2; |
| 312 | font-size: 12px; |
| 313 | |
| 314 | > i { |
| 315 | padding: 8px; |
| 316 | font-size: 12px; |
| 317 | } |
| 318 | } |
| 319 | } |
| 320 | |
| 321 | // Section Styles |
| 322 | |
| 323 | .give-section { |
| 324 | display: flex; |
| 325 | flex-direction: column; |
| 326 | |
| 327 | > * { |
| 328 | margin-right: auto; |
| 329 | margin-left: auto; |
| 330 | } |
| 331 | } |
| 332 | |
| 333 | // Introduction Styles |
| 334 | |
| 335 | .introduction { |
| 336 | display: flex; |
| 337 | flex-direction: column; |
| 338 | text-align: center; |
| 339 | width: 100%; |
| 340 | |
| 341 | .headline { |
| 342 | max-width: 75%; |
| 343 | margin-bottom: 16px; |
| 344 | margin-top: 30px; |
| 345 | } |
| 346 | |
| 347 | .seperator { |
| 348 | width: 90px; |
| 349 | height: 4px; |
| 350 | background: #28c77b; |
| 351 | border-radius: 4px; |
| 352 | } |
| 353 | |
| 354 | .description { |
| 355 | font-size: 16px; |
| 356 | font-weight: 500; |
| 357 | margin: 18px 70px 29px 70px; |
| 358 | |
| 359 | @media screen and (max-width: $break-phone) { |
| 360 | margin: 14px 12px 16px 12px; |
| 361 | } |
| 362 | } |
| 363 | |
| 364 | .description + .advance-btn { |
| 365 | margin-top: 6px !important; |
| 366 | |
| 367 | @media screen and (max-width: $break-phone) { |
| 368 | margin-top: 10px !important; |
| 369 | } |
| 370 | } |
| 371 | |
| 372 | .income-stats { |
| 373 | width: 100%; |
| 374 | display: flex; |
| 375 | justify-content: center; |
| 376 | align-items: center; |
| 377 | flex-direction: row; |
| 378 | background-color: #fbfbfb; |
| 379 | color: #767676; |
| 380 | font-weight: 500; |
| 381 | font-size: 14px; |
| 382 | |
| 383 | .number { |
| 384 | color: #4c4c4c; |
| 385 | font-size: 18px; |
| 386 | } |
| 387 | |
| 388 | > div { |
| 389 | display: flex; |
| 390 | flex: 1 1 0%; |
| 391 | flex-direction: column; |
| 392 | align-items: center; |
| 393 | padding: 10px; |
| 394 | border-color: #f2f2f2; |
| 395 | border-style: solid; |
| 396 | border-width: 1px 0 1px 0; |
| 397 | |
| 398 | &:first-of-type { |
| 399 | border-right: 1px solid #f2f2f2; |
| 400 | } |
| 401 | |
| 402 | &:last-of-type { |
| 403 | border-left: 1px solid #f2f2f2; |
| 404 | } |
| 405 | } |
| 406 | } |
| 407 | |
| 408 | .progress-bar { |
| 409 | width: 100%; |
| 410 | border-bottom: 1px solid #f2f2f2; |
| 411 | |
| 412 | > div { |
| 413 | margin: 20px; |
| 414 | } |
| 415 | } |
| 416 | } |
| 417 | |
| 418 | // Progress Bar Styles |
| 419 | |
| 420 | .give-progress-bar { |
| 421 | height: 20px; |
| 422 | position: relative; |
| 423 | border-radius: 20px; |
| 424 | overflow: hidden; |
| 425 | background: #f1f1f1; |
| 426 | box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.09487); |
| 427 | |
| 428 | > span { |
| 429 | display: block; |
| 430 | height: 100%; |
| 431 | border-radius: 20px; |
| 432 | background: linear-gradient(180deg, #28c77b 0%, #28c77b 100%), linear-gradient(180deg, #fff 0%, #ccc 100%); |
| 433 | background-blend-mode: multiply; |
| 434 | position: relative; |
| 435 | overflow: hidden; |
| 436 | } |
| 437 | } |
| 438 | |
| 439 | // Choose Amount Styles |
| 440 | |
| 441 | .choose-amount { |
| 442 | > * { |
| 443 | order: 2; |
| 444 | } |
| 445 | |
| 446 | > .give_error { |
| 447 | order: 1; |
| 448 | margin-right: 20px; |
| 449 | margin-left: 20px; |
| 450 | } |
| 451 | |
| 452 | .content { |
| 453 | text-align: center; |
| 454 | margin: 24px 30px 22px 30px; |
| 455 | font-size: 15px; |
| 456 | |
| 457 | @media screen and (max-width: $break-phone) { |
| 458 | margin: 20px 20px 16px 20px; |
| 459 | } |
| 460 | } |
| 461 | |
| 462 | // Amount Total |
| 463 | .give-total-wrap { |
| 464 | width: 100%; |
| 465 | } |
| 466 | |
| 467 | .give-donation-amount { |
| 468 | @include before-after-content-none; |
| 469 | display: flex; |
| 470 | width: fit-content; |
| 471 | width: -moz-fit-content; |
| 472 | max-width: 80%; |
| 473 | position: relative; |
| 474 | align-items: center; |
| 475 | background-color: #fff; |
| 476 | box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.22); |
| 477 | border: 1px solid #979797; |
| 478 | border-radius: 4px !important; |
| 479 | overflow: hidden; |
| 480 | padding: 18px 24px; |
| 481 | float: none !important; |
| 482 | margin: 5px auto 15px !important; |
| 483 | |
| 484 | @media screen and (max-width: $break-phone) { |
| 485 | padding: 12px 16px; |
| 486 | margin-top: 0; |
| 487 | margin-bottom: 5px; |
| 488 | } |
| 489 | |
| 490 | .give-amount-top { |
| 491 | height: auto !important; |
| 492 | width: 164px !important; |
| 493 | text-align: center; |
| 494 | font-weight: 500 !important; |
| 495 | font-size: 42px !important; |
| 496 | line-height: 1 !important; |
| 497 | color: #333; |
| 498 | border: 0 !important; |
| 499 | z-index: 1; |
| 500 | |
| 501 | &:focus { |
| 502 | outline: none; |
| 503 | } |
| 504 | } |
| 505 | |
| 506 | span.give-currency-symbol { |
| 507 | background-color: transparent !important; |
| 508 | border: 1px solid rgba(255, 255, 255, 0) !important; |
| 509 | position: relative; |
| 510 | z-index: 3; |
| 511 | padding: 0 !important; |
| 512 | color: #555; |
| 513 | white-space: nowrap; |
| 514 | |
| 515 | &.give-currency-position-before { |
| 516 | padding-right: 24px !important; |
| 517 | border-right: dotted #aaa 1px !important; |
| 518 | } |
| 519 | |
| 520 | &.give-currency-position-after { |
| 521 | padding-left: 24px !important; |
| 522 | border-left: dotted #aaa 1px !important; |
| 523 | } |
| 524 | } |
| 525 | } |
| 526 | |
| 527 | // Amount Buttons |
| 528 | .give-donation-levels-wrap { |
| 529 | @include before-after-content-none; |
| 530 | display: grid !important; |
| 531 | grid-gap: 10px; |
| 532 | grid-template-columns: repeat(3, minmax(0, 1fr)); |
| 533 | padding: 0; |
| 534 | margin: 24px 30px 0 30px !important; |
| 535 | |
| 536 | @media screen and (max-width: $break-phone) { |
| 537 | margin: 16px 20px 0 20px !important; |
| 538 | } |
| 539 | |
| 540 | li { |
| 541 | margin: 0 !important; |
| 542 | } |
| 543 | |
| 544 | .give-donation-level-btn { |
| 545 | display: inline-flex !important; |
| 546 | align-items: center; |
| 547 | justify-content: center; |
| 548 | width: 100%; |
| 549 | background: #28c77b; |
| 550 | border: 2px solid #28c77b; |
| 551 | line-height: 1; |
| 552 | text-align: center; |
| 553 | color: #fff; |
| 554 | padding-top: 24px; |
| 555 | padding-bottom: 24px; |
| 556 | |
| 557 | @media screen and (max-width: $break-phone) { |
| 558 | font-size: 21px; |
| 559 | } |
| 560 | |
| 561 | > .currency { |
| 562 | font-size: 14px; |
| 563 | |
| 564 | &.currency--before { |
| 565 | margin: 0 6px 11px -10px; |
| 566 | @media screen and (max-width: $break-phone) { |
| 567 | font-size: 11px; |
| 568 | margin: 0 3px 6px 0; |
| 569 | } |
| 570 | } |
| 571 | |
| 572 | &.currency--after { |
| 573 | margin: 0 -10px 11px 6px; |
| 574 | @media screen and (max-width: $break-phone) { |
| 575 | font-size: 11px; |
| 576 | margin: 0 0 6px 3px; |
| 577 | } |
| 578 | } |
| 579 | } |
| 580 | |
| 581 | &.give-btn-level-custom { |
| 582 | height: 100%; |
| 583 | font-size: 18px; |
| 584 | line-height: 1.2; |
| 585 | padding: 10px; |
| 586 | |
| 587 | @media screen and (max-width: $break-phone) { |
| 588 | font-size: 14px; |
| 589 | } |
| 590 | } |
| 591 | |
| 592 | &.give-default-level { |
| 593 | background: #fff; |
| 594 | border: 2px solid #28c77b; |
| 595 | color: #28c77b; |
| 596 | } |
| 597 | |
| 598 | @media screen and (max-width: $break-phone) { |
| 599 | padding-top: 16px; |
| 600 | padding-bottom: 16px; |
| 601 | } |
| 602 | } |
| 603 | } |
| 604 | } |
| 605 | |
| 606 | // Set donation form type style |
| 607 | .give-form-type-set { |
| 608 | .give-custom-amount-text { |
| 609 | display: none; |
| 610 | } |
| 611 | } |
| 612 | |
| 613 | // Payment Section |
| 614 | |
| 615 | .payment { |
| 616 | > * { |
| 617 | order: 99; |
| 618 | } |
| 619 | |
| 620 | .donation-errors { |
| 621 | position: relative; |
| 622 | width: 100%; |
| 623 | } |
| 624 | |
| 625 | #give-anonymous-donation-wrap { |
| 626 | .give-label { |
| 627 | display: block !important; |
| 628 | font-weight: 400; |
| 629 | font-size: 14px; |
| 630 | line-height: 1.4; |
| 631 | padding: 0 0 0 32px; |
| 632 | width: calc(100% - 40px); |
| 633 | margin-left: 0; |
| 634 | color: #696969; |
| 635 | display: inline-block; |
| 636 | |
| 637 | &::before { |
| 638 | content: ' '; |
| 639 | position: absolute; |
| 640 | top: calc(50% - 12px); |
| 641 | left: 0; |
| 642 | width: 20px; |
| 643 | height: 20px; |
| 644 | border: 1px solid #b4b9be; |
| 645 | background-color: #fff; |
| 646 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25); |
| 647 | } |
| 648 | |
| 649 | &::after { |
| 650 | transition: clip-path 0.2s ease, -webkit-clip-path 0.2s ease; |
| 651 | border-radius: 11px; |
| 652 | width: 20px; |
| 653 | height: 20px; |
| 654 | position: absolute; |
| 655 | top: calc(50% - 12px); |
| 656 | left: 0; |
| 657 | content: ' '; |
| 658 | display: block; |
| 659 | background-image: url("data:image/svg+xml,%3Csvg width='15' height='11' viewBox='0 0 15 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73047 10.7812C6.00391 11.0547 6.46875 11.0547 6.74219 10.7812L14.7812 2.74219C15.0547 2.46875 15.0547 2.00391 14.7812 1.73047L13.7969 0.746094C13.5234 0.472656 13.0859 0.472656 12.8125 0.746094L6.25 7.30859L3.16016 4.24609C2.88672 3.97266 2.44922 3.97266 2.17578 4.24609L1.19141 5.23047C0.917969 5.50391 0.917969 5.96875 1.19141 6.24219L5.73047 10.7812Z' fill='%231E8CBE'/%3E%3C/svg%3E%0A"); |
| 660 | background-repeat: no-repeat; |
| 661 | background-position: center; |
| 662 | clip-path: polygon(0 0, 11% 0, 0 100%, 0 55%); |
| 663 | -webkit-clip-path: polygon(0 0, 11% 0, 0 100%, 0 55%); |
| 664 | } |
| 665 | |
| 666 | &.active { |
| 667 | &::after { |
| 668 | clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); |
| 669 | -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); |
| 670 | } |
| 671 | } |
| 672 | } |
| 673 | } |
| 674 | |
| 675 | #give_terms_agreement { |
| 676 | order: 3; |
| 677 | background: #fff; |
| 678 | border: 1px solid rgba(255, 255, 255, 0); |
| 679 | box-sizing: border-box; |
| 680 | box-shadow: 0 0 16px rgba(0, 0, 0, 0.121203); |
| 681 | border-radius: 5px; |
| 682 | margin: 20px 0 0 0 !important; |
| 683 | position: relative; |
| 684 | transition: border 0.2s ease; |
| 685 | width: auto !important; |
| 686 | padding: 17px 20px 17px 22px !important; |
| 687 | display: flex; |
| 688 | justify-content: space-between; |
| 689 | flex-wrap: wrap; |
| 690 | |
| 691 | input[type='checkbox']='checkbox'] { |
| 692 | bottom: 14px; |
| 693 | left: 27px; |
| 694 | } |
| 695 | |
| 696 | #give_show_terms { |
| 697 | order: 3; |
| 698 | |
| 699 | @media screen and (max-width: $break-phone) { |
| 700 | bottom: 20px; |
| 701 | left: 60px; |
| 702 | position: absolute; |
| 703 | z-index: 99; |
| 704 | } |
| 705 | } |
| 706 | |
| 707 | #give_terms { |
| 708 | margin-bottom: 17px; |
| 709 | max-height: 300px; |
| 710 | padding: 0 10px 0 0; |
| 711 | overflow-y: scroll !important; |
| 712 | |
| 713 | > p:first-of-type { |
| 714 | margin-top: 0; |
| 715 | } |
| 716 | } |
| 717 | |
| 718 | label { |
| 719 | margin: 0; |
| 720 | padding: 0 0 0 40px; |
| 721 | width: calc(100% - 180px); |
| 722 | display: inline-block; |
| 723 | font-weight: 400; |
| 724 | font-size: 16px; |
| 725 | line-height: 1.4; |
| 726 | position: relative; |
| 727 | cursor: pointer; |
| 728 | |
| 729 | @media screen and (max-width: $break-phone) { |
| 730 | width: calc(100% - 30px); |
| 731 | padding: 0 0 30px 40px; |
| 732 | } |
| 733 | } |
| 734 | |
| 735 | &:hover { |
| 736 | border: 1px solid #3398db; |
| 737 | |
| 738 | .give-mc-message-text::before { |
| 739 | background-color: rgba(245, 245, 245, 0.815); |
| 740 | } |
| 741 | } |
| 742 | |
| 743 | &.active { |
| 744 | border: 1px solid #3398db; |
| 745 | } |
| 746 | } |
| 747 | |
| 748 | [id*='give-checkout-login-register-']*='give-checkout-login-register-'] { |
| 749 | width: 100%; |
| 750 | |
| 751 | @media screen and (max-width: $break-phone) { |
| 752 | display: flex !important; |
| 753 | justify-content: center; |
| 754 | } |
| 755 | |
| 756 | .give-login-message { |
| 757 | @media screen and (max-width: $break-phone) { |
| 758 | width: fit-content !important; |
| 759 | margin-right: auto !important; |
| 760 | margin-left: auto !important; |
| 761 | text-align: center; |
| 762 | } |
| 763 | } |
| 764 | } |
| 765 | |
| 766 | [id*='give-create-account-wrap-']*='give-create-account-wrap-'] { |
| 767 | @media screen and (max-width: $break-phone) { |
| 768 | display: flex !important; |
| 769 | justify-content: center; |
| 770 | margin-bottom: 2px !important; |
| 771 | } |
| 772 | |
| 773 | input { |
| 774 | display: none; |
| 775 | } |
| 776 | |
| 777 | label { |
| 778 | padding-left: 30px; |
| 779 | font-size: 14px; |
| 780 | |
| 781 | @media screen and (max-width: $break-phone) { |
| 782 | width: fit-content !important; |
| 783 | } |
| 784 | |
| 785 | .give-tooltip { |
| 786 | padding-left: 6px; |
| 787 | } |
| 788 | |
| 789 | &::before { |
| 790 | content: ' '; |
| 791 | position: absolute; |
| 792 | top: calc(50% - 12px); |
| 793 | left: 0; |
| 794 | width: 20px; |
| 795 | height: 20px; |
| 796 | border: 1px solid #b4b9be; |
| 797 | background-color: #fff; |
| 798 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25); |
| 799 | } |
| 800 | |
| 801 | &::after { |
| 802 | transition: clip-path 0.2s ease, -webkit-clip-path 0.2s ease; |
| 803 | border-radius: 11px; |
| 804 | width: 20px; |
| 805 | height: 20px; |
| 806 | position: absolute; |
| 807 | top: calc(50% - 12px); |
| 808 | left: 0; |
| 809 | content: ' '; |
| 810 | display: block; |
| 811 | background-image: url("data:image/svg+xml,%3Csvg width='15' height='11' viewBox='0 0 15 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73047 10.7812C6.00391 11.0547 6.46875 11.0547 6.74219 10.7812L14.7812 2.74219C15.0547 2.46875 15.0547 2.00391 14.7812 1.73047L13.7969 0.746094C13.5234 0.472656 13.0859 0.472656 12.8125 0.746094L6.25 7.30859L3.16016 4.24609C2.88672 3.97266 2.44922 3.97266 2.17578 4.24609L1.19141 5.23047C0.917969 5.50391 0.917969 5.96875 1.19141 6.24219L5.73047 10.7812Z' fill='%231E8CBE'/%3E%3C/svg%3E%0A"); |
| 812 | background-repeat: no-repeat; |
| 813 | background-position: center; |
| 814 | clip-path: polygon(0 0, 11% 0, 0 100%, 0 55%); |
| 815 | -webkit-clip-path: polygon(0 0, 11% 0, 0 100%, 0 55%); |
| 816 | } |
| 817 | |
| 818 | &.checked { |
| 819 | &::after { |
| 820 | clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); |
| 821 | -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); |
| 822 | } |
| 823 | } |
| 824 | } |
| 825 | } |
| 826 | |
| 827 | .give-login-message { |
| 828 | font-size: 14px; |
| 829 | } |
| 830 | |
| 831 | [id*='give-login-fields-']*='give-login-fields-'] { |
| 832 | display: grid; |
| 833 | grid-template-columns: 1fr; |
| 834 | |
| 835 | .give-user-login-fields-container { |
| 836 | grid-row: 1; |
| 837 | } |
| 838 | |
| 839 | .give-new-account-link { |
| 840 | grid-row: 2; |
| 841 | display: none; |
| 842 | } |
| 843 | |
| 844 | [id*='give-user-login-submit-']*='give-user-login-submit-'] { |
| 845 | grid-row: 3; |
| 846 | display: flex; |
| 847 | flex-direction: row-reverse; |
| 848 | flex-wrap: wrap; |
| 849 | justify-content: center; |
| 850 | margin-bottom: 10px; |
| 851 | |
| 852 | > * { |
| 853 | order: 99; |
| 854 | } |
| 855 | |
| 856 | .give-submit { |
| 857 | margin-top: 0; |
| 858 | margin-bottom: 12px; |
| 859 | flex-basis: 100%; |
| 860 | order: 1; |
| 861 | padding: 14px !important; |
| 862 | line-height: 1; |
| 863 | font-size: 16px; |
| 864 | } |
| 865 | |
| 866 | .give-cancel-login { |
| 867 | padding: 0; |
| 868 | background: none !important; |
| 869 | font-size: 14px; |
| 870 | display: inline-block; |
| 871 | width: fit-content; |
| 872 | border: none !important; |
| 873 | text-decoration: underline; |
| 874 | color: #b8b8b8; |
| 875 | margin-left: 10px; |
| 876 | font-weight: 400; |
| 877 | } |
| 878 | |
| 879 | [id*='give-forgot-password-wrap-']*='give-forgot-password-wrap-'] { |
| 880 | font-size: 14px; |
| 881 | display: inline-block; |
| 882 | |
| 883 | a { |
| 884 | color: #b8b8b8; |
| 885 | font-weight: 400; |
| 886 | } |
| 887 | } |
| 888 | } |
| 889 | } |
| 890 | |
| 891 | #give_error_invalid_donation_maximum, |
| 892 | #give_error_invalid_donation_amount { |
| 893 | cursor: pointer; |
| 894 | } |
| 895 | |
| 896 | > .give_error { |
| 897 | margin-right: 20px; |
| 898 | margin-left: 20px; |
| 899 | } |
| 900 | |
| 901 | .heading { |
| 902 | padding: 39px 3px 0; |
| 903 | font-size: 16px; |
| 904 | font-weight: 500; |
| 905 | color: #6b6b6b; |
| 906 | text-align: center; |
| 907 | |
| 908 | @media screen and (max-width: $break-phone) { |
| 909 | padding: 20px 3px 0; |
| 910 | } |
| 911 | } |
| 912 | |
| 913 | .subheading { |
| 914 | @media screen and (max-width: $break-phone) { |
| 915 | padding-left: 20px !important; |
| 916 | padding-right: 20px !important; |
| 917 | } |
| 918 | } |
| 919 | |
| 920 | .give_notices { |
| 921 | width: 100%; |
| 922 | order: 1; |
| 923 | } |
| 924 | |
| 925 | .give_notices + .heading { |
| 926 | padding: 28px 3px 0; |
| 927 | } |
| 928 | |
| 929 | .give_error + .heading { |
| 930 | padding: 28px 3px 0; |
| 931 | } |
| 932 | |
| 933 | .subheading { |
| 934 | padding: 5px 0 34px 0; |
| 935 | font-style: italic; |
| 936 | font-size: 12px; |
| 937 | color: #767676; |
| 938 | text-align: center; |
| 939 | |
| 940 | @media screen and (max-width: $break-phone) { |
| 941 | padding: 5px 0 20px 0; |
| 942 | } |
| 943 | } |
| 944 | |
| 945 | fieldset { |
| 946 | padding: 0 20px; |
| 947 | |
| 948 | > fieldset { |
| 949 | padding: 0; |
| 950 | } |
| 951 | } |
| 952 | |
| 953 | #give_checkout_user_info { |
| 954 | legend { |
| 955 | display: none; |
| 956 | } |
| 957 | } |
| 958 | |
| 959 | #give-company-radio-list-wrap { |
| 960 | font-size: 14px; |
| 961 | |
| 962 | .give-company-option { |
| 963 | padding-left: 23px; |
| 964 | position: relative; |
| 965 | |
| 966 | &::before { |
| 967 | content: ' '; |
| 968 | position: absolute; |
| 969 | top: calc(50% - 10px); |
| 970 | left: 0; |
| 971 | width: 16px; |
| 972 | height: 16px; |
| 973 | border-radius: 50%; |
| 974 | border: 1px solid #b4b9be; |
| 975 | background-color: #fff; |
| 976 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25); |
| 977 | } |
| 978 | } |
| 979 | |
| 980 | input[type='radio']='radio']:checked + .give-company-option::after { |
| 981 | transform: scale3d(1, 1, 1); |
| 982 | } |
| 983 | |
| 984 | input[type='radio']='radio'] + .give-company-option::after { |
| 985 | transform: scale3d(0, 0, 0); |
| 986 | transition: transform 0.2s ease; |
| 987 | border-radius: 11px; |
| 988 | width: 8px; |
| 989 | height: 8px; |
| 990 | position: absolute; |
| 991 | top: calc(50% - 5px); |
| 992 | left: 5px; |
| 993 | content: ' '; |
| 994 | display: block; |
| 995 | background: #333; |
| 996 | } |
| 997 | } |
| 998 | |
| 999 | #give-payment-mode-select { |
| 1000 | .gateway-stripe-google_pay, |
| 1001 | .gateway-stripe-apple_pay { |
| 1002 | display: none !important; |
| 1003 | } |
| 1004 | |
| 1005 | legend { |
| 1006 | display: none; |
| 1007 | } |
| 1008 | |
| 1009 | #give-gateway-radio-list { |
| 1010 | @include before-after-content-none; |
| 1011 | display: grid; |
| 1012 | grid-gap: 10px; |
| 1013 | grid-template-rows: 1fr; |
| 1014 | margin: 0; |
| 1015 | |
| 1016 | > li { |
| 1017 | @include background-lightgray; |
| 1018 | margin: 0 !important; |
| 1019 | padding: 14px 20px !important; |
| 1020 | border-radius: 4px; |
| 1021 | border: 1px solid #f1f1f1; |
| 1022 | |
| 1023 | position: relative; |
| 1024 | |
| 1025 | display: flex; |
| 1026 | justify-content: flex-start; |
| 1027 | align-items: center; |
| 1028 | |
| 1029 | .give-gateway-option { |
| 1030 | font-size: 14px; |
| 1031 | text-align: left; |
| 1032 | padding-left: 23px; |
| 1033 | padding-right: 12px; |
| 1034 | font-weight: 600; |
| 1035 | color: #333; |
| 1036 | flex-grow: 1; |
| 1037 | line-height: 1.4; |
| 1038 | } |
| 1039 | } |
| 1040 | |
| 1041 | .give-gateway-option::before { |
| 1042 | content: ' '; |
| 1043 | position: absolute; |
| 1044 | top: calc(50% - 10px); |
| 1045 | left: 15px; |
| 1046 | width: 16px; |
| 1047 | height: 16px; |
| 1048 | border-radius: 50%; |
| 1049 | border: 1px solid #b4b9be; |
| 1050 | background-color: #fff; |
| 1051 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25); |
| 1052 | } |
| 1053 | |
| 1054 | input[type='radio']='radio']:checked + .give-gateway-option::after { |
| 1055 | transform: scale3d(1, 1, 1); |
| 1056 | } |
| 1057 | |
| 1058 | input[type='radio']='radio'] + .give-gateway-option::after { |
| 1059 | transform: scale3d(0, 0, 0); |
| 1060 | transition: transform 0.2s ease; |
| 1061 | border-radius: 11px; |
| 1062 | width: 8px; |
| 1063 | height: 8px; |
| 1064 | position: absolute; |
| 1065 | top: calc(50% - 5px); |
| 1066 | left: 20px; |
| 1067 | content: ' '; |
| 1068 | display: block; |
| 1069 | background: #333; |
| 1070 | } |
| 1071 | |
| 1072 | ul { |
| 1073 | input[type='radio']='radio'] { |
| 1074 | opacity: 0 !important; |
| 1075 | position: absolute !important; |
| 1076 | } |
| 1077 | |
| 1078 | input[type='radio']='radio'] + label:not(.give-tribute-type-button) { |
| 1079 | padding: 0 10px 0 28px; |
| 1080 | width: 100%; |
| 1081 | color: #696969; |
| 1082 | font-size: 14px !important; |
| 1083 | font-weight: 400 !important; |
| 1084 | display: inline-block; |
| 1085 | position: relative; |
| 1086 | margin: 0 0 5px; |
| 1087 | line-height: 1.7; |
| 1088 | |
| 1089 | &::before { |
| 1090 | content: ' '; |
| 1091 | position: absolute; |
| 1092 | top: calc(50% - 9px); |
| 1093 | left: 0; |
| 1094 | width: 16px; |
| 1095 | height: 16px; |
| 1096 | border-radius: 50%; |
| 1097 | border: 1px solid #b4b9be; |
| 1098 | background-color: #fff; |
| 1099 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25); |
| 1100 | } |
| 1101 | |
| 1102 | &::after { |
| 1103 | transform: scale3d(0, 0, 0); |
| 1104 | transition: transform 0.2s ease; |
| 1105 | border-radius: 8px; |
| 1106 | width: 8px; |
| 1107 | height: 8px; |
| 1108 | position: absolute; |
| 1109 | top: calc(50% - 4px); |
| 1110 | left: 5px; |
| 1111 | content: ' '; |
| 1112 | display: block; |
| 1113 | background: #333; |
| 1114 | } |
| 1115 | } |
| 1116 | |
| 1117 | input[type='radio']='radio']:checked + label:not(.give-tribute-type-button)::after { |
| 1118 | transform: scale3d(1, 1, 1); |
| 1119 | } |
| 1120 | } |
| 1121 | } |
| 1122 | } |
| 1123 | |
| 1124 | #give_offline_payment_info { |
| 1125 | > ol { |
| 1126 | padding: 0; |
| 1127 | margin: 0 40px; |
| 1128 | |
| 1129 | > li { |
| 1130 | line-height: 1.4; |
| 1131 | padding: 4px 0; |
| 1132 | font-size: 15px; |
| 1133 | } |
| 1134 | } |
| 1135 | } |
| 1136 | |
| 1137 | #give_purchase_form_wrap { |
| 1138 | background: #fbfbfb; |
| 1139 | padding: 20px 20px 6px 20px; |
| 1140 | |
| 1141 | @media screen and (max-width: $break-phone) { |
| 1142 | padding: 14px 14px 0 14px; |
| 1143 | } |
| 1144 | |
| 1145 | fieldset { |
| 1146 | padding: 0; |
| 1147 | } |
| 1148 | |
| 1149 | .cc-address { |
| 1150 | margin-bottom: 0; |
| 1151 | } |
| 1152 | |
| 1153 | .no-fields { |
| 1154 | margin-bottom: 8px; |
| 1155 | } |
| 1156 | |
| 1157 | &.give-single-gateway-wrap { |
| 1158 | background: none; |
| 1159 | padding: 0; |
| 1160 | margin: 0 20px; |
| 1161 | } |
| 1162 | } |
| 1163 | |
| 1164 | #give_purchase_submit { |
| 1165 | display: flex; |
| 1166 | flex-direction: column; |
| 1167 | order: 3; |
| 1168 | |
| 1169 | #give-final-total-wrap { |
| 1170 | display: none; |
| 1171 | } |
| 1172 | |
| 1173 | input[value='stripe_apple_pay']='stripe_apple_pay'] ~ .give-stripe-payment-request-button, |
| 1174 | input[value='stripe_google_pay']='stripe_google_pay'] ~ .give-stripe-payment-request-button { |
| 1175 | margin: 16px auto 16px auto; |
| 1176 | order: 3; |
| 1177 | |
| 1178 | &.StripeElement { |
| 1179 | margin-top: 48px; |
| 1180 | display: flex !important; |
| 1181 | justify-content: center; |
| 1182 | } |
| 1183 | |
| 1184 | > *:not(.give_error) { |
| 1185 | width: 236px; |
| 1186 | } |
| 1187 | } |
| 1188 | } |
| 1189 | |
| 1190 | #donate-fieldset { |
| 1191 | display: flex; |
| 1192 | flex-direction: column; |
| 1193 | } |
| 1194 | |
| 1195 | .give-submit-button-wrap { |
| 1196 | display: flex; |
| 1197 | flex-direction: column; |
| 1198 | align-items: center; |
| 1199 | position: relative; |
| 1200 | order: 3; |
| 1201 | |
| 1202 | .sequoia-loader { |
| 1203 | height: 30px; |
| 1204 | width: 30px; |
| 1205 | bottom: 32px; |
| 1206 | position: absolute; |
| 1207 | font-size: 4px; |
| 1208 | } |
| 1209 | |
| 1210 | .give-submit:not(:disabled) + .sequoia-loader { |
| 1211 | display: none; |
| 1212 | } |
| 1213 | } |
| 1214 | } |
| 1215 | |
| 1216 | // Fieldsets and Inputs |
| 1217 | |
| 1218 | fieldset { |
| 1219 | legend { |
| 1220 | display: none; |
| 1221 | } |
| 1222 | |
| 1223 | p { |
| 1224 | position: relative; |
| 1225 | |
| 1226 | > i { |
| 1227 | position: absolute; |
| 1228 | bottom: calc(50% - 6px); |
| 1229 | left: 14px; |
| 1230 | font-size: 12px; |
| 1231 | color: #989898; |
| 1232 | } |
| 1233 | } |
| 1234 | |
| 1235 | .give_error, |
| 1236 | .give_success, |
| 1237 | .give_warning { |
| 1238 | margin: 20px 0; |
| 1239 | } |
| 1240 | } |
| 1241 | |
| 1242 | .give-label { |
| 1243 | display: none !important; |
| 1244 | } |
| 1245 | |
| 1246 | input[type='checkbox']='checkbox'], |
| 1247 | input[type='radio']='radio'] { |
| 1248 | opacity: 0 !important; |
| 1249 | position: absolute !important; |
| 1250 | left: -60px; |
| 1251 | } |
| 1252 | |
| 1253 | input[type='checkbox']='checkbox'] + label { |
| 1254 | font-weight: 500; |
| 1255 | font-size: 16px; |
| 1256 | line-height: 1.4; |
| 1257 | padding: 0 0 0 32px; |
| 1258 | width: calc(100% - 82px); |
| 1259 | margin-left: 0; |
| 1260 | color: #333; |
| 1261 | display: inline-block; |
| 1262 | |
| 1263 | &::before { |
| 1264 | content: ' '; |
| 1265 | position: absolute; |
| 1266 | top: calc(50% - 12px); |
| 1267 | left: 0; |
| 1268 | width: 20px; |
| 1269 | height: 20px; |
| 1270 | border: 1px solid #b4b9be; |
| 1271 | background-color: #fff; |
| 1272 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25); |
| 1273 | } |
| 1274 | |
| 1275 | &::after { |
| 1276 | transition: clip-path 0.2s ease, -webkit-clip-path 0.2s ease; |
| 1277 | border-radius: 11px; |
| 1278 | width: 20px; |
| 1279 | height: 20px; |
| 1280 | position: absolute; |
| 1281 | top: calc(50% - 12px); |
| 1282 | left: 0; |
| 1283 | content: ' '; |
| 1284 | display: block; |
| 1285 | background-image: url("data:image/svg+xml,%3Csvg width='15' height='11' viewBox='0 0 15 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73047 10.7812C6.00391 11.0547 6.46875 11.0547 6.74219 10.7812L14.7812 2.74219C15.0547 2.46875 15.0547 2.00391 14.7812 1.73047L13.7969 0.746094C13.5234 0.472656 13.0859 0.472656 12.8125 0.746094L6.25 7.30859L3.16016 4.24609C2.88672 3.97266 2.44922 3.97266 2.17578 4.24609L1.19141 5.23047C0.917969 5.50391 0.917969 5.96875 1.19141 6.24219L5.73047 10.7812Z' fill='%231E8CBE'/%3E%3C/svg%3E%0A"); |
| 1286 | background-repeat: no-repeat; |
| 1287 | background-position: center; |
| 1288 | clip-path: polygon(0 0, 11% 0, 0 100%, 0 55%); |
| 1289 | -webkit-clip-path: polygon(0 0, 11% 0, 0 100%, 0 55%); |
| 1290 | } |
| 1291 | |
| 1292 | &.checked { |
| 1293 | &::after { |
| 1294 | clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); |
| 1295 | -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); |
| 1296 | } |
| 1297 | } |
| 1298 | } |
| 1299 | |
| 1300 | input[type='checkbox']='checkbox']:checked + label::after { |
| 1301 | clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); |
| 1302 | -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); |
| 1303 | } |
| 1304 | |
| 1305 | .give-square-cc-fields, |
| 1306 | .give-stripe-cc-field, |
| 1307 | .give-stripe-single-cc-field-wrap, |
| 1308 | form[id*='give-form']*='give-form'] .form-row textarea, |
| 1309 | form[id*='give-form']*='give-form'] .form-row input[type='text']='text'], |
| 1310 | form[id*='give-form']*='give-form'] .form-row input[type='tel']='tel'], |
| 1311 | form[id*='give-form']*='give-form'] .form-row input[type='email']='email'], |
| 1312 | form[id*='give-form']*='give-form'] .form-row input[type='password']='password'], |
| 1313 | form[id*='give-form']*='give-form'] .form-row input[type='url']='url'], |
| 1314 | form[id*='give-form']*='give-form'] .form-row textarea.required, |
| 1315 | form[id*='give-form']*='give-form'] .form-row input[type='text']='text'].required, |
| 1316 | form[id*='give-form']*='give-form'] .form-row input[type='tel']='tel'].required, |
| 1317 | form[id*='give-form']*='give-form'] .form-row input[type='email']='email'].required, |
| 1318 | form[id*='give-form']*='give-form'] .form-row input[type='password']='password'].required, |
| 1319 | form[id*='give-form']*='give-form'] .form-row input[type='url']='url'].required, |
| 1320 | #give-recurring-form .form-row textarea, |
| 1321 | #give-recurring-form .form-row input[type='text']='text'], |
| 1322 | #give-recurring-form .form-row input[type='tel']='tel'], |
| 1323 | #give-recurring-form .form-row input[type='email']='email'], |
| 1324 | #give-recurring-form .form-row input[type='password']='password'], |
| 1325 | #give-recurring-form .form-row input[type='url']='url'], |
| 1326 | form.give-form .form-row textarea, |
| 1327 | form.give-form .form-row input[type='text']='text'], |
| 1328 | form.give-form .form-row input[type='tel']='tel'], |
| 1329 | form.give-form .form-row input[type='email']='email'], |
| 1330 | form.give-form .form-row input[type='password']='password'], |
| 1331 | form.give-form .form-row input[type='url']='url'], |
| 1332 | .give-input-field-wrapper { |
| 1333 | @include text-field; |
| 1334 | } |
| 1335 | |
| 1336 | .give-square-cc-fields { |
| 1337 | height: 52px; |
| 1338 | } |
| 1339 | |
| 1340 | form[id*='give-form']*='give-form'] .form-row textarea, |
| 1341 | #give-recurring-form .form-row textarea, |
| 1342 | form.give-form .form-row textarea { |
| 1343 | line-height: 1.4; |
| 1344 | } |
| 1345 | |
| 1346 | form[id*='give-form']*='give-form'] .form-row select, |
| 1347 | #give-recurring-form .form-row select, |
| 1348 | form.give-form .form-row select, |
| 1349 | form[id*='give-form']*='give-form'] .form-row select.required, |
| 1350 | #give-recurring-form .form-row select.required, |
| 1351 | form.give-form .form-row select.required, |
| 1352 | .give-select { |
| 1353 | @include select-field; |
| 1354 | } |
| 1355 | |
| 1356 | form[id*='give-form']*='give-form'] .form-row select.multiselect, |
| 1357 | #give-recurring-form .form-row select.multiselect, |
| 1358 | form.give-form .form-row select.multiselect { |
| 1359 | background-image: none; |
| 1360 | } |
| 1361 | |
| 1362 | .give-input:hover, |
| 1363 | .give-select:hover { |
| 1364 | border: 1px solid rgb(54, 54, 54); |
| 1365 | } |
| 1366 | |
| 1367 | // Tooltip Styles |
| 1368 | |
| 1369 | .give-tooltip { |
| 1370 | margin: 0 !important; |
| 1371 | |
| 1372 | &::after { |
| 1373 | display: block; |
| 1374 | padding: 12px 18px; |
| 1375 | background: #383838; |
| 1376 | color: #fff; |
| 1377 | font-size: 16px; |
| 1378 | border-radius: 4px; |
| 1379 | line-height: 1.2; |
| 1380 | text-align: center; |
| 1381 | text-shadow: 0 -1px 0 #000; |
| 1382 | box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2); |
| 1383 | word-wrap: normal; |
| 1384 | white-space: normal; |
| 1385 | width: 136px; |
| 1386 | max-width: 136px; |
| 1387 | } |
| 1388 | |
| 1389 | &.narrow { |
| 1390 | &::after { |
| 1391 | width: fit-content; |
| 1392 | } |
| 1393 | } |
| 1394 | } |
| 1395 | |
| 1396 | // Loader |
| 1397 | .sequoia-loader { |
| 1398 | background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='utf-8'?%3E%3C!-- Generator: Adobe Illustrator 24.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 349 348' style='enable-background:new 0 0 349 348;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0{fill:%23FFFFFF;} %3C/style%3E%3Cpath class='st0' d='M25.1,204.57c-13.38,0-24.47-10.6-24.97-24.08C0.04,178.09,0,175.97,0,174C0,77.78,78.28-0.5,174.5-0.5 c13.81,0,25,11.19,25,25s-11.19,25-25,25C105.85,49.5,50,105.35,50,174c0,1.37,0.03,2.85,0.1,4.65c0.51,13.8-10.27,25.39-24.07,25.9 C25.72,204.56,25.41,204.57,25.1,204.57z'/%3E%3Cpath class='st0' d='M174.5,348.5c-13.81,0-25-11.19-25-25c0-13.81,11.19-25,25-25c68.65,0,124.5-55.85,124.5-124.5 c0-1.38-0.03-2.85-0.1-4.65c-0.51-13.8,10.26-25.4,24.06-25.91c13.83-0.53,25.4,10.26,25.91,24.06c0.09,2.39,0.13,4.51,0.13,6.49 C349,270.22,270.72,348.5,174.5,348.5z'/%3E%3C/svg%3E"); |
| 1399 | pointer-events: none; |
| 1400 | opacity: 0; |
| 1401 | |
| 1402 | &.spinning { |
| 1403 | z-index: 1; |
| 1404 | opacity: 1; |
| 1405 | transition: opacity 0.2s ease; |
| 1406 | animation: load 0.6s linear infinite; |
| 1407 | } |
| 1408 | } |
| 1409 | |
| 1410 | @keyframes load { |
| 1411 | from { |
| 1412 | transform: rotateZ(0deg); |
| 1413 | } |
| 1414 | |
| 1415 | to { |
| 1416 | transform: rotateZ(180deg); |
| 1417 | } |
| 1418 | } |
| 1419 | |
| 1420 | // Slide Animation Styles |
| 1421 | |
| 1422 | .slide-in-right, |
| 1423 | .slide-in-left, |
| 1424 | .slide-out-right, |
| 1425 | .slide-out-left { |
| 1426 | position: absolute; |
| 1427 | width: 100%; |
| 1428 | } |
| 1429 | |
| 1430 | .slide-in-right { |
| 1431 | animation-name: slideInRight; |
| 1432 | animation-duration: 0.3s; |
| 1433 | animation-fill-mode: forwards; |
| 1434 | } |
| 1435 | |
| 1436 | .slide-out-right { |
| 1437 | animation-name: slideOutRight; |
| 1438 | animation-duration: 0.3s; |
| 1439 | animation-fill-mode: forwards; |
| 1440 | } |
| 1441 | |
| 1442 | .slide-in-left { |
| 1443 | animation-name: slideInLeft; |
| 1444 | animation-duration: 0.3s; |
| 1445 | animation-fill-mode: forwards; |
| 1446 | } |
| 1447 | |
| 1448 | .slide-out-left { |
| 1449 | animation-name: slideOutLeft; |
| 1450 | animation-duration: 0.3s; |
| 1451 | animation-fill-mode: forwards; |
| 1452 | } |
| 1453 | |
| 1454 | [id*='give_secure_site_wrapper']*='give_secure_site_wrapper'] { |
| 1455 | font-size: 12px; |
| 1456 | color: #8d8e8e; |
| 1457 | padding-top: 0; |
| 1458 | line-height: 1.2; |
| 1459 | |
| 1460 | span.padlock { |
| 1461 | font-size: 12px; |
| 1462 | margin-right: 4px; |
| 1463 | line-height: 1; |
| 1464 | |
| 1465 | &::before { |
| 1466 | font-family: 'Font Awesome 5 Free'; |
| 1467 | font-weight: 900; |
| 1468 | content: '\f023'; |
| 1469 | } |
| 1470 | } |
| 1471 | } |
| 1472 | |
| 1473 | /* Hide everything which is not output by Give core or addon */ |
| 1474 | // exclude PayPal payment contingency handler. |
| 1475 | // This is popup used by PayPal to verify 3ds card. |
| 1476 | // Exclude Give Aid add-on popup too by adding give-modal to the selector |
| 1477 | body |
| 1478 | > *:not([class^='give']):not([id^='give']):not([class*='payments-sdk-contingency-handler']):not([class*='give-modal']) { |
| 1479 | display: none; |
| 1480 | } |
| 1481 | |
| 1482 | @keyframes slideInRight { |
| 1483 | from { |
| 1484 | transform: translate3d(100%, 0, 0); |
| 1485 | } |
| 1486 | to { |
| 1487 | transform: translate3d(0, 0, 0); |
| 1488 | } |
| 1489 | } |
| 1490 | |
| 1491 | @keyframes slideOutRight { |
| 1492 | from { |
| 1493 | transform: translate3d(0, 0, 0); |
| 1494 | } |
| 1495 | to { |
| 1496 | transform: translate3d(100%, 0, 0); |
| 1497 | } |
| 1498 | } |
| 1499 | |
| 1500 | @keyframes slideInLeft { |
| 1501 | from { |
| 1502 | transform: translate3d(-100%, 0, 0); |
| 1503 | } |
| 1504 | to { |
| 1505 | transform: translate3d(0, 0, 0); |
| 1506 | } |
| 1507 | } |
| 1508 | |
| 1509 | @keyframes slideOutLeft { |
| 1510 | from { |
| 1511 | transform: translate3d(0, 0, 0); |
| 1512 | } |
| 1513 | to { |
| 1514 | transform: translate3d(-100%, 0, 0); |
| 1515 | } |
| 1516 | } |
| 1517 | |
| 1518 | /*--------------------------------- |
| 1519 | RTL styles |
| 1520 | -----------------------------------*/ |
| 1521 | |
| 1522 | html[dir='rtl']='rtl'] { |
| 1523 | .payment { |
| 1524 | fieldset { |
| 1525 | p { |
| 1526 | > i { |
| 1527 | right: 14px !important; |
| 1528 | } |
| 1529 | } |
| 1530 | } |
| 1531 | |
| 1532 | ul { |
| 1533 | > li { |
| 1534 | .give-gateway-option { |
| 1535 | text-align: right !important; |
| 1536 | padding-right: 23px !important; |
| 1537 | padding-left: 12px !important; |
| 1538 | } |
| 1539 | } |
| 1540 | |
| 1541 | .give-gateway-option::before { |
| 1542 | right: 15px !important; |
| 1543 | } |
| 1544 | |
| 1545 | input[type='radio']='radio'] + .give-gateway-option::after { |
| 1546 | right: 20px !important; |
| 1547 | } |
| 1548 | } |
| 1549 | |
| 1550 | #give-anonymous-donation-wrap { |
| 1551 | .give-label { |
| 1552 | padding: 0 32px 0 0 !important; |
| 1553 | margin-right: 0 !important; |
| 1554 | |
| 1555 | &::before { |
| 1556 | right: 0 !important; |
| 1557 | } |
| 1558 | |
| 1559 | &::after { |
| 1560 | right: 0 !important; |
| 1561 | } |
| 1562 | } |
| 1563 | |
| 1564 | .give-label::after { |
| 1565 | top: calc(50% - 10px); |
| 1566 | margin-right: 1px; |
| 1567 | } |
| 1568 | } |
| 1569 | } |
| 1570 | |
| 1571 | #give_terms_agreement { |
| 1572 | input[type='checkbox']='checkbox'] { |
| 1573 | left: 0 !important; |
| 1574 | right: 27px; |
| 1575 | } |
| 1576 | |
| 1577 | #give_show_terms { |
| 1578 | @media screen and (max-width: $break-phone) { |
| 1579 | left: 20px; |
| 1580 | } |
| 1581 | } |
| 1582 | |
| 1583 | label { |
| 1584 | padding: 0 40px 0 0 !important; |
| 1585 | } |
| 1586 | |
| 1587 | input[type='checkbox']='checkbox'] + label { |
| 1588 | padding: 0 32px 0 0 !important; |
| 1589 | |
| 1590 | &::before { |
| 1591 | right: 0; |
| 1592 | } |
| 1593 | |
| 1594 | &::after { |
| 1595 | right: 0; |
| 1596 | top: calc(50% - 11px); |
| 1597 | margin-right: 1px; |
| 1598 | } |
| 1599 | } |
| 1600 | |
| 1601 | .give_terms_links { |
| 1602 | float: left !important; |
| 1603 | } |
| 1604 | } |
| 1605 | |
| 1606 | .choose-amount { |
| 1607 | .give-donation-amount { |
| 1608 | span.give-currency-symbol { |
| 1609 | &.give-currency-position-before { |
| 1610 | padding-right: 0 !important; |
| 1611 | padding-left: 24px !important; |
| 1612 | border-right: none !important; |
| 1613 | border-left: dotted #aaa 1px !important; |
| 1614 | } |
| 1615 | } |
| 1616 | } |
| 1617 | } |
| 1618 | |
| 1619 | form[id*='give-form']*='give-form'] .form-row select, |
| 1620 | #give-recurring-form .form-row select, |
| 1621 | form.give-form .form-row select, |
| 1622 | form[id*='give-form']*='give-form'] .form-row select.required, |
| 1623 | #give-recurring-form .form-row select.required, |
| 1624 | form.give-form .form-row select.required, |
| 1625 | .give-select { |
| 1626 | background-position: left 0.7em top 50%, 0 0 !important; |
| 1627 | } |
| 1628 | |
| 1629 | .advance-btn, |
| 1630 | .give-submit, |
| 1631 | .download-btn { |
| 1632 | > i { |
| 1633 | margin-left: 0 !important; |
| 1634 | margin-right: 15px; |
| 1635 | } |
| 1636 | } |
| 1637 | } |
| 1638 | |
| 1639 | // Taken from WordPress common css |
| 1640 | .screen-reader-text { |
| 1641 | border: 0; |
| 1642 | clip: rect(1px, 1px, 1px, 1px); |
| 1643 | -webkit-clip-path: inset(50%); |
| 1644 | clip-path: inset(50%); |
| 1645 | height: 1px; |
| 1646 | margin: -1px; |
| 1647 | overflow: hidden; |
| 1648 | padding: 0; |
| 1649 | position: absolute; |
| 1650 | width: 1px; |
| 1651 | word-wrap: normal !important; |
| 1652 | } |
| 1653 |