hd-wallet-ui 2.0.19 → 2.0.20

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/styles/widget.css CHANGED
@@ -656,42 +656,42 @@ body:has(#hd-wallet-ui-container .modal.active) #hd-wallet-ui-container .nav-bar
656
656
  display: block;
657
657
  }
658
658
 
659
- /* Modal Tabs */
659
+ /* Modal Tabs (Account modal - Keys / vCard) - Bootstrap-style nav tabs */
660
660
  #hd-wallet-ui-container .modal-tabs {
661
661
  display: flex;
662
- gap: 6px;
662
+ gap: 0;
663
663
  margin: 0;
664
- padding: 8px 24px;
664
+ padding: 0 24px;
665
665
  background: transparent;
666
- border-bottom: 1px solid var(--white-10, rgba(255,255,255,0.1));
666
+ border-bottom: 2px solid var(--white-10, rgba(255,255,255,0.1));
667
667
  }
668
668
 
669
669
  #hd-wallet-ui-container .modal-tab {
670
- padding: 8px 14px;
670
+ padding: 10px 16px;
671
671
  background: transparent;
672
- border: 1px solid transparent;
673
- border-radius: 8px;
672
+ border: none;
673
+ border-bottom: 2px solid transparent;
674
+ margin-bottom: -2px;
674
675
  color: var(--white-60);
675
676
  font-family: var(--font-sans);
676
677
  font-size: 13px;
677
678
  font-weight: 500;
678
679
  line-height: 1;
679
680
  cursor: pointer;
680
- transition: color 0.2s, border-color 0.2s, background 0.2s;
681
+ transition: color 0.2s, border-color 0.2s;
681
682
  text-align: center;
682
683
  white-space: nowrap;
683
684
  }
684
685
 
685
686
  #hd-wallet-ui-container .modal-tab:hover {
686
687
  color: var(--white, #fff);
687
- background: var(--white-05);
688
- border-color: var(--white-10);
688
+ border-bottom-color: var(--white-30, rgba(255,255,255,0.3));
689
689
  }
690
690
 
691
691
  #hd-wallet-ui-container .modal-tab.active {
692
692
  color: var(--white, #fff);
693
- border-color: var(--white-20);
694
- background: var(--white-10);
693
+ border-bottom-color: var(--accent, #00dc82);
694
+ background: transparent;
695
695
  }
696
696
 
697
697
  #hd-wallet-ui-container .modal-tab-content {
@@ -979,10 +979,9 @@ body:has(#hd-wallet-ui-container .modal.active) #hd-wallet-ui-container .nav-bar
979
979
 
980
980
  #hd-wallet-ui-container .wallet-info-expanded {
981
981
  display: flex;
982
- align-items: center;
982
+ align-items: flex-start;
983
983
  gap: 8px;
984
- min-height: 30px;
985
- padding: 6px 24px;
984
+ padding: 12px 24px;
986
985
  background: rgba(59, 130, 246, 0.1);
987
986
  font-size: 13px;
988
987
  line-height: 1.5;
@@ -998,17 +997,12 @@ body:has(#hd-wallet-ui-container .modal.active) #hd-wallet-ui-container .nav-bar
998
997
  }
999
998
 
1000
999
  #hd-wallet-ui-container .wallet-info-close {
1001
- display: inline-flex;
1002
- align-items: center;
1003
- justify-content: center;
1004
1000
  background: none;
1005
1001
  border: none;
1006
1002
  color: rgba(255, 255, 255, 0.5);
1007
1003
  font-size: 18px;
1008
1004
  cursor: pointer;
1009
- padding: 0;
1010
- width: 22px;
1011
- height: 22px;
1005
+ padding: 0 2px;
1012
1006
  line-height: 1;
1013
1007
  flex-shrink: 0;
1014
1008
  }
@@ -1193,78 +1187,95 @@ body:has(#hd-wallet-ui-container .modal.active) #hd-wallet-ui-container .nav-bar
1193
1187
  user-drag: none;
1194
1188
  }
1195
1189
 
1190
+ #hd-wallet-ui-container .modal-header h3 {
1191
+ font-size: 18px;
1192
+ font-weight: 600;
1193
+ }
1194
+
1196
1195
  #hd-wallet-ui-container .account-header-info {
1197
1196
  display: flex;
1198
1197
  flex-direction: column;
1199
- align-items: flex-start;
1200
- justify-content: center;
1201
- gap: 8px;
1198
+ gap: 2px;
1202
1199
  flex: 1 1 auto;
1203
1200
  min-width: 0;
1204
1201
  }
1205
1202
 
1206
- #hd-wallet-ui-container .account-modal-header {
1207
- position: relative;
1208
- align-items: center;
1209
- min-height: 118px;
1210
- padding-right: 56px;
1203
+ #hd-wallet-ui-container .account-header-top {
1204
+ display: flex;
1205
+ align-items: baseline;
1206
+ gap: 12px;
1207
+ }
1208
+
1209
+ #hd-wallet-ui-container .account-total-value {
1210
+ font-weight: 500;
1211
+ color: #4ade80;
1212
+ letter-spacing: 0.02em;
1213
+ opacity: 0.9;
1211
1214
  }
1212
1215
 
1213
- #hd-wallet-ui-container .account-wallet-row {
1216
+ #hd-wallet-ui-container .account-address-row {
1214
1217
  display: flex;
1215
1218
  align-items: center;
1216
- justify-content: flex-start;
1217
- gap: 8px;
1218
- width: auto;
1219
+ gap: 10px;
1220
+ margin-top: 4px;
1221
+ width: 100%;
1219
1222
  min-width: 0;
1220
1223
  }
1221
1224
 
1222
- #hd-wallet-ui-container .account-wallet-select.glass-input.compact {
1225
+ #hd-wallet-ui-container .account-address-label {
1223
1226
  flex: 0 0 auto;
1224
- min-width: 0;
1225
- width: auto;
1226
- max-width: min(260px, calc(100vw - 112px));
1227
- height: 32px;
1228
- font-size: 13px;
1229
- padding: 4px 34px 4px 10px;
1227
+ }
1228
+
1229
+ #hd-wallet-ui-container .account-address-select {
1230
+ min-width: 90px;
1231
+ max-width: 130px;
1232
+ font-size: 12px;
1233
+ padding: 4px 28px 4px 10px;
1234
+ height: 28px;
1235
+ background-position: right 6px center;
1230
1236
  color: var(--white-90);
1231
- appearance: none;
1232
- -webkit-appearance: none;
1233
- -moz-appearance: none;
1234
- 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");
1235
- background-repeat: no-repeat;
1236
- background-position: right 11px center;
1237
+ user-select: none;
1238
+ -webkit-user-select: none;
1237
1239
  }
1238
1240
 
1239
- #hd-wallet-ui-container .account-wallet-summary {
1240
- text-align: left;
1241
+ #hd-wallet-ui-container .account-address-display {
1242
+ box-sizing: border-box;
1243
+ font-family: var(--font-mono, 'SF Mono', monospace);
1244
+ font-size: 11px;
1245
+ color: var(--white-90);
1246
+ background: var(--white-05);
1247
+ border: 1px solid var(--glass-border);
1248
+ border-radius: 6px;
1249
+ padding: 2px 6px;
1250
+ letter-spacing: 0.04em;
1251
+ white-space: nowrap;
1252
+ overflow: hidden;
1253
+ text-overflow: ellipsis;
1254
+ flex: 1 1 auto;
1255
+ min-width: 12ch;
1256
+ width: 100%;
1241
1257
  }
1242
1258
 
1243
- #hd-wallet-ui-container .account-wallet-balance-line {
1259
+ #hd-wallet-ui-container .account-address-copy {
1260
+ background: none;
1261
+ border: none;
1262
+ color: var(--white-30);
1263
+ cursor: pointer;
1264
+ height: 24px;
1265
+ padding: 2px;
1266
+ width: 24px;
1267
+ flex-shrink: 0;
1244
1268
  display: flex;
1245
1269
  align-items: center;
1246
- gap: 16px;
1247
- }
1248
-
1249
- #hd-wallet-ui-container .account-wallet-summary .ph-portfolio-value {
1250
- color: #4ade80;
1251
- font-size: 25px;
1270
+ justify-content: center;
1252
1271
  }
1253
-
1254
- #hd-wallet-ui-container .account-wallet-summary .ph-portfolio-label {
1255
- font-size: 18px;
1256
- color: var(--white-80);
1257
- margin-top: 0;
1272
+ #hd-wallet-ui-container .account-address-copy:hover {
1273
+ color: var(--white-70);
1258
1274
  }
1259
1275
 
1260
1276
  @media (max-width: 600px) {
1261
- #hd-wallet-ui-container .account-wallet-row {
1262
- gap: 8px;
1263
- }
1264
-
1265
- #hd-wallet-ui-container .account-wallet-select.glass-input.compact {
1266
- min-width: 0;
1267
- max-width: calc(100vw - 96px);
1277
+ #hd-wallet-ui-container .account-address-display {
1278
+ min-width: 10ch;
1268
1279
  }
1269
1280
  }
1270
1281
 
@@ -1281,23 +1292,17 @@ body:has(#hd-wallet-ui-container .modal.active) #hd-wallet-ui-container .nav-bar
1281
1292
  display: flex;
1282
1293
  align-items: center;
1283
1294
  justify-content: center;
1284
- background: transparent;
1295
+ background: var(--white-10);
1285
1296
  border: none;
1297
+ border-radius: 50%;
1286
1298
  color: var(--white);
1299
+ font-size: 20px;
1287
1300
  cursor: pointer;
1288
- padding: 0;
1289
- transition: color 0.2s, opacity 0.2s;
1301
+ transition: background 0.2s;
1290
1302
  }
1291
1303
 
1292
1304
  #hd-wallet-ui-container .modal-close:hover {
1293
- color: var(--white-80);
1294
- opacity: 0.9;
1295
- }
1296
-
1297
- #hd-wallet-ui-container .account-modal-close {
1298
- position: absolute;
1299
- top: 12px;
1300
- right: 14px;
1305
+ background: var(--white-20);
1301
1306
  }
1302
1307
 
1303
1308
  #hd-wallet-ui-container .modal-body {
@@ -1935,10 +1940,6 @@ body:has(#hd-wallet-ui-container .modal.active) #hd-wallet-ui-container .nav-bar
1935
1940
  ============================================================================= */
1936
1941
 
1937
1942
  /* Portfolio Hero */
1938
- #hd-wallet-ui-container #wallet-main-view {
1939
- position: relative;
1940
- }
1941
-
1942
1943
  #hd-wallet-ui-container .ph-portfolio {
1943
1944
  text-align: center;
1944
1945
  padding: 24px 0 20px;
@@ -2205,68 +2206,6 @@ body:has(#hd-wallet-ui-container .modal.active) #hd-wallet-ui-container .nav-bar
2205
2206
  opacity: 0.45;
2206
2207
  }
2207
2208
 
2208
- #hd-wallet-ui-container .wallet-asset-action-overlay {
2209
- position: absolute;
2210
- inset: 0;
2211
- z-index: 40;
2212
- display: none;
2213
- align-items: flex-end;
2214
- justify-content: center;
2215
- padding: 16px;
2216
- background: rgba(0, 0, 0, 0.42);
2217
- }
2218
-
2219
- #hd-wallet-ui-container .wallet-asset-action-card {
2220
- width: min(100%, 420px);
2221
- border: 1px solid var(--glass-border);
2222
- border-radius: 12px;
2223
- background: rgba(28, 28, 31, 0.98);
2224
- box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
2225
- padding: 16px;
2226
- }
2227
-
2228
- #hd-wallet-ui-container .wallet-asset-action-header {
2229
- display: flex;
2230
- align-items: flex-start;
2231
- justify-content: space-between;
2232
- gap: 12px;
2233
- margin-bottom: 12px;
2234
- }
2235
-
2236
- #hd-wallet-ui-container .wallet-asset-action-header h4 {
2237
- margin: 0 0 4px;
2238
- font-size: 16px;
2239
- line-height: 1.2;
2240
- }
2241
-
2242
- #hd-wallet-ui-container .wallet-asset-action-path {
2243
- font-size: 11px;
2244
- color: var(--muted);
2245
- font-family: var(--font-mono);
2246
- }
2247
-
2248
- #hd-wallet-ui-container .wallet-asset-action-address {
2249
- display: block;
2250
- box-sizing: border-box;
2251
- width: 100%;
2252
- padding: 8px 10px;
2253
- border: 1px solid var(--glass-border);
2254
- border-radius: 8px;
2255
- background: var(--white-05);
2256
- color: var(--white-90);
2257
- font-size: 12px;
2258
- overflow: hidden;
2259
- text-overflow: ellipsis;
2260
- white-space: nowrap;
2261
- }
2262
-
2263
- #hd-wallet-ui-container .wallet-asset-action-buttons {
2264
- display: grid;
2265
- grid-template-columns: 1fr 1fr;
2266
- gap: 10px;
2267
- margin-top: 14px;
2268
- }
2269
-
2270
2209
  #hd-wallet-ui-container .ph-token-icon {
2271
2210
  width: 40px;
2272
2211
  height: 40px;
@@ -5281,63 +5220,6 @@ body:has(#hd-wallet-ui-container .modal.active) #hd-wallet-ui-container .nav-bar
5281
5220
  display: none;
5282
5221
  }
5283
5222
 
5284
- #hd-wallet-ui-container .identity-wallet-keys {
5285
- display: flex;
5286
- flex-direction: column;
5287
- gap: 8px;
5288
- margin: 14px 0 4px;
5289
- }
5290
-
5291
- #hd-wallet-ui-container .identity-wallet-key-row {
5292
- display: grid;
5293
- grid-template-columns: 62px minmax(0, 1fr) 28px;
5294
- align-items: center;
5295
- gap: 8px;
5296
- min-width: 0;
5297
- }
5298
-
5299
- #hd-wallet-ui-container .identity-wallet-key-label {
5300
- color: var(--muted);
5301
- font-family: var(--font-mono);
5302
- font-size: 11px;
5303
- text-transform: uppercase;
5304
- }
5305
-
5306
- #hd-wallet-ui-container .identity-wallet-key-value {
5307
- box-sizing: border-box;
5308
- min-width: 0;
5309
- width: 100%;
5310
- padding: 5px 8px;
5311
- border: 1px solid var(--glass-border);
5312
- border-radius: 7px;
5313
- background: var(--white-05);
5314
- color: var(--white-90);
5315
- font-family: var(--font-mono);
5316
- font-size: 12px;
5317
- line-height: 1.3;
5318
- overflow: hidden;
5319
- text-overflow: ellipsis;
5320
- white-space: nowrap;
5321
- }
5322
-
5323
- #hd-wallet-ui-container .identity-wallet-copy {
5324
- width: 28px;
5325
- height: 28px;
5326
- padding: 0;
5327
- border: 1px solid var(--glass-border);
5328
- border-radius: 7px;
5329
- background: var(--white-05);
5330
- color: var(--white-50);
5331
- display: inline-flex;
5332
- align-items: center;
5333
- justify-content: center;
5334
- }
5335
-
5336
- #hd-wallet-ui-container .identity-wallet-copy:hover {
5337
- color: var(--white);
5338
- background: var(--white-10);
5339
- }
5340
-
5341
5223
  /* Identity edit button (pencil icon in card) */
5342
5224
  #hd-wallet-ui-container .identity-edit-btn {
5343
5225
  position: absolute;