forked from tkrclient/tkrclient.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdraw2.css
86 lines (74 loc) · 1.22 KB
/
draw2.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
86
/**
* Fix user-agent
*/
* {
box-sizing: border-box;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
}
/**
* Canvas
*/
.colorpicker3 {
border-radius: 10px;
width: 48px;
height: 48px;
background-color: black;
}
.whiteboard {
height: 100%;
width: 100%;
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
}
/* .colors {
position: fixed;
margin-left: 10px;
margin-top: 10px;
} */
.colors {
position: absolute;
left: 300px;
top: 50px;
margin-left: 10px;
margin-top: 10px;
}
.color {
display: inline-block;
height: 48px;
width: 48px;
}
.color.black { background-color: black; }
.color.red { background-color: red; }
.color.green { background-color: green; }
.color.blue { background-color: blue; }
.color.yellow { background-color: yellow; }
#eraser {
width: 48px;
position: absolute;
left: 55px;
height: 48px;
top: 0px;
border-radius: 25px;
/* background-color: rgba(0, 0, 0, .75); */
background-color: grey;
font-weight: 600;
font-size: 30px;
text-align: center;
align-content: center;
}
#wipe {
position: absolute;
top: 50px;
border-radius: 8px;
opacity: 40%;
color: white;
background-color: black;
left: 1px;
}