vault/ui/app/styles/components/vlt-table.scss
claire bontempo 7f03393630
UI: Increase base font size (#23994)
* fix button padding

* rename spacing variables using numerical values

* fix toggle aligment

* remove unused toggle classes

* replace margin and padding with spacing vars

* increase base font size

* remove switch css, use toggle consistently

* remaining margin/padding size vars to spacing pixels

* add deprecated note, rever changes to size vars

* decrease console size

* remove function

* adjust card size for small selectable cards

* fix select to fit to content width

* fix toolbar-scroller height

* add changelog;

* fix checkbox styling
2023-11-13 21:29:39 +00:00

64 lines
838 B
SCSS

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
.vlt-table {
.is-collapsed {
visibility: collapse;
height: 0;
}
&.sticky-header {
thead th {
position: sticky;
background: #fff;
box-shadow: 0 1px 0px 0px rgba($grey-dark, 0.3);
top: 0;
}
}
table {
border-collapse: collapse;
border-spacing: 0;
}
th,
td {
padding: $spacing-12;
}
th {
color: $grey-dark;
font-weight: 500;
font-size: $size-8;
text-align: left;
vertical-align: top;
}
tbody th {
font-size: $size-7;
}
tr {
border-bottom: 1px solid $grey-light;
}
td {
color: $grey-darkest;
}
td.middle {
vertical-align: middle;
}
td.no-padding {
padding: 0;
}
code {
font-size: $size-7;
color: $black;
}
}