From b705b488b04522a0d21da989015c40461f120c6e Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 30 Apr 2024 21:01:36 -0300 Subject: client: search results behavior stub --- src/static/css/site.css | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) (limited to 'src/static/css/site.css') diff --git a/src/static/css/site.css b/src/static/css/site.css index 2dc06469..d2c121e6 100644 --- a/src/static/css/site.css +++ b/src/static/css/site.css @@ -462,7 +462,7 @@ summary .group-name { font-weight: normal; } -.search-sidebar-box { +.wiki-search-sidebar-box { padding: 2px; position: sticky; top: 5px; @@ -490,6 +490,43 @@ summary .group-name { color: inherit; } +.wiki-search-results-container hr { + border-color: var(--primary-color); + border-style: none none dotted none; +} + +.wiki-search-results-container { + margin-bottom: 5px; +} + +.wiki-search-result { + display: flex; + padding: 0 6px; + margin: 3px 0 5px 0; +} + +.wiki-search-result-name { + align-self: center; + flex-grow: 1; + padding-bottom: 2px; +} + +.wiki-search-result-image, +.wiki-search-result-image-placeholder { + align-self: flex-start; + width: 1.8em; + height: 1.8em; + margin-right: 6px; +} + +.wiki-search-result-image-placeholder { + display: inline-block; +} + +.wiki-search-results:not(:has(.wiki-search-result-image)) .wiki-search-result-image-placeholder { + display: none; +} + .wiki-search-input:focus { border: 1px solid var(--primary-color); } -- cgit 1.3.0-6-gf8a5