_mixins.scss
9 years ago
_variables.scss
8 years ago
alerts.scss
9 years ago
donation-history.scss
8 years ago
float-labels.scss
8 years ago
fonts.scss
9 years ago
forms.scss
8 years ago
give-frontend.scss
8 years ago
layouts.scss
10 years ago
modal.scss
8 years ago
progress-bar.scss
10 years ago
receipt.scss
9 years ago
tables.scss
10 years ago
theme-compatibility.scss
8 years ago
forms.scss
824 lines
| 1 | /** |
| 2 | * Give Frontend Forms SCSS |
| 3 | * |
| 4 | * @package Give |
| 5 | * @subpackage SCSS/Frontend |
| 6 | * @copyright Copyright (c) 2016, WordImpress |
| 7 | * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 8 | */ |
| 9 | |
| 10 | /*------------------------------------ |
| 11 | Layout |
| 12 | --------------------------------------*/ |
| 13 | .give-clearfix { |
| 14 | @include clearfix(); |
| 15 | } |
| 16 | |
| 17 | [id*='give-form']*='give-form'] { |
| 18 | |
| 19 | .give-hidden { |
| 20 | display: none; |
| 21 | } |
| 22 | |
| 23 | fieldset { |
| 24 | border: none; |
| 25 | padding: 0; |
| 26 | margin: 0; |
| 27 | border: 0; |
| 28 | } |
| 29 | |
| 30 | .give-form-title { |
| 31 | padding: 0; |
| 32 | margin: 0 0 15px; |
| 33 | } |
| 34 | |
| 35 | div#give-sidebar-left { |
| 36 | width: 38%; |
| 37 | float: left; |
| 38 | } |
| 39 | |
| 40 | div.images { |
| 41 | margin: 0 0 15px; |
| 42 | |
| 43 | img { |
| 44 | display: block; |
| 45 | width: 100%; |
| 46 | height: auto; |
| 47 | box-shadow: none; |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | .give-custom-amount-text { |
| 52 | clear: both; |
| 53 | } |
| 54 | |
| 55 | div.summary { |
| 56 | width: 58%; |
| 57 | float: right; |
| 58 | |
| 59 | &.give-full-width { |
| 60 | width: 100%; |
| 61 | float: none; |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | .give_form select.give-select.required { |
| 66 | color: #000; |
| 67 | } |
| 68 | |
| 69 | div.give-form-content-wrap { |
| 70 | margin: 0 0 20px; |
| 71 | } |
| 72 | |
| 73 | div.give-form-content-wrap.give_post_form-content { |
| 74 | margin: 20px 0 0 0; |
| 75 | } |
| 76 | |
| 77 | &.give-display-reveal, &.give-display-modal { |
| 78 | .give-btn { |
| 79 | margin: 0 0 15px; |
| 80 | } |
| 81 | #give-payment-mode-select, #give_purchase_form_wrap { |
| 82 | display: none; |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | .cc-address { |
| 87 | margin-bottom: 15px; |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | /*------------------------------------ |
| 92 | Single Forms |
| 93 | --------------------------------------*/ |
| 94 | |
| 95 | .single-give_forms { |
| 96 | |
| 97 | &.et_right_sidebar #main-content .container:before { |
| 98 | display: none; //hide Divi sidebar sep on single give forms |
| 99 | } |
| 100 | |
| 101 | .give_forms { |
| 102 | @include clearfix; |
| 103 | } |
| 104 | |
| 105 | } |
| 106 | |
| 107 | /*------------------------------------ |
| 108 | Gravatar List |
| 109 | --------------------------------------*/ |
| 110 | #give-purchase-gravatars { |
| 111 | |
| 112 | .give-gravatars-title { |
| 113 | margin: 0 0 15px; |
| 114 | } |
| 115 | |
| 116 | .give-purchase-gravatars-list { |
| 117 | list-style: none; |
| 118 | margin: 0; |
| 119 | padding: 0; |
| 120 | |
| 121 | li { |
| 122 | list-style-type: none; |
| 123 | display: inline-block; |
| 124 | margin: 0 5px 0 0; |
| 125 | padding: 0; |
| 126 | } |
| 127 | |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | /*------------------------------------ |
| 132 | Base Form Styles |
| 133 | --------------------------------------*/ |
| 134 | |
| 135 | form[id*='give-form']*='give-form'], |
| 136 | #give-recurring-form, |
| 137 | form.give-form { |
| 138 | margin: 0 0 25px; |
| 139 | padding: 0; |
| 140 | |
| 141 | .give-hidden { |
| 142 | display: none; |
| 143 | } |
| 144 | |
| 145 | .give-tooltip { |
| 146 | margin: 0 3px; |
| 147 | padding: 0; |
| 148 | font-size: 14px; |
| 149 | @include easing-transition(); |
| 150 | color: transparentize($dark, 0.5); |
| 151 | |
| 152 | &:hover { |
| 153 | color: $dark; |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | h3.give-section-break, |
| 158 | h4.give-section-break, |
| 159 | legend { |
| 160 | font-size: 1.15em; |
| 161 | font-weight: bold; |
| 162 | margin: 10px 0 15px; |
| 163 | padding: 0 0 5px; |
| 164 | border-bottom: 1px solid rgba(0, 0, 0, .1); |
| 165 | width: 100%; |
| 166 | |
| 167 | span.sub-text { |
| 168 | font-style: italic; |
| 169 | font-weight: normal; |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | //Form Layout |
| 174 | .form-row { |
| 175 | @include clearfix(); |
| 176 | @include box-sizing(border-box); |
| 177 | margin: 0 0 15px; |
| 178 | overflow: visible; |
| 179 | padding: 0; |
| 180 | |
| 181 | // Prevent some themes from removing margin on last-child. |
| 182 | &:last-child { |
| 183 | margin-bottom: 15px; |
| 184 | } |
| 185 | |
| 186 | label { |
| 187 | display: block; |
| 188 | margin: 0 0 5px; |
| 189 | position: relative; |
| 190 | line-height: 1.7; |
| 191 | |
| 192 | &.checkbox { |
| 193 | display: inline; |
| 194 | } |
| 195 | |
| 196 | } |
| 197 | |
| 198 | select, textarea, input[type="text"]="text""], input[type="tel"]="tel""], input[type="email"]="email""], input[type="password"]="password""], input[type="url"]="url""] { |
| 199 | @include box-sizing(border-box); |
| 200 | width: 100%; |
| 201 | border-radius: 0; |
| 202 | outline: none; |
| 203 | color: $dark; |
| 204 | background-color: #FDFDFD; |
| 205 | border: 1px solid $borders; |
| 206 | margin: 0; |
| 207 | padding: .5em; |
| 208 | |
| 209 | &:focus { |
| 210 | background-color: #fff; |
| 211 | } |
| 212 | &.required { |
| 213 | color: $dark; |
| 214 | } |
| 215 | |
| 216 | } |
| 217 | |
| 218 | } |
| 219 | |
| 220 | .form-row-first, |
| 221 | .form-row-last { |
| 222 | float: left; |
| 223 | width: 48.5%; |
| 224 | } |
| 225 | |
| 226 | .form-row-last { |
| 227 | float: right; |
| 228 | } |
| 229 | |
| 230 | .form-row-wide { |
| 231 | @include clearfix(); |
| 232 | clear: both; |
| 233 | } |
| 234 | |
| 235 | .form-row-two-thirds { |
| 236 | float: left; |
| 237 | width: 65.75%; |
| 238 | |
| 239 | &.form-row-first { |
| 240 | margin-left: 0; |
| 241 | } |
| 242 | } |
| 243 | |
| 244 | .form-row-one-third { |
| 245 | float: left; |
| 246 | width: 31.25%; |
| 247 | margin-left: 3%; |
| 248 | |
| 249 | &.form-row-first { |
| 250 | margin-left: 0; |
| 251 | } |
| 252 | } |
| 253 | |
| 254 | .form-row-responsive { |
| 255 | // Full-width on small viewports. |
| 256 | @media (max-width: 480px) { |
| 257 | margin-left: 0; |
| 258 | margin-right: 0; |
| 259 | width: 100%; |
| 260 | } |
| 261 | } |
| 262 | |
| 263 | .give-error, |
| 264 | .give-required-indicator { |
| 265 | color: $red; |
| 266 | } |
| 267 | |
| 268 | .card-expiration { |
| 269 | > select { |
| 270 | width: 44%; |
| 271 | margin: 0; |
| 272 | } |
| 273 | > span.exp-divider { |
| 274 | display: inline; |
| 275 | text-align: center; |
| 276 | } |
| 277 | |
| 278 | select.card-expiry-year { |
| 279 | float: right; |
| 280 | } |
| 281 | |
| 282 | } |
| 283 | .give-disabled, [disabled]] { |
| 284 | cursor: not-allowed; |
| 285 | } |
| 286 | } |
| 287 | |
| 288 | /*--------------------------------- |
| 289 | Form Price & Amount |
| 290 | -----------------------------------*/ |
| 291 | |
| 292 | form[id*='give-form']*='give-form'] { |
| 293 | |
| 294 | .give-donation-amount { |
| 295 | margin: 0 0 15px; |
| 296 | |
| 297 | .give-currency-symbol { |
| 298 | @include give-currency(); |
| 299 | float: left; |
| 300 | |
| 301 | &.give-currency-position-before { |
| 302 | border-left: 1px solid $borders; |
| 303 | border-right: none; |
| 304 | } |
| 305 | &.give-currency-position-after { |
| 306 | border-left: none; |
| 307 | border-right: 1px solid $borders; |
| 308 | } |
| 309 | |
| 310 | } |
| 311 | |
| 312 | #give-amount, |
| 313 | #give-amount-text { |
| 314 | @include give-input(); |
| 315 | min-width: 125px; |
| 316 | float: left; |
| 317 | |
| 318 | &.invalid-amount { |
| 319 | border: 1px solid red; |
| 320 | } |
| 321 | |
| 322 | } |
| 323 | |
| 324 | input.give-amount-top { |
| 325 | width: 125px; |
| 326 | } |
| 327 | |
| 328 | span.give-final-total-amount { |
| 329 | @include give-input(); |
| 330 | cursor: not-allowed; |
| 331 | background: #FFF; |
| 332 | float: left; |
| 333 | } |
| 334 | |
| 335 | } |
| 336 | |
| 337 | #give_terms_agreement { |
| 338 | |
| 339 | legend { |
| 340 | display: none; |
| 341 | } |
| 342 | |
| 343 | label { |
| 344 | display: inline-block; |
| 345 | } |
| 346 | |
| 347 | } |
| 348 | |
| 349 | #give-final-total-wrap { |
| 350 | margin: 10px 0 25px; |
| 351 | padding: 0; |
| 352 | @include clearfix(); |
| 353 | |
| 354 | .give-donation-total-label { |
| 355 | @include give-currency(); |
| 356 | float: left; |
| 357 | border: 1px solid $borders; |
| 358 | |
| 359 | @media (max-width: 480px) { |
| 360 | display: block; |
| 361 | float: none; |
| 362 | } |
| 363 | } |
| 364 | |
| 365 | .give-final-total-amount { |
| 366 | font-size: $font-size-medium; |
| 367 | @include give-input(); |
| 368 | border-left: none; |
| 369 | float: left; |
| 370 | |
| 371 | @media (max-width: 480px) { |
| 372 | border: 1px solid $borders; |
| 373 | border-top: 0; |
| 374 | display: block; |
| 375 | float: none; |
| 376 | } |
| 377 | } |
| 378 | |
| 379 | } |
| 380 | |
| 381 | } |
| 382 | |
| 383 | .give-display-button-only > *:not(form) { |
| 384 | display: none !important; |
| 385 | } |
| 386 | |
| 387 | .give-display-button-only form > *:not(.give-btn-modal) { |
| 388 | display: none !important; |
| 389 | } |
| 390 | |
| 391 | /*--------------------------------- |
| 392 | Radio Lists |
| 393 | -----------------------------------*/ |
| 394 | form[id*='give-form']*='give-form'] { |
| 395 | input[type="radio"]="radio""] { |
| 396 | margin: 0 .5em 0 0; |
| 397 | } |
| 398 | |
| 399 | #give-donation-level-radio-list { |
| 400 | //this is the radio list for the various user set donation levels |
| 401 | margin: 0 0 15px; |
| 402 | padding: 0; |
| 403 | list-style: none; |
| 404 | clear: both; |
| 405 | |
| 406 | > li { |
| 407 | list-style-type: none; |
| 408 | list-style-image: none; |
| 409 | margin: 0; |
| 410 | padding: 0; |
| 411 | |
| 412 | label { |
| 413 | cursor: pointer; |
| 414 | display: inline-block; |
| 415 | margin: 0; |
| 416 | } |
| 417 | |
| 418 | input[type="radio"]="radio""] { |
| 419 | margin: 0 .5em 0 0; |
| 420 | outline: none; |
| 421 | width: auto; |
| 422 | } |
| 423 | } |
| 424 | } |
| 425 | |
| 426 | #give-gateway-radio-list { |
| 427 | //this is the radio list for to select a gateway |
| 428 | @include clearfix(); |
| 429 | margin: 0 0 15px; |
| 430 | padding: 0; |
| 431 | list-style: none; |
| 432 | |
| 433 | > li { |
| 434 | list-style-type: none; |
| 435 | list-style-image: none; |
| 436 | margin: 0; |
| 437 | padding: 0; |
| 438 | |
| 439 | @media (min-width: 480px) { |
| 440 | display: inline-block; |
| 441 | margin-right: 15px; |
| 442 | margin-left: 0; |
| 443 | } |
| 444 | |
| 445 | label.give-gateway-option { |
| 446 | cursor: pointer; |
| 447 | display: inline; |
| 448 | margin: 0; |
| 449 | } |
| 450 | |
| 451 | input[type="radio"]="radio""] { |
| 452 | margin: 0 .25em 0 0; |
| 453 | outline: none; |
| 454 | width: auto; |
| 455 | display: inline; |
| 456 | } |
| 457 | |
| 458 | } |
| 459 | |
| 460 | } |
| 461 | } |
| 462 | |
| 463 | /*--------------------------------- |
| 464 | Checkboxes |
| 465 | -----------------------------------*/ |
| 466 | form[id*='give-form']*='give-form'] { |
| 467 | input[type="checkbox"]="checkbox""] { |
| 468 | margin: 0 .25em 0 0; |
| 469 | } |
| 470 | } |
| 471 | |
| 472 | /*--------------------------------- |
| 473 | Donation Level: Dropdown/Select |
| 474 | -----------------------------------*/ |
| 475 | form[id*='give-form']*='give-form'] { |
| 476 | select.give-select-level { |
| 477 | outline: none; |
| 478 | border-radius: 0; |
| 479 | min-width: 155px; |
| 480 | border: 1px solid $borders; |
| 481 | margin: 0 0 15px; |
| 482 | display: block; |
| 483 | clear: both; |
| 484 | color: $dark; |
| 485 | background-color: #FDFDFD; |
| 486 | padding: .5em; |
| 487 | max-width: 100%; |
| 488 | } |
| 489 | } |
| 490 | |
| 491 | /*--------------------------------- |
| 492 | Buttons |
| 493 | -----------------------------------*/ |
| 494 | |
| 495 | #give-donation-level-button-wrap { |
| 496 | @include clearfix(); |
| 497 | margin: 0 0 15px; |
| 498 | padding: 0; |
| 499 | clear: both; |
| 500 | list-style: none; |
| 501 | |
| 502 | > li { |
| 503 | list-style-type: none; |
| 504 | list-style-image: none; |
| 505 | float: left; |
| 506 | margin: 0 5px 5px 0; |
| 507 | } |
| 508 | |
| 509 | } |
| 510 | |
| 511 | .give_terms_links { |
| 512 | float: right; |
| 513 | } |
| 514 | |
| 515 | /*--------------------------------- |
| 516 | CC Validation |
| 517 | -----------------------------------*/ |
| 518 | |
| 519 | [id*='give_secure_site_wrapper']*='give_secure_site_wrapper'] { |
| 520 | padding: 4px 4px 15px 0; |
| 521 | font-size: 16px; |
| 522 | line-height: 20px; |
| 523 | //Secure padlock (SSL/HTTPS) |
| 524 | span.padlock { |
| 525 | @include iconstyle(); |
| 526 | @extend .give-icon-locked; |
| 527 | font-size: 16px; |
| 528 | line-height: 20px; |
| 529 | |
| 530 | :before { |
| 531 | display: inline-block; |
| 532 | } |
| 533 | } |
| 534 | } |
| 535 | |
| 536 | #give_purchase_form_wrap { |
| 537 | input.give-input.card-number.valid, |
| 538 | input.give-input.card-cvc.valid, |
| 539 | input.give-input.card-expiry.valid { |
| 540 | background-image: url('../assets/images/tick.png'); |
| 541 | background-repeat: no-repeat; |
| 542 | background-position: right 10px top 50%; |
| 543 | background-size: 16px; |
| 544 | &.fl-input:not(.card-cvc):not(.card-expiry) { |
| 545 | background-position: right 55px top 50%; |
| 546 | } |
| 547 | } |
| 548 | |
| 549 | span.card-type { |
| 550 | position: absolute; |
| 551 | top: -2px; |
| 552 | right: 0; |
| 553 | width: 37px; |
| 554 | height: 26px; |
| 555 | background-size: 37px 26px !important; |
| 556 | } |
| 557 | |
| 558 | .fl-wrap { |
| 559 | span.card-type { |
| 560 | top: calc(0.5em + #{fl(base-padding)}); |
| 561 | right: 11px; |
| 562 | } |
| 563 | } |
| 564 | |
| 565 | span.card-type.off { |
| 566 | display: none; |
| 567 | } |
| 568 | span.card-type.visa { |
| 569 | background: url('../assets/images/visa.png') no-repeat; |
| 570 | } |
| 571 | span.card-type.mastercard { |
| 572 | background: url('../assets/images/mastercard.png') no-repeat; |
| 573 | } |
| 574 | span.card-type.discover { |
| 575 | background: url('../assets/images/discover.png') no-repeat; |
| 576 | } |
| 577 | span.card-type.amex { |
| 578 | background: url('../assets/images/amex.png') no-repeat; |
| 579 | } |
| 580 | span.card-type.maestro { |
| 581 | background: url('../assets/images/maestro.png') no-repeat; |
| 582 | } |
| 583 | span.card-type.dinersclub { |
| 584 | background: url('../assets/images/diners-club.png') no-repeat; |
| 585 | } |
| 586 | span.card-type.jcb { |
| 587 | background: url('../assets/images/jcb.png') no-repeat; |
| 588 | } |
| 589 | span.card-type.dankort { |
| 590 | background: url('../assets/images/dankort.png') no-repeat; |
| 591 | } |
| 592 | span.card-type.unionpay { |
| 593 | background: url('../assets/images/unionpay.png') no-repeat; |
| 594 | } |
| 595 | } |
| 596 | |
| 597 | /*--------------------------------- |
| 598 | Loading Animation |
| 599 | -----------------------------------*/ |
| 600 | |
| 601 | /* Loading Elipsis */ |
| 602 | @-webkit-keyframes opacity { |
| 603 | 0% { |
| 604 | opacity: 1; |
| 605 | } |
| 606 | 100% { |
| 607 | opacity: 0; |
| 608 | } |
| 609 | } |
| 610 | |
| 611 | @-moz-keyframes opacity { |
| 612 | 0% { |
| 613 | opacity: 1; |
| 614 | } |
| 615 | 100% { |
| 616 | opacity: 0; |
| 617 | } |
| 618 | } |
| 619 | |
| 620 | form[id*='give-form']*='give-form'] { |
| 621 | p.give-loading-text, |
| 622 | span.give-loading-text { |
| 623 | display: none; |
| 624 | float: right; |
| 625 | height: 16px; |
| 626 | width: 16px; |
| 627 | margin: 0; |
| 628 | padding: 0; |
| 629 | font-style: italic; |
| 630 | line-height: 20px; |
| 631 | font-size: 16px; |
| 632 | font-weight: normal; |
| 633 | } |
| 634 | |
| 635 | .give-loading-animation { |
| 636 | @include iconstyle(); |
| 637 | float: left; |
| 638 | height: 16px; |
| 639 | width: 16px; |
| 640 | line-height: 1; |
| 641 | font-size: 16px; |
| 642 | margin: 0 5px 0 0; |
| 643 | background-size: 20px 20px; |
| 644 | background-repeat: no-repeat; |
| 645 | background-color: transparent; |
| 646 | @extend .give-icon-spinner2; |
| 647 | @extend .fa-spin; |
| 648 | } |
| 649 | |
| 650 | .give-payment-mode-label |
| 651 | .give-loading-text { |
| 652 | float: right; |
| 653 | } |
| 654 | } |
| 655 | |
| 656 | /*--------------------------------- |
| 657 | User Login |
| 658 | -----------------------------------*/ |
| 659 | |
| 660 | /* |
| 661 | * User Login within Donation Form |
| 662 | * (visible when Form Display > Login is enabled) |
| 663 | */ |
| 664 | [id*='give-form']*='give-form'] { |
| 665 | .give-login-account-wrap { |
| 666 | margin: 0 0 15px; |
| 667 | position: relative; |
| 668 | |
| 669 | .give-login-message { |
| 670 | text-align: right; |
| 671 | margin: 0; |
| 672 | padding: 0; |
| 673 | } |
| 674 | |
| 675 | .give-loading-text { |
| 676 | position: absolute; |
| 677 | right: 0; |
| 678 | top: .25em; |
| 679 | } |
| 680 | } |
| 681 | |
| 682 | fieldset[id^="give-login-fields"]^="give-login-fields""] { |
| 683 | margin: 0 0 15px; |
| 684 | } |
| 685 | |
| 686 | .give-new-account-link { |
| 687 | margin: 0 0 15px; |
| 688 | padding: 0; |
| 689 | } |
| 690 | |
| 691 | .give_login_forgot_password { |
| 692 | float: right; |
| 693 | } |
| 694 | } |
| 695 | |
| 696 | [id^='give-user-login-submit']^='give-user-login-submit'], |
| 697 | .give-submit-button-wrap { |
| 698 | |
| 699 | input.give-cancel-login { |
| 700 | margin-left: 5px; |
| 701 | } |
| 702 | |
| 703 | span.give-loading-animation { |
| 704 | margin: 0 0 0 .5em; |
| 705 | display: none; |
| 706 | } |
| 707 | .give-submit { |
| 708 | float: left; |
| 709 | } |
| 710 | } |
| 711 | |
| 712 | /* Login Shortcode Form */ |
| 713 | #give-login-form, |
| 714 | #give-register-form { |
| 715 | legend, div.give-login { |
| 716 | line-height: 2; |
| 717 | margin-bottom: 15px; |
| 718 | } |
| 719 | |
| 720 | label { |
| 721 | min-width: 100px; |
| 722 | display: inline-block; |
| 723 | } |
| 724 | } |
| 725 | |
| 726 | /*--------------------------------- |
| 727 | Modal - Magnific Popup |
| 728 | -----------------------------------*/ |
| 729 | |
| 730 | //Show/Hide elements in Magnific Popup |
| 731 | div.give-form-wrap.mfp-hide { |
| 732 | display: block !important; |
| 733 | } |
| 734 | |
| 735 | div.mfp-content { |
| 736 | //Basic Styles |
| 737 | fieldset { |
| 738 | p, ol, ul { |
| 739 | margin-bottom: 1.2em; |
| 740 | line-height: 1.4; |
| 741 | } |
| 742 | } |
| 743 | |
| 744 | } |
| 745 | |
| 746 | /*--------------------------------- |
| 747 | Basic Button Style |
| 748 | -----------------------------------*/ |
| 749 | |
| 750 | .give-btn { |
| 751 | background: $light-gray; |
| 752 | border: 1px solid $borders; |
| 753 | color: $dark; |
| 754 | padding: 8px 10px; |
| 755 | cursor: pointer; |
| 756 | line-height: 1.2em; |
| 757 | font-size: 1em; |
| 758 | |
| 759 | &:hover { |
| 760 | background: #dbdbdb; |
| 761 | } |
| 762 | |
| 763 | } |
| 764 | |
| 765 | /*--------------------------------- |
| 766 | Profile Editor Form |
| 767 | -----------------------------------*/ |
| 768 | #give_profile_editor_form { |
| 769 | legend { |
| 770 | width: auto; |
| 771 | padding: 0 5px 5px 5px; |
| 772 | border-bottom: 0; |
| 773 | } |
| 774 | } |
| 775 | |
| 776 | /*--------------------------------- |
| 777 | Email Access Form |
| 778 | -----------------------------------*/ |
| 779 | |
| 780 | form#give-email-access-form { |
| 781 | div.g-recaptcha, input#give-email { |
| 782 | margin: 0 0 15px; |
| 783 | } |
| 784 | input#give-email { |
| 785 | width: 305px; |
| 786 | } |
| 787 | } |
| 788 | |
| 789 | /*--------------------------------- |
| 790 | Responsiveness |
| 791 | -----------------------------------*/ |
| 792 | @media (max-width: 768px) { |
| 793 | // Multi-column layout for single forms. |
| 794 | [id*='give-form']*='give-form'] { |
| 795 | div.images, div.summary { |
| 796 | width: 100%; |
| 797 | float: none; |
| 798 | } |
| 799 | |
| 800 | div#give-sidebar-left { |
| 801 | width: 100%; |
| 802 | float: none; |
| 803 | } |
| 804 | } |
| 805 | } |
| 806 | |
| 807 | /*--------------------------------- |
| 808 | Section Breaks |
| 809 | -----------------------------------*/ |
| 810 | |
| 811 | // Headings are commonly styled by themes, so we need to be extra-specific. |
| 812 | .give-form-wrap .give-form h3.give-section-break, |
| 813 | .give-form-wrap .give-form h4.give-section-break { |
| 814 | margin: 10px 0 0; |
| 815 | } |
| 816 | |
| 817 | /*--------------------------------- |
| 818 | Form validation style |
| 819 | -----------------------------------*/ |
| 820 | .give-do-validate { |
| 821 | input.error { |
| 822 | border-color: red !important; |
| 823 | } |
| 824 | } |