feat: add complex junction selection markers

This commit is contained in:
que01 committed 2026-09-04 17:09:32 +08:00
1 parent 57248f1aa4
commit 38ea779d9b
18 files changed
+685 -48

No files matched your search

+70
View File
@@ -771,6 +771,76 @@ pre {
background: #f8fafc;
color: #475569;
}
.junction-workspace__candidate {
display: grid;
gap: 0.25rem;
margin-bottom: 1rem;
padding: 0.65rem 0.75rem;
border-left: 3px solid #d49318;
background: #fffaf0;
color: #5d4a21;
}
.junction-workspace__candidate span {
color: #63736c;
font-size: 12px;
}
.junction-workspace__candidate-toggle {
justify-self: start;
margin-top: 0.25rem;
}
.junction-workspace__candidate-nodes {
display: grid;
gap: 0.35rem;
margin: 0.35rem 0 0;
padding: 0.55rem 0.65rem;
border: 1px solid #ead9ac;
background: #fffdf7;
}
.junction-workspace__candidate-nodes legend {
padding: 0 0.25rem;
color: #5d4a21;
font-size: 12px;
}
.junction-workspace__candidate-nodes label {
display: flex;
gap: 0.45rem;
align-items: center;
color: #475569;
font-size: 12px;
}
.junction-workspace__candidate-node-badge {
display: inline-grid;
flex: 0 0 1.5rem;
width: 1.5rem;
height: 1.5rem;
place-items: center;
border: 2px solid currentColor;
border-radius: 50%;
font-size: 11px;
font-weight: 800;
line-height: 1;
}
.junction-workspace__candidate-nodes label.is-included {
color: #0e7490;
}
.junction-workspace__candidate-nodes label.is-included .junction-workspace__candidate-node-badge {
color: #fff;
background: #0e7490;
}
.junction-workspace__candidate-nodes label.is-included input {
accent-color: #0e7490;
}
.junction-workspace__candidate-nodes label.is-excluded input {
accent-color: #94a3b8;
}
.junction-workspace__candidate-nodes label.is-excluded .junction-workspace__candidate-node-badge {
color: #94a3b8;
background: transparent;
}
.junction-workspace__candidate-nodes label.is-excluded {
color: #94a3b8;
text-decoration: line-through;
}
@media (max-width: 900px) {
.junction-workspace {
top: auto;