-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
90 lines (77 loc) · 1.41 KB
/
style.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
@font-face {
font-family: 'fira-sans-bold';
src: url('Fira_Sans/FiraSans-Bold.ttf');
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'fira-sans-bold', sans-serif;
}
body {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background: #4a98f7;
}
.container {
width: 800px;
height: 500px;
background: #fff;
border-radius: 10px;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.tools-area {
height: 50px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #ccc;
padding: 0 15px;
}
.tools {
display: flex;
width: 70%;
justify-content: space-between;
align-items: center;
}
.tools .colors {
display: flex;
align-items: center;
}
input[type="color"] {
width: 30px;
height: 25px;
background-color: transparent;
cursor: pointer;
border: 1px solid lightgrey;
border-radius: 4px;
}
label,
i {
margin: 0 3px;
cursor: pointer;
}
.buttons button {
border: none;
padding: 5px 10px;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
}
.buttons .save {
background: #4a98f7;
color: #fff;
}
.buttons .clear:hover {
background-color: lightgray;
}
.draw-area canvas {
width: 100%;
height: 450px;
border-radius: 0 0 10px 10px;
}
.active {
color: #4a98f7;
}