mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-12 06:11:10 +01:00
* 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
64 lines
838 B
SCSS
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;
|
|
}
|
|
}
|