-
Notifications
You must be signed in to change notification settings - Fork 2
/
index_top.html
96 lines (96 loc) · 1.72 KB
/
index_top.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<style>
body, html, dialog, form {
background: #000;
color: #fff;
font-family: Monospace;
font-size: x-large;
}
tr:nth-child(even) {
background: #333;
}
tr:hover {
outline: 2px solid orange;
}
th, td {
padding: 0.2em;
}
th {
text-align: left;
font-weight: bold;
border-bottom: 2px solid #aaa;
padding-bottom: 0.5em;
text-decoration: underline;
}
th::after {
text-decoration: none !important;
}
table {
border: 2px solid #aaa;
width: 100%;
}
thead {
position: sticky;
top: 0;
background: black;
}
a {
color: #4cf;
}
a:hover {
color: #e33;
}
</style>
<style>
/* https://github.com/tofsjonas/sortable/blob/main/sortable.css
https://github.com/tofsjonas/sortable/blob/main/LICENSE */
.sortable th {
cursor: pointer;
}
.sortable th.no-sort {
pointer-events: none;
}
.sortable th::after, .sortable th::before {
transition: color 0.1s ease-in-out;
font-size: 1.5em;
color: transparent;
}
.sortable th::after {
margin-left: 3px;
content: "▸";
}
.sortable th:hover::after {
color: inherit;
}
.sortable th.dir-d::after {
color: inherit;
content: "▾";
}
.sortable th.dir-u::after {
color: inherit;
content: "▴";
}
.sortable th.indicator-left::after {
content: "";
}
.sortable th.indicator-left::before {
margin-right: 3px;
content: "▸";
}
.sortable th.indicator-left:hover::before {
color: inherit;
}
.sortable th.indicator-left.dir-d::before {
color: inherit;
content: "▾";
}
.sortable th.indicator-left.dir-u::before {
color: inherit;
content: "▴";
}
.sortable th {
text-align: left;
white-space: nowrap;
}
</style>
</head>
<body>