adrema/resources/css/table.css

44 lines
827 B
CSS
Raw Normal View History

2021-07-04 01:44:41 +02:00
.custom-table {
display: table;
width: 100%;
2021-07-04 16:56:07 +02:00
& > header > div {
@apply px-6 text-gray-200 font-semibold py-3 border-gray-600 border-b;
}
& > div {
@apply text-gray-200 transition-all duration-300 rounded hover:bg-gray-800;
& > div {
@apply py-1 px-6;
}
}
&.custom-table-sm {
& > header > div {
@apply px-3 py-2;
}
& > div {
& > div {
@apply py-1 px-3;
}
}
}
&.custom-table-light {
& > header > div {
@apply border-gray-500;
}
& > div {
&:hover {
@apply bg-gray-700;
}
}
}
2021-07-04 01:44:41 +02:00
}
.custom-table > * {
display: table-row;
}
.custom-table > * > * {
display: table-cell;
}