|
|
@@ -50,8 +50,39 @@
|
|
|
.summary-grid strong { display: block; margin: 7px 0 2px; color: #21352e; font-size: 29px; line-height: 1; }
|
|
|
.summary-grid small { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
|
|
-.data-table { min-width: 1500px; }
|
|
|
-.row-actions { min-width: 122px; flex-wrap: nowrap; }
|
|
|
+// Allocate space by content instead of letting long dates push actions off-screen.
|
|
|
+.data-table { width: 100%; min-width: 1120px; table-layout: fixed; }
|
|
|
+.store-col { width: 13%; }
|
|
|
+.parent-col { width: 8%; }
|
|
|
+.contact-col { width: 10.5%; }
|
|
|
+.count-col { width: 5%; }
|
|
|
+.studying-col { width: 7%; }
|
|
|
+.schedule-col { width: 6%; }
|
|
|
+.status-col { width: 7%; }
|
|
|
+.date-col { width: 9%; }
|
|
|
+.actions-col { width: 14.5%; }
|
|
|
+.data-table th, .data-table td { padding: 16px 10px; vertical-align: middle; }
|
|
|
+.data-table th:first-child, .data-table td:first-child { padding-left: 20px; }
|
|
|
+.data-table td { overflow-wrap: anywhere; }
|
|
|
+.data-table th:nth-child(n+4):nth-child(-n+8),
|
|
|
+.data-table td:nth-child(n+4):nth-child(-n+8),
|
|
|
+.data-table th:nth-last-child(-n+2), .data-table td:nth-last-child(-n+2) { text-align: center; }
|
|
|
+.data-table td:nth-child(n+4):nth-child(-n+10) { font-variant-numeric: tabular-nums; }
|
|
|
+.data-table th:nth-child(n+4):nth-child(-n+8),
|
|
|
+.data-table td:nth-child(n+4):nth-child(-n+8) { padding-inline: 6px; }
|
|
|
+.data-table td:nth-child(n+4):nth-child(-n+8), .data-table .badge { white-space: nowrap; }
|
|
|
+.data-table th:last-child, .data-table td:last-child {
|
|
|
+ position: sticky;
|
|
|
+ right: 0;
|
|
|
+ z-index: 1;
|
|
|
+ padding-inline: 16px;
|
|
|
+ background: #fff;
|
|
|
+ box-shadow: -1px 0 0 #edf1ef;
|
|
|
+}
|
|
|
+.data-table th:last-child { background: #f6f9f7; }
|
|
|
+.row-actions { display: flex; min-width: 0; justify-content: center; gap: 8px; flex-wrap: nowrap; }
|
|
|
+.row-actions .icon-action { flex: 0 0 34px; }
|
|
|
+
|
|
|
.store-editor { width: min(640px, 100%); }
|
|
|
.store-editor header p { margin: 0; color: #258b68; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
|
|
|
.store-editor header h2 { margin: 5px 0 7px; }
|
|
|
@@ -66,8 +97,8 @@
|
|
|
.read-only { color: #71817b; font-size: 12px; }
|
|
|
|
|
|
@media (max-width: 1180px) { .summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
|
|
|
-@media (max-width: 1000px) {
|
|
|
- .toolbar { grid-template-columns: minmax(220px, 1fr) minmax(160px, .55fr) auto auto; }
|
|
|
+@media (max-width: 1180px) {
|
|
|
+ .toolbar { grid-template-columns: minmax(0, 1fr) minmax(160px, .55fr) auto auto; }
|
|
|
.toolbar .grow { min-width: 0; }
|
|
|
.toolbar label:not(.grow) { min-width: 160px; }
|
|
|
}
|