open-consul/ui/packages/consul-ui/app/components/main-nav-vertical/skin.scss

65 lines
1.5 KiB
SCSS

%main-nav-vertical-action {
cursor: pointer;
border-right: $decor-border-400;
border-color: $transparent;
@extend %p1;
}
%main-nav-vertical-action > a {
color: inherit;
font-size: inherit;
}
%main-nav-vertical [role='separator'] {
@extend %p3;
text-transform: uppercase;
font-weight: $typo-weight-medium;
}
%main-nav-vertical-action-intent {
text-decoration: underline;
}
%main-nav-vertical-action-active-intent {
text-decoration: none;
}
%main-nav-vertical {
background-color: var(--gray-050);
color: var(--gray-700);
}
%main-nav-vertical li:not([role='separator']) > span {
color: var(--gray-300);
}
%main-nav-vertical [role='separator'] {
color: var(--gray-600);
}
%main-nav-vertical-action {
color: var(--gray-800);
}
%main-nav-vertical-action-intent,
%main-nav-vertical-action-active {
color: var(--gray-999);
}
%main-nav-vertical-action-active {
background-color: var(--gray-150);
border-color: var(--gray-999);
}
%main-nav-vertical .popover-menu[aria-label]::before {
content: attr(aria-label);
display: block;
margin-top: -0.5rem;
margin-bottom: 0.5rem;
}
%main-nav-vertical .is-local span:last-of-type {
@extend %pill-200;
color: var(--gray-000);
background-color: var(--gray-500);
}
%main-nav-vertical .nspaces .menu-panel > div {
background-color: var(--gray-050);
color: var(--gray-999);
padding-left: 36px;
}
%main-nav-vertical .nspaces .menu-panel > div::before {
@extend %with-info-circle-fill-mask, %as-pseudo;
color: $blue-500;
/* sizes the icon not the text */
font-size: 1.1em;
}