frontend for downloading books

This commit is contained in:
2026-01-01 02:59:45 +01:00
parent 58843a8bac
commit a02db95501
4 changed files with 316 additions and 8 deletions

View File

@@ -187,4 +187,42 @@ h2, .subsection-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 1.5r
.chapter-controls { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.search-box { grid-column: span 2; }
.glass-input { width: 100%; }
}
.chapter-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
.chapter-actions {
display: flex;
gap: 10px;
align-items: center;
}
.download-btn {
background: transparent;
border: 1px solid rgba(255,255,255,0.3);
color: #ccc;
padding: 6px 10px;
border-radius: 4px;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
justify-content: center;
}
.download-btn:hover {
background: rgba(255,255,255,0.1);
border-color: #fff;
color: #fff;
}
.download-btn:disabled {
opacity: 0.7;
cursor: wait;
}