fix(site): make cluster headers clickable with pill feedback instead of link-style underline; name the hovered box in the tooltip

This commit is contained in:
Meysam Parvizi
2026-10-10 04:05:19 +02:00
parent 95aff195b4
commit 8cf40b4993
2 changed files with 21 additions and 13 deletions
+16 -10
View File
@@ -275,9 +275,19 @@
stroke-width: 2.2;
}
.box.header.target:hover .header-text,
.box.header.lit .header-text {
text-decoration: underline;
.header-bg {
fill: transparent;
stroke: transparent;
stroke-width: 2;
transition: fill 0.15s;
}
.box.header.target:hover .header-bg {
fill: color-mix(in srgb, var(--accent) 16%, transparent);
}
.box.header.lit .header-bg {
fill: color-mix(in srgb, var(--accent) 9%, transparent);
}
.group-tag.target:hover .tag-bg {
@@ -290,21 +300,17 @@
stroke-width: 3;
}
.box.header.selected .header-text {
fill: var(--accent);
.box.header.selected .header-bg {
stroke: var(--text);
}
.box.target:focus-visible .box-bg,
.box.header.target:focus-visible .header-bg,
.group-tag.target:focus-visible .tag-bg {
stroke: var(--accent);
stroke-width: 3.5;
}
.box.header.target:focus-visible .header-text {
fill: var(--accent);
text-decoration: underline;
}
.layer-boxes .box {
transition: opacity 0.2s;
}