aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/css/dumbymap.css
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-10-01 11:31:26 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-10-01 12:30:07 +0800
commit5cfa03b77bf21982d5024aad09f1a89871fc127b (patch)
treea87b2f7ed31079caacadee4a06f08bbc42b8257e /src/css/dumbymap.css
parent44505676efb5a6ef12d00e03544e5b44a4c459e1 (diff)
style: stylelint
Diffstat (limited to 'src/css/dumbymap.css')
-rw-r--r--src/css/dumbymap.css18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css
index 999dab5..d84ec2b 100644
--- a/src/css/dumbymap.css
+++ b/src/css/dumbymap.css
@@ -144,6 +144,7 @@ root {
144*:has(> nav) { 144*:has(> nav) {
145 /* FIXME Hide nav at proper time */ 145 /* FIXME Hide nav at proper time */
146 display: none; 146 display: none;
147 min-width: 120px;
147 padding: 0.5rem; 148 padding: 0.5rem;
148 149
149 position: absolute; 150 position: absolute;
@@ -155,7 +156,6 @@ root {
155 border-radius: 0.5rem; 156 border-radius: 0.5rem;
156 157
157 background-color: white; 158 background-color: white;
158 min-width: 120px;
159 159
160 &:has(> nav:empty) { 160 &:has(> nav:empty) {
161 display: none; 161 display: none;
@@ -220,13 +220,13 @@ root {
220} 220}
221 221
222.Dumby { 222.Dumby {
223 overflow: visible;
223 width: 100%; 224 width: 100%;
224 height: 100%; 225 height: 100%;
225 margin: 0 auto; 226 margin: 0 auto;
226 padding: 0; 227 padding: 0;
227 228
228 position: relative; 229 position: relative;
229 overflow: visible;
230 230
231 &::after { 231 &::after {
232 content: 'Layout: ' attr(data-layout); 232 content: 'Layout: ' attr(data-layout);
@@ -335,10 +335,10 @@ root {
335 .SemanticHtml, 335 .SemanticHtml,
336 .Showcase { 336 .Showcase {
337 width: 50%; 337 width: 50%;
338 min-width: 20%;
338 339
339 position: absolute; 340 position: absolute;
340 top: 0; 341 top: 0;
341 min-width: 20%;
342 } 342 }
343 343
344 .SemanticHtml { 344 .SemanticHtml {
@@ -506,6 +506,10 @@ root {
506 506
507 .dumby-block { 507 .dumby-block {
508 overflow: scroll; 508 overflow: scroll;
509 min-width: 5rem;
510 max-width: 25vw;
511 min-height: 5rem;
512 max-height: 50vh;
509 margin: 0; 513 margin: 0;
510 padding-block: 1rem 0; 514 padding-block: 1rem 0;
511 padding-inline: 1rem; 515 padding-inline: 1rem;
@@ -517,10 +521,6 @@ root {
517 border-radius: 0.5rem; 521 border-radius: 0.5rem;
518 522
519 resize: both; 523 resize: both;
520 min-width: 5rem;
521 max-width: 25vw;
522 min-height: 5rem;
523 max-height: 50vh;
524 524
525 /* Remove indicator when inside draggable-block */ 525 /* Remove indicator when inside draggable-block */
526 &::before { 526 &::before {
@@ -613,6 +613,8 @@ root {
613.menu { 613.menu {
614 display: none; 614 display: none;
615 width: fit-content; 615 width: fit-content;
616 min-width: 10rem;
617 max-height: 40vh;
616 618
617 position: absolute; 619 position: absolute;
618 z-index: 9999; 620 z-index: 9999;
@@ -621,8 +623,6 @@ root {
621 border-radius: 6px; 623 border-radius: 6px;
622 624
623 background: white; 625 background: white;
624 min-width: 10rem;
625 max-height: 40vh;
626 overflow-y: scroll; 626 overflow-y: scroll;
627} 627}
628 628