-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathannotate.css
49 lines (45 loc) · 884 Bytes
/
annotate.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
#annotationLayer {
display: none;
position: absolute;
top: 0;
left: 0;
}
body:has(#debug:checked) {
#annotationLayer {
display: block;
}
#result {
--s: 100px; /* control the size */
--_g: #0000 90deg, #d8dee910 0;
background: conic-gradient(from 90deg at 2px 2px, var(--_g)) 0 0 / var(--s)
var(--s),
conic-gradient(from 90deg at 1px 1px, var(--_g)) 0 0 / calc(var(--s) / 5)
calc(var(--s) / 5);
/* compensate for viewport adjustment to see the labels*/
background-position-x: 20px;
background-position-y: 20px;
}
}
.annotation {
fill: none;
stroke: #5e81ac;
}
.point {
fill: #d8dee9;
stroke: #bf616a;
cursor: pointer;
}
.control-point {
fill: #d8dee9;
stroke: #a3be8c;
cursor: pointer;
}
.coordinate-text {
font-size: 0.8em;
fill: #ebcb8b;
}
#originalSVG {
path {
stroke-width: 1px;
}
}