Files
sow-nodebb-theme/scss/westgate/_search.scss
T
archvillainetteandClaude Fable 5 32716f8ff1 feat: wiki badge and /wiki links in global search results
Override Harmony's search partials so results tagged by the wiki plugin
(isWikiArticle + wikiPath) show a gold Wiki badge and link to /wiki/...
instead of /post/..., in the quick-search dropdown and both /search views.
Forum results render unchanged; posts_list_item is shared with account and
group pages, where the flags are never set and the conditional no-ops.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 08:59:24 +02:00

18 lines
512 B
SCSS

/* Wiki badge on global search results (quick-search dropdown + /search page).
Marks results tagged by nodebb-plugin-westgate-wiki (isWikiArticle/wikiPath). */
.westgate-wiki-badge {
font-family: var(--wg-font-ui);
font-size: 0.62em;
font-weight: 600;
letter-spacing: 0.09em;
text-transform: uppercase;
color: var(--wg-gold);
background: rgba(194, 163, 90, 0.1);
border: 1px solid var(--wg-ledger-border);
vertical-align: middle;
}
.quick-search-results .westgate-wiki-badge {
font-size: 0.7rem;
}