-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
149 lines (142 loc) · 2.66 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
* {
margin: 0;
}
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
#canvas-container {
width: 100%;
height: 100vh;
}
.dt-control-container {
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
border-top-right-radius: 8px;
border-top-left-radius: 8px;
border: 1px solid #404040;
border-bottom: 1px solid transparent;
background: #222222;
display: flex;
align-items: center;
padding: 12px;
}
.dt-dc-container {
border-left: 1px solid #404040;
border-right: 1px solid #404040;
display: flex;
align-items: center;
justify-content: center;
padding: 0 0.4rem;
}
.dt-default-colors {
position: relative;
border-radius: 50%;
width: 28px;
height: 28px;
border: solid 2px transparent;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.dt-default-colors div {
width: 24px;
height: 24px;
border-radius: 50%;
box-sizing: border-box;
box-shadow: none;
}
.dt-cp-container {
width: 28px;
height: 28px;
border: solid 2px transparent;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
padding: 0 0.4rem;
}
.dt-color-picker {
width: 24px;
height: 24px;
border-radius: 50%;
background: radial-gradient(50% 50% at 50% 50%, #ffffff 0%, transparent 100%),
conic-gradient(
from 0deg at 50% 50%,
#ff0000 0deg,
#ffa800 47.73deg,
#ffff00 79.56deg,
#00ff00 121.33deg,
#00ffff 180.99deg,
#0000ff 238.67deg,
#ff00ff 294.36deg,
#ff0000 360deg
),
#c4c4c4;
transform: rotate(105deg);
}
.hide {
display: none;
}
.dt-tools-container {
position: relative;
width: 50px;
display: flex;
align-items: center;
justify-content: center;
}
.dt-tools-container img {
position: absolute;
max-height: 70px;
bottom: -25px;
transition: all 0.2s;
cursor: pointer;
}
.dt-tools-container img:hover {
bottom: -10px;
opacity: 0.8;
transform: scale(1.1);
}
#size {
width: 35px;
height: 30px;
margin: 0 0.8rem;
border: none;
border-radius: 4px;
background: #3d3d3d;
color: #fff;
font-size: 18px;
font-weight: 500;
-moz-appearance: textfield;
}
#size::-webkit-outer-spin-button,
#size::-webkit-inner-spin-button {
-webkit-appearance: none;
}
.dt-undo-redo-container {
display: flex;
align-items: center;
justify-content: center;
border-left: 1px solid #404040;
padding: 0 0.8rem;
}
.dt-undo-redo-container img {
width: 18px;
cursor: pointer;
}
.dt-download-container {
border-left: 1px solid #404040;
padding: 0 0.8rem;
}
.dt-download-container img {
width: 18px;
cursor: pointer;
}
#redo {
margin-left: 0.8rem;
}