mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 05:45:46 +00:00
82a62cd2ed
* 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
27 lines
573 B
SCSS
27 lines
573 B
SCSS
%main-nav-horizontal-action {
|
|
border-radius: $decor-radius-200;
|
|
cursor: pointer;
|
|
}
|
|
%main-nav-horizontal-action > a {
|
|
color: inherit;
|
|
}
|
|
/**/
|
|
/* reduced size hamburger menu */
|
|
%main-nav-horizontal-toggle {
|
|
display: none;
|
|
}
|
|
%main-nav-horizontal-toggle-button::before {
|
|
@extend %with-menu-mask, %as-pseudo;
|
|
font-size: 1.2em;
|
|
cursor: pointer;
|
|
}
|
|
%main-nav-horizontal-toggle-button::before {
|
|
background-color: var(--gray-800);
|
|
}
|
|
%main-nav-horizontal-action,
|
|
%main-nav-horizontal-action-intent,
|
|
%main-nav-horizontal-action-active {
|
|
color: var(--gray-600);
|
|
}
|
|
/**/
|