forked from mikhail-angelov/react-whiteboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (67 loc) · 1.23 KB
/
index.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
<html>
<head>
<meta charset="UTF-8">
<title>whiteboard</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
<style>
#main {
display: flex;
flex-direction: column;
width: 100%; height: 100%;
background-image: url(mm.jpg);
background-size: 100px;
}
#container{
display:flex;
flex: 1;
}
#whiteBoard{
border: 1px;
flex: 1;
}
#tools{
display: block;
}
#tools > div{
width: 36px;
padding: 8px;
font-size: 30;
justify-content: center;
display: flex;
flex-direction: column;
align-items: center;
}
#tools > div.selected{
background-color: black;
color: white;
}
#history{
display: flex;
}
#history > span{
width: 10px;
height: 10px;
border: 1px solid;
font-size: 30;
justify-content: center;
display: flex;
margin: 2px;
}
#history > span.selected{
background-color: black;
color: white;
}
#selection {
cursor: all-scroll;
fill: aliceblue;
fill-opacity: 0.5;
stroke: blue;
stroke-dasharray: 5 10;
}
</style>
</head>
<body>
<div id="app"></div>
<script src="dist/index.js"></script>
</body>
</html>