-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
69 lines (63 loc) · 1.19 KB
/
style.css
File metadata and controls
69 lines (63 loc) · 1.19 KB
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
th.sorted-asc::after { content: " ▲"; color: #0ff; }
th.sorted-desc::after { content: " ▼"; color: #0ff; }
th.sorted-asc, th.sorted-desc { color: #0ff; }
body {
font-family: sans-serif;
background: #111;
color: #eee;
padding: 2em;
}
h2 { margin-bottom: 0.5em; }
audio {
width: 100%;
height: 40px;
margin-bottom: 1em;
}
table {
width: 100%;
border-collapse: collapse;
}
th, td {
padding: 0.5em;
border-bottom: 1px solid #444;
text-align: left;
}
tr:hover { background-color: #222; cursor: pointer; }
tr.current {
background-color: #333;
font-weight: bold;
color: #0ff;
}
.controls {
margin-bottom: 1em;
}
button {
background: #222;
color: #eee;
border: 1px solid #444;
padding: 0.5em 1em;
margin-right: 0.5em;
cursor: pointer;
}
th.sortable:hover { color: #0ff; cursor: pointer; }
/* Drag and drop styles */
tr.dragging {
opacity: 0.5;
background-color: #444 !important;
}
tr.drop-above {
border-top: 3px solid #0ff;
}
tr.drop-below {
border-bottom: 3px solid #0ff;
}
tr {
cursor: grab;
}
tr:active {
cursor: grabbing;
}
/* Disable text selection during drag */
tr.dragging * {
user-select: none;
}