diff options
Diffstat (limited to 'src/css')
| -rw-r--r-- | src/css/dumbymap.css | 56 |
1 files changed, 35 insertions, 21 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index c0bb1a9..cc161fa 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css | |||
| @@ -141,7 +141,7 @@ root { | |||
| 141 | background-repeat: no-repeat; | 141 | background-repeat: no-repeat; |
| 142 | background-position: right 2px top 2px; | 142 | background-position: right 2px top 2px; |
| 143 | 143 | ||
| 144 | color: #555; | 144 | color: #555 !important; |
| 145 | background-size: 12px 12px; | 145 | background-size: 12px 12px; |
| 146 | 146 | ||
| 147 | &.geolink { | 147 | &.geolink { |
| @@ -166,7 +166,7 @@ root { | |||
| 166 | } | 166 | } |
| 167 | } | 167 | } |
| 168 | 168 | ||
| 169 | .Dumby:not([data-layout=""]) .dumby-block { | 169 | .DumbyMap.Dumby[data-layout] .dumby-block { |
| 170 | padding: 1rem 1rem 1rem 2rem; | 170 | padding: 1rem 1rem 1rem 2rem; |
| 171 | 171 | ||
| 172 | position: relative; | 172 | position: relative; |
| @@ -495,7 +495,7 @@ root { | |||
| 495 | } | 495 | } |
| 496 | } | 496 | } |
| 497 | 497 | ||
| 498 | .Dumby[data-layout='normal'] { | 498 | .DumbyMap.Dumby[data-layout='normal'] { |
| 499 | max-width: 60em; | 499 | max-width: 60em; |
| 500 | 500 | ||
| 501 | &::after { | 501 | &::after { |
| @@ -595,6 +595,35 @@ root { | |||
| 595 | } | 595 | } |
| 596 | } | 596 | } |
| 597 | 597 | ||
| 598 | .Dumby[data-layout='sticky'] { | ||
| 599 | .SemanticHtml { | ||
| 600 | max-width: 60em; | ||
| 601 | margin: 0 auto; | ||
| 602 | } | ||
| 603 | |||
| 604 | .draggable-block { | ||
| 605 | position: fixed; | ||
| 606 | |||
| 607 | &::before { | ||
| 608 | display: none; | ||
| 609 | } | ||
| 610 | } | ||
| 611 | |||
| 612 | .Showcase { | ||
| 613 | display: block; | ||
| 614 | overflow: hidden; | ||
| 615 | width: 20vw; | ||
| 616 | min-width: 10vw; | ||
| 617 | height: 200px; | ||
| 618 | min-height: 100px; | ||
| 619 | resize: both; | ||
| 620 | |||
| 621 | .mapclay { | ||
| 622 | border-radius: 4px !important; | ||
| 623 | } | ||
| 624 | } | ||
| 625 | } | ||
| 626 | |||
| 598 | .utils { | 627 | .utils { |
| 599 | display: flex; | 628 | display: flex; |
| 600 | padding-block: 1rem; | 629 | padding-block: 1rem; |
| @@ -642,6 +671,7 @@ root { | |||
| 642 | .draggable-block { | 671 | .draggable-block { |
| 643 | overflow: visible; | 672 | overflow: visible; |
| 644 | width: fit-content; | 673 | width: fit-content; |
| 674 | height: fit-content; | ||
| 645 | 675 | ||
| 646 | position: absolute; | 676 | position: absolute; |
| 647 | 677 | ||
| @@ -659,7 +689,7 @@ root { | |||
| 659 | opacity: 0; | 689 | opacity: 0; |
| 660 | pointer-events: auto; | 690 | pointer-events: auto; |
| 661 | 691 | ||
| 662 | &:has(.dumby-block.focus) { | 692 | &:has(.dumby-block.focus, .mapclay.focus) { |
| 663 | visibility: visible; | 693 | visibility: visible; |
| 664 | opacity: 1; | 694 | opacity: 1; |
| 665 | } | 695 | } |
| @@ -730,7 +760,7 @@ root { | |||
| 730 | position: absolute; | 760 | position: absolute; |
| 731 | left: 0; | 761 | left: 0; |
| 732 | top: 0; | 762 | top: 0; |
| 733 | z-index: 1; | 763 | z-index: 2; |
| 734 | border-top-left-radius: 0.3rem; | 764 | border-top-left-radius: 0.3rem; |
| 735 | border-top-right-radius: 0.3rem; | 765 | border-top-right-radius: 0.3rem; |
| 736 | } | 766 | } |
| @@ -782,22 +812,6 @@ root { | |||
| 782 | font-weight: bold; | 812 | font-weight: bold; |
| 783 | } | 813 | } |
| 784 | 814 | ||
| 785 | .Dumby[data-layout='sticky'] { | ||
| 786 | max-width: 80em; | ||
| 787 | |||
| 788 | .Showcase { | ||
| 789 | display: block; | ||
| 790 | width: 20vw; | ||
| 791 | height: 40vh; | ||
| 792 | |||
| 793 | position: absolute; | ||
| 794 | right: 20px; | ||
| 795 | bottom: 20px; | ||
| 796 | |||
| 797 | background: red; | ||
| 798 | } | ||
| 799 | } | ||
| 800 | |||
| 801 | .dumby-block details { | 815 | .dumby-block details { |
| 802 | display: block; | 816 | display: block; |
| 803 | width: fit-content; | 817 | width: fit-content; |