79 lines
2.1 KiB
SCSS
79 lines
2.1 KiB
SCSS
%main-nav-vertical-action {
|
|
@extend %p1;
|
|
cursor: pointer;
|
|
border-right: var(--decor-border-400);
|
|
border-color: var(--transparent);
|
|
}
|
|
%main-nav-vertical-action > a {
|
|
color: inherit;
|
|
font-size: inherit;
|
|
}
|
|
%main-nav-vertical [role='separator'] {
|
|
@extend %p3;
|
|
text-transform: uppercase;
|
|
font-weight: var(--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: rgb(var(--tone-gray-050));
|
|
color: rgb(var(--tone-gray-700));
|
|
}
|
|
%main-nav-vertical li:not([role='separator']) > span {
|
|
color: rgb(var(--tone-gray-300));
|
|
}
|
|
%main-nav-vertical [role='separator'] {
|
|
color: rgb(var(--tone-gray-600));
|
|
}
|
|
%main-nav-vertical-action {
|
|
color: rgb(var(--tone-gray-800));
|
|
}
|
|
%main-nav-vertical-item,
|
|
%main-nav-vertical-action-intent,
|
|
%main-nav-vertical-action-active {
|
|
color: rgb(var(--tone-gray-999));
|
|
}
|
|
%main-nav-vertical-action-active {
|
|
background-color: rgb(var(--tone-gray-150));
|
|
border-color: rgb(var(--tone-gray-999));
|
|
}
|
|
%main-nav-vertical [aria-label]::before {
|
|
color: rgb(var(--tone-gray-700));
|
|
content: attr(aria-label);
|
|
display: block;
|
|
margin-top: -0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
%main-nav-vertical-popover-menu-trigger {
|
|
border: var(--decor-border-100);
|
|
border-color: rgb(var(--tone-gray-500));
|
|
border-radius: var(--decor-radius-100);
|
|
|
|
font-weight: inherit;
|
|
|
|
background-color: rgb(var(--tone-gray-050));
|
|
color: rgb(var(--tone-gray-999));
|
|
}
|
|
%main-nav-vertical-popover-menu-trigger[aria-expanded='true'] {
|
|
border-bottom-left-radius: var(--decor-radius-000);
|
|
border-bottom-right-radius: var(--decor-radius-000);
|
|
}
|
|
%main-nav-vertical-popover-menu-trigger::after {
|
|
@extend %with-chevron-down-mask, %as-pseudo;
|
|
width: 16px;
|
|
height: 16px;
|
|
position: relative;
|
|
}
|
|
%main-nav-vertical-popover-menu-trigger[aria-expanded='true']::after {
|
|
@extend %with-chevron-up-mask;
|
|
}
|
|
%main-nav-vertical-menu-panel {
|
|
border-top-left-radius: var(--decor-radius-000);
|
|
border-top-right-radius: var(--decor-radius-000);
|
|
border-top: var(--decor-border-000);
|
|
}
|