update minimap

This commit is contained in:
qing committed 2026-07-27 12:36:59 +08:00
1 parent 5edfad7842
commit f056da1dfc
2 files changed
+28 -14

No files matched your search

+16
View File
@@ -247,6 +247,9 @@ button[type="button"], input[type="button"] { background: var(--accent-soft); co
.minimap:empty { display: none; }
.minimap .tag {
display: inline-block;
max-width: 140px;
overflow: hidden;
text-overflow: ellipsis;
padding: 0.25rem 0.6rem;
font-size: 0.78rem;
font-weight: 500;
@@ -258,11 +261,24 @@ button[type="button"], input[type="button"] { background: var(--accent-soft); co
white-space: nowrap;
transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.minimap::-webkit-scrollbar { width: 4px; }
.minimap::-webkit-scrollbar-track { background: transparent; }
.minimap::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 4px;
}
.minimap::-webkit-scrollbar-thumb:hover { background: var(--muted); }
.minimap .tag:hover {
color: var(--accent-dark);
background: var(--accent-soft);
border-color: var(--accent);
}
.minimap .tag.back {
color: var(--accent);
background: var(--accent-soft);
border-color: var(--accent);
margin-bottom: 0.25rem;
}
/* ===== Node Form (dnfs) ===== */
.node-form { margin-top: 1rem; }