mirror of
https://github.com/ershisan99/flashcards-example-project.git
synced 2025-12-16 12:33:18 +00:00
52 lines
844 B
SCSS
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%;
|
|
}
|