@tuya-miniapp/ark-extension-virtual-device 1.8.13 → 1.8.14-beta.1

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.
@@ -34,6 +34,20 @@ body {
34
34
  [data-theme='light'] *[style*='background-color: #282828'] {
35
35
  background-color: #ffffff !important;
36
36
  }
37
+ .ant-btn.btn-green {
38
+ background-color: #21a43b !important;
39
+ border-color: #21a43b !important;
40
+ color: #ffffff !important;
41
+ text-shadow: none !important;
42
+ box-shadow: none !important;
43
+ }
44
+ .ant-btn.btn-green:hover,
45
+ .ant-btn.btn-green:focus,
46
+ .ant-btn.btn-green:active {
47
+ background-color: #199335 !important;
48
+ border-color: #199335 !important;
49
+ color: #ffffff !important;
50
+ }
37
51
 
38
52
  .container {
39
53
  width: 100vw;
@@ -593,6 +607,51 @@ template {
593
607
  color: #000000d9;
594
608
  }
595
609
 
610
+ .ide-banner {
611
+ width: 300px;
612
+ height: 60px;
613
+ position: absolute;
614
+ right: 12px;
615
+ top: 0;
616
+ margin-left: auto;
617
+ cursor: pointer;
618
+ overflow: hidden;
619
+ border-radius: 4px;
620
+ flex-shrink: 0;
621
+ }
622
+ .ide-banner-video {
623
+ width: 100%;
624
+ height: 100%;
625
+ object-fit: cover;
626
+ display: block;
627
+ }
628
+ .ide-banner-poster {
629
+ width: 100%;
630
+ height: 100%;
631
+ object-fit: cover;
632
+ display: block;
633
+ }
634
+ .ide-banner-close {
635
+ position: absolute;
636
+ top: 50%;
637
+ right: 10px;
638
+ transform: translateY(-50%);
639
+ width: 16px;
640
+ height: 16px;
641
+ display: flex;
642
+ align-items: center;
643
+ justify-content: center;
644
+ cursor: pointer;
645
+ color: #fff;
646
+ font-size: 12px;
647
+ background: rgba(0, 0, 0, 0.4);
648
+ border-radius: 50%;
649
+ z-index: 1;
650
+ }
651
+ .ide-banner-close:hover {
652
+ background: rgba(0, 0, 0, 0.6);
653
+ }
654
+
596
655
  .dev-item-wrapper {
597
656
  width: 331px;
598
657
  position: relative;
@@ -1254,11 +1313,6 @@ template {
1254
1313
  [data-theme='light'] .extension-container .head h1 {
1255
1314
  color: #000000d9;
1256
1315
  }
1257
- .debug {
1258
- position: absolute;
1259
- top: 50px;
1260
- right: 20px;
1261
- }
1262
1316
 
1263
1317
  .ext-item {
1264
1318
  min-width: 400px;
@@ -1266,12 +1320,13 @@ template {
1266
1320
  /* 面板/背景 */
1267
1321
  background: #3c3f41;
1268
1322
  display: flex;
1269
- align-items: center;
1323
+ align-items: flex-start;
1270
1324
  justify-content: space-between;
1271
- padding: 16px;
1325
+ padding: 22px;
1272
1326
  border-radius: 16px;
1273
- height: 200px;
1327
+ height: 174px;
1274
1328
  /* Elevation = 1 */
1329
+ position: relative;
1275
1330
  }
1276
1331
  .ext-item .icon {
1277
1332
  width: 80px;
@@ -1283,6 +1338,7 @@ template {
1283
1338
  flex: 1;
1284
1339
  margin-left: 16px;
1285
1340
  justify-content: space-between;
1341
+ height: 100%;
1286
1342
  }
1287
1343
  .ext-item .info .info-item {
1288
1344
  font-size: 15px;
@@ -1331,6 +1387,9 @@ template {
1331
1387
  align-items: center;
1332
1388
  justify-content: flex-end;
1333
1389
  margin-top: 4px;
1390
+ position: absolute;
1391
+ bottom: 22px;
1392
+ right: 22px;
1334
1393
  }
1335
1394
  .ext-item .info .install-container .uninstall {
1336
1395
  height: 32px;
@@ -1392,3 +1451,605 @@ template {
1392
1451
  color: #306fff;
1393
1452
  }
1394
1453
 
1454
+ .test-report {
1455
+ --tr-bg: #282828;
1456
+ --tr-panel: #303234;
1457
+ --tr-panel-2: #3c3f41;
1458
+ --tr-elevated: #4c5052;
1459
+ --tr-border: #4a4d4f;
1460
+ --tr-border-2: #3a3d3f;
1461
+ --tr-text: #c9c9c9;
1462
+ --tr-text-2: #8f8f8f;
1463
+ --tr-text-3: #6f6f6f;
1464
+ --tr-heading: #ffffff;
1465
+ --tr-primary: #306fff;
1466
+ --tr-primary-hover: #2954cd;
1467
+ --tr-success: #21a43b;
1468
+ --tr-success-bg: rgba(33, 164, 59, 0.14);
1469
+ --tr-warning: #ea8a24;
1470
+ --tr-warning-bg: rgba(234, 138, 36, 0.14);
1471
+ --tr-error: #d32c26;
1472
+ --tr-error-bg: rgba(211, 44, 38, 0.14);
1473
+ --tr-track: #4a4d4f;
1474
+ font-size: 13px;
1475
+ color: var(--tr-text);
1476
+ padding: 16px 20px 40px;
1477
+ height: 100vh;
1478
+ overflow-y: auto;
1479
+ box-sizing: border-box;
1480
+ }
1481
+ .test-report.nested {
1482
+ height: calc(100vh - 100px);
1483
+ }
1484
+ .test-report * {
1485
+ box-sizing: border-box;
1486
+ }
1487
+ .test-report a {
1488
+ color: var(--tr-primary);
1489
+ text-decoration: none;
1490
+ }
1491
+ .test-report a:hover {
1492
+ text-decoration: underline;
1493
+ }
1494
+ .test-report .tr-head {
1495
+ display: flex;
1496
+ align-items: flex-start;
1497
+ justify-content: space-between;
1498
+ gap: 16px;
1499
+ margin-bottom: 16px;
1500
+ }
1501
+ .test-report .tr-title {
1502
+ font-size: 18px;
1503
+ font-weight: 600;
1504
+ color: var(--tr-heading);
1505
+ margin: 0 0 6px;
1506
+ display: flex;
1507
+ align-items: center;
1508
+ gap: 10px;
1509
+ }
1510
+ .test-report .tr-back {
1511
+ font-size: 13px;
1512
+ color: var(--tr-text-2);
1513
+ cursor: pointer;
1514
+ }
1515
+ .test-report .tr-back:hover {
1516
+ color: #fff;
1517
+ }
1518
+ .test-report .tr-device {
1519
+ font-size: 12px;
1520
+ color: var(--tr-text-2);
1521
+ display: flex;
1522
+ flex-wrap: wrap;
1523
+ gap: 4px 14px;
1524
+ }
1525
+ .test-report .tr-device b {
1526
+ color: var(--tr-text);
1527
+ font-weight: 500;
1528
+ }
1529
+ .test-report .tr-head-actions {
1530
+ display: flex;
1531
+ gap: 8px;
1532
+ flex-shrink: 0;
1533
+ }
1534
+ .test-report .tr-btn {
1535
+ border: 1px solid var(--tr-border);
1536
+ background: var(--tr-panel-2);
1537
+ color: var(--tr-text);
1538
+ padding: 6px 14px;
1539
+ border-radius: 8px;
1540
+ cursor: pointer;
1541
+ font-size: 13px;
1542
+ display: inline-flex;
1543
+ align-items: center;
1544
+ gap: 6px;
1545
+ transition: 0.15s;
1546
+ white-space: nowrap;
1547
+ }
1548
+ .test-report .tr-btn:hover {
1549
+ border-color: var(--tr-primary);
1550
+ color: #fff;
1551
+ }
1552
+ .test-report .tr-btn.primary {
1553
+ background: var(--tr-primary);
1554
+ border-color: var(--tr-primary);
1555
+ color: #fff;
1556
+ }
1557
+ .test-report .tr-btn.primary:hover {
1558
+ background: var(--tr-primary-hover);
1559
+ border-color: var(--tr-primary-hover);
1560
+ }
1561
+ .test-report .tr-btn.sm {
1562
+ padding: 3px 10px;
1563
+ font-size: 12px;
1564
+ border-radius: 6px;
1565
+ }
1566
+ .test-report .tr-btn:disabled {
1567
+ opacity: 0.5;
1568
+ cursor: not-allowed;
1569
+ }
1570
+ .test-report .tr-cards {
1571
+ display: grid;
1572
+ grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
1573
+ gap: 12px;
1574
+ margin-bottom: 18px;
1575
+ }
1576
+ .test-report .tr-card {
1577
+ background: var(--tr-panel);
1578
+ border: 1px solid var(--tr-border-2);
1579
+ border-radius: 10px;
1580
+ padding: 14px 16px;
1581
+ display: flex;
1582
+ align-items: center;
1583
+ gap: 14px;
1584
+ min-width: 0;
1585
+ }
1586
+ .test-report .tr-card > div:last-child {
1587
+ min-width: 0;
1588
+ }
1589
+ .test-report .tr-card .label {
1590
+ font-size: 12px;
1591
+ color: var(--tr-text-2);
1592
+ margin-bottom: 6px;
1593
+ white-space: nowrap;
1594
+ }
1595
+ .test-report .tr-card .value {
1596
+ font-size: 26px;
1597
+ font-weight: 600;
1598
+ color: var(--tr-heading);
1599
+ line-height: 1;
1600
+ white-space: nowrap;
1601
+ }
1602
+ .test-report .tr-card .sub {
1603
+ font-size: 11px;
1604
+ color: var(--tr-text-3);
1605
+ margin-top: 5px;
1606
+ }
1607
+ .test-report .trend-down {
1608
+ color: var(--tr-error);
1609
+ }
1610
+ .test-report .trend-up {
1611
+ color: var(--tr-success);
1612
+ }
1613
+ .test-report .ring {
1614
+ width: 52px;
1615
+ height: 52px;
1616
+ border-radius: 50%;
1617
+ flex-shrink: 0;
1618
+ display: flex;
1619
+ align-items: center;
1620
+ justify-content: center;
1621
+ position: relative;
1622
+ }
1623
+ .test-report .ring::before {
1624
+ content: '';
1625
+ position: absolute;
1626
+ inset: 6px;
1627
+ border-radius: 50%;
1628
+ background: var(--tr-panel);
1629
+ }
1630
+ .test-report .ring span {
1631
+ position: relative;
1632
+ font-size: 12px;
1633
+ font-weight: 600;
1634
+ color: var(--tr-heading);
1635
+ z-index: 1;
1636
+ }
1637
+ .test-report .tr-tabs {
1638
+ display: flex;
1639
+ gap: 4px;
1640
+ border-bottom: 1px solid var(--tr-border-2);
1641
+ margin-bottom: 14px;
1642
+ }
1643
+ .test-report .tr-tab {
1644
+ padding: 9px 18px;
1645
+ cursor: pointer;
1646
+ color: var(--tr-text-2);
1647
+ font-size: 14px;
1648
+ border-bottom: 2px solid transparent;
1649
+ margin-bottom: -1px;
1650
+ transition: 0.15s;
1651
+ }
1652
+ .test-report .tr-tab:hover {
1653
+ color: var(--tr-text);
1654
+ }
1655
+ .test-report .tr-tab.active {
1656
+ color: #fff;
1657
+ border-bottom-color: var(--tr-primary);
1658
+ font-weight: 500;
1659
+ }
1660
+ .test-report .tr-filters {
1661
+ display: flex;
1662
+ align-items: center;
1663
+ gap: 14px;
1664
+ margin-bottom: 12px;
1665
+ flex-wrap: wrap;
1666
+ }
1667
+ .test-report .seg {
1668
+ display: inline-flex;
1669
+ background: var(--tr-panel-2);
1670
+ border: 1px solid var(--tr-border-2);
1671
+ border-radius: 7px;
1672
+ overflow: hidden;
1673
+ }
1674
+ .test-report .seg button {
1675
+ border: none;
1676
+ background: transparent;
1677
+ color: var(--tr-text-2);
1678
+ padding: 5px 12px;
1679
+ cursor: pointer;
1680
+ font-size: 12px;
1681
+ }
1682
+ .test-report .seg button.active {
1683
+ background: var(--tr-elevated);
1684
+ color: #fff;
1685
+ }
1686
+ .test-report .filter-label {
1687
+ font-size: 12px;
1688
+ color: var(--tr-text-3);
1689
+ margin-right: -6px;
1690
+ }
1691
+ .test-report .tr-search {
1692
+ flex: 1;
1693
+ min-width: 180px;
1694
+ max-width: 320px;
1695
+ background: var(--tr-panel-2);
1696
+ border: 1px solid var(--tr-border-2);
1697
+ border-radius: 7px;
1698
+ padding: 6px 12px;
1699
+ color: var(--tr-text);
1700
+ font-size: 13px;
1701
+ }
1702
+ .test-report .tr-search:focus {
1703
+ outline: none;
1704
+ border-color: var(--tr-primary);
1705
+ }
1706
+ .test-report .filter-count {
1707
+ font-size: 12px;
1708
+ color: var(--tr-text-3);
1709
+ margin-left: auto;
1710
+ }
1711
+ .test-report .case-list {
1712
+ display: flex;
1713
+ flex-direction: column;
1714
+ gap: 8px;
1715
+ }
1716
+ .test-report .case {
1717
+ background: var(--tr-panel);
1718
+ border: 1px solid var(--tr-border-2);
1719
+ border-radius: 10px;
1720
+ overflow: hidden;
1721
+ }
1722
+ .test-report .case-row {
1723
+ display: flex;
1724
+ align-items: center;
1725
+ gap: 12px;
1726
+ padding: 11px 14px;
1727
+ cursor: pointer;
1728
+ }
1729
+ .test-report .case-row:hover {
1730
+ background-color: rgba(255, 255, 255, 0.02);
1731
+ }
1732
+ .test-report .status-dot {
1733
+ width: 9px;
1734
+ height: 9px;
1735
+ border-radius: 50%;
1736
+ flex-shrink: 0;
1737
+ }
1738
+ .test-report .dot-pass {
1739
+ background: var(--tr-success);
1740
+ box-shadow: 0 0 6px rgba(33, 164, 59, 0.6);
1741
+ }
1742
+ .test-report .dot-error {
1743
+ background: var(--tr-warning);
1744
+ box-shadow: 0 0 6px rgba(234, 138, 36, 0.6);
1745
+ }
1746
+ .test-report .dot-none {
1747
+ background: #5a5d5f;
1748
+ }
1749
+ .test-report .case-main {
1750
+ flex: 1;
1751
+ min-width: 0;
1752
+ }
1753
+ .test-report .case-title-line {
1754
+ display: flex;
1755
+ align-items: center;
1756
+ gap: 8px;
1757
+ }
1758
+ .test-report .case-title {
1759
+ color: var(--tr-heading);
1760
+ font-size: 13.5px;
1761
+ font-weight: 500;
1762
+ white-space: nowrap;
1763
+ overflow: hidden;
1764
+ text-overflow: ellipsis;
1765
+ }
1766
+ .test-report .badge {
1767
+ font-size: 10.5px;
1768
+ padding: 1px 6px;
1769
+ border-radius: 4px;
1770
+ font-weight: 600;
1771
+ flex-shrink: 0;
1772
+ }
1773
+ .test-report .badge.p0 {
1774
+ background: rgba(211, 44, 38, 0.18);
1775
+ color: #ff7a75;
1776
+ }
1777
+ .test-report .badge.p1 {
1778
+ background: rgba(234, 138, 36, 0.18);
1779
+ color: #ffb057;
1780
+ }
1781
+ .test-report .case-id {
1782
+ font-size: 11px;
1783
+ color: var(--tr-text-3);
1784
+ font-family: ui-monospace, monospace;
1785
+ flex-shrink: 0;
1786
+ }
1787
+ .test-report .case-cat {
1788
+ font-size: 11px;
1789
+ color: var(--tr-text-3);
1790
+ margin-top: 3px;
1791
+ white-space: nowrap;
1792
+ overflow: hidden;
1793
+ text-overflow: ellipsis;
1794
+ }
1795
+ .test-report .case-meta {
1796
+ display: flex;
1797
+ align-items: center;
1798
+ gap: 10px;
1799
+ flex-shrink: 0;
1800
+ }
1801
+ .test-report .pill {
1802
+ font-size: 11px;
1803
+ padding: 2px 9px;
1804
+ border-radius: 20px;
1805
+ white-space: nowrap;
1806
+ }
1807
+ .test-report .pill-pass {
1808
+ background: var(--tr-success-bg);
1809
+ color: #4cd166;
1810
+ }
1811
+ .test-report .pill-error {
1812
+ background: var(--tr-warning-bg);
1813
+ color: #ffab5c;
1814
+ }
1815
+ .test-report .pill-none {
1816
+ background: rgba(255, 255, 255, 0.05);
1817
+ color: var(--tr-text-3);
1818
+ }
1819
+ .test-report .dur {
1820
+ font-size: 11px;
1821
+ color: var(--tr-text-3);
1822
+ min-width: 46px;
1823
+ text-align: right;
1824
+ font-family: ui-monospace, monospace;
1825
+ }
1826
+ .test-report .chevron {
1827
+ color: var(--tr-text-3);
1828
+ font-size: 11px;
1829
+ transition: transform 0.2s;
1830
+ width: 14px;
1831
+ text-align: center;
1832
+ }
1833
+ .test-report .case.open .chevron {
1834
+ transform: rotate(90deg);
1835
+ }
1836
+ .test-report .spinner {
1837
+ width: 13px;
1838
+ height: 13px;
1839
+ border: 2px solid rgba(255, 255, 255, 0.25);
1840
+ border-top-color: #fff;
1841
+ border-radius: 50%;
1842
+ animation: tr-spin 0.7s linear infinite;
1843
+ display: inline-block;
1844
+ }
1845
+ @keyframes tr-spin {
1846
+ to {
1847
+ transform: rotate(360deg);
1848
+ }
1849
+ }
1850
+ .test-report .case-detail {
1851
+ padding: 4px 16px 16px 34px;
1852
+ border-top: 1px solid var(--tr-border-2);
1853
+ background: rgba(0, 0, 0, 0.12);
1854
+ }
1855
+ .test-report .detail-grid {
1856
+ display: flex;
1857
+ flex-wrap: wrap;
1858
+ gap: 14px 24px;
1859
+ margin-top: 12px;
1860
+ }
1861
+ .test-report .detail-block {
1862
+ flex: 1 1 240px;
1863
+ min-width: 0;
1864
+ }
1865
+ .test-report .detail-block.full {
1866
+ flex: 1 1 100%;
1867
+ }
1868
+ .test-report .detail-block .dl {
1869
+ font-size: 11px;
1870
+ color: var(--tr-text-3);
1871
+ margin-bottom: 5px;
1872
+ text-transform: uppercase;
1873
+ letter-spacing: 0.04em;
1874
+ }
1875
+ .test-report .detail-block .dv {
1876
+ font-size: 12.5px;
1877
+ color: var(--tr-text);
1878
+ white-space: pre-wrap;
1879
+ line-height: 1.55;
1880
+ }
1881
+ .test-report .fail-box {
1882
+ flex: 1 1 100%;
1883
+ background: var(--tr-warning-bg);
1884
+ border: 1px solid rgba(234, 138, 36, 0.3);
1885
+ border-radius: 8px;
1886
+ padding: 10px 12px;
1887
+ }
1888
+ .test-report .fail-box .dl {
1889
+ color: #ffab5c;
1890
+ }
1891
+ .test-report .fail-box .dv {
1892
+ color: #e8c9a0;
1893
+ font-size: 12px;
1894
+ }
1895
+ .test-report .detail-actions {
1896
+ flex: 1 1 100%;
1897
+ display: flex;
1898
+ gap: 8px;
1899
+ margin-top: 4px;
1900
+ flex-wrap: wrap;
1901
+ }
1902
+ .test-report .cov-head {
1903
+ display: flex;
1904
+ gap: 20px;
1905
+ align-items: center;
1906
+ background: var(--tr-panel);
1907
+ border: 1px solid var(--tr-border-2);
1908
+ border-radius: 10px;
1909
+ padding: 18px 22px;
1910
+ margin-bottom: 16px;
1911
+ }
1912
+ .test-report .cov-big {
1913
+ font-size: 40px;
1914
+ font-weight: 700;
1915
+ color: var(--tr-heading);
1916
+ line-height: 1;
1917
+ }
1918
+ .test-report .cov-big small {
1919
+ font-size: 16px;
1920
+ color: var(--tr-text-2);
1921
+ font-weight: 500;
1922
+ }
1923
+ .test-report .cov-stats {
1924
+ display: flex;
1925
+ gap: 28px;
1926
+ }
1927
+ .test-report .cov-stats .s .n {
1928
+ font-size: 18px;
1929
+ font-weight: 600;
1930
+ color: var(--tr-heading);
1931
+ }
1932
+ .test-report .cov-stats .s .t {
1933
+ font-size: 11px;
1934
+ color: var(--tr-text-3);
1935
+ margin-top: 3px;
1936
+ }
1937
+ .test-report .cov-bar-wrap {
1938
+ flex: 1;
1939
+ }
1940
+ .test-report .cov-bar {
1941
+ height: 10px;
1942
+ background: var(--tr-track);
1943
+ border-radius: 6px;
1944
+ overflow: hidden;
1945
+ }
1946
+ .test-report .cov-bar i {
1947
+ display: block;
1948
+ height: 100%;
1949
+ background: linear-gradient(90deg, var(--tr-warning), var(--tr-success));
1950
+ }
1951
+ .test-report .cov-file-head,
1952
+ .test-report .cov-file {
1953
+ display: grid;
1954
+ grid-template-columns: 1fr 120px 130px 60px;
1955
+ gap: 12px;
1956
+ align-items: center;
1957
+ padding: 8px 14px;
1958
+ }
1959
+ .test-report .cov-file-head {
1960
+ font-size: 11px;
1961
+ color: var(--tr-text-3);
1962
+ text-transform: uppercase;
1963
+ letter-spacing: 0.04em;
1964
+ border-bottom: 1px solid var(--tr-border-2);
1965
+ }
1966
+ .test-report .cov-list {
1967
+ background: var(--tr-panel);
1968
+ border: 1px solid var(--tr-border-2);
1969
+ border-radius: 10px;
1970
+ overflow: hidden;
1971
+ }
1972
+ .test-report .cov-file {
1973
+ border-top: 1px solid var(--tr-border-2);
1974
+ font-size: 12px;
1975
+ }
1976
+ .test-report .cov-file:hover {
1977
+ background: rgba(255, 255, 255, 0.02);
1978
+ }
1979
+ .test-report .cov-path {
1980
+ color: var(--tr-text);
1981
+ font-family: ui-monospace, monospace;
1982
+ white-space: nowrap;
1983
+ overflow: hidden;
1984
+ text-overflow: ellipsis;
1985
+ }
1986
+ .test-report .cov-mini {
1987
+ height: 6px;
1988
+ background: var(--tr-track);
1989
+ border-radius: 4px;
1990
+ overflow: hidden;
1991
+ }
1992
+ .test-report .cov-mini i {
1993
+ display: block;
1994
+ height: 100%;
1995
+ }
1996
+ .test-report .cov-num {
1997
+ font-family: ui-monospace, monospace;
1998
+ color: var(--tr-text-2);
1999
+ text-align: right;
2000
+ }
2001
+ .test-report .cov-pct {
2002
+ text-align: right;
2003
+ font-weight: 600;
2004
+ font-family: ui-monospace, monospace;
2005
+ }
2006
+ .test-report .tr-empty {
2007
+ text-align: center;
2008
+ color: var(--tr-text-3);
2009
+ padding: 60px 20px;
2010
+ font-size: 13px;
2011
+ }
2012
+ .test-report .log-panel {
2013
+ background: #1c1c1c;
2014
+ border: 1px solid var(--tr-border);
2015
+ border-radius: 10px;
2016
+ overflow: hidden;
2017
+ }
2018
+ .test-report .log-panel-margin {
2019
+ margin: 14px 0;
2020
+ }
2021
+ .test-report .log-panel .log-head {
2022
+ display: flex;
2023
+ align-items: center;
2024
+ justify-content: space-between;
2025
+ padding: 8px 14px;
2026
+ border-bottom: 1px solid var(--tr-border-2);
2027
+ font-size: 12px;
2028
+ color: var(--tr-text-2);
2029
+ }
2030
+ .test-report .log-panel pre {
2031
+ margin: 0;
2032
+ padding: 12px 14px;
2033
+ max-height: 260px;
2034
+ overflow: auto;
2035
+ font-family: ui-monospace, monospace;
2036
+ font-size: 12px;
2037
+ color: #b6d97f;
2038
+ white-space: pre-wrap;
2039
+ word-break: break-all;
2040
+ }
2041
+ /* 浅色主题覆盖 */
2042
+ html[data-theme='light'] .test-report {
2043
+ --tr-bg: #ffffff;
2044
+ --tr-panel: #ffffff;
2045
+ --tr-panel-2: #f5f5f5;
2046
+ --tr-elevated: #e9e9e9;
2047
+ --tr-border: #d9d9d9;
2048
+ --tr-border-2: #eeeeee;
2049
+ --tr-text: #000000d9;
2050
+ --tr-text-2: #00000073;
2051
+ --tr-text-3: #00000045;
2052
+ --tr-heading: #000000d9;
2053
+ --tr-track: #eeeeee;
2054
+ }
2055
+