vault/ui/app/styles/components/vlt-table.scss
Hamid Ghaf e55c18ed12
adding copyright header (#19555)
* adding copyright header

* fix fmt and a test
2023-03-15 09:00:52 -07:00

57 lines
720 B
SCSS

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
.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;
}
}
th,
td {
padding: $spacing-s;
}
th {
color: $grey-dark;
font-weight: 500;
font-size: $size-8;
}
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;
}
}