summaryrefslogtreecommitdiffstats
path: root/public/css
diff options
context:
space:
mode:
Diffstat (limited to 'public/css')
-rw-r--r--public/css/style.css27
1 files changed, 27 insertions, 0 deletions
diff --git a/public/css/style.css b/public/css/style.css
index ba9b822..47147f4 100644
--- a/public/css/style.css
+++ b/public/css/style.css
@@ -366,6 +366,32 @@ legend { padding: 0 8px; color: var(--text-dim); font-size: .85rem; }
.sub-album-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sub-album-list a { padding: 4px 12px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); font-size: .9rem; }
+/* ── Header search ─────────────────────────────────────────────────────── */
+.header-search { flex: 1; display: flex; justify-content: center; padding: 0 20px; }
+.header-search-input {
+ width: 200px;
+ background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius);
+ color: var(--text); padding: 5px 12px; font-size: .85rem;
+ transition: width .2s, border-color .15s;
+}
+.header-search-input:focus { width: 300px; border-color: var(--accent); outline: none; }
+
+/* ── Search results page ────────────────────────────────────────────────── */
+.search-form { display: flex; gap: 8px; margin: 14px 0 8px; }
+.search-input {
+ flex: 1; max-width: 540px;
+ background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius);
+ color: var(--text); padding: 8px 12px; font-size: 1rem;
+}
+.search-input:focus { border-color: var(--accent); outline: none; }
+.search-hint { font-size: .8rem; color: var(--text-dim); margin: 0 0 18px; }
+.search-hint code { background: var(--bg3); padding: 1px 5px; border-radius: 3px; font-size: .85em; }
+.search-card .card-meta { padding: 6px 8px 8px; }
+.search-album-path { font-size: .72rem; color: var(--text-dim); margin-top: 3px;
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+.search-album-path a { color: var(--text-dim); }
+.search-album-path a:hover { color: var(--accent); }
+
/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
:root { --thumb: 140px; --gap: 8px; }
@@ -373,6 +399,7 @@ legend { padding: 0 8px; color: var(--text-dim); font-size: .85rem; }
.lb-prev { left: 4px; }
.lb-next { right: 4px; }
.files-table { font-size: .78rem; }
+ .header-search { display: none; }
}
/* ── Unplayable originals (admin-only) ─────────────────────────────────── */