Skip to content

Commit 447b501

Browse files
committed
Implemented search facets
1 parent 819b719 commit 447b501

2 files changed

Lines changed: 440 additions & 106 deletions

File tree

src/fastflowtransform/templates/assets/spa.css

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,3 +490,43 @@ tr.colHit{
490490
background: color-mix(in srgb, var(--card), transparent 55%);
491491
}
492492
.miniGraphHost svg{ width:100%; height:100%; display:block; }
493+
494+
.facetBox { display:flex; flex-direction:column; gap:8px; margin:8px 0 2px; }
495+
.facetRow { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
496+
.facetChips { display:flex; gap:6px; }
497+
498+
.facetChip {
499+
border: 1px solid var(--border);
500+
background: transparent;
501+
color: inherit;
502+
padding: 4px 10px;
503+
border-radius: 999px;
504+
font-size: 12px;
505+
cursor: pointer;
506+
}
507+
.facetChip.active {
508+
border-color: var(--accent);
509+
background: color-mix(in srgb, var(--accent), transparent 88%);
510+
}
511+
512+
.facetSelect, .facetInput {
513+
flex: 1;
514+
min-width: 140px;
515+
border: 1px solid var(--border);
516+
background: transparent;
517+
color: inherit;
518+
padding: 6px 10px;
519+
border-radius: 12px;
520+
font-size: 12px;
521+
}
522+
523+
.facetClear {
524+
border: 1px solid var(--border);
525+
background: transparent;
526+
color: inherit;
527+
padding: 6px 10px;
528+
border-radius: 12px;
529+
font-size: 12px;
530+
cursor: pointer;
531+
}
532+
.facetClear:disabled { opacity: 0.5; cursor: not-allowed; }

0 commit comments

Comments
 (0)