diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-01 11:25:55 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-01 12:30:07 +0800 |
| commit | cca746babcf70cc98dd8a282e9f9236133c04e49 (patch) | |
| tree | d138343eade773f68834ae7b817be8fee4845948 /src/css | |
| parent | 5f26194f7a285a2743a84056deb3b494bde9f7f5 (diff) | |
feat: print details of renderer result (finally)
Diffstat (limited to 'src/css')
| -rw-r--r-- | src/css/dumbymap.css | 49 |
1 files changed, 46 insertions, 3 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index 822353f..999dab5 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css | |||
| @@ -659,6 +659,8 @@ root { | |||
| 659 | .sub-menu { | 659 | .sub-menu { |
| 660 | overflow: scroll; | 660 | overflow: scroll; |
| 661 | width: fit-content; | 661 | width: fit-content; |
| 662 | min-width: 6rem; | ||
| 663 | max-height: 40vh; | ||
| 662 | 664 | ||
| 663 | position: absolute; | 665 | position: absolute; |
| 664 | z-index: 100; | 666 | z-index: 100; |
| @@ -667,12 +669,53 @@ root { | |||
| 667 | border-radius: 6px; | 669 | border-radius: 6px; |
| 668 | 670 | ||
| 669 | background: white; | 671 | background: white; |
| 670 | min-width: 6rem; | ||
| 671 | max-height: 40vh; | ||
| 672 | 672 | ||
| 673 | .menu-item { | 673 | .menu-item { |
| 674 | min-width: 5em; | ||
| 674 | margin: 0 auto; | 675 | margin: 0 auto; |
| 675 | padding-inline: 0.5em; | 676 | padding-inline: 0.5em; |
| 676 | min-width: 5em; | 677 | } |
| 678 | } | ||
| 679 | |||
| 680 | .plainoverlay-body { | ||
| 681 | position: absolute; | ||
| 682 | } | ||
| 683 | |||
| 684 | .plainmodal-content { | ||
| 685 | width: 700px; | ||
| 686 | height: 80%; | ||
| 687 | padding: 1em; | ||
| 688 | |||
| 689 | position: absolute; | ||
| 690 | left: 50vw; | ||
| 691 | top: 50vh; | ||
| 692 | |||
| 693 | background: white; | ||
| 694 | |||
| 695 | transform: translate(-50%, -50%); | ||
| 696 | overflow-y: scroll; | ||
| 697 | |||
| 698 | details { | ||
| 699 | margin-bottom: 0.5em; | ||
| 700 | } | ||
| 701 | |||
| 702 | summary { | ||
| 703 | cursor: pointer; | ||
| 704 | } | ||
| 705 | |||
| 706 | details > :not(summary) { | ||
| 707 | padding-left: 1em; | ||
| 708 | } | ||
| 709 | |||
| 710 | p { | ||
| 711 | margin: 0.3em; | ||
| 712 | white-space: nowrap; | ||
| 713 | overflow-x: scroll; | ||
| 714 | } | ||
| 715 | |||
| 716 | pre { | ||
| 717 | padding: 0.5em; | ||
| 718 | |||
| 719 | background: #f0f0f0; | ||
| 677 | } | 720 | } |
| 678 | } | 721 | } |