open-vault/ui/app/styles/core/tables.scss

45 lines
827 B
SCSS
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
2018-04-03 14:16:57 +00:00
.table {
thead,
.thead {
box-shadow: 0 1px 0 0 $grey-light, 0 -1px 0 0 $grey-light;
th,
.th {
font-size: $size-8;
2019-02-14 16:04:46 +00:00
color: $grey;
font-weight: $font-weight-semibold;
padding: 1rem 1.5rem 0;
2018-04-03 14:16:57 +00:00
border-width: 0 0 1px 0;
border-color: $grey-light;
}
}
.thead {
box-shadow: 0 -1px 0 0 $grey-light;
}
td,
.td {
font-size: $size-6;
color: $black;
padding: 1rem 1.5rem;
border-width: 0 0 1px 0;
border-color: $grey-light;
border-style: solid;
}
tr:hover {
background: rgba($grey-lighter, 0.4);
2018-04-03 14:16:57 +00:00
}
}
.table tbody tr:last-child td,
.table tbody tr:last-child th {
border-bottom-width: inherit;
}
.table.has-expanded-borders {
border-collapse: inherit;
}