Apply custom styling to all tables

This commit is contained in:
Maciej Pędzich 2023-01-22 20:42:49 +01:00
parent 27fed5e053
commit 926e4ad512

View File

@ -18,25 +18,41 @@ li > a {
@apply hover:text-inherit focus:text-primary-content focus:bg-primary;
}
#snapshot-tracklist th,
#snapshot-tracklist tr,
#snapshot-tracklist td {
a.tab {
@apply flex-nowrap whitespace-pre;
}
a.tab > i {
@apply mr-3;
}
table.datatable th,
table.datatable tr,
table.datatable td {
@apply border-base-content border-opacity-20;
}
#snapshot-tracklist th {
table.datatable th {
@apply rounded-none;
}
#snapshot-tracklist tr {
table.datatable tr {
@apply border-b-[1px];
}
#snapshot-tracklist th,
#snapshot-tracklist td {
table.datatable th,
table.datatable td {
@apply border-r-[1px];
}
table.datatable thead {
@apply lg:table-header-group hidden;
}
table.datatable td {
@apply lg:table-cell flex justify-between;
}
.search-suggestion {
@apply block p-3 text-inherit border-b-[1px] border-solid border-base-content border-opacity-20;
}