diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/css/dumbymap.css | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index fe6c0d7..d810429 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css | |||
| @@ -637,8 +637,6 @@ a[href^='http']:not(:has(img))::after, | |||
| 637 | } | 637 | } |
| 638 | 638 | ||
| 639 | .draggable-block { | 639 | .draggable-block { |
| 640 | /* TODO transition for display */ | ||
| 641 | display: none; | ||
| 642 | overflow: visible; | 640 | overflow: visible; |
| 643 | width: fit-content; | 641 | width: fit-content; |
| 644 | 642 | ||
| @@ -650,15 +648,20 @@ a[href^='http']:not(:has(img))::after, | |||
| 650 | background: white; | 648 | background: white; |
| 651 | 649 | ||
| 652 | font-size: 0.8rem; | 650 | font-size: 0.8rem; |
| 651 | |||
| 652 | transition: | ||
| 653 | opacity .3s linear, | ||
| 654 | visibility .3s linear; | ||
| 655 | visibility: hidden; | ||
| 656 | opacity: 0; | ||
| 653 | pointer-events: auto; | 657 | pointer-events: auto; |
| 654 | 658 | ||
| 655 | &:has(.dumby-block.focus) { | 659 | &:has(.dumby-block.focus) { |
| 656 | display: block; | 660 | visibility: visible; |
| 657 | 661 | opacity: 1; | |
| 658 | outline: solid #505050 1px; | ||
| 659 | border-color: #505050; | ||
| 660 | } | 662 | } |
| 661 | 663 | ||
| 664 | /** Hide block with map in focus, which is the only element */ | ||
| 662 | &:has(pre:only-child [data-placeholder]:only-child) { | 665 | &:has(pre:only-child [data-placeholder]:only-child) { |
| 663 | display: none; | 666 | display: none; |
| 664 | } | 667 | } |