2019-12-17 19:27:28 +00:00
|
|
|
/* CSS active states are partly added at the top of */
|
|
|
|
/* components/templates/discovery-chain.hbs for reasons */
|
|
|
|
/* the styling there almost 100% uses our CSS vars */
|
|
|
|
/* defined in our CSS files, but be sure to */
|
|
|
|
/* take a look in the discovery-chain.hbs */
|
|
|
|
%route-card > header ul li {
|
2020-09-22 17:20:44 +00:00
|
|
|
@extend %pill-500, %frame-gray-900;
|
2019-12-17 19:27:28 +00:00
|
|
|
}
|
|
|
|
%discovery-chain-tween {
|
|
|
|
transition-duration: 0.1s;
|
|
|
|
transition-timing-function: linear;
|
|
|
|
}
|
|
|
|
%discovery-chain-edge,
|
|
|
|
%chain-node {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
%discovery-chain-edge {
|
|
|
|
@extend %discovery-chain-tween;
|
|
|
|
transition-property: stroke;
|
|
|
|
|
|
|
|
fill: none;
|
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
|
|
|
stroke: var(--token-color-foreground-disabled);
|
2019-12-17 19:27:28 +00:00
|
|
|
stroke-width: 2;
|
|
|
|
vector-effect: non-scaling-stroke;
|
|
|
|
}
|
|
|
|
%discovery-chain.active [id*=':'],
|
|
|
|
%chain-node-inactive,
|
|
|
|
%discovery-chain-edge-inactive {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
%chain-node,
|
|
|
|
%chain-node a {
|
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) !important;
|
2019-12-17 19:27:28 +00:00
|
|
|
}
|
|
|
|
%discovery-chain-edge-active {
|
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
|
|
|
stroke: var(--token-color-foreground-strong);
|
2019-12-17 19:27:28 +00:00
|
|
|
}
|
|
|
|
%chain-group {
|
2021-10-07 18:21:11 +00:00
|
|
|
border-radius: var(--decor-radius-100);
|
2022-01-07 16:15:22 +00:00
|
|
|
border: 1px solid;
|
|
|
|
/* TODO: If this color is combined with the above */
|
|
|
|
/* border property then the compressor removes the color */
|
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(--token-color-surface-interactive-active);
|
|
|
|
background-color: var(--token-color-surface-strong);
|
2019-12-17 19:27:28 +00:00
|
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
%chain-group > header span,
|
|
|
|
%chain-node {
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
|
|
|
%chain-group > header > * {
|
|
|
|
text-transform: uppercase;
|
2021-01-26 17:53:45 +00:00
|
|
|
@extend %p3;
|
2019-12-17 19:27:28 +00:00
|
|
|
}
|
|
|
|
%chain-group > header span::after {
|
|
|
|
@extend %with-info-circle-outline-icon, %as-pseudo;
|
|
|
|
width: 1.2em;
|
|
|
|
height: 1.2em;
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
%chain-node {
|
|
|
|
@extend %discovery-chain-tween;
|
|
|
|
transition-property: opacity background-color border-color;
|
|
|
|
}
|
|
|
|
%chain-node-active {
|
|
|
|
opacity: 1;
|
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-primary);
|
|
|
|
border-color: var(--token-color-foreground-faint);
|
2019-12-17 19:27:28 +00:00
|
|
|
}
|
|
|
|
/* TODO: More text truncation, centralize */
|
|
|
|
%route-card header:not(.short) dd {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
/* Icons */
|
|
|
|
%route-card section header > * {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
%resolver-card dt,
|
|
|
|
%route-card section header > *::before {
|
2020-09-18 10:14:06 +00:00
|
|
|
@extend %with-glyph-icon;
|
2019-12-17 19:27:28 +00:00
|
|
|
}
|
|
|
|
%route-card .match-headers header *::before {
|
|
|
|
content: 'H';
|
|
|
|
}
|
|
|
|
%route-card .match-queryparams header > *::before {
|
|
|
|
content: 'Q';
|
|
|
|
}
|
|
|
|
%resolver-card dt {
|
|
|
|
font-size: 0;
|
|
|
|
}
|
2022-05-25 13:28:42 +00:00
|
|
|
%resolver-card dt::before {
|
|
|
|
content: '';
|
|
|
|
--icon-size: icon-999;
|
2019-12-17 19:27:28 +00:00
|
|
|
}
|
2022-05-25 13:28:42 +00:00
|
|
|
%resolver-card dl.failover dt::before {
|
|
|
|
--icon-name: icon-cloud-cross;
|
|
|
|
}
|
|
|
|
%resolver-card dl.redirect dt::before {
|
|
|
|
--icon-name: icon-redirect;
|
2019-12-17 19:27:28 +00:00
|
|
|
}
|
|
|
|
/**/
|
|
|
|
%with-chain-outlet::before {
|
|
|
|
@extend %as-pseudo;
|
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-primary);
|
2019-12-17 19:27:28 +00:00
|
|
|
|
2021-10-07 18:21:11 +00:00
|
|
|
border-radius: var(--decor-radius-full);
|
2022-01-07 16:15:22 +00:00
|
|
|
border: 2px solid;
|
|
|
|
/* TODO: If this color is combined with the above */
|
|
|
|
/* border property then the compressor removes the color */
|
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(--token-color-foreground-disabled);
|
2019-12-17 19:27:28 +00:00
|
|
|
}
|
|
|
|
%discovery-chain circle {
|
|
|
|
stroke-width: 2;
|
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
|
|
|
stroke: var(--token-color-foreground-disabled);
|
|
|
|
fill: var(--token-color-surface-primary);
|
2019-12-17 19:27:28 +00:00
|
|
|
}
|