-
Notifications
You must be signed in to change notification settings - Fork 0
/
dir_list.css
80 lines (63 loc) · 1.1 KB
/
dir_list.css
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
/*
* CS2003 Web2 Practical, Example CSS
* Saleem Bhatti, Oct 2018
* Run this to generate the example web-page.
*/
dirinfo {
display: inline-block;
transition: max-height 0.2s ease-out;
}
server {
display: inline-block;
color: blue;
}
server::before {
content: "server: ";
}
directoryname {
display: inline-block;
color: green;
}
directoryname::before {
content: "directory: ";
}
files {
display: table;
border-collapse: collapse;
}
headers {
padding: 0.25rem;
display: table-row;
background-color: green;
font-weight: bold;
}
.header:hover {
background-color: aqua;
}
fileinfo {
padding: 0.25rem;
display: table-row;
}
fileinfo[type="directory"]:hover > filename {
color: white;
background-color: blue;
}
fileinfo[type="directory"] > filename {
background-color: lightcyan;
}
fileinfo[type="directory"] > filename::after {
content: "/";
}
filename, size, type, atime, ctime, mtime, birthtime {
padding: 0.25rem;
display: table-cell;
}
filename {
text-align: left;
}
size {
text-align: right;
}
type, atime, ctime, mtime, birthtime {
text-align: center;
}