Compare commits

..
1 Commits
Author SHA1 Message Date
Sylphian 69448499e8 feat: minor ui changes 2026-10-10 23:21:20 +07:00
2 changed files with 12 additions and 11 deletions
+11 -10
View File
@@ -616,6 +616,7 @@ body {
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
gap: 1.5rem;
} }
} }
@@ -623,6 +624,7 @@ body {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 0.5rem; gap: 0.5rem;
flex-shrink: 0;
} }
.library-counter { .library-counter {
@@ -635,17 +637,17 @@ body {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 0.5rem; gap: 0.5rem;
flex: 1;
} }
.search-wrap { .search-wrap {
position: relative; position: relative;
flex: 1; flex: 1;
display: flex;
} }
@media (min-width: 640px) { .search-wrap .input-text {
.search-wrap { width: 100%;
width: 16rem;
}
} }
.book-shelf { .book-shelf {
@@ -774,15 +776,14 @@ body {
} }
.btn-book-fix { .btn-book-fix {
color: #BAE6FD; color: var(--text-muted);
background-color: var(--btn-blue-hover); background-color: transparent;
border: 1px solid var(--btn-blue); border: 1px solid var(--border);
} }
.btn-book-fix:hover { .btn-book-fix:hover {
background-color: var(--btn-blue); color: var(--primary-accent);
color: #FFFFFF; border-color: var(--primary-accent);
border-color: var(--btn-blue-border);
} }
.btn-book-delete { .btn-book-delete {
+1 -1
View File
@@ -631,7 +631,7 @@ function renderEpubs(list, isFiltered = false) {
</div> </div>
<div class="book-actions"> <div class="book-actions">
<a href="/api/epubs/${encodeURIComponent(f.name)}" download class="btn-book-action btn-book-download">Download</a> <a href="/api/epubs/${encodeURIComponent(f.name)}" download class="btn-book-action btn-book-download">Download</a>
<button type="button" onclick="triggerFix('${encodeURIComponent(f.name)}')" class="btn-book-action btn-book-fix">Fix (APE)</button> <button type="button" onclick="triggerFix('${encodeURIComponent(f.name)}')" class="btn-book-action btn-book-fix">Fix</button>
<div class="delete-wrap" id="delWrap_${CSS.escape(f.name)}"> <div class="delete-wrap" id="delWrap_${CSS.escape(f.name)}">
<button type="button" onclick="confirmDelete('${encodeURIComponent(f.name)}')" class="btn-book-action btn-book-delete">Delete</button> <button type="button" onclick="confirmDelete('${encodeURIComponent(f.name)}')" class="btn-book-action btn-book-delete">Delete</button>
</div> </div>