mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 05:45:46 +00:00
06ff4228b4
* update red color variables to hds * change background red to be one step lighter * map oranges * map greens * map blues * map greys * delete themes, colours: lemon, magenta, strawberry, and vault color aliases * add unmapped rainbow colours * replace white and transparent vars, remove unused semantic vars and frame placeholders * small tweaks to improve contrast, change node health status x/check colours for non-voters to match design doc, replace semantic colour action w hds colour * add unmapped grays, remove dark theme, manually set nav bar to use dark colours * map consul pink colour * map yellows * add unmapped oranges, delete light theme * remove readme, base variables, clean up dangling colours * Start working on the nav disclosure menus * Update main-nav-horizontal dropdowns * Format template * Update box-shadow tokens * Replace --tone- usage with tokens * Update nav disabled state and panel border colour * Replace rgb usage on tile * Fix permissions modal overlay * More fixes * Replace orange-500 with amber-200 * Update badge colors * Update vertical sidebar colors * Remove top border on consul peer list ul --------- Co-authored-by: wenincode <tyler.wendlandt@hashicorp.com>
111 lines
3.2 KiB
SCSS
111 lines
3.2 KiB
SCSS
%main-nav-vertical-action {
|
|
@extend %p1;
|
|
cursor: pointer;
|
|
border-right: var(--decor-border-400);
|
|
border-color: 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: var(--token-color-foreground-strong);
|
|
color: var(--token-color-foreground-faint);
|
|
}
|
|
%main-nav-vertical li:not([role='separator']) > span {
|
|
color: var(--token-color-palette-neutral-300);
|
|
}
|
|
%main-nav-vertical [role='separator'],
|
|
%main-nav-vertical-hoisted [role='separator'] {
|
|
color: var(--token-color-palette-neutral-400);
|
|
background-color: var(--token-color-foreground-strong);
|
|
}
|
|
%main-nav-vertical-action {
|
|
color: var(--token-color-palette-neutral-300);
|
|
}
|
|
%main-nav-vertical-item,
|
|
%main-nav-vertical-action-intent,
|
|
%main-nav-vertical-action-active {
|
|
color: var(--token-color-palette-neutral-0);
|
|
}
|
|
%main-nav-vertical-action-active {
|
|
background-color: var(--token-color-palette-neutral-500);
|
|
border-color: var(--token-color-palette-neutral-0);
|
|
}
|
|
%main-nav-vertical [aria-label]::before {
|
|
color: var(--token-color-palette-neutral-400);
|
|
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: var(--token-color-foreground-faint);
|
|
border-radius: var(--decor-radius-100);
|
|
|
|
font-weight: inherit;
|
|
|
|
background-color: var(--token-color-foreground-strong);
|
|
color: var(--token-color-palette-neutral-200);
|
|
}
|
|
|
|
%main-nav-vertical-popover-menu-trigger:hover,
|
|
%main-nav-vertical-popover-menu-trigger:focus {
|
|
color: var(--token-color-palette-neutral-300);
|
|
background-color: var(--token-color-foreground-strong);
|
|
}
|
|
|
|
%main-nav-vertical ul[role='menu'] li a[role='menuitem'] {
|
|
color: var(--token-color-palette-neutral-300);
|
|
background-color: var(--token-color-foreground-strong);
|
|
}
|
|
|
|
%main-nav-vertical ul[role='menu']li a[role='menuitem']:hover {
|
|
background-color: var(--token-color-palette-neutral-600);
|
|
}
|
|
|
|
%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-horizontal %panel,
|
|
%main-nav-horizontal %panel-separator,
|
|
%main-nav-vertical %panel,
|
|
%main-nav-vertical %panel-separator {
|
|
border-color: var(--token-color-foreground-faint);
|
|
}
|
|
|
|
%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);
|
|
color: var(--token-color-palette-neutral-300);
|
|
background-color: var(--token-color-foreground-strong);
|
|
}
|
|
|
|
%main-nav-vertical-hoisted ul[role='menu'] {
|
|
background-color: var(--token-color-hashicorp-brand);
|
|
}
|