793 lines
20 KiB
CSS
793 lines
20 KiB
CSS
/* ── Novela — Library page styles ─────────────────────────────────────── */
|
|
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
html, body {
|
|
height: 100%;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font-family: var(--serif);
|
|
}
|
|
|
|
/* ── Main content ───────────────────────────────────────────────── */
|
|
|
|
.main {
|
|
margin-left: var(--sidebar);
|
|
min-height: 100vh;
|
|
padding: 2rem 2.5rem 4rem;
|
|
}
|
|
|
|
.main-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 1.75rem;
|
|
}
|
|
|
|
.main-title {
|
|
font-family: var(--mono);
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.empty {
|
|
text-align: center;
|
|
color: var(--text-faint);
|
|
font-family: var(--mono);
|
|
font-size: 0.82rem;
|
|
padding: 4rem 2rem;
|
|
}
|
|
|
|
.group-heading {
|
|
font-family: var(--mono);
|
|
font-size: 0.72rem;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--text-dim);
|
|
padding: 1.5rem 0 0.5rem;
|
|
border-bottom: 1px solid var(--border);
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
.group-heading:first-child { padding-top: 0; }
|
|
|
|
.import-dropzone {
|
|
border: 1px dashed var(--border);
|
|
background: rgba(34, 31, 27, 0.45);
|
|
border-radius: var(--radius);
|
|
padding: 0.9rem 1rem;
|
|
margin-bottom: 1.1rem;
|
|
cursor: pointer;
|
|
transition: border-color 0.15s, background 0.15s;
|
|
}
|
|
.import-dropzone:hover { border-color: var(--accent); }
|
|
.import-dropzone.dragover {
|
|
border-color: var(--accent2);
|
|
background: rgba(255, 162, 14, 0.12);
|
|
}
|
|
.import-dropzone.uploading {
|
|
opacity: 0.8;
|
|
cursor: progress;
|
|
}
|
|
.import-title {
|
|
font-family: var(--mono);
|
|
font-size: 0.72rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
color: var(--accent2);
|
|
}
|
|
.import-sub {
|
|
margin-top: 0.25rem;
|
|
font-family: var(--mono);
|
|
font-size: 0.68rem;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
/* ── Cover grid ─────────────────────────────────────────────────── */
|
|
|
|
.cover-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.book-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.cover-wrap {
|
|
position: relative;
|
|
width: 100%;
|
|
aspect-ratio: 2 / 3;
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
background: var(--surface2);
|
|
}
|
|
|
|
.cover-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.cover-canvas {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
|
|
/* Badge: status top-right */
|
|
.badge-status {
|
|
position: absolute;
|
|
top: 0.4rem;
|
|
right: 0.4rem;
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 2;
|
|
background: rgba(15,14,12,0.82);
|
|
box-shadow: 0 0 0 2px #0f0e0c;
|
|
}
|
|
.badge-complete { color: #6baa6b; }
|
|
.badge-ongoing { color: #4a90b8; }
|
|
.badge-temporary-hold { color: #c8a03a; }
|
|
.badge-long-term-hold { color: #ffa20e; }
|
|
|
|
/* Star: want-to-read top-left */
|
|
.btn-star {
|
|
position: absolute;
|
|
top: 0.35rem;
|
|
left: 0.35rem;
|
|
width: 22px;
|
|
height: 22px;
|
|
border: none;
|
|
background: rgba(15,14,12,0.82);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
color: var(--text-faint);
|
|
transition: color 0.15s, background 0.15s;
|
|
padding: 0;
|
|
z-index: 2;
|
|
box-shadow: 0 0 0 2px #0f0e0c;
|
|
}
|
|
.btn-star:hover { color: var(--warning); background: rgba(15,14,12,0.82); }
|
|
.btn-star.starred { color: var(--warning); }
|
|
|
|
/* Book info below cover */
|
|
.book-info { padding: 0.5rem 0.2rem 0; }
|
|
.book-title {
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
line-height: 1.3;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
.book-author {
|
|
font-family: var(--mono);
|
|
font-size: 0.65rem;
|
|
color: var(--text-dim);
|
|
margin-top: 0.2rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.book-series {
|
|
font-family: var(--mono);
|
|
font-size: 0.6rem;
|
|
color: var(--text-dim);
|
|
margin-top: 0.15rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.series-index { color: var(--accent2); }
|
|
|
|
/* Read count pill */
|
|
.read-pill {
|
|
position: absolute; bottom: 0.35rem; right: 0.35rem;
|
|
background: rgba(255,162,14,0.88); color: #0f0e0c;
|
|
font-family: var(--mono); font-size: 0.6rem; font-weight: 500;
|
|
padding: 0.1rem 0.38rem; border-radius: 3px; z-index: 2; pointer-events: none;
|
|
}
|
|
|
|
/* Reading progress mini bar at bottom of cover */
|
|
.progress-mini {
|
|
position: absolute; bottom: 0; left: 0; right: 0;
|
|
height: 3px; z-index: 2; pointer-events: none;
|
|
background: rgba(255,162,14,0.25);
|
|
}
|
|
.progress-mini-fill { height: 100%; background: var(--accent); }
|
|
|
|
/* ── Dialogs ─────────────────────────────────────────────────────── */
|
|
|
|
.overlay {
|
|
display: none;
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0,0,0,0.65);
|
|
backdrop-filter: blur(2px);
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 100;
|
|
}
|
|
.overlay.visible { display: flex; }
|
|
|
|
.dialog {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 2rem;
|
|
max-width: 420px;
|
|
width: 90%;
|
|
}
|
|
.dialog-title {
|
|
font-family: var(--mono);
|
|
font-size: 0.7rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
.dialog-title.del { color: var(--error); }
|
|
.dialog-title.cover { color: var(--warning); }
|
|
.dialog p { font-size: 0.88rem; color: var(--text-dim); margin-bottom: 1.25rem; }
|
|
.dialog p strong { color: var(--text); }
|
|
.dialog-actions { display: flex; gap: 0.75rem; justify-content: flex-end; }
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding: 0.35rem 0.75rem;
|
|
border-radius: var(--radius);
|
|
font-family: var(--mono);
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
border: none;
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
.btn-cancel { background: var(--surface2); color: var(--text-dim); border: 1px solid var(--border); }
|
|
.btn-cancel:hover { color: var(--text); }
|
|
.btn-confirm-del { background: rgba(200,90,58,0.15); color: var(--error); border: 1px solid rgba(200,90,58,0.3); }
|
|
.btn-confirm-del:hover { background: rgba(200,90,58,0.28); }
|
|
.btn-confirm-cover { background: rgba(200,160,58,0.15); color: var(--warning); border: 1px solid rgba(200,160,58,0.3); }
|
|
.btn-confirm-cover:hover { background: rgba(200,160,58,0.28); }
|
|
.btn-confirm-cover:disabled { opacity: 0.4; cursor: not-allowed; }
|
|
|
|
.cover-upload-area {
|
|
border: 1px dashed var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 1rem;
|
|
text-align: center;
|
|
margin-bottom: 1rem;
|
|
cursor: pointer;
|
|
transition: border-color 0.15s;
|
|
position: relative;
|
|
}
|
|
.cover-upload-area:hover { border-color: var(--warning); }
|
|
.cover-upload-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
|
|
.cover-upload-label { font-family: var(--mono); font-size: 0.78rem; color: var(--text-dim); pointer-events: none; }
|
|
.cover-upload-label span { color: var(--warning); }
|
|
.cover-preview {
|
|
display: none; max-height: 160px; max-width: 110px;
|
|
border-radius: var(--radius); margin: 0 auto 0.5rem; object-fit: contain;
|
|
}
|
|
.cover-preview.visible { display: block; }
|
|
|
|
.spinner-inline {
|
|
display: none; width: 12px; height: 12px;
|
|
border: 2px solid var(--text-faint); border-top-color: var(--accent);
|
|
border-radius: 50%; animation: spin 0.7s linear infinite;
|
|
}
|
|
@keyframes spin { to { transform: rotate(360deg); } }
|
|
|
|
/* ── Series view ─────────────────────────────────────────────────────────── */
|
|
|
|
.series-card { display: flex; flex-direction: column; cursor: pointer; }
|
|
|
|
.series-cover-wrap {
|
|
position: relative;
|
|
width: calc(100% - 12px);
|
|
aspect-ratio: 2/3;
|
|
overflow: visible;
|
|
margin-left: 2px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.sci {
|
|
position: absolute; inset: 0;
|
|
border-radius: var(--radius); overflow: hidden;
|
|
background: var(--surface2); border: 1px solid var(--border);
|
|
}
|
|
.sci canvas, .sci img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
|
.sci-3 { transform: translate(10px, -10px) rotate(5deg); z-index: 1; }
|
|
.sci-2 { transform: translate(5px, -5px) rotate(2.5deg); z-index: 2; }
|
|
.sci-1 { z-index: 3; }
|
|
|
|
.series-info { padding: 0.65rem 0.2rem 0; }
|
|
.series-name {
|
|
font-size: 0.78rem; font-weight: 700; color: var(--text); line-height: 1.3;
|
|
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
|
|
}
|
|
.series-meta {
|
|
font-family: var(--mono); font-size: 0.65rem; color: var(--text-dim);
|
|
margin-top: 0.3rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
|
|
}
|
|
.series-dots { display: flex; gap: 0.22rem; align-items: center; }
|
|
.series-dot { width: 7px; height: 7px; border-radius: 50%; }
|
|
.dot-read { background: var(--success); }
|
|
.dot-reading { background: var(--accent); }
|
|
.dot-unread { background: var(--border); }
|
|
|
|
/* ── Series detail ───────────────────────────────────────────────────────── */
|
|
|
|
.detail-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.75rem; }
|
|
.btn-back {
|
|
display: inline-flex; align-items: center; gap: 0.35rem;
|
|
padding: 0.3rem 0.65rem; border-radius: var(--radius);
|
|
font-family: var(--mono); font-size: 0.7rem;
|
|
background: var(--surface2); color: var(--text-dim);
|
|
border: 1px solid var(--border); cursor: pointer;
|
|
transition: color 0.12s, border-color 0.12s;
|
|
}
|
|
.btn-back:hover { color: var(--text); border-color: var(--text-faint); }
|
|
|
|
.series-slot { display: flex; flex-direction: column; }
|
|
.slot-index-label {
|
|
font-family: var(--mono); font-size: 0.6rem; color: var(--accent2);
|
|
text-align: center; margin-bottom: 0.2rem; letter-spacing: 0.04em;
|
|
}
|
|
.slot-missing .cover-wrap { border: 2px dashed var(--border); display: flex; align-items: center; justify-content: center; }
|
|
.slot-missing-inner {
|
|
display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
|
|
color: var(--text-faint); pointer-events: none; user-select: none;
|
|
}
|
|
.slot-missing-inner svg { opacity: 0.5; }
|
|
.slot-missing-inner span { font-family: var(--mono); font-size: 0.65rem; }
|
|
|
|
/* ── Authors list ─────────────────────────────────────────────────────────── */
|
|
|
|
.author-list { display: flex; flex-direction: column; gap: 0.3rem; }
|
|
.author-item {
|
|
display: flex; align-items: center; gap: 0.75rem;
|
|
padding: 0.55rem 0.75rem; border-radius: var(--radius);
|
|
cursor: pointer; border: 1px solid var(--border);
|
|
background: var(--surface); transition: background 0.12s, border-color 0.12s;
|
|
}
|
|
.author-item:hover { background: var(--surface2); border-color: var(--text-faint); }
|
|
.author-avatar {
|
|
width: 32px; height: 32px; border-radius: 50%;
|
|
display: flex; align-items: center; justify-content: center;
|
|
font-family: var(--mono); font-size: 0.72rem; font-weight: 700;
|
|
flex-shrink: 0; color: #0f0e0c;
|
|
}
|
|
.author-name { flex: 1; font-size: 0.82rem; color: var(--text); }
|
|
.author-count { font-family: var(--mono); font-size: 0.65rem; color: var(--text-dim); white-space: nowrap; }
|
|
.author-chevron { color: var(--text-faint); margin-left: 0.25rem; }
|
|
|
|
/* ── Search bar ──────────────────────────────────────────────────────── */
|
|
|
|
.search-wrap { position: relative; display: flex; align-items: center; }
|
|
.search-icon { position: absolute; left: 0.5rem; color: var(--text-faint); pointer-events: none; }
|
|
.search-input {
|
|
background: var(--surface); border: 1px solid var(--border);
|
|
border-radius: var(--radius); color: var(--text);
|
|
font-family: var(--mono); font-size: 0.78rem;
|
|
padding: 0.4rem 1.8rem 0.4rem 2rem;
|
|
outline: none; width: 220px;
|
|
transition: border-color 0.15s, width 0.2s;
|
|
}
|
|
.search-input:focus { border-color: var(--accent); width: 280px; }
|
|
.search-input::placeholder { color: var(--text-faint); }
|
|
.search-clear {
|
|
position: absolute; right: 0.4rem;
|
|
background: none; border: none; color: var(--text-faint);
|
|
cursor: pointer; font-size: 1rem; line-height: 1; padding: 0 0.1rem;
|
|
}
|
|
.search-clear:hover { color: var(--text-dim); }
|
|
|
|
/* ── Responsive ──────────────────────────────────────────────────────── */
|
|
|
|
@media (max-width: 768px) {
|
|
.main {
|
|
margin-left: 0;
|
|
padding: 4rem 1rem 4rem;
|
|
}
|
|
|
|
.main-header {
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.cover-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.search-input { width: 100%; }
|
|
.search-input:focus { width: 100%; }
|
|
.search-wrap { flex: 1; min-width: 0; }
|
|
|
|
.author-item { padding: 0.5rem 0.6rem; }
|
|
}
|
|
|
|
|
|
.publishers-wrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.9rem;
|
|
}
|
|
|
|
.publisher-missing-wrap {
|
|
border: 1px solid rgba(255, 162, 14, 0.28);
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.publisher-missing-item {
|
|
background: rgba(255, 162, 14, 0.08);
|
|
}
|
|
|
|
.publisher-divider {
|
|
font-family: var(--mono);
|
|
font-size: 0.66rem;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
color: var(--text-dim);
|
|
border-top: 1px solid var(--border);
|
|
padding-top: 0.8rem;
|
|
}
|
|
|
|
/* ── Star rating ────────────────────────────────────────────────────────── */
|
|
|
|
.star-row {
|
|
display: flex;
|
|
gap: 0.1rem;
|
|
margin-top: 0.3rem;
|
|
padding: 0 0.1rem;
|
|
}
|
|
|
|
.star {
|
|
font-size: 0.72rem;
|
|
color: rgba(200, 160, 58, 0.25);
|
|
cursor: default;
|
|
line-height: 1;
|
|
transition: color 0.1s;
|
|
user-select: none;
|
|
}
|
|
|
|
.star.filled {
|
|
color: var(--warning);
|
|
}
|
|
|
|
.star-row.interactive .star {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.star-row.interactive:hover .star {
|
|
color: var(--accent2);
|
|
}
|
|
|
|
/* ── New view controls + list mode ─────────────────────────────────────── */
|
|
|
|
.new-controls {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.new-controls-bar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.6rem;
|
|
border: 1px solid var(--border);
|
|
background: rgba(34, 31, 27, 0.5);
|
|
border-radius: var(--radius);
|
|
padding: 0.55rem 0.6rem;
|
|
}
|
|
|
|
.new-view-toggle {
|
|
display: inline-flex;
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.new-actions {
|
|
position: relative;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 0.45rem;
|
|
}
|
|
|
|
.btn.btn-view,
|
|
.btn.btn-light,
|
|
.btn.btn-mark-reviewed {
|
|
border: 1px solid var(--border);
|
|
background: var(--surface2);
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.btn.btn-view.active {
|
|
border-color: rgba(255, 162, 14, 0.45);
|
|
background: rgba(255, 162, 14, 0.16);
|
|
color: var(--accent2);
|
|
}
|
|
|
|
.btn.btn-light:hover,
|
|
.btn.btn-view:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.btn.btn-mark-reviewed {
|
|
border-color: rgba(107, 170, 107, 0.35);
|
|
background: rgba(107, 170, 107, 0.14);
|
|
color: var(--success);
|
|
}
|
|
|
|
.btn.btn-mark-reviewed:hover {
|
|
background: rgba(107, 170, 107, 0.24);
|
|
}
|
|
|
|
.btn.btn-mark-reviewed:disabled {
|
|
opacity: 0.45;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btn.btn-bulk-delete {
|
|
border: 1px solid rgba(200, 90, 58, 0.35);
|
|
background: rgba(200, 90, 58, 0.14);
|
|
color: var(--error);
|
|
}
|
|
|
|
.btn.btn-bulk-delete:hover {
|
|
background: rgba(200, 90, 58, 0.24);
|
|
}
|
|
|
|
.btn.btn-bulk-delete:disabled {
|
|
opacity: 0.45;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.new-selection-count {
|
|
font-family: var(--mono);
|
|
font-size: 0.68rem;
|
|
color: var(--text-dim);
|
|
padding: 0 0.1rem;
|
|
}
|
|
|
|
.new-columns-menu {
|
|
display: none;
|
|
position: absolute;
|
|
top: calc(100% + 0.4rem);
|
|
right: 0;
|
|
z-index: 20;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: var(--surface);
|
|
min-width: 190px;
|
|
max-height: 260px;
|
|
overflow: auto;
|
|
padding: 0.35rem;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.new-columns-menu.visible {
|
|
display: block;
|
|
}
|
|
|
|
.new-col-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
padding: 0.3rem 0.35rem;
|
|
border-radius: 4px;
|
|
font-family: var(--mono);
|
|
font-size: 0.68rem;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.new-col-item:hover {
|
|
background: var(--surface2);
|
|
color: var(--text);
|
|
}
|
|
|
|
.new-list-wrap {
|
|
overflow: auto;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: rgba(34, 31, 27, 0.48);
|
|
}
|
|
|
|
.new-list-table {
|
|
width: 100%;
|
|
min-width: 980px;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.new-list-table thead th {
|
|
text-align: left;
|
|
padding: 0.55rem 0.5rem;
|
|
font-family: var(--mono);
|
|
font-size: 0.63rem;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
color: var(--accent2);
|
|
border-bottom: 1px solid var(--border);
|
|
background: rgba(15, 14, 12, 0.35);
|
|
}
|
|
|
|
.new-list-table tbody td {
|
|
padding: 0.52rem 0.5rem;
|
|
border-bottom: 1px solid rgba(46, 42, 36, 0.55);
|
|
font-size: 0.74rem;
|
|
color: var(--text);
|
|
vertical-align: top;
|
|
}
|
|
|
|
.new-list-table tbody tr {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.new-list-table tbody tr:hover {
|
|
background: rgba(255, 162, 14, 0.08);
|
|
}
|
|
|
|
.new-col-select {
|
|
width: 34px;
|
|
min-width: 34px;
|
|
text-align: center;
|
|
}
|
|
|
|
.new-list-table .col-title {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.new-list-table .col-center {
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.main {
|
|
padding: 1.2rem 1rem 2rem;
|
|
}
|
|
|
|
.new-controls-bar {
|
|
align-items: stretch;
|
|
}
|
|
|
|
.new-actions {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.new-columns-menu {
|
|
left: 0;
|
|
right: auto;
|
|
}
|
|
}
|
|
|
|
/* ── Bookmark cards ─────────────────────────────────────────────────────── */
|
|
|
|
.bm-card {
|
|
display: flex;
|
|
gap: 1rem;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 0.9rem 1rem;
|
|
margin-bottom: 0.75rem;
|
|
max-width: 720px;
|
|
}
|
|
|
|
.bm-card-cover {
|
|
flex-shrink: 0;
|
|
width: 60px; height: 90px;
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
display: block;
|
|
background: var(--surface2);
|
|
}
|
|
|
|
.bm-card-cover img {
|
|
width: 100%; height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.bm-card-body {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.2rem;
|
|
}
|
|
|
|
.bm-card-book {
|
|
font-family: var(--serif);
|
|
font-size: 0.9rem;
|
|
color: var(--text);
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.bm-card-author {
|
|
font-family: var(--mono);
|
|
font-size: 0.7rem;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.bm-card-chapter {
|
|
font-family: var(--mono);
|
|
font-size: 0.72rem;
|
|
color: var(--accent);
|
|
margin-top: 0.15rem;
|
|
}
|
|
|
|
.bm-card-note {
|
|
font-family: var(--mono);
|
|
font-size: 0.75rem;
|
|
color: var(--text-dim);
|
|
margin-top: 0.3rem;
|
|
white-space: pre-wrap;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.bm-card-meta {
|
|
font-family: var(--mono);
|
|
font-size: 0.65rem;
|
|
color: var(--text-faint);
|
|
margin-top: auto;
|
|
padding-top: 0.4rem;
|
|
}
|
|
|
|
.bm-card-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.btn-small {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0.25rem 0.65rem;
|
|
border-radius: var(--radius);
|
|
font-family: var(--mono);
|
|
font-size: 0.68rem;
|
|
cursor: pointer;
|
|
border: 1px solid var(--border);
|
|
background: none;
|
|
color: var(--text-dim);
|
|
text-decoration: none;
|
|
transition: color 0.12s, border-color 0.12s;
|
|
}
|
|
|
|
.btn-small:hover {
|
|
color: var(--text);
|
|
border-color: var(--text-faint);
|
|
}
|
|
|
|
.btn-small.btn-danger {
|
|
color: var(--error);
|
|
border-color: rgba(200,90,58,0.3);
|
|
}
|
|
|
|
.btn-small.btn-danger:hover {
|
|
background: rgba(200,90,58,0.1);
|
|
border-color: var(--error);
|
|
}
|