ddok-modal 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/bitget_logo.png +0 -0
- package/dist/assets/coinbase_logo.svg +4 -0
- package/dist/assets/metamask_logo.svg +26 -0
- package/dist/assets/phantom_logo.svg +3 -0
- package/dist/assets/rabyy_logo.svg +41 -0
- package/dist/assets/tronlink_logo.jpeg +0 -0
- package/dist/components/ConnectWalletButton.d.ts +8 -0
- package/dist/components/ConnectWalletButton.d.ts.map +1 -0
- package/dist/components/CustomWalletModal.d.ts +6 -0
- package/dist/components/CustomWalletModal.d.ts.map +1 -0
- package/dist/components/MacModalTrigger.d.ts +24 -0
- package/dist/components/MacModalTrigger.d.ts.map +1 -0
- package/dist/components/ModalContainer.d.ts +19 -0
- package/dist/components/ModalContainer.d.ts.map +1 -0
- package/dist/components/WalletSelectionModal.d.ts +8 -0
- package/dist/components/WalletSelectionModal.d.ts.map +1 -0
- package/dist/index.cjs +14629 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +201 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +14607 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/services/config.d.ts +32 -0
- package/dist/services/config.d.ts.map +1 -0
- package/dist/services/keyService.d.ts +58 -0
- package/dist/services/keyService.d.ts.map +1 -0
- package/dist/services/macModalService.d.ts +12 -0
- package/dist/services/macModalService.d.ts.map +1 -0
- package/dist/services/userWalletService.d.ts +20 -0
- package/dist/services/userWalletService.d.ts.map +1 -0
- package/dist/toastr.min.css +1 -0
- package/dist/types.d.ts +46 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/Spinning.d.ts +8 -0
- package/dist/utils/Spinning.d.ts.map +1 -0
- package/dist/utils/assetPath.d.ts +21 -0
- package/dist/utils/assetPath.d.ts.map +1 -0
- package/dist/utils/assetPaths.d.ts +25 -0
- package/dist/utils/assetPaths.d.ts.map +1 -0
- package/dist/utils/locationService.d.ts +21 -0
- package/dist/utils/locationService.d.ts.map +1 -0
- package/dist/utils/toast.d.ts +16 -0
- package/dist/utils/toast.d.ts.map +1 -0
- package/dist/utils/useDarkMode.d.ts +6 -0
- package/dist/utils/useDarkMode.d.ts.map +1 -0
- package/dist/utils/walletDetection.d.ts +41 -0
- package/dist/utils/walletDetection.d.ts.map +1 -0
- package/dist/wallets/base/WalletModalBase.d.ts +25 -0
- package/dist/wallets/base/WalletModalBase.d.ts.map +1 -0
- package/dist/wallets/bitget/BitgetModal.d.ts +6 -0
- package/dist/wallets/bitget/BitgetModal.d.ts.map +1 -0
- package/dist/wallets/bitget/styles.css +2247 -0
- package/dist/wallets/coinbase/CoinbaseModal.d.ts +6 -0
- package/dist/wallets/coinbase/CoinbaseModal.d.ts.map +1 -0
- package/dist/wallets/coinbase/styles.css +2175 -0
- package/dist/wallets/mac/MacModal.d.ts +6 -0
- package/dist/wallets/mac/MacModal.d.ts.map +1 -0
- package/dist/wallets/mac/styles.css +2238 -0
- package/dist/wallets/metamask/FoxRiveAnimation.d.ts +3 -0
- package/dist/wallets/metamask/FoxRiveAnimation.d.ts.map +1 -0
- package/dist/wallets/metamask/MetamaskModal.d.ts +6 -0
- package/dist/wallets/metamask/MetamaskModal.d.ts.map +1 -0
- package/dist/wallets/metamask/assets/fox_appear.riv +0 -0
- package/dist/wallets/metamask/assets/metamask-fox.svg +24 -0
- package/dist/wallets/metamask/styles.css +369 -0
- package/dist/wallets/phantom/PhantomModal.d.ts +6 -0
- package/dist/wallets/phantom/PhantomModal.d.ts.map +1 -0
- package/dist/wallets/phantom/phantom/j.gif +0 -0
- package/dist/wallets/phantom/phantom/n.gif +0 -0
- package/dist/wallets/phantom/phantom/s.gif +0 -0
- package/dist/wallets/phantom/phantom/w.gif +0 -0
- package/dist/wallets/phantom/phantom/wp.gif +0 -0
- package/dist/wallets/phantom/styles.css +2273 -0
- package/dist/wallets/rabby/RabbyModal.d.ts +6 -0
- package/dist/wallets/rabby/RabbyModal.d.ts.map +1 -0
- package/dist/wallets/rabby/styles.css +2269 -0
- package/dist/wallets/registry.d.ts +24 -0
- package/dist/wallets/registry.d.ts.map +1 -0
- package/dist/wallets/solflare/SolflareModal.d.ts +6 -0
- package/dist/wallets/solflare/SolflareModal.d.ts.map +1 -0
- package/dist/wallets/solflare/styles.css +2205 -0
- package/dist/wallets/tronlink/TronlinkModal.d.ts +6 -0
- package/dist/wallets/tronlink/TronlinkModal.d.ts.map +1 -0
- package/dist/wallets/tronlink/assets/loading.gif +0 -0
- package/dist/wallets/tronlink/styles.css +2279 -0
- package/package.json +86 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FoxRiveAnimation.d.ts","sourceRoot":"","sources":["../../../src/wallets/metamask/FoxRiveAnimation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAyDnD,eAAO,MAAM,gBAAgB,gCAuF5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MetamaskModal.d.ts","sourceRoot":"","sources":["../../../src/wallets/metamask/MetamaskModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAIrD,OAAO,cAAc,CAAC;AAEtB,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAgbnD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
Binary file
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<svg width="35" height="34" viewBox="0 0 35 34" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M32.7077 32.7522L25.1688 30.5174L19.4833 33.9008L15.5167 33.8991L9.82793 30.5174L2.29225 32.7522L0 25.0489L2.29225 16.4993L0 9.27094L2.29225 0.312256L14.0674 7.31554H20.9326L32.7077 0.312256L35 9.27094L32.7077 16.4993L35 25.0489L32.7077 32.7522Z" fill="#FF5C16"/>
|
|
3
|
+
<path d="M2.29395 0.312256L14.0691 7.32047L13.6008 12.1301L2.29395 0.312256Z" fill="#FF5C16"/>
|
|
4
|
+
<path d="M9.82959 25.0522L15.0106 28.9811L9.82959 30.5175V25.0522Z" fill="#FF5C16"/>
|
|
5
|
+
<path d="M14.5966 18.5565L13.6009 12.1333L7.22692 16.5009L7.22363 16.4993V16.5025L7.24335 20.9983L9.82809 18.5565H9.82974H14.5966Z" fill="#FF5C16"/>
|
|
6
|
+
<path d="M32.7077 0.312256L20.9326 7.32047L21.3993 12.1301L32.7077 0.312256Z" fill="#FF5C16"/>
|
|
7
|
+
<path d="M25.1722 25.0522L19.9912 28.9811L25.1722 30.5175V25.0522Z" fill="#FF5C16"/>
|
|
8
|
+
<path d="M27.7766 16.5025H27.7783H27.7766V16.4993L27.775 16.5009L21.401 12.1333L20.4053 18.5565H25.1722L27.7586 20.9983L27.7766 16.5025Z" fill="#FF5C16"/>
|
|
9
|
+
<path d="M9.82793 30.5175L2.29225 32.7522L0 25.0522H9.82793V30.5175Z" fill="#E34807"/>
|
|
10
|
+
<path d="M14.5947 18.5549L16.0341 27.8406L14.0393 22.6777L7.23975 20.9984L9.82613 18.5549H14.593H14.5947Z" fill="#E34807"/>
|
|
11
|
+
<path d="M25.1721 30.5175L32.7078 32.7522L35.0001 25.0522H25.1721V30.5175Z" fill="#E34807"/>
|
|
12
|
+
<path d="M20.4053 18.5549L18.9658 27.8406L20.9607 22.6777L27.7602 20.9984L25.1722 18.5549H20.4053Z" fill="#E34807"/>
|
|
13
|
+
<path d="M0 25.0488L2.29225 16.4993H7.22183L7.23991 20.9967L14.0394 22.676L16.0343 27.8389L15.0089 28.976L9.82793 25.0472H0V25.0488Z" fill="#FF8D5D"/>
|
|
14
|
+
<path d="M35.0001 25.0488L32.7078 16.4993H27.7783L27.7602 20.9967L20.9607 22.676L18.9658 27.8389L19.9912 28.976L25.1722 25.0472H35.0001V25.0488Z" fill="#FF8D5D"/>
|
|
15
|
+
<path d="M20.9325 7.31543H17.4999H14.0673L13.6006 12.1251L16.0342 27.834H18.9656L21.4008 12.1251L20.9325 7.31543Z" fill="#FF8D5D"/>
|
|
16
|
+
<path d="M2.29225 0.312256L0 9.27094L2.29225 16.4993H7.22183L13.5991 12.1301L2.29225 0.312256Z" fill="#661800"/>
|
|
17
|
+
<path d="M13.17 20.4199H10.9369L9.72095 21.6062L14.0409 22.6727L13.17 20.4182V20.4199Z" fill="#661800"/>
|
|
18
|
+
<path d="M32.7077 0.312256L34.9999 9.27094L32.7077 16.4993H27.7781L21.4009 12.1301L32.7077 0.312256Z" fill="#661800"/>
|
|
19
|
+
<path d="M21.833 20.4199H24.0694L25.2853 21.6079L20.9604 22.676L21.833 20.4182V20.4199Z" fill="#661800"/>
|
|
20
|
+
<path d="M19.4817 30.8362L19.9911 28.9794L18.9658 27.8423H16.0327L15.0073 28.9794L15.5167 30.8362" fill="#661800"/>
|
|
21
|
+
<path d="M19.4816 30.8359V33.9021H15.5166V30.8359H19.4816Z" fill="#C0C4CD"/>
|
|
22
|
+
<path d="M9.82959 30.5142L15.52 33.9008V30.8346L15.0106 28.9778L9.82959 30.5142Z" fill="#E7EBF6"/>
|
|
23
|
+
<path d="M25.1721 30.5142L19.4817 33.9008V30.8346L19.9911 28.9778L25.1721 30.5142Z" fill="#E7EBF6"/>
|
|
24
|
+
</svg>
|
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* MetaMask Modal Styles - ALL SCOPED to .wallet-connect-modal-container
|
|
3
|
+
* This ensures no style leakage to the host project
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* Font import - must be global but safe */
|
|
7
|
+
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap");
|
|
8
|
+
|
|
9
|
+
/* Light Theme Variables - SCOPED to container */
|
|
10
|
+
.wallet-connect-modal-container[data-theme="light"],
|
|
11
|
+
.wallet-connect-modal-container [data-theme="light"] {
|
|
12
|
+
--bg-primary: #ffffff;
|
|
13
|
+
--bg-secondary: #ffffff;
|
|
14
|
+
--bg-shadow: rgba(0, 0, 0, 0.4);
|
|
15
|
+
|
|
16
|
+
--text-primary: #000000;
|
|
17
|
+
--text-secondary: #3b3b3b;
|
|
18
|
+
--text-placeholder: #858b9a;
|
|
19
|
+
|
|
20
|
+
--border-primary: #b7bbc8;
|
|
21
|
+
--border-focus: #000000;
|
|
22
|
+
|
|
23
|
+
--button-disabled-bg: rgba(0, 0, 0, 0.5);
|
|
24
|
+
--button-active-bg: #000000;
|
|
25
|
+
--button-text: #ffffff;
|
|
26
|
+
|
|
27
|
+
--link-primary: #4459ff;
|
|
28
|
+
--link-text: #000000;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* Dark Theme Variables - SCOPED to container */
|
|
32
|
+
.wallet-connect-modal-container[data-theme="dark"],
|
|
33
|
+
.wallet-connect-modal-container [data-theme="dark"] {
|
|
34
|
+
--bg-primary: #1a1a1a;
|
|
35
|
+
--bg-secondary: #121314;
|
|
36
|
+
--bg-shadow: rgba(0, 0, 0, 0.4);
|
|
37
|
+
|
|
38
|
+
--text-primary: #ffffff;
|
|
39
|
+
--text-secondary: #cccccc;
|
|
40
|
+
--text-placeholder: #888888;
|
|
41
|
+
|
|
42
|
+
--border-primary: #858b9a;
|
|
43
|
+
--border-focus: #ffffff;
|
|
44
|
+
|
|
45
|
+
--button-disabled-bg: rgba(255, 255, 255, 0.5);
|
|
46
|
+
--button-active-bg: #ffffff;
|
|
47
|
+
--button-text: #121314;
|
|
48
|
+
|
|
49
|
+
--link-primary: #6b7fff;
|
|
50
|
+
--link-text: #ffffff;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* All selectors scoped to container */
|
|
54
|
+
.wallet-connect-modal-container .metamask-card {
|
|
55
|
+
background: var(--bg-secondary);
|
|
56
|
+
border-radius: 0;
|
|
57
|
+
width: 100%;
|
|
58
|
+
max-width: 400px;
|
|
59
|
+
position: relative;
|
|
60
|
+
overflow: hidden;
|
|
61
|
+
height: 600px;
|
|
62
|
+
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-direction: column;
|
|
65
|
+
justify-content: space-between;
|
|
66
|
+
|
|
67
|
+
box-shadow: 0px 0px 5px var(--bg-shadow);
|
|
68
|
+
|
|
69
|
+
box-sizing: border-box !important;
|
|
70
|
+
-webkit-font-smoothing: antialiased;
|
|
71
|
+
-moz-osx-font-smoothing: grayscale;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.wallet-connect-modal-container .metamask-font-regular {
|
|
75
|
+
font-family: "Geist", sans-serif !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.wallet-connect-modal-container .logo-input-wrapper {
|
|
79
|
+
padding: 0px 16px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.wallet-connect-modal-container .logo-section {
|
|
83
|
+
text-align: center;
|
|
84
|
+
display: flex;
|
|
85
|
+
flex-direction: column;
|
|
86
|
+
align-items: center;
|
|
87
|
+
gap: 15px;
|
|
88
|
+
margin-top: 70px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.wallet-connect-modal-container .logo-section svg {
|
|
92
|
+
width: 180px;
|
|
93
|
+
height: 180px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.wallet-connect-modal-container .logo-image {
|
|
97
|
+
width: 180px;
|
|
98
|
+
height: auto;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.wallet-connect-modal-container[data-theme="dark"] .logo-section svg,
|
|
102
|
+
.wallet-connect-modal-container [data-theme="dark"] .logo-section svg {
|
|
103
|
+
color: white;
|
|
104
|
+
}
|
|
105
|
+
.wallet-connect-modal-container[data-theme="light"] .logo-section svg,
|
|
106
|
+
.wallet-connect-modal-container [data-theme="light"] .logo-section svg {
|
|
107
|
+
color: black;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.wallet-connect-modal-container .logo-text {
|
|
111
|
+
font-size: 48px;
|
|
112
|
+
font-weight: 900;
|
|
113
|
+
color: var(--text-primary);
|
|
114
|
+
line-height: 1.1;
|
|
115
|
+
letter-spacing: -1px;
|
|
116
|
+
margin: 0;
|
|
117
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
|
|
118
|
+
sans-serif;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.wallet-connect-modal-container .unlock-form {
|
|
122
|
+
display: flex;
|
|
123
|
+
flex-direction: column;
|
|
124
|
+
gap: 16px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.wallet-connect-modal-container .input-wrapper {
|
|
128
|
+
display: flex;
|
|
129
|
+
flex-direction: column;
|
|
130
|
+
}
|
|
131
|
+
.wallet-connect-modal-container .input-wrapper .error-text {
|
|
132
|
+
margin-top: 4px;
|
|
133
|
+
color: #ff7584;
|
|
134
|
+
font-size: 14px;
|
|
135
|
+
}
|
|
136
|
+
.wallet-connect-modal-container .input-wrapper .error-input {
|
|
137
|
+
border: 1px solid #ff7584;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.wallet-connect-modal-container .password-input {
|
|
141
|
+
width: 100%;
|
|
142
|
+
padding: 16px 20px;
|
|
143
|
+
background: transparent;
|
|
144
|
+
border: 1px solid var(--border-primary);
|
|
145
|
+
border-radius: 8px;
|
|
146
|
+
color: var(--text-primary);
|
|
147
|
+
font-size: 16px;
|
|
148
|
+
outline: none;
|
|
149
|
+
transition: border-color 0.3s;
|
|
150
|
+
height: 48px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.wallet-connect-modal-container .password-input::-moz-placeholder {
|
|
154
|
+
color: var(--text-placeholder);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.wallet-connect-modal-container .password-input::placeholder {
|
|
158
|
+
color: var(--text-placeholder);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.wallet-connect-modal-container .password-input:focus {
|
|
162
|
+
border: 1px solid var(--border-focus);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.wallet-connect-modal-container .unlock-button {
|
|
166
|
+
width: 100%;
|
|
167
|
+
padding: 16px;
|
|
168
|
+
background: var(--button-disabled-bg);
|
|
169
|
+
cursor: no-drop;
|
|
170
|
+
color: var(--button-text);
|
|
171
|
+
border: none;
|
|
172
|
+
border-radius: 12px;
|
|
173
|
+
font-size: 16px;
|
|
174
|
+
font-weight: 600;
|
|
175
|
+
transition: background 0.3s, color 0.3s;
|
|
176
|
+
height: 48px;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.wallet-connect-modal-container .unlock-button.active {
|
|
180
|
+
background: var(--button-active-bg);
|
|
181
|
+
color: var(--button-text);
|
|
182
|
+
cursor: pointer;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.wallet-connect-modal-container .forgot-link {
|
|
186
|
+
background: none;
|
|
187
|
+
border: none;
|
|
188
|
+
text-align: center;
|
|
189
|
+
color: var(--link-primary);
|
|
190
|
+
text-decoration: none;
|
|
191
|
+
font-size: 16px;
|
|
192
|
+
margin-top: 8px;
|
|
193
|
+
cursor: pointer;
|
|
194
|
+
padding: 0;
|
|
195
|
+
width: 100%;
|
|
196
|
+
font-weight: 500;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.wallet-connect-modal-container .forgot-link:hover {
|
|
200
|
+
text-decoration: underline;
|
|
201
|
+
text-decoration-thickness: 2px;
|
|
202
|
+
text-underline-offset: 5px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.wallet-connect-modal-container .support-text {
|
|
206
|
+
text-align: center;
|
|
207
|
+
color: var(--text-secondary);
|
|
208
|
+
font-size: 16px;
|
|
209
|
+
margin-top: 8px;
|
|
210
|
+
font-weight: 500;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.wallet-connect-modal-container .support-link {
|
|
214
|
+
background: none;
|
|
215
|
+
border: none;
|
|
216
|
+
color: var(--link-primary);
|
|
217
|
+
text-decoration: none;
|
|
218
|
+
cursor: pointer;
|
|
219
|
+
padding: 0;
|
|
220
|
+
font-size: 16px;
|
|
221
|
+
font-weight: 500;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.wallet-connect-modal-container .support-link:hover {
|
|
225
|
+
text-decoration: underline;
|
|
226
|
+
text-decoration-thickness: 2px;
|
|
227
|
+
text-underline-offset: 5px;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.wallet-connect-modal-container .animation-wrapper {
|
|
231
|
+
width: 100%;
|
|
232
|
+
height: 150px;
|
|
233
|
+
display: flex;
|
|
234
|
+
justify-content: center;
|
|
235
|
+
align-items: center;
|
|
236
|
+
overflow: hidden;
|
|
237
|
+
position: relative;
|
|
238
|
+
margin-bottom: 1px;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.wallet-connect-modal-container .animation-wrapper > div {
|
|
242
|
+
width: 100% !important;
|
|
243
|
+
height: 150px !important;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.wallet-connect-modal-container .loader-wrapper {
|
|
247
|
+
width: 100%;
|
|
248
|
+
height: 100%;
|
|
249
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
250
|
+
|
|
251
|
+
position: absolute;
|
|
252
|
+
top: 0;
|
|
253
|
+
right: 0;
|
|
254
|
+
z-index: 10000;
|
|
255
|
+
|
|
256
|
+
display: flex;
|
|
257
|
+
justify-content: center;
|
|
258
|
+
align-items: center;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.wallet-connect-modal-container .loader {
|
|
262
|
+
width: 50px;
|
|
263
|
+
aspect-ratio: 1;
|
|
264
|
+
display: grid;
|
|
265
|
+
border-radius: 50%;
|
|
266
|
+
background: linear-gradient(
|
|
267
|
+
0deg,
|
|
268
|
+
rgba(109, 109, 109, 0.5) 30%,
|
|
269
|
+
#18181800 0 70%,
|
|
270
|
+
rgb(20, 20, 20) 0
|
|
271
|
+
)
|
|
272
|
+
50%/8% 100%,
|
|
273
|
+
linear-gradient(
|
|
274
|
+
90deg,
|
|
275
|
+
rgba(75, 75, 75, 0.25) 30%,
|
|
276
|
+
#0000 0 70%,
|
|
277
|
+
rgb(0 0 0/75%) 0
|
|
278
|
+
)
|
|
279
|
+
50%/100% 8%;
|
|
280
|
+
background-repeat: no-repeat;
|
|
281
|
+
animation: metamask-l23 1s infinite steps(12);
|
|
282
|
+
}
|
|
283
|
+
.wallet-connect-modal-container .loader::before,
|
|
284
|
+
.wallet-connect-modal-container .loader::after {
|
|
285
|
+
content: "";
|
|
286
|
+
grid-area: 1/1;
|
|
287
|
+
border-radius: 50%;
|
|
288
|
+
background: inherit;
|
|
289
|
+
opacity: 0.915;
|
|
290
|
+
transform: rotate(30deg);
|
|
291
|
+
}
|
|
292
|
+
.wallet-connect-modal-container .loader::after {
|
|
293
|
+
opacity: 0.83;
|
|
294
|
+
transform: rotate(60deg);
|
|
295
|
+
}
|
|
296
|
+
@keyframes metamask-l23 {
|
|
297
|
+
100% {
|
|
298
|
+
transform: rotate(1turn);
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
@media (max-width: 768px) {
|
|
303
|
+
.wallet-connect-modal-container .metamask-card {
|
|
304
|
+
max-width: 380px;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.wallet-connect-modal-container .logo-text {
|
|
308
|
+
font-size: 40px;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
@media (max-width: 480px) {
|
|
313
|
+
.wallet-connect-modal-container .logo-input-wrapper {
|
|
314
|
+
padding: 0px 15px;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.wallet-connect-modal-container .logo-text {
|
|
318
|
+
font-size: 36px;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.wallet-connect-modal-container .password-input,
|
|
322
|
+
.wallet-connect-modal-container .unlock-button {
|
|
323
|
+
padding: 14px 16px;
|
|
324
|
+
font-size: 15px;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.wallet-connect-modal-container .loading-content {
|
|
329
|
+
display: flex;
|
|
330
|
+
flex-direction: column;
|
|
331
|
+
align-items: center;
|
|
332
|
+
justify-content: center;
|
|
333
|
+
height: 100%;
|
|
334
|
+
gap: 30px;
|
|
335
|
+
}
|
|
336
|
+
.wallet-connect-modal-container .loading-fox {
|
|
337
|
+
width: 150px;
|
|
338
|
+
height: 150px;
|
|
339
|
+
animation: metamask-pulse 1.5s ease-in-out infinite;
|
|
340
|
+
}
|
|
341
|
+
@keyframes metamask-pulse {
|
|
342
|
+
0%,
|
|
343
|
+
100% {
|
|
344
|
+
transform: scale(1);
|
|
345
|
+
opacity: 1;
|
|
346
|
+
}
|
|
347
|
+
50% {
|
|
348
|
+
transform: scale(1.05);
|
|
349
|
+
opacity: 0.8;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
.wallet-connect-modal-container .spinner {
|
|
353
|
+
width: 30px;
|
|
354
|
+
height: 30px;
|
|
355
|
+
border: 4px solid transparent;
|
|
356
|
+
border-top: 4px solid #ff7f00;
|
|
357
|
+
border-right: 4px solid #ff7f00;
|
|
358
|
+
border-bottom: 4px solid #ff7f00;
|
|
359
|
+
border-radius: 50%;
|
|
360
|
+
animation: metamask-spin 0.8s linear infinite;
|
|
361
|
+
}
|
|
362
|
+
@keyframes metamask-spin {
|
|
363
|
+
0% {
|
|
364
|
+
transform: rotate(0deg);
|
|
365
|
+
}
|
|
366
|
+
100% {
|
|
367
|
+
transform: rotate(360deg);
|
|
368
|
+
}
|
|
369
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PhantomModal.d.ts","sourceRoot":"","sources":["../../../src/wallets/phantom/PhantomModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,cAAc,CAAC;AAYtB,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAielD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|