-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.css
85 lines (70 loc) · 836 Bytes
/
default.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
81
82
83
84
85
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
#canvas {
display: block;
box-sizing: border-box;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
border: none;
background: #eee;
}
button {
position: absolute;
width: 2em;
height: 2em;
background: #fff;
border: 1px solid #999;
}
#zoomin {
top: 1em;
left: 2em;
}
#zoomout {
top: 1em;
left: 4.5em;
}
#moveleft {
top: 6em;
left: 1em;
}
#moveright {
top: 6em;
left: 5.5em;
}
#moveup {
top: 3.75em;
left: 3.25em;
}
#movedown {
top: 6em;
left: 3.25em;
}
#togglemode {
top: 1em;
right: 1em;
}
svg, svg * {
pointer-events: none;
}
path {
pointer-events: visibleStroke;
}
circle {
pointer-events: visible;
}
path:hover {
opacity: 0.3;
stroke-width: 3;
}
circle:hover {
fill: #0055ff;
}
#canvas > svg {
position: absolute;
}