Replace Sass with PostCSS, include imports and nesting
This commit is contained in:
parent
347bbe20ba
commit
9633b980d5
36 changed files with 279 additions and 184 deletions
27
assets/css/components/table.css
Normal file
27
assets/css/components/table.css
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
.table-collapse {
|
||||
@apply border-collapse;
|
||||
}
|
||||
|
||||
.table-responsive {
|
||||
@apply mb-4 border w-full overflow-x-auto overflow-y-hidden;
|
||||
|
||||
table {
|
||||
@apply mb-0 border-0 whitespace-no-wrap;
|
||||
}
|
||||
}
|
||||
|
||||
.table {
|
||||
@apply w-full table-collapse;
|
||||
|
||||
& tr:nth-child(odd) {
|
||||
@apply bg-grey-lighter;
|
||||
}
|
||||
|
||||
& tr th {
|
||||
@apply text-left p-3 bg-white;
|
||||
}
|
||||
|
||||
& td {
|
||||
@apply p-3 border-t;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue