docs: shorten the readme and trim code comments
This commit is contained in:
+4
-7
@@ -57,8 +57,7 @@ button:disabled { opacity: 0.6; cursor: default; }
|
||||
.tag.warn { background: #8a6d1f; }
|
||||
|
||||
/* per-entry import feedback */
|
||||
/* :not([hidden]) matters: a plain "display: flex" would beat the hidden
|
||||
attribute and leave an empty bar sitting there (same trap as a <dialog>) */
|
||||
/* :not([hidden]): a plain display rule would beat the hidden attribute */
|
||||
#import-progress:not([hidden]) { display: flex; align-items: center; gap: 0.6rem; flex: 1; }
|
||||
#import-progress progress { flex: 1; max-width: 26rem; height: 0.7rem; }
|
||||
tr.row-running { background: rgba(90, 140, 220, 0.12); }
|
||||
@@ -122,10 +121,8 @@ dialog label { display: flex; flex-direction: column; gap: 0.2rem; margin: 0.5re
|
||||
.series-list input[type=checkbox] { flex: none; }
|
||||
.series-list .num { flex: none; min-width: 3.2em; color: var(--muted); font-variant-numeric: tabular-nums; }
|
||||
.series-list .gap { padding: 0.35rem 0.6rem; color: var(--muted); font-size: 0.85rem; }
|
||||
/* the dialog keeps head and foot in place; only the results scroll, so the
|
||||
"manuell anlegen" panel stays reachable no matter how many hits came back */
|
||||
/* [open] matters: a bare "#quick-dialog { display: flex }" would override the
|
||||
browser's display:none for a closed dialog and leave it stuck on screen */
|
||||
/* head and foot stay in place, only the results scroll */
|
||||
/* [open]: a bare display rule would leave the closed dialog on screen */
|
||||
#quick-dialog[open] { display: flex; flex-direction: column; }
|
||||
#quick-dialog { max-height: 85vh; width: min(680px, 92vw); }
|
||||
#quick-scroll { flex: 1 1 auto; min-height: 4rem; overflow-y: auto; margin-top: 0.6rem; }
|
||||
@@ -140,7 +137,7 @@ dialog label { display: flex; flex-direction: column; gap: 0.2rem; margin: 0.5re
|
||||
#quick-search-form { gap: 0.5rem; }
|
||||
#quick-q { flex: 1 1 auto; min-width: 0; }
|
||||
#quick-file { word-break: break-word; }
|
||||
/* one row per hit: cover | title + meta line | action */
|
||||
/* one row per hit */
|
||||
#quick-results .card { align-items: center; gap: 0.7rem; padding: 0.45rem 0.6rem; }
|
||||
#quick-results .card-body { flex: 1 1 auto; gap: 0.1rem; }
|
||||
#quick-results .card-body strong { line-height: 1.25; }
|
||||
|
||||
Reference in New Issue
Block a user