mirror of
https://github.com/ershisan99/flashcards-example-project.git
synced 2025-12-18 05:09:23 +00:00
homework 2 done
This commit is contained in:
50
src/components/ui/table/table.module.scss
Normal file
50
src/components/ui/table/table.module.scss
Normal file
@@ -0,0 +1,50 @@
|
||||
.table {
|
||||
border-collapse: collapse;
|
||||
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%;
|
||||
}
|
||||
Reference in New Issue
Block a user