@cr8rcho/alkahest 0.1.17 → 0.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/dashboard.html +11 -5
- package/package.json +1 -1
|
@@ -71,8 +71,13 @@
|
|
|
71
71
|
.brand { font-weight: 700; letter-spacing: 0.3px; white-space: nowrap; }
|
|
72
72
|
.brand .sub { color: var(--muted); font-weight: 400; margin-left: 6px; }
|
|
73
73
|
.counts { color: var(--muted); white-space: nowrap; }
|
|
74
|
-
|
|
75
|
-
.counts-min
|
|
74
|
+
/* compact counts (mobile only): node-shape icons + number — ○ screen / ▢ resource, matching the legend */
|
|
75
|
+
.counts-min { display: none; }
|
|
76
|
+
.counts-min .cg { display: inline-flex; align-items: center; gap: 5px; }
|
|
77
|
+
.counts-min .cg + .cg { margin-left: 11px; }
|
|
78
|
+
.counts-min .nd { width: 9px; height: 9px; border: 1.5px solid var(--node-stroke); background: var(--node-fill); flex: 0 0 auto; }
|
|
79
|
+
.counts-min .nd.dot { border-radius: 50%; }
|
|
80
|
+
.counts-min .nd.sq { border-radius: 2px; background: var(--res-fill); }
|
|
76
81
|
|
|
77
82
|
/* ---- Display menu: edge filters + legend behind one button. Dropdown on desktop, bottom sheet on mobile. ---- */
|
|
78
83
|
.display-menu { position: relative; }
|
|
@@ -144,7 +149,7 @@
|
|
|
144
149
|
.toolbar { column-gap: 10px; padding: 8px 12px; font-size: 12px; flex-wrap: nowrap; }
|
|
145
150
|
.brand .sub { display: none; }
|
|
146
151
|
.counts-full { display: none; }
|
|
147
|
-
.counts-min { display: inline; }
|
|
152
|
+
.counts-min { display: inline-flex; align-items: center; }
|
|
148
153
|
.display-label { display: none; } /* Display collapses to icon-only */
|
|
149
154
|
.display-btn { width: 32px; padding: 0; }
|
|
150
155
|
/* Display popover → bottom sheet, mirroring the #panel idiom */
|
|
@@ -319,9 +324,10 @@
|
|
|
319
324
|
MAP.screens.length + " screens · " + MAP.resources.length + " resources · " +
|
|
320
325
|
navCount + " navigate" + (containCount ? " · " + containCount + " contains" : "") +
|
|
321
326
|
" · " + MAP.calls.length + " calls";
|
|
322
|
-
// compact form for the mobile toolbar:
|
|
327
|
+
// compact form for the mobile toolbar: ○{screens} ▢{resources} (node-shape icons)
|
|
323
328
|
countsEl.querySelector(".counts-min").innerHTML =
|
|
324
|
-
|
|
329
|
+
'<span class="cg"><span class="nd dot"></span>' + MAP.screens.length + "</span>" +
|
|
330
|
+
'<span class="cg"><span class="nd sq"></span>' + MAP.resources.length + "</span>";
|
|
325
331
|
}
|
|
326
332
|
|
|
327
333
|
// ====== force-directed layout (reference approach) ======
|