46 lines
774 B
Plaintext
46 lines
774 B
Plaintext
table th {
|
|
position: relative;
|
|
padding-right: 20px;
|
|
|
|
&.sortable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
a {
|
|
font-weight: 800;
|
|
}
|
|
}
|
|
|
|
table th.sorted-asc,
|
|
table th.sorted-desc {
|
|
color: var(--lightbase);
|
|
}
|
|
|
|
table th.sortable::after,
|
|
table th.sortable::before {
|
|
content: '';
|
|
position: absolute;
|
|
right: 0;
|
|
width: 0;
|
|
height: 0;
|
|
transform: translateY(-100%);
|
|
border-left: 8px solid transparent;
|
|
border-right: 8px solid transparent;
|
|
}
|
|
|
|
table th.sortable::before {
|
|
top: 21px;
|
|
border-top: 8px solid rgba(0, 0, 0, 0.1);
|
|
}
|
|
table th.sortable::after {
|
|
top: 9px;
|
|
border-bottom: 8px solid rgba(0, 0, 0, 0.1);
|
|
}
|
|
table th.sorted-asc::before {
|
|
border-top: 8px solid var(--lightbase);
|
|
}
|
|
|
|
table th.sorted-desc::after {
|
|
border-bottom: 8px solid var(--lightbase);
|
|
}
|