feat(search): rank titles and filter by kind (#274)
This commit was merged in pull request #274.
This commit is contained in:
@@ -622,6 +622,29 @@ body {
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
/* the kind filter narrows both groups at once, so it sits above them rather
|
||||
than inside either head. Its counts are the whole point — they say what
|
||||
the filter is holding back, so an empty group never reads as no match. */
|
||||
.deck-filter {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-2);
|
||||
margin: 0 0 var(--space-6);
|
||||
}
|
||||
|
||||
.control-filter {
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.filter-count {
|
||||
color: var(--ink-faint);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.control-filter[aria-pressed="true"] .filter-count {
|
||||
color: var(--ink-muted);
|
||||
}
|
||||
|
||||
/* a sweep in flight borrows the rail's probing-lamp idiom, inline */
|
||||
.deck-status .lamp {
|
||||
display: inline-block;
|
||||
|
||||
Reference in New Issue
Block a user