@whatsaaaa/design-system 0.5.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -84,18 +84,25 @@
84
84
  line-height: inherit;
85
85
  }
86
86
 
87
- .VPNav .VPNavBarMenu .VPNavBarMenuLink::before,
88
- .VPNav .VPNavBarMenu .VPNavBarMenuGroup .button::before {
87
+ /*
88
+ * the number names the key that goes to the tab, so it is drawn only while the keys are on.
89
+ * While the head script waits for the shortcuts module it keeps its place unseen.
90
+ */
91
+ :is([data-ws-keys='on'], [data-ws-keys='pending']) .VPNav .VPNavBarMenu .VPNavBarMenuLink::before,
92
+ :is([data-ws-keys='on'], [data-ws-keys='pending'])
93
+ .VPNav
94
+ .VPNavBarMenu
95
+ .VPNavBarMenuGroup
96
+ .button::before {
89
97
  color: var(--ws-color-text-faint);
90
98
  font-weight: var(--ws-font-weight-bold);
91
99
  content: counter(ws-tab);
92
100
  content: counter(ws-tab) / '';
93
101
  }
94
102
 
95
- /* the number names the key that goes to the tab. With the keys switched off it is left out. */
96
- [data-ws-keys='off'] .VPNav .VPNavBarMenu .VPNavBarMenuLink::before,
97
- [data-ws-keys='off'] .VPNav .VPNavBarMenu .VPNavBarMenuGroup .button::before {
98
- content: none;
103
+ [data-ws-keys='pending'] .VPNav .VPNavBarMenu .VPNavBarMenuLink::before,
104
+ [data-ws-keys='pending'] .VPNav .VPNavBarMenu .VPNavBarMenuGroup .button::before {
105
+ visibility: hidden;
99
106
  }
100
107
 
101
108
  .VPNav .VPNavBarMenu .VPNavBarMenuLink:hover,