From c85823e430e50a85bc5d886085d3b456db8d3675 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Mon, 14 Oct 2024 17:00:19 +0800 Subject: chore: stylelint --- src/css/dumbymap.css | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) (limited to 'src') diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index 97d10ef..6c581fa 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css @@ -134,6 +134,7 @@ root { .with-leader-line:not(:has(> *)) { display: inline-block; padding-right: 15px; + /* padding-left: 6px; */ background-image: url('data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cG9seWdvbiBwb2ludHM9IjI0LDAgMCw4IDgsMTEgMCwxOSA1LDI0IDEzLDE2IDE2LDI0IiBmaWxsPSJjb3JhbCIvPjwvc3ZnPg=='); @@ -374,6 +375,25 @@ root { position: relative; + &.dragging-geolink { + user-select: none; + + * { + cursor: not-allowed !important; + } + + .dumby-block > :not(:has(.mapclay[data-render="fulfilled"])) { + opacity: 0.3; + } + + .mapclay[data-render="fulfilled"] { + &, & canvas { + cursor: crosshair !important; + } + } + } + + &::after { content: 'Layout: ' attr(data-layout); padding: 0.3rem 0.5rem; @@ -758,24 +778,6 @@ root { font-weight: bold; } -.dragging-geolink { - user-select: none; - - .dumby-block > :not(:has(.mapclay[data-render="fulfilled"])) { - opacity: 0.3; - } - - * { - cursor: not-allowed !important; - } - - .mapclay[data-render="fulfilled"] { - &, & canvas { - cursor: crosshair !important; - } - } -} - .Dumby[data-layout='sticky'] { max-width: 80em; -- cgit v1.2.3-70-g09d2