John Cowen 82a62cd2ed
ui: Sidebar navigation / redesign (#9553)
* CSS for moving from a horizontal main menu to a side/vertical one
* Add <App /> Component and rearrange <HashcorpConsul /> to use it

1. HashicorpConsul now uses <App />
2. <App /> is now translated and adds 'skip to main content' functionality
3. Adds ember-in-viewport addon in order to visibly hide main navigation
items in order to take them out of focus/tabbing
4. Slight amends to the dom service while I was there
2021-01-26 17:40:33 +00:00

34 lines
689 B
SCSS

%menu-panel {
border: $decor-border-100;
border-radius: $decor-radius-200;
box-shadow: $decor-elevation-600;
}
%menu-panel > ul > li {
list-style-type: none;
}
%menu-panel-separator {
text-transform: uppercase;
}
%menu-panel-header + ul,
%menu-panel-separator:not(:first-child) {
border-top: $decor-border-100;
}
%menu-panel .is-active > *::after {
@extend %with-check-plain-mask, %as-pseudo;
}
%menu-panel {
border-color: var(--gray-300);
background-color: var(--gray-000);
}
%menu-panel dd {
color: $gray-500;
}
%menu-panel-separator {
color: var(--gray-400);
}
%menu-panel-header + ul,
%menu-panel-separator:not(:first-child) {
border-color: var(--gray-300);
}