fradrive/templates/table/colonnade.lucius
2018-04-12 23:23:35 +02:00

39 lines
719 B
Plaintext

table th {
cursor: pointer;
position: relative;
padding-right: 20px;
}
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);
}