refactor(sw): align component sizing tokens and design specs
This commit is contained in:
1 parent
db8e12f190
commit
0ee4f8c8e0
4 files changed
+69
-5
No files matched your search
@@ -158,7 +158,7 @@
|
||||
.hm-sw-footer[data-command] .hm-sw-footer__group { flex: 0 1 auto; }
|
||||
.hm-sw-footer[data-command] .hm-sw-footer__trailing { flex: 0 0 auto; }
|
||||
/* Status text above the bar, left (cursor coordinates in the reference screen). */
|
||||
.hm-sw-footer__status { position: absolute; left: 0; bottom: 100%; z-index: 1; padding: 0 0 3px 2px; font-size: 12px; line-height: 14px; color: var(--hm-sw-footer-text); white-space: nowrap; text-shadow: var(--hm-sw-header-label-outline); }
|
||||
.hm-sw-footer__status { position: absolute; left: 0; bottom: 100%; z-index: 1; padding: 0 0 3px 2px; font-size: var(--hm-sw-header-label-size); line-height: 14px; color: var(--hm-sw-footer-text); white-space: nowrap; text-shadow: var(--hm-sw-header-label-outline); }
|
||||
/* Bar-level guide: 4px above the empty slot (which starts 2px below the bar top). */
|
||||
.hm-sw-footer > .hm-sw-footer__guide { bottom: calc(100% + 2px); }
|
||||
|
||||
|
||||
@@ -1328,7 +1328,7 @@ div.hm-sw-header__menu-row { justify-content: space-between; gap: 8px; padding-l
|
||||
flex-direction: column;
|
||||
flex: 0 0 157px;
|
||||
width: 157px;
|
||||
height: 38px;
|
||||
height: var(--hm-sw-header-field-height);
|
||||
margin: 2px -1px 0 auto;
|
||||
}
|
||||
.hm-sw-header__properties-caption {
|
||||
|
||||
Reference in new issue
Block a user