qr-scanner/static/style.css

61 lines
975 B
CSS

:root {
--app-primary: #2563eb;
--app-border: #e5e7eb;
--app-bg: #f9fafb;
}
.dropzone {
border: 2px dashed var(--app-border);
border-radius: 12px;
padding: 22px 16px;
background: #fff;
text-align: center;
cursor: pointer;
user-select: none;
}
.dropzone.dragover {
border-color: #60a5fa;
background: #eff6ff;
}
.file-list .file-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 0;
border-top: 1px solid var(--app-border);
}
.file-list .file-item:first-child {
border-top: 0;
}
.file-list .file-name {
min-width: 0;
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.stat {
border: 1px solid var(--app-border);
border-radius: 12px;
padding: 12px;
background: #fff;
}
.stat-label {
font-size: 12px;
color: #6b7280;
}
.stat-value {
font-size: 24px;
font-weight: 700;
line-height: 32px;
font-variant-numeric: tabular-nums;
color: #111827;
}