-
Notifications
You must be signed in to change notification settings - Fork 0
/
etch-a-sketch.css
89 lines (76 loc) · 1.27 KB
/
etch-a-sketch.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
body {
font-family: monospace;
}
.etch-a-sketch {
display: flex;
justify-content: center;
}
.primary-title {
text-align: center;
width: 100%;
padding: 40px 0px 40px 0px;
}
.etch-a-sketch__grid {
display: grid;
border: 1px solid transparent;
height: 400px;
width: 400px;
}
.row {
display: flex;
justify-content: space-between;
border: 1px solid transparent;
}
.cell {
border: 1px solid #9e9e9e;
width: 100%;
height: 100%;
}
.etch-a-sketch__toolbar {
display: flex;
flex-direction: column;
justify-content: flex-end;
width: 200px;
margin: 0px 24px;
}
.etch-a-sketch__btn-wrapper {
display: flex;
align-items: center;
}
.btn {
font-family: inherit;
display: flex;
align-items: center;
justify-content: center;
padding: 8px 32px;
margin: 4px;
min-height: 40px;
width: 100%;
border-radius: 4px;
border-width: 0px;
cursor: pointer;
background-color: #eeeeee;
}
.btn:disabled {
color: inherit;
background-color: #bdbdbd;
}
.btn__mode--single {
width: 148px;
}
.btn__color-input {
cursor: pointer;
width: 48px;
height: 40px;
border-width: 0px;
background-color: transparent;
}
.toggle {
display: flex;
flex-direction: column;
align-items: center;
margin: 4px;
}
.toggle__range-input {
cursor: pointer;
}