Files
flashcards-example-project/src/components/ui/table/table.module.scss
2023-09-09 17:03:16 +02:00

52 lines
844 B
SCSS

.table {
border-collapse: collapse;
width: 100%;
color: var(--color-light-100);
border: 1px solid var(--color-dark-500);
}
.headCell {
padding: 6px 24px;
font-size: var(--font-size-s);
font-weight: var(--font-weight-bold);
line-height: var(--line-height-m);
background-color: var(--color-dark-500);
> span {
user-select: none;
display: flex;
gap: 4px;
align-items: center;
}
&.sortable > span {
cursor: pointer;
}
svg {
transition: transform 0.2s ease-in-out;
}
}
.tableCell {
padding: 6px 24px;
font-size: var(--font-size-s);
line-height: var(--line-height-m);
background-color: var(--color-bg-table);
border-bottom: 1px solid var(--color-dark-500);
}
.chevronDown {
transform: rotate(180deg);
}
.empty {
display: flex;
justify-content: center;
width: 100%;
}