-
Notifications
You must be signed in to change notification settings - Fork 7
/
demo.html
97 lines (90 loc) · 1.72 KB
/
demo.html
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
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>BREP.TS</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/styles/default.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/highlight.min.js"></script>
<script type="text/javascript" src="lib/SVGPathData.js"></script>
<script type="text/javascript" src="dist/demo.js"></script>
<style>
@font-face {
font-family: FiraMedia;
src: url(fonts/FiraSansMedium.woff);
}
body {
font-family: FiraMedia, Verdana, sans-serif;
max-width: 1280px;
padding: 8px;
margin: auto;
}
.democontainer {
border: 1px solid cornflowerblue;
}
.canvascontainer {
position: relative;
}
canvas {
position: absolute;
top: 0;
left: 0;
}
.incont {
position: relative;
font-size: smaller;
display: table;
color: dimgrey;
background-color: white;
padding: 2px;
}
.incont input {
width: 40px;
margin-right: 0.5em;
}
.scrollable {
cursor: s-resize;
}
.info {
position: absolute;
bottom: 0;
margin: 2px;
font-size: x-small;
}
.navinfo {
position: absolute;
top: 0;
right: 0;
margin: 2px;
font-size: x-small;
}
.sourcelink {
position: absolute;
bottom: 0;
right: 0;
margin: 2px;
font-size: x-small;
color: blue;
cursor: pointer;
text-decoration: underline;
}
.src {
position: relative;
display: block;
white-space: pre;
font-family: Consolas, monospace;
font-size: smaller;
padding: 8px;
background-color: aliceblue;
}
.hide {
display: none;!important;
}
.canvasinput {
text-align: right;
}
</style>
</head>
<body>
<div id="react-root"></div>
</body>
</html>