-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (97 loc) · 1.59 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
body {
margin: 0;
padding: 0;
background-color: #e4e4e4;
}
hr {
border-color: #d1d1d1;
}
.toolbox {
position: absolute;
height: 100vh;
background-color: #454647;
}
.toolbox.left {
left: 0;
top: 0;
}
.toolbox.right {
right: 0;
top: 0;
overflow-y: auto;
}
.toolbox .group .item {
width: 24px;
height: 24px;
padding: 10px;
cursor: pointer;
}
.toolbox .group .item:hover,
.toolbox .group .item.active {
background-color: #007aff;
}
.toolbox .group .item img {
width: 100%;
filter: invert();
}
.toolbox .group.linewidths .item {
position: relative;
}
.toolbox .group.linewidths .item .linewidth {
position: absolute;
background-color: #ffffff;
border-radius: 50%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.toolbox .group.swatches .item .swatch {
width: 100%;
height: 100%;
border: 1px solid #d1d1d1;
box-sizing: border-box;
}
.header {
margin: 50px 100px;
}
.custom-file-input {
overflow: hidden;
position: relative;
}
.custom-file-input [type="file"] {
cursor: inherit;
display: block;
font-size: 999px;
filter: alpha(opacity=0);
min-height: 100%;
min-width: 100%;
opacity: 0;
position: absolute;
right: 0;
text-align: right;
top: 0;
}
canvas {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #ffffff;
}
.no-mobile {
display: none;
}
@media (max-width: 576px) {
.toolbox,
canvas {
display: none;
}
.no-mobile {
display: flex;
align-items: center;
height: 100vh;
padding: 0 1rem;
color: #98a6ad;
text-align: center;
}
}