fix: unify group matrix typography and dashboard order
- use one 12px font size for all matrix cell text - center average score values while keeping the header left-aligned - swap Groups and Labs panels on the admin dashboard
This commit is contained in:
@@ -467,7 +467,7 @@ code.code { padding: 0.125rem 0.5rem; border-radius: var(--radius-xs); font-fami
|
||||
.variant-btn.manual .cell-none { font-weight: 600; }
|
||||
.score-link {
|
||||
display: inline-block; padding: 0; border: none; background: none;
|
||||
font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums;
|
||||
font-size: 0.75rem; font-weight: 600; font-variant-numeric: tabular-nums;
|
||||
color: var(--c-text); cursor: pointer;
|
||||
}
|
||||
.score-link:hover { color: var(--c-accent); text-decoration: underline; }
|
||||
@@ -555,7 +555,17 @@ dialog.dlg.dlg-lg .dlg-body { max-height: 88vh; min-height: 62vh; }
|
||||
font-size: 0.75rem; font-weight: 500; color: var(--c-text-muted);
|
||||
background: var(--c-surface); white-space: nowrap;
|
||||
}
|
||||
.matrix td { vertical-align: middle; padding: 1rem; }
|
||||
.matrix td { vertical-align: middle; padding: 1rem; font-size: 0.75rem; }
|
||||
#group-table td .student-name,
|
||||
#group-table td .score-link,
|
||||
#group-table td .attestation-select,
|
||||
#group-table td .cell-sub,
|
||||
#group-table td .sub-link,
|
||||
#group-table td .cell-btn.st,
|
||||
#group-table td .font-mono,
|
||||
#group-table td .mini-count,
|
||||
#group-table td .badge,
|
||||
#group-table td .btn { font-size: 0.75rem; }
|
||||
/* Непрозрачный фон обязателен: закреплённый столбец не должен просвечивать при прокрутке. */
|
||||
.matrix tbody tr:hover td { background: var(--c-row-hover); }
|
||||
.matrix tbody tr:hover td.matrix-sticky { background: var(--c-row-hover); }
|
||||
@@ -569,7 +579,7 @@ dialog.dlg.dlg-lg .dlg-body { max-height: 88vh; min-height: 62vh; }
|
||||
#group-table td.actions-cell { border-left: 1px solid var(--c-border); }
|
||||
.matrix th.attestation-col,
|
||||
.matrix td.attestation-cell {
|
||||
width: 10rem; min-width: 9.5rem; max-width: 10rem;
|
||||
width: 10.5rem; min-width: 10rem; max-width: 10.5rem;
|
||||
padding-left: 0.35rem; padding-right: 0.35rem;
|
||||
border-left: 1px solid var(--c-border);
|
||||
}
|
||||
@@ -577,7 +587,7 @@ dialog.dlg.dlg-lg .dlg-body { max-height: 88vh; min-height: 62vh; }
|
||||
.matrix td.average-cell {
|
||||
min-width: 7rem; border-left: 1px solid var(--c-border); text-align: left;
|
||||
}
|
||||
.matrix td.average-cell { font-weight: 600; }
|
||||
.matrix td.average-cell { font-weight: 600; text-align: center; }
|
||||
.matrix th.password-col,
|
||||
.matrix td.password-cell { border-left: 1px solid var(--c-border); }
|
||||
.attestation-title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; width: 100%; max-width: 9rem; text-align: left; }
|
||||
@@ -589,7 +599,7 @@ dialog.dlg.dlg-lg .dlg-body { max-height: 88vh; min-height: 62vh; }
|
||||
width: 100%; max-width: 100%; min-width: 0; padding: 0.15rem 0.95rem 0.15rem 0.15rem;
|
||||
border: 1px solid transparent; border-radius: var(--radius-sm);
|
||||
background-color: transparent; color: var(--c-text);
|
||||
font-size: 0.7rem; font-weight: 600; font-variant-numeric: tabular-nums;
|
||||
font-size: 0.75rem; font-weight: 600; font-variant-numeric: tabular-nums;
|
||||
text-align: left; text-align-last: left; cursor: pointer;
|
||||
background-image:
|
||||
linear-gradient(45deg, transparent 50%, currentColor 50%),
|
||||
|
||||
Reference in New Issue
Block a user