2023-03-14 13:18:55 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
*/
|
|
|
|
|
2022-04-04 08:45:03 +00:00
|
|
|
section[data-route='dc.show.serverstatus'] {
|
|
|
|
@extend %serverstatus-route;
|
|
|
|
}
|
|
|
|
%serverstatus-route .server-failure-tolerance {
|
|
|
|
@extend %server-failure-tolerance;
|
|
|
|
}
|
|
|
|
%serverstatus-route .redundancy-zones {
|
|
|
|
@extend %redundancy-zones;
|
|
|
|
}
|
|
|
|
%redundancy-zones section {
|
|
|
|
@extend %redundancy-zone;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**/
|
|
|
|
|
|
|
|
%serverstatus-route h2,
|
|
|
|
%serverstatus-route h3 {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %display-300-semibold;
|
2022-04-04 08:45:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
%server-failure-tolerance {
|
|
|
|
@extend %panel;
|
UI: Update Consul UI colors to use HDS colors (#16111)
* 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>
2023-02-27 16:30:12 +00:00
|
|
|
box-shadow: none;
|
2022-04-04 08:45:03 +00:00
|
|
|
padding: var(--padding-y) var(--padding-x);
|
2022-04-14 15:58:19 +00:00
|
|
|
max-width: 770px;
|
2022-04-04 08:45:03 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
%server-failure-tolerance > header {
|
|
|
|
width: 100%;
|
2023-02-22 21:05:15 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding-bottom: 0.5rem; /* 8px */
|
2022-04-04 08:45:03 +00:00
|
|
|
margin-bottom: 1rem; /* 16px */
|
|
|
|
border-bottom: var(--decor-border-100);
|
UI: Update Consul UI colors to use HDS colors (#16111)
* 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>
2023-02-27 16:30:12 +00:00
|
|
|
border-color: var(--tone-border);
|
2022-04-04 08:45:03 +00:00
|
|
|
}
|
2023-02-22 21:05:15 +00:00
|
|
|
|
2022-04-04 08:45:03 +00:00
|
|
|
%server-failure-tolerance header em {
|
|
|
|
@extend %pill-200;
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %body-100-regular;
|
UI: Update Consul UI colors to use HDS colors (#16111)
* 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>
2023-02-27 16:30:12 +00:00
|
|
|
background-color: var(--token-color-surface-interactive-active);
|
2022-04-04 08:45:03 +00:00
|
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
%server-failure-tolerance > section {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
%server-failure-tolerance > section,
|
|
|
|
%server-failure-tolerance dl {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
%server-failure-tolerance dl {
|
|
|
|
flex-grow: 1;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
%server-failure-tolerance dd {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
%server-failure-tolerance dl.warning dd::before {
|
|
|
|
--icon-name: icon-alert-circle;
|
|
|
|
--icon-size: icon-800;
|
UI: Update Consul UI colors to use HDS colors (#16111)
* 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>
2023-02-27 16:30:12 +00:00
|
|
|
--icon-color: var(--token-color-foreground-warning);
|
2022-04-04 08:45:03 +00:00
|
|
|
content: '';
|
2023-02-22 21:05:15 +00:00
|
|
|
margin-right: 0.5rem; /* 8px */
|
2022-04-04 08:45:03 +00:00
|
|
|
}
|
|
|
|
%server-failure-tolerance section:first-of-type dl {
|
2023-02-22 21:05:15 +00:00
|
|
|
padding-right: 1.5rem; /* 24px */
|
2022-04-04 08:45:03 +00:00
|
|
|
}
|
|
|
|
%server-failure-tolerance dt {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %body-100-regular;
|
UI: Update Consul UI colors to use HDS colors (#16111)
* 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>
2023-02-27 16:30:12 +00:00
|
|
|
color: var(--token-color-foreground-faint);
|
2022-04-04 08:45:03 +00:00
|
|
|
}
|
|
|
|
%server-failure-tolerance dd {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %display-300-semibold;
|
UI: Update Consul UI colors to use HDS colors (#16111)
* 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>
2023-02-27 16:30:12 +00:00
|
|
|
color: var(--token-color-hashicorp-brand);
|
2022-04-04 08:45:03 +00:00
|
|
|
}
|
|
|
|
%server-failure-tolerance header span::before {
|
|
|
|
--icon-name: icon-info;
|
|
|
|
--icon-size: icon-300;
|
UI: Update Consul UI colors to use HDS colors (#16111)
* 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>
2023-02-27 16:30:12 +00:00
|
|
|
--icon-color: var(--token-color-foreground-faint);
|
2022-04-04 08:45:03 +00:00
|
|
|
vertical-align: unset;
|
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
|
|
|
|
%serverstatus-route section:not([class*='-tolerance']) h2 {
|
|
|
|
margin-top: 1.5rem; /* 24px */
|
|
|
|
margin-bottom: 1.5rem; /* 24px */
|
|
|
|
}
|
|
|
|
%serverstatus-route section:not([class*='-tolerance']) header {
|
|
|
|
margin-top: 18px;
|
|
|
|
margin-bottom: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
%redundancy-zones h3 {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %display-300-semibold;
|
2022-04-04 08:45:03 +00:00
|
|
|
}
|
|
|
|
%redundancy-zone header {
|
|
|
|
display: flow-root;
|
|
|
|
}
|
|
|
|
%redundancy-zone header h3 {
|
|
|
|
float: left;
|
|
|
|
margin-right: 0.5rem; /* 8px */
|
|
|
|
}
|
|
|
|
|
|
|
|
%redundancy-zone header dl {
|
|
|
|
@extend %horizontal-kv-list;
|
|
|
|
@extend %pill-500;
|
|
|
|
}
|
|
|
|
%redundancy-zone header dt {
|
|
|
|
@extend %visually-unhidden;
|
|
|
|
}
|
|
|
|
%redundancy-zone header dl:not(.warning) {
|
UI: Update Consul UI colors to use HDS colors (#16111)
* 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>
2023-02-27 16:30:12 +00:00
|
|
|
background-color: var(--token-color-surface-strong);
|
2022-04-04 08:45:03 +00:00
|
|
|
}
|
|
|
|
%redundancy-zone header dl.warning {
|
UI: Update Consul UI colors to use HDS colors (#16111)
* 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>
2023-02-27 16:30:12 +00:00
|
|
|
background-color: var(--token-color-border-warning);
|
|
|
|
color: var(--token-color-palette-amber-400);
|
2022-04-04 08:45:03 +00:00
|
|
|
}
|
|
|
|
%redundancy-zone header dl.warning::before {
|
|
|
|
--icon-name: icon-alert-circle;
|
|
|
|
--icon-size: icon-000;
|
|
|
|
margin-right: 0.312rem; /* 5px */
|
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
%redundancy-zone header dt::after {
|
|
|
|
content: ':';
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: revert;
|
UI: Update Consul UI colors to use HDS colors (#16111)
* 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>
2023-02-27 16:30:12 +00:00
|
|
|
background-color: transparent;
|
2022-04-04 08:45:03 +00:00
|
|
|
}
|