|
528 | 528 | } |
529 | 529 | } |
530 | 530 |
|
| 531 | +/* 이미지 갤러리 모달 */ |
| 532 | +.image-modal-overlay { |
| 533 | + position: fixed; |
| 534 | + top: 0; |
| 535 | + left: 0; |
| 536 | + right: 0; |
| 537 | + bottom: 0; |
| 538 | + background-color: rgba(0, 0, 0, 0.7); |
| 539 | + display: flex; |
| 540 | + align-items: center; |
| 541 | + justify-content: center; |
| 542 | + z-index: 10000; |
| 543 | + cursor: pointer; |
| 544 | + padding: 40px; |
| 545 | +} |
| 546 | + |
| 547 | +.image-modal-container { |
| 548 | + background-color: white; |
| 549 | + border-radius: 12px; |
| 550 | + width: 100%; |
| 551 | + max-width: 1200px; |
| 552 | + max-height: 90vh; |
| 553 | + display: flex; |
| 554 | + flex-direction: column; |
| 555 | + cursor: default; |
| 556 | + overflow: hidden; |
| 557 | +} |
| 558 | + |
| 559 | +.modal-title { |
| 560 | + font-family: "Pretendard", sans-serif; |
| 561 | + font-size: 24px; |
| 562 | + font-weight: 500; |
| 563 | + color: #1f2937; |
| 564 | + margin: 0; |
| 565 | + padding: 24px 32px; |
| 566 | + border-bottom: 1px solid #e5e7eb; |
| 567 | +} |
| 568 | + |
| 569 | +.modal-main-content { |
| 570 | + flex: 1; |
| 571 | + display: flex; |
| 572 | + flex-direction: column; |
| 573 | + overflow: hidden; |
| 574 | + padding: 32px; |
| 575 | +} |
| 576 | + |
| 577 | +.modal-image-wrapper { |
| 578 | + position: relative; |
| 579 | + flex: 1; |
| 580 | + display: flex; |
| 581 | + align-items: center; |
| 582 | + justify-content: center; |
| 583 | + background-color: #f9fafb; |
| 584 | + border-radius: 8px; |
| 585 | + min-height: 400px; |
| 586 | + margin-bottom: 24px; |
| 587 | + overflow: hidden; |
| 588 | +} |
| 589 | + |
| 590 | +.modal-image { |
| 591 | + max-width: 100%; |
| 592 | + max-height: 60vh; |
| 593 | + object-fit: contain; |
| 594 | + border-radius: 8px; |
| 595 | +} |
| 596 | + |
| 597 | +.modal-nav-btn { |
| 598 | + position: absolute; |
| 599 | + top: 50%; |
| 600 | + margin-top: -24px; |
| 601 | + background: rgba(255, 255, 255, 0.9); |
| 602 | + border: 1px solid #e5e7eb; |
| 603 | + color: #1f2937; |
| 604 | + font-size: 32px; |
| 605 | + cursor: pointer; |
| 606 | + width: 48px; |
| 607 | + height: 48px; |
| 608 | + display: flex; |
| 609 | + align-items: center; |
| 610 | + justify-content: center; |
| 611 | + border-radius: 50%; |
| 612 | + transition: all 0.2s; |
| 613 | + padding: 0; |
| 614 | + line-height: 1; |
| 615 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
| 616 | + font-family: Arial, sans-serif; |
| 617 | + text-align: center; |
| 618 | +} |
| 619 | + |
| 620 | +.modal-nav-btn:hover { |
| 621 | + background: white; |
| 622 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); |
| 623 | +} |
| 624 | + |
| 625 | +.modal-thumbnails { |
| 626 | + display: flex; |
| 627 | + gap: 12px; |
| 628 | + justify-content: center; |
| 629 | + flex-wrap: wrap; |
| 630 | + max-height: 120px; |
| 631 | + overflow-y: auto; |
| 632 | + padding: 8px 0; |
| 633 | +} |
| 634 | + |
| 635 | +.modal-thumbnail { |
| 636 | + width: 80px; |
| 637 | + height: 80px; |
| 638 | + border: 2px solid #e5e7eb; |
| 639 | + border-radius: 8px; |
| 640 | + overflow: hidden; |
| 641 | + cursor: pointer; |
| 642 | + transition: all 0.2s; |
| 643 | + flex-shrink: 0; |
| 644 | +} |
| 645 | + |
| 646 | +.modal-thumbnail img { |
| 647 | + width: 100%; |
| 648 | + height: 100%; |
| 649 | + object-fit: cover; |
| 650 | +} |
| 651 | + |
| 652 | +.modal-thumbnail:hover { |
| 653 | + border-color: #06b0b7; |
| 654 | +} |
| 655 | + |
| 656 | +.modal-thumbnail.active { |
| 657 | + border-color: #06b0b7; |
| 658 | + border-width: 3px; |
| 659 | +} |
| 660 | + |
| 661 | +.modal-close-button { |
| 662 | + background-color: white; |
| 663 | + border: 1px solid #e5e7eb; |
| 664 | + border-radius: 8px; |
| 665 | + color: #1f2937; |
| 666 | + font-family: "Pretendard", sans-serif; |
| 667 | + font-size: 16px; |
| 668 | + font-weight: 500; |
| 669 | + padding: 12px 32px; |
| 670 | + cursor: pointer; |
| 671 | + transition: all 0.2s; |
| 672 | + margin: 0 auto 24px; |
| 673 | + min-width: 120px; |
| 674 | +} |
| 675 | + |
| 676 | +.modal-close-button:hover { |
| 677 | + background-color: #f9fafb; |
| 678 | + border-color: #d1d5db; |
| 679 | +} |
| 680 | + |
0 commit comments