-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathglobal.css
287 lines (256 loc) · 6.96 KB
/
global.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
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
/* @import url('https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--mts-primary-50: 233 251 240;
--mts-primary-100: 207 247 222;
--mts-primary-200: 159 239 188;
--mts-primary-300: 111 230 155;
--mts-primary-400: 64 222 122;
--mts-primary-500: 34 197 94;
--mts-primary-600: 27 157 75;
--mts-primary-700: 20 117 56;
--mts-primary-800: 13 78 37;
--mts-primary-900: 7 39 19;
--mts-primary-950: 4 22 10;
--mts-dark-50: 242 242 243;
--mts-dark-100: 226 226 228;
--mts-dark-200: 199 199 204;
--mts-dark-300: 170 170 177;
--mts-dark-400: 141 141 150;
--mts-dark-500: 113 113 123;
--mts-dark-600: 90 90 98;
--mts-dark-700: 68 68 74;
--mts-dark-800: 46 46 50;
--mts-dark-900: 22 22 24;
--mts-dark-950: 12 12 13;
}
.mts-default {
--border-color: #f4f4f5;
--primary-color: #22c55e;
--secondary-color: #ebebeb;
--background-color: #ffffff;
--modal-background-color: #ffffff;
--swap-container-background: #f4f4f5;
--swap-container-border-color: #ffffff;
--input-card-color: #ffffff;
--input-card-pay-color: #ffffff;
--input-card-receive-color: #d0d5dd;
--input-token-color: #f4f4f5;
--change-direction-background-color: #22c55e;
--change-direction-icon-color: #f4f4f5;
--light-shade-color: #f4f4f5;
--slippage-box-color: #71717a;
--text-black-color: #000000;
--text-white-color: #ffffff;
--text-fade-color: #9caacb;
--skeleton-shine-color: #9c9c9c;
--price-impact-color: #e64646;
}
.mts-dark {
--border-color: #344054;
--primary-color: #16a34a;
--secondary-color: #283241;
--background-color: #101828;
--modal-background-color: #1d2939;
--swap-container-background-color: #101828;
--swap-container-border-color: #1d293900;
--input-card-pay-color: #09090b;
--input-card-receive-color: #344054;
--input-card-color: #101828;
--input-token-color: #101828;
--change-direction-background-color: #101828;
--change-direction-icon-color: #16a34a;
--light-shade-color: #1d2939;
--slippage-box-color: #344054;
--text-black-color: #ffffff;
--text-white-color: #ffffff;
--text-fade-color: #687085;
--skeleton-shine-color: #585959;
}
.mts-ton-jiggle {
--border-color: #004a6533;
--primary-color: #177594;
--secondary-color: #283241;
--background-color: #181f34;
--modal-background-color: #101828;
--swap-container-background-color: #101828;
--swap-container-border-color: #1d293900;
--input-card-pay-color: #09090b;
--input-card-receive-color: #30475b;
--input-card-color: #181f34;
--input-token-color: #1d2939;
--change-direction-background-color: #101828;
--change-direction-icon-color: #177594;
--light-shade-color: #193349;
--slippage-box-color: #d1d1e0;
--text-black-color: #ffffff;
--text-white-color: #ffffff;
--text-fade-color: #6b7280;
--skeleton-shine-color: #585959;
}
* {
font-family: 'IBM Plex Mono', sans-serif !important;
/* font-family: 'Fira Mono', sans-serif !important; */
-webkit-tap-highlight-color: transparent;
}
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
@keyframes loading {
to {
background-position-x: -20%;
}
}
:where([data-skeleton]) {
/* These will need to be intents (ie, dark mode), perhaps new global intents */
--skeleton-shine: white;
background-image: linear-gradient(
100deg,
transparent 40%,
color-mix(in srgb, var(--skeleton-shine), transparent 50%) 50%,
transparent 60%
) !important;
background-size: 200% 100%;
background-color: var(--skeleton-bg) !important;
background-position-x: 120%;
}
@media (prefers-reduced-motion: no-preference) {
:where([data-skeleton]) {
animation: 2s loading ease-in-out infinite;
background-position-x: 180%;
}
}
:where([data-skeleton][style*='--skeleton-lines']) {
--l-h: 1lh;
--l-gap: 1ex;
mask: linear-gradient(
#000 0 var(--l-h),
transparent var(--l-h) calc(var(--l-h) + var(--l-gap))
)
0 0/100% calc(var(--l-h) + var(--l-gap));
min-height: calc(
var(--skeleton-lines) * var(--l-h) + (var(--skeleton-lines) - 1) *
var(--l-gap)
);
}
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
border-radius: 5px;
background: var(--thumb-scrollbar);
}
::-webkit-scrollbar-thumb {
border-radius: 5px;
background: var(--thumb-scrollbar);
}
._refresher_wadtj_43 {
position: relative;
width: 100%;
height: 100%;
}
.icon_overlay {
position: absolute;
top: 0;
left: 0;
transition: color 0.25s ease-in-out;
width: 100%;
height: auto;
color: #919191;
}
.refresh_icon {
position: absolute;
top: 0;
left: 0;
transition: color 0.25s ease-in-out;
width: 100%;
height: auto;
color: #919191;
}
.icon_overlay.overlay {
color: rgb(var(--mts-primary-500));
}
.active {
cursor: pointer;
}
.icon_overlay.progressing {
animation-duration: 30000ms;
animation-timing-function: linear;
animation-iteration-count: 1;
animation-name: loading_refresh_icon;
}
.icon_overlay.waiting {
animation-duration: 30000ms;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-name: waiting_refresh_icon;
}
@keyframes loading_refresh_icon {
0% {
clip-path: polygon(50% 50%, 150% 50%, 150% 50%);
}
25% {
clip-path: polygon(50% 50%, 150% 50%, 50% 150%);
}
25.000001% {
clip-path: polygon(50% 50%, 150% 50%, 50% 150%, 50% 150%);
}
50% {
clip-path: polygon(50% 50%, 150% 50%, 50% 150%, -50% 50%);
}
50.000001% {
clip-path: polygon(50% 50%, 150% 50%, 50% 150%, -50% 50%, -50% 50%);
}
75% {
clip-path: polygon(50% 50%, 150% 50%, 50% 150%, -50% 50%, 50% -50%);
}
75.000001% {
clip-path: polygon(
50% 50%,
150% 50%,
50% 150%,
-50% 50%,
50% -50%,
50% -50%
);
}
97.5% {
clip-path: polygon(
50% 50%,
150% 50%,
50% 150%,
-50% 50%,
50% -50%,
150% 50%
);
}
to {
clip-path: polygon(
50% 50%,
150% 50%,
50% 150%,
-50% 50%,
50% -50%,
150% 50%
);
}
}
@keyframes waiting_refresh_icon {
0% {
color: #6c6c6c;
}
50% {
color: #f2f2f2;
}
to {
color: #6c6c6c;
}
}