-
Notifications
You must be signed in to change notification settings - Fork 3
/
draw.css
97 lines (85 loc) · 1.38 KB
/
draw.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
87
88
89
90
91
92
93
94
95
96
97
* {
box-sizing: border-box;
}
html, body {
background: rgb(238,238,238);
padding: 0;
margin: 0;
font-family: arial;
}
header {
background: rgb(245,245,245);
border-bottom: solid 1px rgb(220,220,220);
padding: 8px 16px;
}
.clear {
display: block;
clear: both;
}
.btn {
float: left;
border-radius: 4px;
background: rgb(250,250,250);
border: solid 1px rgb(220,220,220);
border-bottom: solid 1px rgb(180,180,180);
padding: 3px 12px;
font-size: 14px;
margin-right: 4px;
cursor: pointer;
}
.rec span {
border: solid 2px rgb(255,0,0);
height: 15px;
width: 20px;
display: inline-block;
}
.rec.black span {
border: solid 2px rgb(0,0,0);
background: #000;
height: 15px;
width: 20px;
display: inline-block;
}
.rec.red span {
border: solid 2px rgb(255,0,0);
height: 15px;
width: 20px;
display: inline-block;
}
.marker span {
display: inline-block;
background: rgb(255,0,0);
color: #fff;
padding: 1px 6px;
border-radius: 4px;
}
.btn.save {
float: right;
margin-left: 4px;
}
.btn:hover {
border: solid 1px rgb(120,120,120);
}
.btn.selected {
background: rgb(200,240,240);
border: solid 1px rgb(0,0,100);
}
article {
position: relative
}
section {
position: absolute;
top: 0;
left: 0;
z-index: 100;
width: 100%;
}
canvas {
margin: 0px auto;
display: block;
}
img {
z-index: 50;
display: block;
margin: 0 auto;
}