mirror of
https://github.com/pvrzz/atmosphere.git
synced 2026-11-29 05:22:26 +00:00
Quick search across the library (Ctrl+K) with link and online search shortcuts
This commit is contained in:
@@ -1084,3 +1084,27 @@ body.mini-mode > *:not(#mini):not(.toasts):not(.modal-wrap):not(script) { displa
|
||||
.tile-mosaic img, .tile-mosaic .cover { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
|
||||
.tile-img.ph { display: grid; place-items: center; background: var(--surface); color: var(--text-3); }
|
||||
.tile-img.ph .i svg { width: 36px; height: 36px; }
|
||||
|
||||
/* quick search */
|
||||
.qs-wrap { position: fixed; inset: 0; z-index: 110; background: rgba(5, 6, 10, 0.45); display: grid; justify-items: center; align-items: start; padding-top: 12vh; animation: fadeOnly 120ms var(--ease); }
|
||||
.qs { width: min(640px, calc(100vw - 32px)); max-height: 70vh; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6); overflow: hidden; }
|
||||
.qs-bar { display: flex; align-items: center; gap: var(--s3); padding: 12px 16px; border-bottom: 1px solid var(--hairline); color: var(--text-3); }
|
||||
.qs-bar .i svg { width: 18px; height: 18px; }
|
||||
.qs-input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 500 16px/1.4 var(--font); }
|
||||
.qs-input::-webkit-search-cancel-button { display: none; }
|
||||
.qs-list { overflow-y: auto; padding: 6px; }
|
||||
.qs-hint { margin: 0; padding: 18px 12px; color: var(--text-3); font-size: 13px; text-align: center; }
|
||||
.qs-group { padding: 10px 10px 4px; font-size: 11.5px; font-weight: 650; color: var(--text-3); letter-spacing: 0.02em; }
|
||||
.qs-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: var(--s3); align-items: center; padding: 6px 10px; border-radius: 10px; cursor: default; }
|
||||
.qs-item.sel { background: var(--hover); }
|
||||
.qs-item.top { padding: 10px; }
|
||||
.qs-item.top .qs-art { width: 52px; height: 52px; }
|
||||
.qs-item.top { grid-template-columns: 52px minmax(0, 1fr) auto; }
|
||||
.qs-art { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
|
||||
.qs-art.round { border-radius: 50%; }
|
||||
.qs-ico { display: grid; place-items: center; background: var(--surface-2, var(--hover)); color: var(--text-2); }
|
||||
.qs-text { display: grid; min-width: 0; }
|
||||
.qs-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.qs-sub { font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.qs-keys { font-size: 11px; color: var(--text-3); opacity: 0; white-space: nowrap; }
|
||||
.qs-item.sel .qs-keys { opacity: 1; }
|
||||
|
||||
Reference in New Issue
Block a user