modified version
This commit is contained in:
@@ -197,6 +197,58 @@ body {
|
||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
/* ── Admin list tables ──────────────────────────────────────────────────── */
|
||||
|
||||
/*
|
||||
* All admin CRUD list tables share the admin-table class. They are rendered
|
||||
* into containers that are already full-width, but without an explicit width
|
||||
* the browser collapses tables to their content width. Setting width:100%
|
||||
* stretches every table to the panel width. Striped rows and a light-bordered
|
||||
* header make the data easier to scan. The compact variant reduces cell
|
||||
* padding for tables with many columns (e.g. CL Records).
|
||||
*/
|
||||
.admin-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.admin-table thead th {
|
||||
background: #f8f9fa;
|
||||
border-bottom: 2px solid #dee2e6;
|
||||
padding: 8px 12px;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.admin-table tbody td {
|
||||
padding: 8px 12px;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.admin-table tbody tr:last-child td {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.admin-table tbody tr:hover td {
|
||||
background: #f8f9fa;
|
||||
}
|
||||
|
||||
.admin-table-compact thead th {
|
||||
padding: 6px 8px;
|
||||
}
|
||||
|
||||
.admin-table-compact tbody td {
|
||||
padding: 6px 8px;
|
||||
}
|
||||
|
||||
.admin-table-actions {
|
||||
white-space: nowrap;
|
||||
text-align: right;
|
||||
width: 1%; /* shrink-wrap — the remaining columns get all the space */
|
||||
}
|
||||
|
||||
/* ── Drop zone (drag & drop images) ────────────────────────────────────── */
|
||||
|
||||
.drop-zone {
|
||||
|
||||
Reference in New Issue
Block a user