-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathinput.css
More file actions
292 lines (246 loc) · 7.08 KB
/
input.css
File metadata and controls
292 lines (246 loc) · 7.08 KB
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
@import "tailwindcss";
@theme {
/* Colors */
--color-transparent: 'transparent';
--color-white: #FAFAFA;
--color-black: #0F0E11;
--color-base-bg: #0F0E11;
--color-base-canvas: #0C0C0E;
--color-elements-highEmphasis: #FAFAFA;
--color-elements-midEmphasis: #D1D1D1;
--color-elements-lowEmphasis: #707070;
--color-elements-disabled: #585661;
--color-elements-gold: #ECC771;
--color-elements-purple: #5949B7;
--color-elements-green: #49B759;
--color-elements-red: #B92F19;
--color-elements-yellow: #C6C33E;
--color-elements-contrast: #0F0E11;
--color-surface-elevated: #131216;
--color-surface-elevatedHover: #151419;
--color-surface-floating: #1A191F;
--color-controls-primary: #F5F5F5;
--color-controls-primaryHover: #FAFAFA;
--color-controls-secondary: #26242D;
--color-controls-secondaryHover: #2B2932;
--color-controls-tertiary: #1D1C22;
--color-controls-tertiaryHover: #222027;
--color-controls-danger: #CC3B28;
--color-controls-dangerHover: #BC3625;
--color-controls-disabled: #18171C;
--color-controls-handle: '#302E38';
/* Fonts */
--font-mono: monospace, ui-monospace;
--font-serif: ui-serif;
--font-sans: Pilat, ui-sans-serif, system-ui;
--font-wide: PilatWide, ui-sans-serif, system-ui;
--font-extended: PilatExtended, ui-sans-serif, system-ui;
/* Animations */
--animate-marquee: marquee 30s linear infinite;
--animate-marquee2: marquee2 30s linear infinite;
--animate-wallet-drawer-fade: wallet-drawer-fade 200ms ease-in-out;
--animate-wallet-drawer-slide: wallet-drawer-slide 200ms ease-in-out;
/* Keyframes */
@keyframes marquee {
0% {
transform: translateX(0%);
}
100% {
transform: translateX(-100%);
}
}
@keyframes marquee2 {
0% {
transform: translateX(100%);
}
100% {
transform: translateX(0%);
}
}
@keyframes wallet-drawer-fade {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes wallet-drawer-slide {
from {
transform: translateX(100%);
}
to {
transform: translateX(0);
}
}
}
body {
@apply bg-base-bg text-elements-highEmphasis overflow-x-hidden;
}
@layer components {
.wallet-drawer-fade {
animation: var(--animate-wallet-drawer-fade);
}
.wallet-drawer-slide {
animation: var(--animate-wallet-drawer-slide);
}
.scrollbar-hide {
scrollbar-width: none;
/* For Firefox */
-ms-overflow-style: none;
/* For Internet Explorer and Edge */
}
.loading {
@apply transition bg-gray-800 animate-pulse;
}
.elevated {
@apply bg-surface-elevated;
}
.elevated-control {
@apply transition bg-surface-elevated hover:bg-surface-elevatedHover;
}
.elevated-border {
@apply border border-gray-800;
}
.top-safe {
top: 0;
padding-top: env(safe-area-inset-top);
}
.no-scroll {
overflow: hidden;
}
.controls-primary {
@apply flex font-semibold transition duration-300 ease-in-out bg-controls-primary text-black hover:bg-controls-primaryHover hover:not-disabled:cursor-pointer hover:not-disabled:scale-105 disabled:bg-controls-disabled disabled:text-elements-disabled;
}
.controls-secondary {
@apply flex font-semibold text-center transition duration-300 ease-in-out bg-controls-secondary text-elements-midEmphasis hover:bg-controls-secondaryHover hover:not-disabled:cursor-pointer;
}
.controls-tertiary {
@apply flex font-semibold transition duration-300 ease-in-out bg-controls-tertiary text-elements-lowEmphasis hover:bg-controls-tertiaryHover hover:text-elements-midEmphasis hover:not-disabled:cursor-pointer;
}
.controls-gold {
@apply flex font-semibold transition duration-300 ease-in-out border-2 border-elements-gold text-elements-gold hover:bg-elements-gold hover:text-black hover:not-disabled:cursor-pointer hover:not-disabled:scale-105 disabled:bg-controls-disabled disabled:text-elements-disabled disabled:border-none;
}
.bg-elements-red {
background-color: var(--color-elements-red);
}
.bg-elements-yellow {
background-color: var(--color-elements-yellow);
}
.bg-elements-green {
background-color: var(--color-elements-green);
}
.checkbox {
@apply w-4 h-4 appearance-none border-2 border-elements-lowEmphasis rounded bg-transparent cursor-pointer relative;
}
.checkbox:checked {
@apply bg-elements-highEmphasis border-elements-highEmphasis;
}
.checkbox:checked::after {
content: '';
position: absolute;
width: 6px;
height: 10px;
border: solid black;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
display: block;
left: 50%;
top: 50%;
margin-left: -3px;
margin-top: -7px;
}
}
/* Pilat */
@font-face {
font-family: 'Pilat';
src: url('/assets/fonts/Pilat/Pilat-Light.otf') format('opentype');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Pilat';
src: url('/assets/fonts/Pilat/Pilat-Regular.otf') format('opentype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Pilat';
src: url('/assets/fonts/Pilat/Pilat-Book.otf') format('opentype');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Pilat';
src: url('/assets/fonts/Pilat/Pilat-Demi.otf') format('opentype');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'Pilat';
src: url('/assets/fonts/Pilat/Pilat-Bold.otf') format('opentype');
font-weight: 700;
font-style: normal;
}
/* PilatWide */
@font-face {
font-family: 'PilatWide';
src: url('/assets/fonts/PilatWide/PilatWide-Light.otf') format('opentype');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'PilatWide';
src: url('/assets/fonts/PilatWide/PilatWide-Regular.otf') format('opentype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'PilatWide';
src: url('/assets/fonts/PilatWide/PilatWide-Book.otf') format('opentype');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'PilatWide';
src: url('/assets/fonts/PilatWide/PilatWide-Demi.otf') format('opentype');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'PilatWide';
src: url('/assets/fonts/PilatWide/PilatWide-Bold.otf') format('opentype');
font-weight: 700;
font-style: normal;
}
/* PilatExtended */
@font-face {
font-family: 'PilatExtended';
src: url('/assets/fonts/PilatExtended/PilatExtended-Light.otf') format('opentype');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'PilatExtended';
src: url('/assets/fonts/PilatExtended/PilatExtended-Regular.otf') format('opentype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'PilatExtended';
src: url('/assets/fonts/PilatExtended/PilatExtended-Book.otf') format('opentype');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'PilatExtended';
src: url('/assets/fonts/PilatExtended/PilatExtended-Demi.otf') format('opentype');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'PilatExtended';
src: url('/assets/fonts/PilatExtended/PilatExtended-Bold.otf') format('opentype');
font-weight: 700;
font-style: normal;
}