/
index.css
73 lines (63 loc) · 1.31 KB
/
index.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
canvas {
position : absolute;
top : 0;
left : 0;
}
body {
position : relative;
padding : 0;
margin : 0;
}
li {
display : block;
cursor : pointer;
user-select : none;
-webkit-user-select : none;
font-family : sans-serif;
color : white;
position : absolute;
top : 0;
left : 0;
border-radius : 0.8em;
background-color : rgb(80, 80, 80);
padding : 0.6em;
font-size : 0.7em;
transition : opacity 0.2s ease;
opacity : 0;
pointer-events : none;
}
/*
li::before {
content: attr(data-depth) ' ';
}
*/
li.parent {
background-color : rgb(210, 210, 210);
}
li[data-has-children="true"]::after {
display : block;
content : '';
position : absolute;
bottom : -0.25em;
right : -0.25em;
width : 1em;
height : 1em;
background : mediumseagreen;
border-radius : 1em;
}
li.light {
background-color : rgb(160, 160, 160);
}
li.light::after {
background : orangered;
}
li.show {
opacity : 1;
pointer-events : all;
}
a {
color : rgb(250, 100, 190);
}
.root img {
width : 80px;
}