mirror of
https://github.com/status-im/consul.git
synced 2025-01-19 02:03:00 +00:00
73b6687c5b
* Add %panel CSS component * Deprecate old menu-panel component * Various smallish tweaks to disclosure-menu * Move all menus in the app chrome to use new DisclosureMenu * Follow up CSS to move all app chrome menus to new components * Don't prevent default any events from anchors * Add a tick to click steps
42 lines
1.1 KiB
SCSS
42 lines
1.1 KiB
SCSS
@import './skin';
|
|
@import './layout';
|
|
/* things that should look like nav buttons */
|
|
|
|
/* items are single things that look like button */
|
|
/* but aren't clickable */
|
|
%main-nav-vertical > ul > li[aria-label] {
|
|
@extend %main-nav-vertical-item;
|
|
}
|
|
/**/
|
|
|
|
/* actual clickable button-y things plus states */
|
|
%main-nav-vertical > ul > li > a {
|
|
@extend %main-nav-vertical-action;
|
|
}
|
|
%main-nav-vertical > ul > li.is-active > a {
|
|
@extend %main-nav-vertical-action-active;
|
|
}
|
|
|
|
%main-nav-vertical-action-active:hover:not(:active),
|
|
%main-nav-vertical-action-active:focus:not(:active) {
|
|
@extend %main-nav-vertical-action-active-intent;
|
|
}
|
|
|
|
%main-nav-vertical-action:hover,
|
|
%main-nav-vertical-action:focus {
|
|
@extend %main-nav-vertical-action-intent;
|
|
}
|
|
|
|
%main-nav-vertical > ul > li > label {
|
|
@extend %main-nav-vertical-action;
|
|
}
|
|
/* menu-panels in the main navigation are treated slightly differently */
|
|
%main-nav-vertical-popover-menu .disclosure-menu button + * {
|
|
@extend %main-nav-vertical-menu-panel;
|
|
}
|
|
/**/
|
|
%main-nav-vertical-popover-menu .disclosure-menu > button {
|
|
@extend %main-nav-vertical-popover-menu-trigger;
|
|
@extend %internal-button;
|
|
}
|