fix: simplify audiobook sleep timer custom input; update README
- Remove OK button and expand-on-click from sleep timer custom row - Always show label + plain number input (no spinners, Enter to confirm) - Update README with all current features (Spotify importer, ABS, lyrics, filters, etc.) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
757c7045ba
commit
cf88d87791
3 files changed
+57
-23
No files matched your search
+6
-9
@@ -950,15 +950,12 @@ nav{flex:1;overflow-y:auto;padding:4px 10px}
|
||||
.abs-picker button{display:block;width:100%;padding:9px 16px;background:none;border:none;color:var(--text);font-family:var(--font);font-size:13px;cursor:pointer;text-align:left;transition:background .15s;white-space:nowrap}
|
||||
.abs-picker button:hover{background:var(--surface2)}
|
||||
.abs-picker button.active{color:var(--accent);font-weight:700}
|
||||
.abs-sleep-custom-row{display:flex;align-items:center;gap:6px;width:100%;padding:9px 16px;background:none;border:none;border-top:1px solid var(--border2);color:var(--text);font-family:var(--font);font-size:13px;cursor:pointer;text-align:left;box-sizing:border-box;transition:background .15s}
|
||||
.abs-sleep-custom-row:hover{background:var(--surface2)}
|
||||
.abs-sleep-custom-row.active{background:var(--surface2);cursor:default;padding:8px 10px}
|
||||
.abs-sleep-custom-label{flex:1;pointer-events:none}
|
||||
.abs-sleep-custom-row.active .abs-sleep-custom-label{display:none}
|
||||
.abs-sleep-custom-row input{display:none;flex:1;min-width:0;padding:5px 8px;background:var(--surface);border:1.5px solid var(--accent);border-radius:6px;color:var(--text);font-family:var(--font);font-size:13px;outline:none}
|
||||
.abs-sleep-custom-row.active input{display:block}
|
||||
.abs-sleep-custom-row button{display:none;padding:5px 12px;background:var(--accent);border:none;border-radius:6px;color:#fff;font-family:var(--font);font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;flex-shrink:0}
|
||||
.abs-sleep-custom-row.active button{display:block}
|
||||
.abs-sleep-custom-row{display:flex;align-items:center;gap:8px;width:100%;padding:7px 16px 9px;border-top:1px solid var(--border2);box-sizing:border-box}
|
||||
.abs-sleep-custom-label{font-size:11px;color:var(--text3);white-space:nowrap;flex-shrink:0}
|
||||
.abs-sleep-custom-row input{flex:1;min-width:0;padding:5px 8px;background:var(--surface);border:1.5px solid var(--border2);border-radius:6px;color:var(--text);font-family:var(--font);font-size:13px;outline:none;transition:border-color .15s}
|
||||
.abs-sleep-custom-row input:focus{border-color:var(--accent)}
|
||||
.abs-sleep-custom-row input[type=number]::-webkit-inner-spin-button,.abs-sleep-custom-row input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
|
||||
.abs-sleep-custom-row input[type=number]{-moz-appearance:textfield}
|
||||
.abs-chapter-list{flex-shrink:0;overflow-y:auto;max-height:0;transition:max-height .3s ease;border-top:1px solid transparent}
|
||||
.abs-chapter-list.open{max-height:220px;border-color:var(--border)}
|
||||
.abs-ch-item{display:flex;align-items:center;gap:10px;padding:8px 20px;cursor:pointer;transition:background .15s}
|
||||
|
||||
Reference in new issue
Block a user