55 lines
3.5 KiB
CSS
55 lines
3.5 KiB
CSS
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
:root {
|
|
--bg: #1a1d24; --panel: #23272f; --border: #333945;
|
|
--text: #e6e8ec; --muted: #8b93a1; --accent: #4c8fdd; --danger: #c0504e;
|
|
}
|
|
body { background: var(--bg); color: var(--text); font-family: system-ui, sans-serif; }
|
|
header {
|
|
display: flex; align-items: center; gap: 2rem;
|
|
padding: 0.8rem 1.2rem; background: var(--panel); border-bottom: 1px solid var(--border);
|
|
}
|
|
h1 { font-size: 1.2rem; }
|
|
nav { display: flex; gap: 0.4rem; }
|
|
nav button { background: none; border: none; color: var(--muted); padding: 0.5rem 0.9rem; cursor: pointer; border-radius: 4px; font-size: 0.95rem; }
|
|
nav button.active, nav button:hover { color: var(--text); background: var(--bg); }
|
|
main { padding: 1.2rem; max-width: 1100px; margin: 0 auto; }
|
|
.bar { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 1rem; }
|
|
.bar.wrap { flex-wrap: wrap; }
|
|
input, select { background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 4px; padding: 0.5rem 0.7rem; font-size: 0.95rem; }
|
|
input.wide { min-width: 260px; }
|
|
#search-q { flex: 1; }
|
|
button { background: var(--accent); color: #fff; border: none; border-radius: 4px; padding: 0.5rem 1rem; cursor: pointer; font-size: 0.95rem; }
|
|
button:hover { filter: brightness(1.1); }
|
|
button.secondary { background: var(--border); }
|
|
button.danger { background: var(--danger); padding: 0.3rem 0.7rem; font-size: 0.85rem; }
|
|
button:disabled { opacity: 0.6; cursor: default; }
|
|
.cards { display: flex; flex-direction: column; gap: 0.6rem; }
|
|
.card { display: flex; gap: 0.8rem; background: var(--panel); border: 1px solid var(--border); border-radius: 6px; padding: 0.7rem; }
|
|
.card img, .nocover { width: 60px; height: 90px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
|
|
.nocover { background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 1.5rem; }
|
|
.card-body { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
|
|
.row { display: flex; gap: 0.5rem; margin-top: 0.4rem; align-items: center; }
|
|
.muted { color: var(--muted); font-size: 0.88rem; }
|
|
.mono { font-family: ui-monospace, monospace; font-size: 0.85rem; word-break: break-all; }
|
|
table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; background: var(--panel); border: 1px solid var(--border); border-radius: 6px; }
|
|
th, td { text-align: left; padding: 0.5rem 0.7rem; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
|
|
th { color: var(--muted); font-weight: 500; }
|
|
td select { max-width: 340px; }
|
|
.volume { width: 90px; }
|
|
dialog { background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 1.2rem; min-width: 340px; }
|
|
dialog::backdrop { background: rgba(0,0,0,0.6); }
|
|
dialog label { display: flex; flex-direction: column; gap: 0.2rem; margin: 0.5rem 0; font-size: 0.9rem; color: var(--muted); }
|
|
.spinner {
|
|
display: inline-block; width: 0.9em; height: 0.9em; vertical-align: -0.12em;
|
|
border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff;
|
|
border-radius: 50%; animation: spin 0.8s linear infinite;
|
|
}
|
|
@keyframes spin { to { transform: rotate(360deg); } }
|
|
#quick-dialog { min-width: 480px; max-width: 640px; }
|
|
#quick-results { max-height: 50vh; overflow-y: auto; margin-top: 0.6rem; }
|
|
.ok { color: #6fbf73; }
|
|
.error { color: #e08585; }
|
|
#toast { position: fixed; bottom: 1.2rem; right: 1.2rem; background: var(--accent); color: #fff; padding: 0.7rem 1.1rem; border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
|
|
#toast.error { background: var(--danger); }
|
|
h3, h4 { margin: 0.8rem 0 0.6rem; }
|