diff options
Diffstat (limited to 'src/css')
-rw-r--r-- | src/css/dumbymap.css | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index cc2d1ef..dd50f2b 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css | |||
@@ -416,7 +416,6 @@ root { | |||
416 | transition: | 416 | transition: |
417 | visibility .3s ease-out, | 417 | visibility .3s ease-out, |
418 | opacity .3s ease-out; | 418 | opacity .3s ease-out; |
419 | |||
420 | visibility: hidden; | 419 | visibility: hidden; |
421 | opacity: 0; | 420 | opacity: 0; |
422 | 421 | ||
@@ -554,7 +553,14 @@ root { | |||
554 | transform: translate(0, -0.6rem); | 553 | transform: translate(0, -0.6rem); |
555 | } | 554 | } |
556 | 555 | ||
557 | &.drag, | 556 | &:not(.dragging):has(.draggable-part:hover) { |
557 | .utils { | ||
558 | visibility: visible; | ||
559 | opacity: 1; | ||
560 | } | ||
561 | } | ||
562 | |||
563 | &.dragging, | ||
558 | &:has(.draggable-part:hover) { | 564 | &:has(.draggable-part:hover) { |
559 | .handle { | 565 | .handle { |
560 | background: #e1e1e1; | 566 | background: #e1e1e1; |
@@ -562,11 +568,6 @@ root { | |||
562 | transform: unset; | 568 | transform: unset; |
563 | } | 569 | } |
564 | 570 | ||
565 | .utils { | ||
566 | visibility: visible; | ||
567 | opacity: 1; | ||
568 | } | ||
569 | |||
570 | > *:not(.draggable-part, .utils) { | 571 | > *:not(.draggable-part, .utils) { |
571 | color: gray; | 572 | color: gray; |
572 | 573 | ||