Commit 2495d37
unknown
admin(typography): clean up h3 rules superseded by unified global heading
Follow-up to the previous commit that unified .admin-main h1/h2/h3 to
the 28px page-title scale. Audit pass over the existing rules to
remove duplicated work and per-page sizing overrides that now defeat
the global intent.
Trimmed redundant properties (kept the rule for its unique work):
- sidebar-nav.css '.admin-main .content-header h3' — dropped color
/ font-size / font-weight / line-height. Kept margin:0 (wrapper
handles spacing), padding:0, boxes.css background wipe, overflow
ellipsis.
- sidebar-nav.css second '.content-header h3, .head-products, ...'
block — dropped h3 from the selector list, kept the legacy span
selectors (.head-products / .head-sales-order / .head-customer)
that still need explicit 28px since they're <span>s.
- dark-theme.css '.content-header h3' — dropped font-size:18px /
font-weight / letter-spacing / text-transform / margin /
line-height. Kept color (defensive outside .admin-main), boxes.css
background wipe, padding-left:0.
Removed entirely (per-page h3 size overrides that contradicted the
unified 28px scale or were pure redundancy):
- body.adminhtml-permissions-user-(edit|new) .content-header h3
{ font-size:20px }
- body[class*='adminhtml-system_config'] .content-header h3
{ font-size:18px }
- body[class*='customoptions-options-edit'] .content-header h3
portion — split so only the h4 sub-label rule remains.
- .dashboard .box-head h3 { color:var(--t1) } — single-property
rule, color is now identical to what global emits.
Left intentionally:
- cache-index / process-list h3 — those h3s are deliberate small
uppercase section labels (e.g. 'Additional Cache Management'),
not page titles, so the per-page small override is the correct
design role.
- catalog-product-edit .side-col h3 — sidebar tab labels.
- .admin-main .box-head h3 — panel section headers.
- workflowguides .wfg-guide-header h2 — sets display:flex layout,
not just sizing.
- is-order-view / catalog-category side-col / generic
h1-h6 { color:var(--t1) } — defensive coverage for headings
outside .admin-main (modals, popups).1 parent a962a26 commit 2495d37
2 files changed
Lines changed: 25 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
389 | 394 | | |
390 | 395 | | |
391 | 396 | | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | 397 | | |
397 | | - | |
398 | | - | |
399 | 398 | | |
400 | 399 | | |
401 | 400 | | |
| |||
3086 | 3085 | | |
3087 | 3086 | | |
3088 | 3087 | | |
3089 | | - | |
| 3088 | + | |
| 3089 | + | |
3090 | 3090 | | |
3091 | 3091 | | |
3092 | 3092 | | |
| |||
3690 | 3690 | | |
3691 | 3691 | | |
3692 | 3692 | | |
3693 | | - | |
3694 | | - | |
3695 | | - | |
3696 | | - | |
3697 | | - | |
3698 | | - | |
| 3693 | + | |
| 3694 | + | |
| 3695 | + | |
3699 | 3696 | | |
3700 | 3697 | | |
3701 | 3698 | | |
| |||
3865 | 3862 | | |
3866 | 3863 | | |
3867 | 3864 | | |
3868 | | - | |
3869 | | - | |
3870 | | - | |
3871 | | - | |
3872 | | - | |
3873 | | - | |
3874 | | - | |
| 3865 | + | |
| 3866 | + | |
3875 | 3867 | | |
3876 | 3868 | | |
3877 | 3869 | | |
| |||
4924 | 4916 | | |
4925 | 4917 | | |
4926 | 4918 | | |
4927 | | - | |
4928 | | - | |
| 4919 | + | |
| 4920 | + | |
| 4921 | + | |
4929 | 4922 | | |
4930 | 4923 | | |
4931 | 4924 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
867 | 867 | | |
868 | 868 | | |
869 | 869 | | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
870 | 875 | | |
871 | 876 | | |
872 | | - | |
873 | | - | |
874 | | - | |
875 | 877 | | |
876 | 878 | | |
877 | 879 | | |
878 | 880 | | |
879 | | - | |
880 | 881 | | |
881 | 882 | | |
882 | 883 | | |
| |||
1259 | 1260 | | |
1260 | 1261 | | |
1261 | 1262 | | |
1262 | | - | |
1263 | | - | |
1264 | | - | |
1265 | | - | |
1266 | | - | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
1267 | 1268 | | |
1268 | 1269 | | |
1269 | 1270 | | |
| |||
0 commit comments