diff options
Diffstat (limited to 'src/style.css')
| -rw-r--r-- | src/style.css | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css index c051103..74a10b4 100644 --- a/src/style.css +++ b/src/style.css @@ -1020,3 +1020,44 @@ body.light-mode ::-webkit-scrollbar-thumb { grid-template-columns: 1fr; } } + +/* Suggestions */ +.suggestions-container { + position: absolute; + top: 100%; + left: 80px; /* Align with search input */ + right: 160px; /* Leave space for action buttons */ + background: var(--bg); + border: 2px solid var(--border-color); + border-top: none; + z-index: 1000; + max-height: 300px; + overflow-y: auto; +} + +.suggestion { + padding: 12px 15px; + cursor: pointer; + font-size: 14px; + border-bottom: 1px solid var(--border-thin-color); + transition: background 0.1s; +} + +.suggestion:hover { + background: var(--hover-bg); +} + +.suggestion:last-child { + border-bottom: none; +} + +/* Selected result */ +.result.selected { + background: var(--hover-bg); + border-left: 3px solid var(--fg); +} + +.result.selected .result-index { + font-weight: bold; + color: var(--fg); +} |
