2023-03-14 13:18:55 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
*/
|
|
|
|
|
2018-08-29 11:11:58 +00:00
|
|
|
/* decor */
|
2019-11-25 17:43:25 +00:00
|
|
|
%button,
|
|
|
|
%internal-button {
|
2018-08-29 11:11:58 +00:00
|
|
|
@extend %user-select-none;
|
|
|
|
cursor: pointer;
|
|
|
|
white-space: nowrap;
|
2020-06-09 10:10:14 +00:00
|
|
|
text-decoration: none;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2019-11-25 17:43:25 +00:00
|
|
|
%button:disabled,
|
|
|
|
%internal-button:disabled {
|
2018-09-21 09:18:32 +00:00
|
|
|
cursor: default;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2018-08-29 11:11:58 +00:00
|
|
|
%secondary-button,
|
|
|
|
%dangerous-button {
|
2018-09-21 09:18:32 +00:00
|
|
|
@extend %button;
|
|
|
|
border-width: 1px;
|
2021-10-07 18:21:11 +00:00
|
|
|
border-radius: var(--decor-radius-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
|
|
|
box-shadow: var(--token-elevation-high-box-shadow);
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2018-09-21 09:18:32 +00:00
|
|
|
/**/
|
|
|
|
%secondary-button:hover:not(:disabled):not(:active),
|
|
|
|
%secondary-button:focus {
|
2018-11-09 15:28:26 +00:00
|
|
|
@extend %frame-gray-300;
|
|
|
|
}
|
|
|
|
%secondary-button {
|
|
|
|
@extend %frame-gray-400;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2018-09-21 09:18:32 +00:00
|
|
|
%secondary-button:disabled {
|
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);
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2018-09-21 09:18:32 +00:00
|
|
|
%secondary-button:active {
|
2018-11-09 15:28:26 +00:00
|
|
|
@extend %frame-gray-700;
|
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);
|
|
|
|
color: var(--token-color-foreground-primary);
|
|
|
|
border-color: var(--token-color-foreground-faint);
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2018-09-21 09:18:32 +00:00
|
|
|
/**/
|
|
|
|
%dangerous-button {
|
|
|
|
@extend %frame-red-300;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2018-09-21 09:18:32 +00:00
|
|
|
%dangerous-button:hover:not(:disabled):not(:active),
|
|
|
|
%dangerous-button:focus {
|
|
|
|
@extend %frame-red-700;
|
|
|
|
}
|
|
|
|
%dangerous-button:disabled {
|
|
|
|
@extend %frame-red-600;
|
|
|
|
}
|
|
|
|
%dangerous-button:hover:active {
|
|
|
|
@extend %frame-red-900;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2019-11-25 17:43:25 +00:00
|
|
|
|
2019-12-17 18:47:37 +00:00
|
|
|
%internal-button {
|
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);
|
|
|
|
background-color: var(--token-color-surface-primary);
|
2019-12-17 18:47:37 +00:00
|
|
|
}
|
2019-11-25 17:43:25 +00:00
|
|
|
%internal-button-dangerous {
|
|
|
|
@extend %frame-red-300;
|
|
|
|
}
|
|
|
|
%internal-button-dangerous-intent {
|
|
|
|
@extend %frame-red-700;
|
|
|
|
}
|
|
|
|
%internal-button-intent {
|
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);
|
2019-11-25 17:43:25 +00:00
|
|
|
}
|
|
|
|
%internal-button:focus,
|
|
|
|
%internal-button:hover {
|
|
|
|
@extend %internal-button-intent;
|
|
|
|
}
|
|
|
|
%internal-button-dangerous:focus,
|
|
|
|
%internal-button-dangerous:hover {
|
|
|
|
@extend %internal-button-dangerous-intent;
|
|
|
|
}
|
2020-05-11 14:04:27 +00:00
|
|
|
|
|
|
|
%split-button span::after {
|
|
|
|
@extend %as-pseudo;
|
|
|
|
position: absolute;
|
|
|
|
width: 1px;
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
|
|
|
margin-left: 8px;
|
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-palette-neutral-300);
|
2020-05-11 14:04:27 +00:00
|
|
|
}
|
|
|
|
%sort-button::before {
|
2020-08-10 15:00:05 +00:00
|
|
|
@extend %with-sort-mask, %as-pseudo;
|
|
|
|
position: relative;
|
2020-05-11 14:04:27 +00:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
2020-08-10 15:00:05 +00:00
|
|
|
%sort-button::after {
|
|
|
|
top: 0 !important;
|
|
|
|
}
|