parent
e754e40622
commit
cf0b4011d1
5 changed files with 76 additions and 2 deletions
37
packages/core/src/components/table.scss
Normal file
37
packages/core/src/components/table.scss
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
table {
|
||||
caption-side: bottom;
|
||||
border-collapse: collapse;
|
||||
|
||||
width: 100%;
|
||||
|
||||
tbody,
|
||||
td,
|
||||
tfoot,
|
||||
th,
|
||||
thead,
|
||||
tr {
|
||||
border-color: inherit;
|
||||
border-style: solid;
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
thead {
|
||||
vertical-align: bottom;
|
||||
th {
|
||||
text-align: start;
|
||||
}
|
||||
}
|
||||
|
||||
& > :not(caption) > * > * {
|
||||
padding: var(--msp-spacing-2);
|
||||
color: var(--msp-color-table-text);
|
||||
background-color: var(--msp-color-bg-table);
|
||||
border-bottom-width: var(--msp-border-width);
|
||||
border-color: var(--msp-color-text-transparent);
|
||||
box-shadow: inset 0 0 0 9999px
|
||||
var(
|
||||
--bs-table-bg-state,
|
||||
var(--bs-table-bg-type, var(--bs-table-accent-bg))
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue