Ella Cai 06ff4228b4
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 09:30:12 -07:00

54 lines
1.1 KiB
SCSS

@import './skin';
@import './layout';
%main-content table {
@extend %table;
}
%table-actions {
@extend %more-popover-menu;
overflow: visible;
}
%table-actions > [type='checkbox'] + label {
position: absolute;
right: 5px;
}
table.consul-metadata-list tbody tr {
cursor: default;
}
table.consul-metadata-list tbody tr:hover {
box-shadow: none;
}
%table th span::after {
@extend %with-info-circle-outline-mask, %as-pseudo;
color: var(--token-color-foreground-faint);
margin-left: 4px;
}
%table tbody tr {
cursor: pointer;
}
%table td:first-child {
padding: 0;
}
%table tbody tr:hover {
box-shadow: var(--token-elevation-high-box-shadow);
}
%table td.folder::before {
@extend %with-folder-outline-mask, %as-pseudo;
background-color: var(--token-color-palette-neutral-300);
margin-top: 1px;
margin-right: 5px;
}
/**/
@media #{$--lt-wide-table} {
/* hide actions on narrow screens, you can always click in do everything from there */
%table tr > .actions {
display: none;
}
.consul-intention-list tr > :nth-last-child(2) {
display: none;
}
}