mirror of
https://github.com/status-im/consul.git
synced 2025-03-02 06:10:44 +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>
56 lines
1.2 KiB
SCSS
56 lines
1.2 KiB
SCSS
section[data-route='dc.show.license'] {
|
|
@extend %license-route;
|
|
}
|
|
%license-route .validity {
|
|
@extend %license-validity;
|
|
}
|
|
%license-route aside {
|
|
@extend %license-route-learn-more;
|
|
}
|
|
|
|
%license-route h2 {
|
|
@extend %h200;
|
|
}
|
|
|
|
%license-validity p {
|
|
color: var(--token-color-foreground-faint);
|
|
}
|
|
%license-validity dl {
|
|
@extend %horizontal-kv-list;
|
|
font-size: var(--typo-size-400);
|
|
}
|
|
%license-validity dl .expired + dd {
|
|
@extend %visually-hidden;
|
|
}
|
|
%license-validity dl dt::before {
|
|
content: '';
|
|
margin-right: 0.25rem; /* 4px */
|
|
}
|
|
%license-validity dl .expired::before {
|
|
--icon-name: icon-x-circle;
|
|
--icon-color: var(--token-color-foreground-critical);
|
|
}
|
|
%license-validity dl .warning::before {
|
|
--icon-name: icon-alert-circle;
|
|
--icon-color: var(--token-color-foreground-warning);
|
|
}
|
|
%license-validity dl .valid:not(.warning)::before {
|
|
--icon-name: icon-check-circle;
|
|
--icon-color: var(--token-color-foreground-success);
|
|
}
|
|
|
|
%license-route-learn-more {
|
|
@extend %panel;
|
|
box-shadow: none;
|
|
padding: var(--padding-y) var(--padding-x);
|
|
width: 40%;
|
|
min-width: 413px;
|
|
margin-top: 1rem; /* 16px */
|
|
}
|
|
%license-route-learn-more header > :first-child {
|
|
@extend %h300;
|
|
}
|
|
%license-route-learn-more header {
|
|
margin-bottom: 1rem; /* 16px */
|
|
}
|