@tuya-sat/sdf-main-sdk 6.0.13 → 6.1.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/main.css CHANGED
@@ -286,7 +286,7 @@ body.dark .purchaseCard__awz8N:nth-of-type(2)::after {
286
286
  display: flex;
287
287
  flex-direction: column;
288
288
  width: 100%;
289
- padding: 8px 28px 20px;
289
+ padding: 20px 28px;
290
290
  }
291
291
  .header__kcggd:after {
292
292
  content: '';
@@ -319,7 +319,7 @@ body.dark .purchaseCard__awz8N:nth-of-type(2)::after {
319
319
  justify-content: center;
320
320
  position: absolute;
321
321
  right: 28px;
322
- top: 9px;
322
+ top: 20px;
323
323
  width: 36px;
324
324
  height: 36px;
325
325
  border-radius: 8px;
@@ -690,6 +690,24 @@ body.light .uploadModal__r50Ae .img-crop-control {
690
690
  .featureList__i3LhM .main-app-nav-item:hover {
691
691
  background: var(--main-app-color-bg-spotlight);
692
692
  }
693
+ .setting__EZbI3 {
694
+ padding: 4px 8px;
695
+ border-top: 1px solid var(--main-app-color-fill-secondary);
696
+ }
697
+ .setting__EZbI3 .settingTitle__hbZLi {
698
+ font-weight: 500;
699
+ }
700
+ .setting__EZbI3 .settingContent__ArXs6 {
701
+ font-size: 13px;
702
+ color: var(--main-app-color-text-tertiary);
703
+ }
704
+ .setting__EZbI3 .main-app-nav-item {
705
+ padding: 8px;
706
+ border-radius: 8px;
707
+ }
708
+ .setting__EZbI3 .main-app-nav-item:hover {
709
+ background: var(--main-app-color-bg-spotlight);
710
+ }
693
711
  .logout__tECKi {
694
712
  display: flex;
695
713
  align-items: center;
@@ -1362,10 +1380,14 @@ body.light .layoutContent___o1Q3::backdrop {
1362
1380
  width: auto !important;
1363
1381
  }
1364
1382
  .topSelect__FFgaS .tagRow__i19DM {
1383
+ position: sticky;
1384
+ top: 0;
1385
+ z-index: 1;
1365
1386
  display: flex;
1366
1387
  align-items: center;
1367
1388
  justify-content: space-between;
1368
1389
  padding: 16px 0 0 16px;
1390
+ background: var(--main-app-color-bg-container);
1369
1391
  }
1370
1392
  .topSelect__FFgaS .tagItem__MOTcU {
1371
1393
  font-size: 14px;
@@ -1382,6 +1404,32 @@ body.light .layoutContent___o1Q3::backdrop {
1382
1404
  cursor: pointer;
1383
1405
  color: var(--main-app-color-primary);
1384
1406
  }
1407
+ .topSelect__FFgaS .section__Uph5q {
1408
+ padding: 0 0 8px 0;
1409
+ }
1410
+ .topSelect__FFgaS .section__Uph5q:last-child {
1411
+ padding-bottom: 16px;
1412
+ }
1413
+ .topSelect__FFgaS .section__Uph5q:not(:first-child) .tagRow__i19DM {
1414
+ padding-top: 12px;
1415
+ }
1416
+ .topSelect__FFgaS .itemRow__AUGzJ {
1417
+ display: flex;
1418
+ align-items: center;
1419
+ gap: 8px;
1420
+ padding: 7px 12px;
1421
+ margin: 0 8px 4px 8px;
1422
+ cursor: pointer;
1423
+ border-radius: 8px;
1424
+ font-size: 14px;
1425
+ line-height: 22px;
1426
+ }
1427
+ .topSelect__FFgaS .itemRow__AUGzJ:hover {
1428
+ background: var(--main-app-color-fill-tertiary);
1429
+ }
1430
+ .topSelect__FFgaS .itemSelected__tTjy2 {
1431
+ background: var(--main-app-color-fill-tertiary);
1432
+ }
1385
1433
  .topSelect__FFgaS .main-select-item-option {
1386
1434
  margin-bottom: 4px;
1387
1435
  }
@@ -1564,6 +1612,10 @@ body.light .trdMenu__gAY5a .main-menu-item-selected {
1564
1612
  overflow: hidden;
1565
1613
  cursor: pointer;
1566
1614
  }
1615
+ .navItem__pMpDc > svg,
1616
+ .navItem__pMpDc > .anticon__Ybw7T {
1617
+ flex-shrink: 0;
1618
+ }
1567
1619
  .navItem__pMpDc .anticon {
1568
1620
  padding: 1px;
1569
1621
  font-size: 14px;
@@ -1996,14 +2048,15 @@ body.light .circle__l8iGG .main-badge-count {
1996
2048
  .layoutHeader__hSm9v {
1997
2049
  display: flex;
1998
2050
  align-items: center;
1999
- height: 76px;
2051
+ height: 56px;
2000
2052
  line-height: inherit;
2001
2053
  padding: 0 28px;
2002
2054
  flex-direction: row;
2003
2055
  color: var(--main-app-navigate-text);
2004
- background-color: var(--main-app-navigate-bg);
2056
+ background-color: var(--main-app-menu-bg);
2005
2057
  transition: all 0.2s;
2006
- overflow: hidden;
2058
+ z-index: 1;
2059
+ box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.08);
2007
2060
  }
2008
2061
  .siteInfo__X3cGp {
2009
2062
  flex: none;
@@ -2022,7 +2075,7 @@ body.light .circle__l8iGG .main-badge-count {
2022
2075
  color: var(--main-app-color-text);
2023
2076
  }
2024
2077
  .goHome__rL9nk {
2025
- margin-right: 8px;
2078
+ margin-right: 4px;
2026
2079
  padding: 8px;
2027
2080
  font-size: 13px;
2028
2081
  font-weight: 500;
@@ -2361,6 +2414,49 @@ body.light .foldBtnFixed__tZVuF:hover {
2361
2414
  color: #fff !important;
2362
2415
  }
2363
2416
 
2417
+ .container__C1vDv {
2418
+ text-align: center;
2419
+ /* NoProjectSvg 插图配色(亮色) */
2420
+ --np-ellipse: rgba(106, 118, 146, 0.05);
2421
+ --np-line: #c9cdd4;
2422
+ --np-muted: #e5e6eb;
2423
+ --np-surface: #f2f3f5;
2424
+ --np-panel: #ffffff;
2425
+ }
2426
+ .container__C1vDv svg {
2427
+ height: 100px;
2428
+ margin-bottom: 24px;
2429
+ }
2430
+ .img__XMB8V {
2431
+ width: 100px;
2432
+ height: 100px;
2433
+ }
2434
+ .title__GbWu6 {
2435
+ color: rgba(0, 0, 0, 0.85);
2436
+ font-size: 24px;
2437
+ line-height: 1.8;
2438
+ text-align: center;
2439
+ }
2440
+ .desc__wvzro {
2441
+ color: rgba(0, 0, 0, 0.45);
2442
+ font-size: 14px;
2443
+ line-height: 1.6;
2444
+ text-align: center;
2445
+ }
2446
+ body.dark .container__C1vDv {
2447
+ --np-ellipse: rgba(168, 176, 196, 0.12);
2448
+ --np-line: #636872;
2449
+ --np-muted: #3e424b;
2450
+ --np-surface: #2b2f3a;
2451
+ --np-panel: #383c46;
2452
+ }
2453
+ body.dark .title__GbWu6 {
2454
+ color: hsla(0, 0%, 100%, 0.85);
2455
+ }
2456
+ body.dark .desc__wvzro {
2457
+ color: hsla(0, 0%, 100%, 0.45);
2458
+ }
2459
+
2364
2460
  :global .ant-pagination .ant-pagination-item-active,
2365
2461
  :global .main-pagination .main-pagination-item-active:hover {
2366
2462
  border-color: transparent !important;