File size: 3,647 Bytes
2b4ff97 fe00aec 2b4ff97 fe00aec 2b4ff97 fe00aec 2b4ff97 fe00aec 2b4ff97 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | :root {
--bg-color: #f4f7fa;
--card-bg: #ffffff;
--text-color: #1a202c;
--muted-color: #718096;
--border-color: #e2e8f0;
--primary-color: #4299e1;
--primary-hover: #2b6cb0;
--red: #e53e3e;
--green: #38a169;
--yellow: #ecc94b;
--font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
body {
font-family: var(--font-family);
background-color: var(--bg-color);
color: var(--text-color);
margin: 0;
padding: 24px;
}
header { text-align: center; margin-bottom: 32px; }
h1 { font-size: 28px; margin-bottom: 8px; }
h2 { font-size: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 8px; margin-top: 0; }
.muted { color: var(--muted-color); font-size: 14px; }
.grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; }
.card {
background-color: var(--card-bg);
border-radius: 8px;
padding: 24px;
box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}
.hidden { display: none; }
.btn {
display: inline-block;
background-color: var(--primary-color);
color: white;
padding: 10px 16px;
border-radius: 6px;
cursor: pointer;
font-weight: bold;
text-align: center;
transition: background-color 0.2s ease;
}
.btn:hover { background-color: var(--primary-hover); }
.actions { margin-top: 24px; display: flex; gap: 12px; }
.process-btn, .reset-btn { flex-grow: 1; border: none; font-size: 16px; }
.reset-btn { background-color: #a0aec0; }
.reset-btn:hover { background-color: var(--muted-color); }
.delete-btn {
background-color: transparent;
border: 1px solid var(--red);
color: var(--red);
padding: 4px 8px;
border-radius: 4px;
cursor: pointer;
transition: all 0.2s ease;
}
.delete-btn:hover { background-color: var(--red); color: white; }
.dropzone {
border: 2px dashed var(--border-color);
border-radius: 8px;
padding: 40px 20px;
text-align: center;
margin-top: 16px;
color: var(--muted-color);
transition: background-color 0.2s ease, border-color 0.2s ease;
}
.dropzone.drag { background-color: #ebf8ff; border-color: var(--primary-color); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-color); }
th { font-weight: bold; color: var(--muted-color); text-transform: uppercase; font-size: 12px; }
tbody tr { transition: background-color 0.2s ease; }
tbody tr:hover { background-color: #f7fafc; }
td .thumbnail { width: 60px; height: 40px; object-fit: cover; border-radius: 4px; }
.summary-cards-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.summary-card { background-color: #f7fafc; border: 1px solid var(--border-color); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; }
.summary-card span { font-size: 14px; color: var(--muted-color); margin-bottom: 8px; }
.summary-card strong { font-size: 22px; font-weight: bold; }
.progress-bar-container { width: 100%; height: 12px; background-color: var(--border-color); border-radius: 6px; overflow: hidden; margin-bottom: 24px; }
.progress-bar { height: 100%; width: 0%; background-color: var(--green); border-radius: 6px; transition: width 0.5s ease-out, background-color 0.5s ease; }
.hr { border: none; height: 1px; background-color: var(--border-color); margin: 24px 0; }
.error { color: var(--red); font-size: 14px; margin-top: 8px; }
.empty { text-align: center; color: var(--muted-color); padding: 24px; } |