fix: align org chart hierarchy and typography weights
This commit is contained in:
1 parent
72d427fcd2
commit
d42466f5eb
33 files changed
+358
-85
No files matched your search
@@ -248,7 +248,7 @@
|
||||
.hm-orgchart-employee:is([data-card-asset], [data-card-layout="compact"]) .hm-orgchart-person-name {
|
||||
color: var(--hm-orgchart-card-color, #071D3A);
|
||||
font-size: var(--hm-orgchart-person-name-size);
|
||||
font-weight: 600;
|
||||
font-weight: 700;
|
||||
line-height: var(--hm-orgchart-person-name-line-height);
|
||||
letter-spacing: var(--hm-orgchart-person-name-letter-spacing);
|
||||
overflow: hidden;
|
||||
@@ -264,7 +264,7 @@
|
||||
.hm-orgchart-employee:is([data-card-asset], [data-card-layout="compact"])[data-card-asset-size="representative"] .hm-orgchart-person-attributes { left: 4px; width: 36px; }
|
||||
.hm-orgchart-employee:is([data-card-asset], [data-card-layout="compact"]) .hm-orgchart-job-title { max-width: 100%; padding: 0 2px; font-size: 8px; line-height: 12px; letter-spacing: -0.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.hm-orgchart-employee:is([data-card-asset], [data-card-layout="compact"])[data-card-asset-size="leader"] .hm-orgchart-job-title { font-size: 9px; font-weight: 700; }
|
||||
.hm-orgchart-employee:is([data-card-asset], [data-card-layout="compact"]):is([data-card-asset-size="employee"], [data-card-layout="compact"]) .hm-orgchart-job-title { font-size: 8.5px; font-weight: 600; }
|
||||
.hm-orgchart-employee:is([data-card-asset], [data-card-layout="compact"]):is([data-card-asset-size="employee"], [data-card-layout="compact"]) .hm-orgchart-job-title { font-size: 8.5px; font-weight: 500; }
|
||||
/* Workdesk source: index.css .rank-position/.role-rank and .bg-*.
|
||||
Preserve the approved SVG geometry and position/name typography. The photo
|
||||
slot uses the existing reserved width because the approved cards are smaller
|
||||
@@ -326,7 +326,7 @@
|
||||
.hm-orgchart-employee:is([data-card-asset], [data-card-layout="compact"]):is([data-card-asset-size="employee"], [data-card-layout="compact"]) .hm-orgchart-job-title {
|
||||
padding: 0 2px;
|
||||
font-size: 8.5px;
|
||||
font-weight: 600;
|
||||
font-weight: 500;
|
||||
}
|
||||
/* Status is retained for assistive reading; the specified two-line card
|
||||
composition has no third status row. Supplementary status cards are intact. */
|
||||
|
||||
Reference in new issue
Block a user