fix: polish group matrix headers and cell alignment
- shorten intermediate attestation header to «Пр. атт.» - vertically center row cell contents and left-align values - use normal header color/weight for average, password and actions - align attestation action buttons to equal height - add a divider before the actions column
This commit is contained in:
@@ -546,17 +546,22 @@ dialog.dlg.dlg-lg .dlg-body { max-height: 88vh; min-height: 62vh; }
|
||||
.scroll-x { overflow-x: auto; }
|
||||
.matrix { border-collapse: separate; border-spacing: 0; }
|
||||
.matrix th {
|
||||
vertical-align: top; padding: 0.75rem 1rem; text-align: left;
|
||||
vertical-align: middle; padding: 0.75rem 1rem; text-align: left;
|
||||
font-size: 0.75rem; font-weight: 500; color: var(--c-text-muted);
|
||||
background: var(--c-surface); white-space: nowrap;
|
||||
}
|
||||
.matrix td { vertical-align: top; padding: 1rem; }
|
||||
.matrix td { vertical-align: middle; padding: 1rem; }
|
||||
/* Непрозрачный фон обязателен: закреплённый столбец не должен просвечивать при прокрутке. */
|
||||
.matrix tbody tr:hover td { background: var(--c-row-hover); }
|
||||
.matrix tbody tr:hover td.matrix-sticky { background: var(--c-row-hover); }
|
||||
.matrix tbody tr:last-child td { border-bottom: none; }
|
||||
.matrix th.lab-col { min-width: 9.5rem; border-left: 1px solid var(--c-border); }
|
||||
.matrix td.cell-lab { min-width: 9.5rem; border-left: 1px solid var(--c-border); }
|
||||
#group-table th.password-col,
|
||||
#group-table th.average-col,
|
||||
#group-table th.actions-head { color: var(--c-text); font-weight: 400; }
|
||||
#group-table th.actions-head,
|
||||
#group-table td.actions-cell { border-left: 1px solid var(--c-border); }
|
||||
.matrix th.attestation-col { width: 11rem; min-width: 10rem; max-width: 11rem; border-left: 1px solid var(--c-border); border-right: 1px solid var(--c-border); }
|
||||
.matrix td.attestation-cell { width: 11rem; min-width: 10rem; max-width: 11rem; border-left: 1px solid var(--c-border); border-right: 1px solid var(--c-border); }
|
||||
.matrix th.average-col { min-width: 7rem; border-left: 1px solid var(--c-border); border-right: 1px solid var(--c-border); }
|
||||
@@ -564,14 +569,19 @@ dialog.dlg.dlg-lg .dlg-body { max-height: 88vh; min-height: 62vh; }
|
||||
.attestation-title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; width: 100%; max-width: 9rem; text-align: left; }
|
||||
.attestation-kind { font-weight: 400; color: var(--c-text); white-space: normal; text-align: left; }
|
||||
.attestation-col .lab-col-head, .attestation-col .lab-col-title { text-align: left; }
|
||||
.js-attestation-form { display: flex; justify-content: center; width: 100%; }
|
||||
.attestation-col .lab-head-actions .btn {
|
||||
width: 1.7rem; height: 1.7rem; min-height: 1.7rem; padding: 0;
|
||||
display: inline-flex; align-items: center; justify-content: center;
|
||||
}
|
||||
.attestation-col .lab-head-actions .ico { font-size: 0.95rem; line-height: 1; }
|
||||
.js-attestation-form { display: flex; justify-content: flex-start; width: 100%; }
|
||||
.attestation-select {
|
||||
appearance: none; -webkit-appearance: none;
|
||||
width: 9rem; max-width: 100%; min-width: 0; padding: 0.15rem 1.15rem 0.15rem 0.35rem;
|
||||
border: 1px solid transparent; border-radius: var(--radius-sm);
|
||||
background-color: transparent; color: var(--c-text);
|
||||
font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums;
|
||||
text-align: center; text-align-last: center; cursor: pointer;
|
||||
text-align: left; text-align-last: left; cursor: pointer;
|
||||
background-image:
|
||||
linear-gradient(45deg, transparent 50%, currentColor 50%),
|
||||
linear-gradient(135deg, currentColor 50%, transparent 50%);
|
||||
|
||||
Reference in New Issue
Block a user