qr-scanner/static/style.css

95 lines
1.5 KiB
CSS

:root {
--app-primary: #2563eb;
--app-border: #e5e7eb;
--app-bg: #f9fafb;
}
.app-shell {
max-width: 1080px;
}
.card {
border-radius: 14px;
border-color: var(--app-border);
}
.card-header,
.card-footer {
background: #fff;
}
.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;
}
.settings-overlay {
position: fixed;
inset: 0;
background: rgba(17, 24, 39, 0.35);
display: flex;
align-items: flex-end;
justify-content: flex-end;
padding: 16px;
z-index: 1050;
}
.settings-panel {
width: min(360px, calc(100vw - 32px));
background: #fff;
border: 1px solid var(--app-border);
border-radius: 14px;
padding: 14px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}