Adding pervasive column sorting
This commit is contained in:
1 parent
34679d53e8
commit
2fb662080b
27 files changed
+614
-111
No files matched your search
@@ -247,6 +247,37 @@ h2 {
|
||||
gap: 0.4rem;
|
||||
}
|
||||
|
||||
/* Sortable table headers */
|
||||
table.sortable thead th:not([data-sort-off]) {
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
table.sortable thead th:not([data-sort-off]):hover {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
table.sortable thead th[aria-sort]::after {
|
||||
margin-left: 0.3rem;
|
||||
}
|
||||
|
||||
table.sortable thead th[aria-sort="ascending"]::after {
|
||||
content: "\25B2";
|
||||
}
|
||||
|
||||
table.sortable thead th[aria-sort="descending"]::after {
|
||||
content: "\25BC";
|
||||
}
|
||||
|
||||
.sort-link {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.sort-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Tags / definition lists */
|
||||
.tag {
|
||||
display: inline-block;
|
||||
|
||||
Reference in new issue
Block a user