2021-01-26 17:40:33 +00:00
|
|
|
%main-nav-vertical-action {
|
2022-02-21 12:22:59 +00:00
|
|
|
@extend %p1;
|
2021-01-26 17:40:33 +00:00
|
|
|
cursor: pointer;
|
2021-10-07 18:21:11 +00:00
|
|
|
border-right: var(--decor-border-400);
|
|
|
|
border-color: var(--transparent);
|
2021-01-26 17:40:33 +00:00
|
|
|
}
|
|
|
|
%main-nav-vertical-action > a {
|
|
|
|
color: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
2021-05-27 12:23:54 +00:00
|
|
|
%main-nav-vertical [role='separator'] {
|
2021-02-25 09:35:53 +00:00
|
|
|
@extend %p3;
|
2021-01-26 17:40:33 +00:00
|
|
|
text-transform: uppercase;
|
2021-10-07 18:21:11 +00:00
|
|
|
font-weight: var(--typo-weight-medium);
|
2021-01-26 17:40:33 +00:00
|
|
|
}
|
|
|
|
%main-nav-vertical-action-intent {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
%main-nav-vertical-action-active-intent {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
%main-nav-vertical {
|
2021-10-07 18:21:11 +00:00
|
|
|
background-color: rgb(var(--tone-gray-050));
|
|
|
|
color: rgb(var(--tone-gray-700));
|
2021-01-26 17:40:33 +00:00
|
|
|
}
|
2021-05-27 12:23:54 +00:00
|
|
|
%main-nav-vertical li:not([role='separator']) > span {
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-gray-300));
|
2021-03-17 11:23:00 +00:00
|
|
|
}
|
2021-05-27 12:23:54 +00:00
|
|
|
%main-nav-vertical [role='separator'] {
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-gray-600));
|
2021-01-26 17:40:33 +00:00
|
|
|
}
|
|
|
|
%main-nav-vertical-action {
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-gray-800));
|
2021-01-26 17:40:33 +00:00
|
|
|
}
|
2021-10-26 18:26:04 +00:00
|
|
|
%main-nav-vertical-item,
|
2021-01-26 17:40:33 +00:00
|
|
|
%main-nav-vertical-action-intent,
|
|
|
|
%main-nav-vertical-action-active {
|
2021-10-07 18:21:11 +00:00
|
|
|
color: rgb(var(--tone-gray-999));
|
2021-01-26 17:40:33 +00:00
|
|
|
}
|
|
|
|
%main-nav-vertical-action-active {
|
2021-10-07 18:21:11 +00:00
|
|
|
background-color: rgb(var(--tone-gray-150));
|
|
|
|
border-color: rgb(var(--tone-gray-999));
|
2021-01-26 17:40:33 +00:00
|
|
|
}
|
2022-02-21 12:22:59 +00:00
|
|
|
%main-nav-vertical [aria-label]::before {
|
2021-10-26 18:26:04 +00:00
|
|
|
color: rgb(var(--tone-gray-700));
|
2021-04-16 11:13:06 +00:00
|
|
|
content: attr(aria-label);
|
|
|
|
display: block;
|
2021-05-27 12:23:54 +00:00
|
|
|
margin-top: -0.5rem;
|
|
|
|
margin-bottom: 0.5rem;
|
2021-04-16 11:13:06 +00:00
|
|
|
}
|
2022-02-21 12:22:59 +00:00
|
|
|
%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;
|
|
|
|
|
2021-10-07 18:21:11 +00:00
|
|
|
background-color: rgb(var(--tone-gray-050));
|
|
|
|
color: rgb(var(--tone-gray-999));
|
2021-01-26 17:40:33 +00:00
|
|
|
}
|
2022-02-21 12:22:59 +00:00
|
|
|
%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);
|
2021-01-26 17:40:33 +00:00
|
|
|
}
|