mirror of https://github.com/hashicorp/consul
41 lines
1.1 KiB
SCSS
41 lines
1.1 KiB
SCSS
%main-nav-horizontal-action {
|
|
border-radius: var(--decor-radius-200);
|
|
cursor: pointer;
|
|
}
|
|
%main-nav-horizontal-action > a {
|
|
color: inherit;
|
|
}
|
|
%main-nav-horizontal-popover-menu-trigger::after {
|
|
--icon-name: icon-chevron-down;
|
|
content: '';
|
|
}
|
|
%main-nav-horizontal-popover-menu-trigger[aria-expanded='true']::after {
|
|
transform: scaleY(-100%);
|
|
}
|
|
|
|
%main-nav-horizontal-menu-panel,
|
|
%main-nav-horizontal-menu-panel > ul[role='menu'],
|
|
%main-nav-horizontal-menu-panel > ul[role='menu'] > li > [role='menuitem'] {
|
|
background-color: var(--token-color-hashicorp-brand);
|
|
color: var(--token-color-palette-neutral-300);
|
|
}
|
|
|
|
%main-nav-horizontal-menu-panel > ul[role='menu'] > li > [role='menuitem']:hover {
|
|
background-color: var(--token-color-palette-neutral-600);
|
|
}
|
|
|
|
%main-nav-horizontal-toggle {
|
|
display: none;
|
|
}
|
|
%main-nav-horizontal-toggle-button::before {
|
|
--icon-name: icon-menu;
|
|
--icon-color: var(--token-color-palette-neutral-300);
|
|
content: '';
|
|
cursor: pointer;
|
|
}
|
|
%main-nav-horizontal-action,
|
|
%main-nav-horizontal-action-intent,
|
|
%main-nav-horizontal-action-active {
|
|
color: var(--token-color-palette-neutral-300);
|
|
}
|