Files
nitter-status/server/static/sorting.css
T
2023-08-04 17:31:43 +02:00

44 lines
1.1 KiB
CSS

@charset "UTF-8";
/* adopted from https://github.com/tofsjonas/sortable */
.sortable thead th:not(.no-sort) {
cursor: pointer;
}
.sortable thead th:not(.no-sort)::after, .sortable thead th:not(.no-sort)::before {
transition: color 0.1s ease-in-out;
font-size: 1.2em;
color: transparent;
}
.sortable thead th:not(.no-sort)::after {
margin-left: 3px;
content: "▸";
}
.sortable thead th:not(.no-sort):hover::after {
color: inherit;
}
.sortable thead th:not(.no-sort).dir-d::after {
color: inherit;
content: "▾";
}
.sortable thead th:not(.no-sort).dir-u::after {
color: inherit;
content: "▴";
}
.sortable thead th:not(.no-sort).indicator-left::after {
content: "";
}
.sortable thead th:not(.no-sort).indicator-left::before {
margin-right: 3px;
content: "▸";
}
.sortable thead th:not(.no-sort).indicator-left:hover::before {
color: inherit;
}
.sortable thead th:not(.no-sort).indicator-left.dir-d::before {
color: inherit;
content: "▾";
}
.sortable thead th:not(.no-sort).indicator-left.dir-u::before {
color: inherit;
content: "▴";
}