mirror of
https://github.com/status-im/consul.git
synced 2025-02-10 04:45:05 +00:00
* 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>
44 lines
1.3 KiB
SCSS
44 lines
1.3 KiB
SCSS
%main-nav-horizontal > ul,
|
|
%main-nav-horizontal-panel {
|
|
display: flex;
|
|
}
|
|
%main-nav-horizontal-toggle-button {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
padding: 0 1rem;
|
|
padding-left: 5px;
|
|
}
|
|
%main-nav-horizontal-panel {
|
|
justify-content: space-between;
|
|
flex-grow: 1;
|
|
}
|
|
%main-nav-horizontal-menu-panel {
|
|
z-index: 400;
|
|
/* TODO: We should probably make menu-panel default to left hand side*/
|
|
top: 28px !important;
|
|
}
|
|
%main-nav-horizontal-action {
|
|
display: block;
|
|
padding: 5px 12px;
|
|
white-space: nowrap;
|
|
}
|
|
%main-nav-horizontal .popover-menu > label {
|
|
/* Usually there is no space between buttons which is */
|
|
/* fine as the button only highlights when its selected */
|
|
/* therefore no two siblings are highlighted at the same time */
|
|
/* which means you don't notice there is no space between the */
|
|
/* buttons. popover-menu triggers on the other hand can be */
|
|
/* at the same time as a sibling, therefore they need a little */
|
|
/* space between it and its sibling - this is a property of */
|
|
/* the main nav not the popover-menu */
|
|
padding-right: 5px;
|
|
}
|
|
%main-nav-horizontal .popover-menu > label > * {
|
|
/* less space as the chevron adds space */
|
|
padding-right: 4px !important;
|
|
}
|
|
%main-nav-horizontal .popover-menu > label > button::after {
|
|
top: 2px;
|
|
}
|