Add local season/episode matching and on-disk rename (skip-on-conflict, confirm-first)

This commit is contained in:
Renamr Scaffold
2026-08-29 02:42:31 +00:00
parent d0c29048be
commit bab9bfa1ec
9 changed files with 851 additions and 24 deletions
+106
View File
@@ -256,6 +256,112 @@
line-height: 1.5;
}
.modal-overlay {
position: fixed;
inset: 0;
z-index: 100;
display: flex;
align-items: center;
justify-content: center;
background: rgba(3, 10, 13, 0.65);
backdrop-filter: blur(2px);
}
.modal-card {
width: min(560px, calc(100vw - 48px));
max-height: min(560px, calc(100vh - 64px));
display: flex;
flex-direction: column;
background: var(--card);
border: 1px solid var(--surface-deep);
border-radius: 14px;
padding: 20px 22px;
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.modal-title {
margin: 0 0 8px;
font-size: 16px;
font-weight: 700;
color: var(--text);
}
.modal-subtitle {
margin: 0 0 14px;
font-size: 12px;
line-height: 1.5;
color: var(--muted-text);
}
.modal-plan-list {
flex: 1;
min-height: 0;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 2px;
background: var(--surface);
border: 1px solid var(--surface-deep);
border-radius: 10px;
padding: 6px;
}
.modal-plan-row {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
padding: 6px 8px;
border-radius: 6px;
font-size: 12px;
}
.modal-plan-row:hover {
background: rgba(255, 255, 255, 0.03);
}
.modal-plan-old {
flex: 1 1 0;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: var(--muted-text);
}
.modal-plan-arrow {
flex: 0 0 auto;
color: var(--aurora-cyan);
}
.modal-plan-new {
flex: 1 1 0;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: var(--text);
font-weight: 600;
}
.modal-note {
margin: 10px 0 0;
font-size: 11px;
color: var(--muted-text);
}
.modal-actions {
margin-top: 16px;
display: flex;
justify-content: flex-end;
gap: 10px;
}
.modal-actions .action-button {
width: auto;
padding: 0 18px;
}
.status-bar {
position: absolute;
left: 18px;