Command palette (Ctrl/Cmd-K), quick add with natural dates, links in search; links.js split out of app.js

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nmemmertandClaude Sonnet 5.5 committed 2026-10-22 07:45:33 -04:00
1 parent 1f8c9493b7
commit df8c6ce586
6 files changed
+179 -46

No files matched your search

+13
View File
@@ -482,3 +482,16 @@ body.lyropen { overflow: hidden; }
.npc-l { min-height: 38px; font-size: 14px; }
@media (max-width: 560px) { .lyrtop .lyrmode { display: none; } .lyrfoot #lyrs { padding: 0 10px; font-size: 13px; } .npc-l { display: inline-flex; } .npc-ctl { gap: 0; } .npc-q { display: none; } }
.lyrnudge small, .lyrfoot #lyrs { white-space: nowrap; }
/* Command palette */
#pal { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: center; align-items: flex-start; padding: calc(var(--sat) + 12vh) 12px 12px; }
#pal .scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.palbox { position: relative; width: min(560px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); overflow: hidden; }
.palbox input { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 16px 18px; font-size: 17px; outline: none; }
#pall { max-height: min(50vh, 420px); overflow-y: auto; padding: 6px; }
.palrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.palrow .grow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palrow small { color: var(--muted); flex: none; }
.palrow.on { background: var(--panel2); }
.palrow svg { width: 20px; height: 20px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }