hd-wallet-ui 1.2.1 → 1.2.3
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/package.json +2 -2
- package/src/address-derivation.js +50 -12
- package/src/app.js +1848 -191
- package/src/blockchain-trust.js +81 -28
- package/src/template.js +183 -75
- package/styles/main.css +811 -0
package/styles/main.css
CHANGED
|
@@ -1888,6 +1888,796 @@ body:has(.modal.active) .nav-bar {
|
|
|
1888
1888
|
color: var(--accent-primary);
|
|
1889
1889
|
}
|
|
1890
1890
|
|
|
1891
|
+
/* =============================================================================
|
|
1892
|
+
Wallet Tab (Phantom-style)
|
|
1893
|
+
============================================================================= */
|
|
1894
|
+
|
|
1895
|
+
/* Portfolio Hero */
|
|
1896
|
+
.ph-portfolio {
|
|
1897
|
+
text-align: center;
|
|
1898
|
+
padding: 24px 0 20px;
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
.ph-portfolio-value {
|
|
1902
|
+
font-size: 36px;
|
|
1903
|
+
font-weight: 700;
|
|
1904
|
+
color: var(--white);
|
|
1905
|
+
letter-spacing: -0.02em;
|
|
1906
|
+
line-height: 1.1;
|
|
1907
|
+
font-family: var(--font-mono);
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
.ph-portfolio-label {
|
|
1911
|
+
font-size: 13px;
|
|
1912
|
+
color: var(--muted);
|
|
1913
|
+
margin-top: 4px;
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
.ph-portfolio-xpub {
|
|
1917
|
+
display: flex;
|
|
1918
|
+
align-items: center;
|
|
1919
|
+
justify-content: center;
|
|
1920
|
+
gap: 6px;
|
|
1921
|
+
margin-top: 10px;
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
.ph-xpub-text {
|
|
1925
|
+
font-size: 11px;
|
|
1926
|
+
color: var(--white-40);
|
|
1927
|
+
max-width: 200px;
|
|
1928
|
+
overflow: hidden;
|
|
1929
|
+
text-overflow: ellipsis;
|
|
1930
|
+
white-space: nowrap;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
.ph-xpub-copy {
|
|
1934
|
+
padding: 2px;
|
|
1935
|
+
opacity: 0.4;
|
|
1936
|
+
transition: opacity 0.15s;
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
.ph-xpub-copy:hover {
|
|
1940
|
+
opacity: 1;
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1943
|
+
/* Wallet Selector */
|
|
1944
|
+
.wallet-selector-row {
|
|
1945
|
+
display: flex;
|
|
1946
|
+
align-items: flex-start;
|
|
1947
|
+
justify-content: flex-start;
|
|
1948
|
+
gap: 0;
|
|
1949
|
+
padding: 0 4px 16px;
|
|
1950
|
+
}
|
|
1951
|
+
|
|
1952
|
+
.wallet-selector-control {
|
|
1953
|
+
display: flex;
|
|
1954
|
+
align-items: center;
|
|
1955
|
+
gap: 8px;
|
|
1956
|
+
width: 100%;
|
|
1957
|
+
min-width: 0;
|
|
1958
|
+
max-width: 560px;
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
.wallet-selector-input.glass-input.compact {
|
|
1962
|
+
flex: 1;
|
|
1963
|
+
width: 100%;
|
|
1964
|
+
min-width: 320px;
|
|
1965
|
+
max-width: none;
|
|
1966
|
+
height: 34px;
|
|
1967
|
+
font-size: 13px;
|
|
1968
|
+
text-align: left;
|
|
1969
|
+
appearance: none;
|
|
1970
|
+
-webkit-appearance: none;
|
|
1971
|
+
-moz-appearance: none;
|
|
1972
|
+
padding-right: 36px;
|
|
1973
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4 4.5-4' stroke='rgba(255,255,255,0.9)' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
1974
|
+
background-repeat: no-repeat;
|
|
1975
|
+
background-position: right 11px center;
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
#wallet-manage-btn {
|
|
1979
|
+
flex-shrink: 0;
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
/* Action Buttons Row */
|
|
1983
|
+
.ph-actions {
|
|
1984
|
+
display: flex;
|
|
1985
|
+
flex-wrap: wrap;
|
|
1986
|
+
justify-content: center;
|
|
1987
|
+
gap: 12px 20px;
|
|
1988
|
+
padding: 0 0 20px;
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
.ph-action-btn {
|
|
1992
|
+
display: flex;
|
|
1993
|
+
flex-direction: column;
|
|
1994
|
+
align-items: center;
|
|
1995
|
+
gap: 6px;
|
|
1996
|
+
background: none;
|
|
1997
|
+
border: none;
|
|
1998
|
+
color: var(--white-80);
|
|
1999
|
+
cursor: pointer;
|
|
2000
|
+
padding: 0;
|
|
2001
|
+
transition: color 0.15s;
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
.ph-action-btn:hover {
|
|
2005
|
+
color: var(--white);
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
.ph-action-btn:hover .ph-action-icon {
|
|
2009
|
+
background: rgba(171, 130, 255, 0.25);
|
|
2010
|
+
border-color: rgba(171, 130, 255, 0.4);
|
|
2011
|
+
}
|
|
2012
|
+
|
|
2013
|
+
.ph-action-icon {
|
|
2014
|
+
width: 44px;
|
|
2015
|
+
height: 44px;
|
|
2016
|
+
border-radius: 50%;
|
|
2017
|
+
background: var(--white-05);
|
|
2018
|
+
border: 1px solid var(--glass-border);
|
|
2019
|
+
display: flex;
|
|
2020
|
+
align-items: center;
|
|
2021
|
+
justify-content: center;
|
|
2022
|
+
transition: all 0.2s ease;
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
.ph-action-btn span {
|
|
2026
|
+
font-size: 11px;
|
|
2027
|
+
color: var(--muted);
|
|
2028
|
+
font-weight: 500;
|
|
2029
|
+
}
|
|
2030
|
+
|
|
2031
|
+
.ph-action-wrap {
|
|
2032
|
+
position: relative;
|
|
2033
|
+
display: inline-flex;
|
|
2034
|
+
flex-direction: column;
|
|
2035
|
+
align-items: center;
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
.ph-action-menu {
|
|
2039
|
+
position: absolute;
|
|
2040
|
+
top: calc(100% + 10px);
|
|
2041
|
+
left: 50%;
|
|
2042
|
+
transform: translateX(-50%);
|
|
2043
|
+
min-width: 168px;
|
|
2044
|
+
padding: 8px;
|
|
2045
|
+
border-radius: 12px;
|
|
2046
|
+
border: 1px solid var(--glass-border);
|
|
2047
|
+
background: rgba(28, 28, 31, 0.96);
|
|
2048
|
+
backdrop-filter: var(--glass-blur);
|
|
2049
|
+
-webkit-backdrop-filter: var(--glass-blur);
|
|
2050
|
+
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
|
|
2051
|
+
z-index: 30;
|
|
2052
|
+
display: none;
|
|
2053
|
+
flex-direction: column;
|
|
2054
|
+
gap: 6px;
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2057
|
+
.ph-action-menu.visible {
|
|
2058
|
+
display: flex;
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
.ph-action-menu-item {
|
|
2062
|
+
border: 1px solid var(--glass-border);
|
|
2063
|
+
border-radius: 8px;
|
|
2064
|
+
background: var(--white-03);
|
|
2065
|
+
color: var(--white-80);
|
|
2066
|
+
font-size: 12px;
|
|
2067
|
+
font-weight: 500;
|
|
2068
|
+
text-align: left;
|
|
2069
|
+
padding: 8px 10px;
|
|
2070
|
+
cursor: pointer;
|
|
2071
|
+
transition: all 0.15s ease;
|
|
2072
|
+
}
|
|
2073
|
+
|
|
2074
|
+
.ph-action-menu-item:hover:not(:disabled) {
|
|
2075
|
+
background: var(--white-10);
|
|
2076
|
+
color: var(--white);
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
.ph-action-menu-item:disabled {
|
|
2080
|
+
opacity: 0.45;
|
|
2081
|
+
cursor: not-allowed;
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2084
|
+
/* Scan Progress Bar */
|
|
2085
|
+
.wallet-scan-progress {
|
|
2086
|
+
height: 2px;
|
|
2087
|
+
background: var(--glass-border);
|
|
2088
|
+
border-radius: 1px;
|
|
2089
|
+
overflow: hidden;
|
|
2090
|
+
margin-bottom: 4px;
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
.wallet-scan-bar {
|
|
2094
|
+
height: 100%;
|
|
2095
|
+
width: 0%;
|
|
2096
|
+
background: #22c55e;
|
|
2097
|
+
border-radius: 1px;
|
|
2098
|
+
transition: width 0.3s ease;
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2101
|
+
/* Token List */
|
|
2102
|
+
.ph-token-list {
|
|
2103
|
+
display: flex;
|
|
2104
|
+
flex-direction: column;
|
|
2105
|
+
gap: 2px;
|
|
2106
|
+
max-height: 340px;
|
|
2107
|
+
overflow-y: auto;
|
|
2108
|
+
scrollbar-width: thin;
|
|
2109
|
+
scrollbar-color: var(--glass-border) transparent;
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2112
|
+
.ph-token-empty {
|
|
2113
|
+
display: flex;
|
|
2114
|
+
flex-direction: column;
|
|
2115
|
+
align-items: center;
|
|
2116
|
+
justify-content: center;
|
|
2117
|
+
gap: 8px;
|
|
2118
|
+
padding: 40px 16px;
|
|
2119
|
+
color: var(--muted);
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
.ph-token-empty p {
|
|
2123
|
+
margin: 0;
|
|
2124
|
+
font-size: 14px;
|
|
2125
|
+
font-weight: 500;
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
.ph-token-empty-sub {
|
|
2129
|
+
font-size: 12px !important;
|
|
2130
|
+
font-weight: 400 !important;
|
|
2131
|
+
color: var(--white-40) !important;
|
|
2132
|
+
}
|
|
2133
|
+
|
|
2134
|
+
/* Token Row */
|
|
2135
|
+
.ph-token-row {
|
|
2136
|
+
display: flex;
|
|
2137
|
+
align-items: center;
|
|
2138
|
+
gap: 12px;
|
|
2139
|
+
padding: 12px 14px;
|
|
2140
|
+
border-radius: 12px;
|
|
2141
|
+
cursor: pointer;
|
|
2142
|
+
transition: background 0.15s ease;
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2145
|
+
.ph-token-row:hover {
|
|
2146
|
+
background: var(--white-05);
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
.ph-token-inactive {
|
|
2150
|
+
opacity: 0.45;
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2153
|
+
.ph-token-icon {
|
|
2154
|
+
width: 40px;
|
|
2155
|
+
height: 40px;
|
|
2156
|
+
border-radius: 50%;
|
|
2157
|
+
display: flex;
|
|
2158
|
+
align-items: center;
|
|
2159
|
+
justify-content: center;
|
|
2160
|
+
font-size: 18px;
|
|
2161
|
+
font-weight: 700;
|
|
2162
|
+
color: white;
|
|
2163
|
+
flex-shrink: 0;
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
.ph-token-info {
|
|
2167
|
+
flex: 1;
|
|
2168
|
+
min-width: 0;
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
.ph-token-name {
|
|
2172
|
+
font-size: 14px;
|
|
2173
|
+
font-weight: 600;
|
|
2174
|
+
color: var(--white);
|
|
2175
|
+
line-height: 1.3;
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2178
|
+
.ph-token-path {
|
|
2179
|
+
font-size: 11px;
|
|
2180
|
+
color: var(--white-40);
|
|
2181
|
+
font-family: var(--font-mono);
|
|
2182
|
+
overflow: hidden;
|
|
2183
|
+
text-overflow: ellipsis;
|
|
2184
|
+
white-space: nowrap;
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
.ph-token-amounts {
|
|
2188
|
+
text-align: right;
|
|
2189
|
+
flex-shrink: 0;
|
|
2190
|
+
}
|
|
2191
|
+
|
|
2192
|
+
.ph-token-balance {
|
|
2193
|
+
font-size: 14px;
|
|
2194
|
+
font-weight: 600;
|
|
2195
|
+
color: var(--white);
|
|
2196
|
+
white-space: nowrap;
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2199
|
+
.ph-token-fiat {
|
|
2200
|
+
font-size: 12px;
|
|
2201
|
+
color: var(--muted);
|
|
2202
|
+
white-space: nowrap;
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
/* Wallet Overlay Views (Settings, Send) */
|
|
2206
|
+
.wallet-overlay-view {
|
|
2207
|
+
animation: fadeSlideIn 0.2s ease;
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2210
|
+
@keyframes fadeSlideIn {
|
|
2211
|
+
from { opacity: 0; transform: translateX(20px); }
|
|
2212
|
+
to { opacity: 1; transform: translateX(0); }
|
|
2213
|
+
}
|
|
2214
|
+
|
|
2215
|
+
.wallet-overlay-header {
|
|
2216
|
+
display: flex;
|
|
2217
|
+
align-items: center;
|
|
2218
|
+
gap: 12px;
|
|
2219
|
+
padding: 4px 0 16px;
|
|
2220
|
+
border-bottom: 1px solid var(--glass-border);
|
|
2221
|
+
margin-bottom: 16px;
|
|
2222
|
+
}
|
|
2223
|
+
|
|
2224
|
+
.wallet-overlay-header h4 {
|
|
2225
|
+
margin: 0;
|
|
2226
|
+
font-size: 16px;
|
|
2227
|
+
font-weight: 600;
|
|
2228
|
+
color: var(--white);
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2231
|
+
.wallet-back-btn {
|
|
2232
|
+
display: flex;
|
|
2233
|
+
align-items: center;
|
|
2234
|
+
gap: 4px;
|
|
2235
|
+
background: none;
|
|
2236
|
+
border: none;
|
|
2237
|
+
color: var(--white-70);
|
|
2238
|
+
font-size: 13px;
|
|
2239
|
+
cursor: pointer;
|
|
2240
|
+
padding: 6px 10px;
|
|
2241
|
+
border-radius: 8px;
|
|
2242
|
+
transition: all 0.15s;
|
|
2243
|
+
}
|
|
2244
|
+
|
|
2245
|
+
.wallet-back-btn:hover {
|
|
2246
|
+
background: var(--white-05);
|
|
2247
|
+
color: var(--white);
|
|
2248
|
+
}
|
|
2249
|
+
|
|
2250
|
+
.wallet-overlay-body {
|
|
2251
|
+
display: flex;
|
|
2252
|
+
flex-direction: column;
|
|
2253
|
+
gap: 20px;
|
|
2254
|
+
max-height: 480px;
|
|
2255
|
+
overflow-y: auto;
|
|
2256
|
+
scrollbar-width: thin;
|
|
2257
|
+
scrollbar-color: var(--glass-border) transparent;
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2260
|
+
.wallet-export-body {
|
|
2261
|
+
max-height: 560px;
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2264
|
+
/* Wallet manager layout: pin headers, scroll only wallet list rows */
|
|
2265
|
+
#wallet-wallets-view {
|
|
2266
|
+
flex-direction: column;
|
|
2267
|
+
height: 100%;
|
|
2268
|
+
min-height: 0;
|
|
2269
|
+
overflow: hidden;
|
|
2270
|
+
}
|
|
2271
|
+
|
|
2272
|
+
#wallet-wallets-view .wallet-overlay-body {
|
|
2273
|
+
flex: 1;
|
|
2274
|
+
min-height: 0;
|
|
2275
|
+
max-height: none;
|
|
2276
|
+
overflow: hidden;
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2279
|
+
#wallet-wallets-view .settings-group {
|
|
2280
|
+
flex: 1;
|
|
2281
|
+
min-height: 0;
|
|
2282
|
+
display: flex;
|
|
2283
|
+
flex-direction: column;
|
|
2284
|
+
}
|
|
2285
|
+
|
|
2286
|
+
.wallet-wallets-header {
|
|
2287
|
+
justify-content: space-between;
|
|
2288
|
+
}
|
|
2289
|
+
|
|
2290
|
+
.wallet-overlay-title-row {
|
|
2291
|
+
display: flex;
|
|
2292
|
+
align-items: center;
|
|
2293
|
+
gap: 12px;
|
|
2294
|
+
min-width: 0;
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
.wallet-wallets-header h4 {
|
|
2298
|
+
line-height: 1;
|
|
2299
|
+
display: flex;
|
|
2300
|
+
align-items: center;
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
.wallet-wallets-header .wallet-back-btn {
|
|
2304
|
+
line-height: 1;
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
.wallet-wallets-header #wallet-new-btn {
|
|
2308
|
+
display: inline-flex;
|
|
2309
|
+
align-items: center;
|
|
2310
|
+
line-height: 1;
|
|
2311
|
+
flex-shrink: 0;
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
.wallet-manage-tabs {
|
|
2315
|
+
display: inline-flex;
|
|
2316
|
+
align-items: center;
|
|
2317
|
+
gap: 6px;
|
|
2318
|
+
padding: 4px;
|
|
2319
|
+
border: 1px solid var(--glass-border);
|
|
2320
|
+
border-radius: 12px;
|
|
2321
|
+
background: var(--white-03);
|
|
2322
|
+
width: fit-content;
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2325
|
+
.wallet-manage-tab {
|
|
2326
|
+
border: none;
|
|
2327
|
+
background: transparent;
|
|
2328
|
+
color: var(--white-60);
|
|
2329
|
+
font-size: 12px;
|
|
2330
|
+
font-weight: 600;
|
|
2331
|
+
line-height: 1;
|
|
2332
|
+
padding: 8px 12px;
|
|
2333
|
+
border-radius: 8px;
|
|
2334
|
+
cursor: pointer;
|
|
2335
|
+
transition: all 0.15s ease;
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
.wallet-manage-tab.active {
|
|
2339
|
+
background: var(--white-15);
|
|
2340
|
+
color: var(--white);
|
|
2341
|
+
}
|
|
2342
|
+
|
|
2343
|
+
.wallet-manage-tab:hover:not(.active) {
|
|
2344
|
+
color: var(--white-80);
|
|
2345
|
+
background: var(--white-08);
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
/* Settings Groups */
|
|
2349
|
+
.settings-group {
|
|
2350
|
+
border: 1px solid var(--glass-border);
|
|
2351
|
+
border-radius: 12px;
|
|
2352
|
+
padding: 16px;
|
|
2353
|
+
background: var(--white-05);
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
.settings-group-header {
|
|
2357
|
+
display: flex;
|
|
2358
|
+
align-items: center;
|
|
2359
|
+
justify-content: space-between;
|
|
2360
|
+
margin-bottom: 12px;
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
.settings-group-label {
|
|
2364
|
+
font-size: 13px;
|
|
2365
|
+
font-weight: 600;
|
|
2366
|
+
color: var(--white-70);
|
|
2367
|
+
text-transform: uppercase;
|
|
2368
|
+
letter-spacing: 0.05em;
|
|
2369
|
+
}
|
|
2370
|
+
|
|
2371
|
+
/* Wallet Name List */
|
|
2372
|
+
.wallet-name-list {
|
|
2373
|
+
display: flex;
|
|
2374
|
+
flex-direction: column;
|
|
2375
|
+
gap: 8px;
|
|
2376
|
+
min-height: 0;
|
|
2377
|
+
flex: 1;
|
|
2378
|
+
overflow-y: auto;
|
|
2379
|
+
padding-right: 4px;
|
|
2380
|
+
scrollbar-width: thin;
|
|
2381
|
+
scrollbar-color: var(--glass-border) transparent;
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2384
|
+
.wallet-name-row {
|
|
2385
|
+
display: grid;
|
|
2386
|
+
grid-template-columns: minmax(0, 1fr) auto auto;
|
|
2387
|
+
align-items: center;
|
|
2388
|
+
gap: 10px;
|
|
2389
|
+
}
|
|
2390
|
+
|
|
2391
|
+
.wallet-name-cell {
|
|
2392
|
+
min-width: 0;
|
|
2393
|
+
display: flex;
|
|
2394
|
+
flex-direction: column;
|
|
2395
|
+
gap: 6px;
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
.wallet-name-input {
|
|
2399
|
+
width: 100%;
|
|
2400
|
+
min-width: 0;
|
|
2401
|
+
font-size: 13px;
|
|
2402
|
+
}
|
|
2403
|
+
|
|
2404
|
+
.wallet-derivation-path {
|
|
2405
|
+
font-size: 10px;
|
|
2406
|
+
line-height: 1.35;
|
|
2407
|
+
color: var(--white-40);
|
|
2408
|
+
font-family: var(--font-mono);
|
|
2409
|
+
white-space: nowrap;
|
|
2410
|
+
overflow: hidden;
|
|
2411
|
+
text-overflow: ellipsis;
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2414
|
+
.wallet-account-count {
|
|
2415
|
+
font-size: 12px;
|
|
2416
|
+
color: var(--muted);
|
|
2417
|
+
white-space: nowrap;
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
.wallet-status-btn {
|
|
2421
|
+
white-space: nowrap;
|
|
2422
|
+
min-width: 74px;
|
|
2423
|
+
justify-content: center;
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
.wallet-manage-empty {
|
|
2427
|
+
color: var(--white-50);
|
|
2428
|
+
font-size: 13px;
|
|
2429
|
+
padding: 8px 4px;
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
.wallet-selected-path {
|
|
2433
|
+
font-size: 12px;
|
|
2434
|
+
color: var(--white-80);
|
|
2435
|
+
background: var(--white-03);
|
|
2436
|
+
border: 1px solid var(--glass-border);
|
|
2437
|
+
border-radius: 8px;
|
|
2438
|
+
padding: 8px 10px;
|
|
2439
|
+
margin-bottom: 10px;
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
/* Custom Derivation Path */
|
|
2443
|
+
.settings-custom-path {
|
|
2444
|
+
margin-top: 8px;
|
|
2445
|
+
}
|
|
2446
|
+
|
|
2447
|
+
.settings-custom-path label {
|
|
2448
|
+
display: block;
|
|
2449
|
+
font-size: 12px;
|
|
2450
|
+
color: var(--white-60);
|
|
2451
|
+
margin-bottom: 6px;
|
|
2452
|
+
}
|
|
2453
|
+
|
|
2454
|
+
.custom-path-row {
|
|
2455
|
+
display: flex;
|
|
2456
|
+
gap: 8px;
|
|
2457
|
+
align-items: center;
|
|
2458
|
+
}
|
|
2459
|
+
|
|
2460
|
+
.custom-path-row select {
|
|
2461
|
+
width: 70px;
|
|
2462
|
+
flex-shrink: 0;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
.custom-path-row input {
|
|
2466
|
+
flex: 1;
|
|
2467
|
+
min-width: 0;
|
|
2468
|
+
}
|
|
2469
|
+
|
|
2470
|
+
.wallet-export-options {
|
|
2471
|
+
display: grid;
|
|
2472
|
+
grid-template-columns: 1fr;
|
|
2473
|
+
gap: 10px;
|
|
2474
|
+
}
|
|
2475
|
+
|
|
2476
|
+
.export-option-card {
|
|
2477
|
+
border: 1px solid var(--glass-border);
|
|
2478
|
+
background: var(--white-03);
|
|
2479
|
+
border-radius: 10px;
|
|
2480
|
+
}
|
|
2481
|
+
|
|
2482
|
+
.export-option-card .export-label {
|
|
2483
|
+
font-size: 14px;
|
|
2484
|
+
font-weight: 600;
|
|
2485
|
+
}
|
|
2486
|
+
|
|
2487
|
+
.export-option-card .export-desc {
|
|
2488
|
+
font-size: 12px;
|
|
2489
|
+
color: var(--white-50);
|
|
2490
|
+
}
|
|
2491
|
+
|
|
2492
|
+
/* Wallet Group Headers in Token List */
|
|
2493
|
+
.ph-wallet-header {
|
|
2494
|
+
font-size: 11px;
|
|
2495
|
+
font-weight: 600;
|
|
2496
|
+
color: var(--white-40);
|
|
2497
|
+
text-transform: uppercase;
|
|
2498
|
+
letter-spacing: 0.05em;
|
|
2499
|
+
padding: 12px 14px 4px;
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2502
|
+
.ph-wallet-header:first-child {
|
|
2503
|
+
padding-top: 4px;
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
/* Send Flow Styles */
|
|
2507
|
+
.send-field-group {
|
|
2508
|
+
margin-bottom: 16px;
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2511
|
+
.send-label {
|
|
2512
|
+
display: block;
|
|
2513
|
+
font-size: 12px;
|
|
2514
|
+
font-weight: 500;
|
|
2515
|
+
color: var(--white-60);
|
|
2516
|
+
margin-bottom: 6px;
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2519
|
+
.send-balance-display {
|
|
2520
|
+
font-size: 12px;
|
|
2521
|
+
color: var(--muted);
|
|
2522
|
+
margin-top: 4px;
|
|
2523
|
+
}
|
|
2524
|
+
|
|
2525
|
+
.send-amount-row {
|
|
2526
|
+
display: flex;
|
|
2527
|
+
align-items: center;
|
|
2528
|
+
gap: 8px;
|
|
2529
|
+
}
|
|
2530
|
+
|
|
2531
|
+
.send-amount-row input {
|
|
2532
|
+
flex: 1;
|
|
2533
|
+
min-width: 0;
|
|
2534
|
+
}
|
|
2535
|
+
|
|
2536
|
+
.send-currency-label {
|
|
2537
|
+
font-size: 13px;
|
|
2538
|
+
font-weight: 600;
|
|
2539
|
+
color: var(--white-70);
|
|
2540
|
+
min-width: 32px;
|
|
2541
|
+
}
|
|
2542
|
+
|
|
2543
|
+
.send-fiat-estimate {
|
|
2544
|
+
font-size: 12px;
|
|
2545
|
+
color: var(--muted);
|
|
2546
|
+
margin-top: 4px;
|
|
2547
|
+
min-height: 16px;
|
|
2548
|
+
}
|
|
2549
|
+
|
|
2550
|
+
.send-fee-display {
|
|
2551
|
+
display: flex;
|
|
2552
|
+
align-items: center;
|
|
2553
|
+
justify-content: space-between;
|
|
2554
|
+
padding: 10px 14px;
|
|
2555
|
+
margin-bottom: 16px;
|
|
2556
|
+
background: var(--white-05);
|
|
2557
|
+
border-radius: 10px;
|
|
2558
|
+
font-size: 13px;
|
|
2559
|
+
color: var(--white-60);
|
|
2560
|
+
}
|
|
2561
|
+
|
|
2562
|
+
.send-review-card {
|
|
2563
|
+
border: 1px solid var(--glass-border);
|
|
2564
|
+
border-radius: 12px;
|
|
2565
|
+
padding: 16px;
|
|
2566
|
+
margin-bottom: 16px;
|
|
2567
|
+
background: var(--white-05);
|
|
2568
|
+
}
|
|
2569
|
+
|
|
2570
|
+
.send-review-row {
|
|
2571
|
+
display: flex;
|
|
2572
|
+
justify-content: space-between;
|
|
2573
|
+
align-items: center;
|
|
2574
|
+
padding: 8px 0;
|
|
2575
|
+
font-size: 13px;
|
|
2576
|
+
color: var(--white-70);
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2579
|
+
.send-review-row + .send-review-row {
|
|
2580
|
+
border-top: 1px solid var(--glass-border);
|
|
2581
|
+
}
|
|
2582
|
+
|
|
2583
|
+
.send-review-row span:first-child {
|
|
2584
|
+
color: var(--muted);
|
|
2585
|
+
}
|
|
2586
|
+
|
|
2587
|
+
.send-review-row code {
|
|
2588
|
+
font-size: 12px;
|
|
2589
|
+
max-width: 200px;
|
|
2590
|
+
overflow: hidden;
|
|
2591
|
+
text-overflow: ellipsis;
|
|
2592
|
+
white-space: nowrap;
|
|
2593
|
+
}
|
|
2594
|
+
|
|
2595
|
+
.send-review-total {
|
|
2596
|
+
font-weight: 600;
|
|
2597
|
+
color: var(--white) !important;
|
|
2598
|
+
}
|
|
2599
|
+
|
|
2600
|
+
.send-review-total span:first-child {
|
|
2601
|
+
color: var(--white-70) !important;
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
.send-status {
|
|
2605
|
+
margin-top: 12px;
|
|
2606
|
+
padding: 10px 14px;
|
|
2607
|
+
border-radius: 10px;
|
|
2608
|
+
font-size: 13px;
|
|
2609
|
+
text-align: center;
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2612
|
+
.send-status code {
|
|
2613
|
+
font-size: 11px;
|
|
2614
|
+
word-break: break-all;
|
|
2615
|
+
}
|
|
2616
|
+
|
|
2617
|
+
.send-status-pending {
|
|
2618
|
+
background: rgba(171, 130, 255, 0.1);
|
|
2619
|
+
border: 1px solid rgba(171, 130, 255, 0.3);
|
|
2620
|
+
color: #AB82FF;
|
|
2621
|
+
}
|
|
2622
|
+
|
|
2623
|
+
.send-status-success {
|
|
2624
|
+
background: rgba(34, 197, 94, 0.1);
|
|
2625
|
+
border: 1px solid rgba(34, 197, 94, 0.3);
|
|
2626
|
+
color: #22c55e;
|
|
2627
|
+
}
|
|
2628
|
+
|
|
2629
|
+
.send-status-error {
|
|
2630
|
+
background: rgba(239, 68, 68, 0.1);
|
|
2631
|
+
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
2632
|
+
color: #ef4444;
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
/* Receive overlay */
|
|
2636
|
+
.wallet-receive-overlay {
|
|
2637
|
+
display: none;
|
|
2638
|
+
position: absolute;
|
|
2639
|
+
inset: 0;
|
|
2640
|
+
z-index: 50;
|
|
2641
|
+
background: rgba(15, 23, 42, 0.92);
|
|
2642
|
+
backdrop-filter: blur(12px);
|
|
2643
|
+
align-items: center;
|
|
2644
|
+
justify-content: center;
|
|
2645
|
+
flex-direction: column;
|
|
2646
|
+
}
|
|
2647
|
+
|
|
2648
|
+
.wallet-receive-card {
|
|
2649
|
+
text-align: center;
|
|
2650
|
+
padding: 32px 24px;
|
|
2651
|
+
}
|
|
2652
|
+
|
|
2653
|
+
.wallet-receive-card h4 {
|
|
2654
|
+
margin: 0 0 4px;
|
|
2655
|
+
font-size: 16px;
|
|
2656
|
+
font-weight: 600;
|
|
2657
|
+
color: var(--white);
|
|
2658
|
+
}
|
|
2659
|
+
|
|
2660
|
+
.wallet-receive-card canvas {
|
|
2661
|
+
border-radius: 12px;
|
|
2662
|
+
margin: 16px 0;
|
|
2663
|
+
}
|
|
2664
|
+
|
|
2665
|
+
.wallet-receive-address {
|
|
2666
|
+
display: block;
|
|
2667
|
+
font-size: 12px;
|
|
2668
|
+
color: var(--white-60);
|
|
2669
|
+
word-break: break-all;
|
|
2670
|
+
margin: 0 auto 20px;
|
|
2671
|
+
max-width: 260px;
|
|
2672
|
+
line-height: 1.5;
|
|
2673
|
+
}
|
|
2674
|
+
|
|
2675
|
+
.wallet-receive-actions {
|
|
2676
|
+
display: flex;
|
|
2677
|
+
gap: 10px;
|
|
2678
|
+
justify-content: center;
|
|
2679
|
+
}
|
|
2680
|
+
|
|
1891
2681
|
.trust-summary {
|
|
1892
2682
|
margin-top: 16px;
|
|
1893
2683
|
padding: 24px;
|
|
@@ -2358,6 +3148,27 @@ body:has(.modal.active) .nav-bar {
|
|
|
2358
3148
|
.hd-address-info {
|
|
2359
3149
|
flex-wrap: wrap;
|
|
2360
3150
|
}
|
|
3151
|
+
|
|
3152
|
+
.wallet-selector-row {
|
|
3153
|
+
flex-direction: column;
|
|
3154
|
+
align-items: stretch;
|
|
3155
|
+
gap: 8px;
|
|
3156
|
+
}
|
|
3157
|
+
|
|
3158
|
+
.wallet-selector-control {
|
|
3159
|
+
width: 100%;
|
|
3160
|
+
max-width: none;
|
|
3161
|
+
}
|
|
3162
|
+
|
|
3163
|
+
.wallet-selector-input.glass-input.compact {
|
|
3164
|
+
flex: 1;
|
|
3165
|
+
width: 100%;
|
|
3166
|
+
min-width: 0;
|
|
3167
|
+
}
|
|
3168
|
+
|
|
3169
|
+
.ph-actions {
|
|
3170
|
+
gap: 10px 14px;
|
|
3171
|
+
}
|
|
2361
3172
|
}
|
|
2362
3173
|
|
|
2363
3174
|
@media (max-width: 600px) {
|