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