2023-03-14 13:18:55 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
* SPDX-License-Identifier: BUSL-1.1
|
2023-03-14 13:18:55 +00:00
|
|
|
*/
|
|
|
|
|
2020-10-20 15:41:16 +00:00
|
|
|
#metrics-container .sparkline-wrapper {
|
2020-10-09 20:31:15 +00:00
|
|
|
svg path {
|
|
|
|
stroke-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %body-200-regular;
|
2020-10-20 15:41:16 +00:00
|
|
|
padding: 0 0 10px;
|
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: 1px solid var(--token-color-palette-neutral-300);
|
2020-10-09 20:31:15 +00:00
|
|
|
background: #fff;
|
|
|
|
border-radius: 2px;
|
|
|
|
box-sizing: border-box;
|
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: var(--token-elevation-higher-box-shadow);
|
2020-10-09 20:31:15 +00:00
|
|
|
|
|
|
|
.sparkline-time {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %body-200-semibold;
|
2020-10-20 15:41:16 +00:00
|
|
|
padding: 8px 10px;
|
2020-10-09 20:31:15 +00:00
|
|
|
color: #000;
|
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-bottom: 1px solid var(--token-color-surface-interactive-active);
|
2020-10-20 15:41:16 +00:00
|
|
|
margin-bottom: 4px;
|
|
|
|
text-align: center;
|
2020-10-09 20:31:15 +00:00
|
|
|
}
|
|
|
|
|
2020-10-20 15:41:16 +00:00
|
|
|
.sparkline-tt-legend,
|
|
|
|
.sparkline-tt-sum {
|
2020-10-09 20:31:15 +00:00
|
|
|
border: 0;
|
2020-10-20 15:41:16 +00:00
|
|
|
padding: 3px 10px 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sparkline-tt-sum {
|
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-top: 1px solid var(--token-color-surface-interactive-active);
|
2020-10-20 15:41:16 +00:00
|
|
|
margin-top: 4px;
|
|
|
|
padding: 8px 10px 0 10px;
|
2020-10-09 20:31:15 +00:00
|
|
|
}
|
2020-10-20 15:41:16 +00:00
|
|
|
|
2020-10-09 20:31:15 +00:00
|
|
|
.sparkline-tt-legend-color {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
border-radius: 2px;
|
|
|
|
margin: 0 5px 0 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2020-10-20 15:41:16 +00:00
|
|
|
|
|
|
|
.sparkline-tt-legend-value,
|
|
|
|
.sparkline-tt-sum-value {
|
|
|
|
float: right;
|
|
|
|
}
|
2020-10-09 20:31:15 +00:00
|
|
|
}
|
|
|
|
|
2021-05-27 12:23:54 +00:00
|
|
|
div.tooltip:before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
2020-10-09 20:31:15 +00:00
|
|
|
position: absolute;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
left: 15px;
|
|
|
|
bottom: -7px;
|
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: 1px solid var(--token-color-palette-neutral-300);
|
2020-10-09 20:31:15 +00:00
|
|
|
border-top: 0;
|
|
|
|
border-left: 0;
|
|
|
|
background: #fff;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-20 15:41:16 +00:00
|
|
|
// Key modal
|
|
|
|
.sparkline-key {
|
|
|
|
h3::before {
|
2021-05-27 12:23:54 +00:00
|
|
|
@extend %with-info-circle-fill-mask, %as-pseudo;
|
|
|
|
margin: 2px 3px 0 0;
|
2023-03-15 02:49:14 +00:00
|
|
|
font-size: var(--token-typography-body-200-font-size);
|
2020-10-20 15:41:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
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-foreground-strong);
|
2020-10-20 15:41:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.sparkline-key-content {
|
|
|
|
dt {
|
2023-03-15 02:49:14 +00:00
|
|
|
font-weight: var(--token-typography-font-weight-semibold);
|
2020-10-20 15:41:16 +00:00
|
|
|
}
|
|
|
|
dd {
|
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);
|
2020-10-20 15:41:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sparkline-key-link {
|
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);
|
2020-10-20 15:41:16 +00:00
|
|
|
}
|
|
|
|
.sparkline-key-link:hover {
|
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-action);
|
2020-10-20 15:41:16 +00:00
|
|
|
}
|
|
|
|
#metrics-container:hover .sparkline-key-link::before {
|
|
|
|
@extend %with-info-circle-fill-mask, %as-pseudo;
|
|
|
|
margin: 1px 3px 0 0;
|
|
|
|
font-size: 12px;
|
2021-05-27 12:23:54 +00:00
|
|
|
}
|