2023-03-14 13:18:55 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
*/
|
|
|
|
|
2019-06-14 17:27:37 +00:00
|
|
|
%table {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
%table-flex tr {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
%table-flex tr > * {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
%table caption,
|
|
|
|
%table thead th {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
%table-actions {
|
|
|
|
width: 60px !important;
|
|
|
|
}
|
|
|
|
%table th.actions input {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
%table th.actions {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
%table td a {
|
|
|
|
display: block;
|
|
|
|
}
|
2019-12-17 18:47:37 +00:00
|
|
|
%table td.no-actions ~ .actions {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-07-15 13:17:48 +00:00
|
|
|
%table td:not(.actions) > *:only-child {
|
2020-07-21 13:41:11 +00:00
|
|
|
overflow: hidden;
|
2019-07-15 13:17:48 +00:00
|
|
|
}
|
2019-06-14 17:27:37 +00:00
|
|
|
%table td:not(.actions) > * {
|
|
|
|
white-space: nowrap;
|
2019-07-15 13:17:48 +00:00
|
|
|
}
|
|
|
|
%table td:not(.actions) > *:only-child {
|
2019-06-14 17:27:37 +00:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
%table td {
|
|
|
|
height: 50px;
|
2020-05-07 13:57:15 +00:00
|
|
|
vertical-align: middle;
|
2019-06-14 17:27:37 +00:00
|
|
|
}
|
|
|
|
%table caption {
|
|
|
|
margin-bottom: 0.8em;
|
|
|
|
}
|
|
|
|
%table th {
|
2020-10-05 14:02:15 +00:00
|
|
|
padding: 0.6em 0;
|
2019-06-14 17:27:37 +00:00
|
|
|
}
|
|
|
|
%table th:not(.actions),
|
|
|
|
%table td:not(.actions),
|
|
|
|
%table td a {
|
|
|
|
padding-right: 0.9em;
|
|
|
|
}
|
2019-12-17 18:47:37 +00:00
|
|
|
%table tbody td em {
|
|
|
|
display: block;
|
|
|
|
font-style: normal;
|
2023-03-15 02:49:14 +00:00
|
|
|
font-weight: var(--token-typography-font-weight-regular);
|
2019-12-17 18:47:37 +00:00
|
|
|
}
|
|
|
|
%table tbody td em {
|
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);
|
2019-12-17 18:47:37 +00:00
|
|
|
}
|