Highlights: - Warehouse module: receipts, issues, reservations, inventory, reports, dashboard, master data (categories, suppliers, locations), FIFO service, integration tests - Docházka: mzda PDF counting model (Odpracováno / Vč. svátků / Přesčas / Svátek / So/Ne / Noc) with Czech weekday names and decimal hours - AttendanceAdmin/AttendanceHistory KPI cards unified to mzda formula with fund bar colored by delta, badges for Práce/Dov/Nem/Sv/Nep - Remove leave_type=holiday entirely (auto-computed from Czech public holidays) - Allow multiple work shifts per day (overlap detection only) - Pre-flight refresh in api.ts eliminates spurious 401s on fresh page loads - Prisma: company_settings gets 6 nullable columns for warehouse numbering (PRI/VYD/INV prefixes, default patterns); migration seeds defaults
142 lines
2.4 KiB
CSS
142 lines
2.4 KiB
CSS
/* ============================================================================
|
|
Tables
|
|
============================================================================ */
|
|
|
|
.admin-table-wrapper,
|
|
.admin-table-responsive {
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.admin-table {
|
|
width: 100%;
|
|
min-width: 650px;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.admin-table th {
|
|
text-align: left;
|
|
padding: 10px 16px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
border-bottom: 1px solid var(--border-color);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin-table td {
|
|
padding: 11px 16px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
color: var(--text-secondary);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin-table tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.admin-table th,
|
|
.admin-table td {
|
|
padding: 8px 10px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-table th {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.admin-table-avatar {
|
|
width: 32px;
|
|
height: 32px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.admin-table-name {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-table-username {
|
|
font-size: 11px;
|
|
}
|
|
}
|
|
|
|
.admin-table-user {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin-table-avatar {
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 50%;
|
|
background: var(--accent-light);
|
|
color: var(--accent-color);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-table-name {
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin-table-username {
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin-table-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
/* Inactive row — dimmed text to indicate disabled/deactivated items */
|
|
.admin-table-row-inactive td {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.admin-table-row-inactive td a {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Tables - compact on mobile, better scroll indication */
|
|
@media (max-width: 640px) {
|
|
.admin-table-wrapper,
|
|
.admin-table-responsive {
|
|
margin: 0 -1rem;
|
|
padding: 0 1rem;
|
|
position: relative;
|
|
}
|
|
|
|
.admin-table {
|
|
min-width: 500px;
|
|
}
|
|
|
|
.admin-table th,
|
|
.admin-table td {
|
|
padding: 8px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.admin-table th {
|
|
font-size: 9px;
|
|
}
|
|
|
|
.admin-table-actions {
|
|
gap: 0.25rem;
|
|
}
|
|
}
|