Files
rename-mvp/app/static/styles.css
T
2026-03-08 08:56:09 +01:00

259 lines
3.8 KiB
CSS

* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: "Segoe UI", Tahoma, sans-serif;
background: #f2f4f8;
color: #1a1f2b;
}
.topbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
background: #0f172a;
color: #e2e8f0;
}
.topbar h1 {
margin: 0;
font-size: 20px;
}
#sessionMeta {
font-size: 12px;
}
.grid {
display: grid;
grid-template-columns: repeat(4, minmax(280px, 1fr));
gap: 12px;
padding: 12px;
align-items: start;
}
.panel {
background: #ffffff;
border: 1px solid #d7dee9;
border-radius: 8px;
padding: 10px;
min-height: 420px;
display: flex;
flex-direction: column;
}
.panel h2 {
margin: 0 0 10px;
font-size: 16px;
}
.panel h3 {
margin: 10px 0 6px;
font-size: 14px;
}
.row {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 8px;
}
.stack {
display: flex;
flex-direction: column;
}
input[type="text"],
select {
border: 1px solid #c3cedf;
border-radius: 6px;
padding: 6px 8px;
min-width: 160px;
}
button {
border: 1px solid #0f172a;
background: #0f172a;
color: #ffffff;
border-radius: 6px;
padding: 6px 10px;
cursor: pointer;
}
button.secondary {
background: #e2e8f0;
color: #1a1f2b;
border-color: #c3cedf;
}
.list {
list-style: none;
margin: 0;
padding: 0;
max-height: 260px;
overflow: auto;
border: 1px solid #e4eaf2;
border-radius: 6px;
}
.linked-list-wrap {
flex: 1;
min-height: 240px;
max-height: 440px;
}
.linked-list {
height: 100%;
}
.badge {
display: inline-block;
font-size: 11px;
font-weight: 700;
color: #0f172a;
background: #dbeafe;
border: 1px solid #bfdbfe;
border-radius: 999px;
padding: 1px 6px;
margin-right: 6px;
}
.list li.selected {
background: #e0f2fe;
}
.panel-footer {
position: sticky;
bottom: 0;
background: #ffffff;
border-top: 1px solid #e4eaf2;
padding-top: 8px;
margin-top: 8px;
display: flex;
gap: 8px;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
}
.advanced-row {
margin-top: 8px;
justify-content: flex-end;
}
.mismatch {
color: #b91c1c;
font-weight: 700;
}
.modal {
position: fixed;
inset: 0;
background: rgba(2, 6, 23, 0.55);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.modal.hidden {
display: none;
}
.modal-card {
width: min(1100px, 96vw);
background: #ffffff;
border: 1px solid #d7dee9;
border-radius: 10px;
padding: 12px;
}
.modal-head {
justify-content: space-between;
}
.modal-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
margin-top: 8px;
}
.modal-grid .list {
max-height: 280px;
}
#panelSelectedEpisodes .panel-footer button:first-child,
#panelSelectedFiles .panel-footer button:last-child,
#panelSelectedFiles .advanced-row button:last-child {
border-color: #0b3a6e;
background: #0b3a6e;
color: #ffffff;
}
.list li {
display: flex;
justify-content: space-between;
gap: 8px;
border-bottom: 1px solid #edf1f7;
padding: 6px 8px;
font-size: 13px;
}
.list li:last-child {
border-bottom: none;
}
.muted {
color: #475569;
font-size: 12px;
margin-bottom: 8px;
}
#outputBox {
margin: 0;
background: #0b1220;
color: #dbeafe;
border-radius: 6px;
padding: 10px;
max-height: 320px;
overflow: auto;
font-size: 12px;
}
.debug-box {
margin: 0 12px 12px;
background: #ffffff;
border: 1px solid #d7dee9;
border-radius: 8px;
padding: 8px;
}
.debug-box > summary {
cursor: pointer;
user-select: none;
color: #334155;
font-size: 13px;
}
@media (max-width: 1600px) {
.grid {
grid-template-columns: repeat(2, minmax(280px, 1fr));
}
}
@media (max-width: 900px) {
.grid {
grid-template-columns: 1fr;
}
.modal-grid {
grid-template-columns: 1fr;
}
}