Spaces:
Sleeping
Sleeping
File size: 380,964 Bytes
625dafa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 | /* styles.css 完整优化方案 */
:root {
--transition-duration: 0.3s;
--transition-function: cubic-bezier(0.4, 0, 0.2, 1);
--progress: 0%;
/* 缩放系统:JS 同步写入这两个变量 */
--app-zoom: 1; /* 全局界面缩放 */
--code-zoom: 1; /* 代码块独立缩放 */
}
/* =========================================
亮色主题:极简云石白 (Alabaster & Silk) - 高级现代、克制护眼
========================================= */
[data-theme="light"] {
/* 基础颜色 - 依然是“白”主题,但去除了最高值的刺眼反光,呈现高级哑光纸质感 */
--bg-color: #fdfdfc; /* 卡片底色:99%的暖白,保证界面的干净清透 */
--text-color: #2c2c2a; /* 字体:深炭黑(带极弱的暖调),对比度清晰但不刺眼 */
--border-color: #e6e5e0;
/* Element Plus 核心变量 - 沉静的高级青石蓝 */
--el-color-primary: #2a7a8c;
--el-color-primary-light-3: #599ca9;
--el-color-primary-light-5: #8bbdc7;
--el-color-primary-light-7: #bcdbe1;
--el-color-primary-light-9: #e6f0f2;
--el-color-primary-rgb: 42, 122, 140 !important;
--el-bg-color: var(--bg-color) !important;
--el-text-color-primary: var(--text-color) !important;
--el-border-color: var(--border-color) !important;
--el-border-color-light: #ecece7 !important; /* 极浅的分割线 */
/* 组件颜色 */
--el-button-bg-color: var(--el-color-primary) !important;
--el-input-bg-color: #f2f2ef !important; /* 输入框微陷,采用比卡片深一点的低饱和浅灰 */
/* 🌟 核心修改:大面积页面底色 - 采用类似 Notion 的高定哑光浅灰(微暖) */
/* 这能完美衬托出上方纯白卡片的悬浮感,而且大面积看一点都不刺眼,也绝对不黄 */
--el-bg-color-page: #f5f4f0 !important;
--el-tabs-bg-color: #f5f4f0 !important;
/* 侧边栏和菜单融入页面底色,制造现代UI的无界感 */
--el-menu-bg-color: var(--el-bg-color-page) !important;
--el-table-bg-color: var(--bg-color) !important;
--el-tag-bg-color: #f0f0eb !important;
/* 状态颜色 - 保持莫兰迪高级感 */
--el-color-success: #639c71 !important;
--el-color-warning: #d4a35c !important;
--el-color-danger: #c76565 !important;
--el-color-info: #8f8f8b !important;
/* 文字颜色 */
--el-text-color-regular: #5f5e5a !important;
--el-text-color-secondary: #8c8b87 !important;
/* 阴影 - 极度柔和的空气感弥散阴影,这是高级感的关键 */
--el-box-shadow-light: 0 8px 24px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
/* Input 调整 */
--el-input-text-color: var(--text-color);
--el-input-placeholder-color: #b5b4ae;
--el-input-hover-border-color: var(--el-color-primary-light-3);
--el-input-focus-border-color: var(--el-color-primary);
/* 代码块 - 区别于纯白,采用淡淡的背景底色 */
--code-bg: #f4f4f1;
--code-border: #e6e5e0;
--card-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
/* =========================================
暗色主题:深空石墨风格 (Space Slate) - 通透无压抑感
========================================= */
[data-theme="dark"] {
/* 基础颜色 - 告别死黑,采用稍微提亮的石墨灰 */
--bg-color: #2c2c2e;
/* 字体 - 采用浅银灰,避免黑暗环境下的刺眼白光 */
--text-color: #d1d1d6;
--border-color: #3a3a3c;
/* 主色调:琥珀橙 */
--el-color-primary: #d97706;
--el-color-primary-light-3: #f59e0b;
--el-color-primary-light-5: #fbbf24;
--el-color-primary-light-7: #fcd34d;
--el-color-primary-light-9: #fef3c7;
--el-color-primary-rgb: 217, 119, 6 !important;
--el-bg-color: var(--bg-color) !important;
--el-text-color-primary: var(--text-color) !important;
--el-border-color: var(--border-color) !important;
--el-border-color-light: #48484a !important;
/* 组件颜色 */
--el-button-bg-color: #3a3a3c !important;
--el-input-bg-color: #242426 !important; /* 输入框略微下陷 */
/* 🌟 核心修改:大面积页面底色 - 采用 macOS 风格的深空灰,有透气感,不压抑 */
--el-bg-color-page: #1c1c1e !important;
--el-tabs-bg-color: #1c1c1e !important;
/* 侧边栏融入背景 */
--el-menu-bg-color: var(--el-bg-color-page) !important;
--el-table-bg-color: #2c2c2e !important;
--el-tag-bg-color: rgba(217, 119, 6, 0.15) !important;
/* 状态颜色 */
--el-color-success: #7ea381 !important;
--el-color-warning: #ccac70 !important;
--el-color-danger: #cf7676 !important;
--el-color-info: #858580 !important;
/* 文字颜色 */
--el-text-color-regular: #a1a1aa !important;
--el-text-color-secondary: #71717a !important;
/* 阴影 - 柔和的深色投影,让卡片在石墨底色上凸显层次 */
--el-box-shadow-light: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
--el-input-text-color: #d1d1d6;
--el-input-placeholder-color: #71717a;
--el-input-hover-border-color: var(--el-color-primary-light-5);
--el-input-focus-border-color: var(--el-color-primary-light-7);
--el-input-disabled-bg-color: #1c1c1e;
--el-input-disabled-border-color: #2c2c2e;
--code-bg: #242426;
--code-border: #3a3a3c;
--card-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.4);
}
/* 新增 Ocean Midnight 主题 */
[data-theme="midnight"] {
/* 基础三色 */
--bg-color: #0f172a; /* 深海军蓝背景 */
--text-color: #e2e8f0; /* 柔和灰白色文字 */
--border-color: #334155; /* 中灰蓝色边框 */
/* 主色调 - 青蓝色 */
--el-color-primary: #ee7e00;
--el-color-primary-light-3: #ec8e23;
--el-color-primary-light-5: #eba351;
--el-color-primary-light-7: #deb88b;
--el-color-primary-light-9: #e7dacb;
--el-color-primary-rgb: 14, 165, 233 !important;
/* 背景系统 */
--el-bg-color: var(--bg-color) !important;
--el-bg-color-page: #1e293b !important; /* 稍浅页面背景 */
--el-tabs-bg-color: #1e293b !important; /* 稍浅标签页背景 */
--el-bg-color-overlay: #1e293b !important; /* 浮层背景 */
/* 文字系统 */
--el-text-color-primary: var(--text-color) !important;
--el-text-color-regular: #cbd5e1 !important; /* 次级文字 */
--el-text-color-secondary: #94a3b8 !important; /* 三级文字 */
/* 边框系统 */
--el-border-color: var(--border-color) !important;
--el-border-color-light: #475569 !important; /* 更浅边框 */
--el-border-color-lighter: #64748b !important;
/* 组件特定 */
--el-button-bg-color: #1e40af !important; /* 深蓝色按钮 */
--el-input-bg-color: #1e293b !important; /* 输入框背景 */
--el-menu-bg-color: #0f172a !important; /* 菜单背景 */
--el-table-bg-color: #0f172a !important; /* 表格背景 */
--el-tag-bg-color: rgba(14, 165, 233, 0.15) !important; /* 半透明标签 */
/* 状态颜色 */
--el-color-success: #22c55e !important; /* 鲜绿色 */
--el-color-warning: #ebd263 !important;
--el-color-danger: #ef4444 !important; /* 亮红色 */
--el-color-info: #8b5cf6 !important; /* 紫罗兰色 */
/* 阴影效果 */
--el-box-shadow-light: 0 4px 16px rgba(2, 132, 199, 0.2) !important; /* 蓝色调阴影 */
--card-shadow: 0 4px 12px rgba(14, 165, 233, 0.15); /* 卡片发光效果 */
/* 输入框系统 */
--el-input-text-color: var(--text-color);
--el-input-placeholder-color: #94a3b8;
--el-input-hover-border-color: var(--el-color-primary-light-5);
--el-input-focus-border-color: var(--el-color-primary);
--el-input-disabled-bg-color: #1e293b;
/* 代码块 */
--code-bg: #1e293b;
--code-border: #334155;
}
/* 配套代码高亮主题 */
[data-theme="midnight"] {
--hljs-text: #e2e8f0;
--hljs-bg: #1e293b;
--hljs-border: rgba(99, 102, 241, 0.2);
--hljs-keyword: #818cf8; /* 薰衣草紫 */
--hljs-string: #0ea5e9; /* 主色青蓝 */
--hljs-number: #22d3ee; /* 青色 */
--hljs-comment: #94a3b8; /* 灰蓝色 */
--hljs-title: #67e8f9; /* 亮青色 */
--hljs-built_in: #c084fc; /* 浅紫色 */
--hljs-literal: #f472b6; /* 粉红色 */
--hljs-class: #38bdf8; /* 浅青蓝 */
--hljs-function: #60a5fa; /* 钴蓝色 */
--hljs-params: #a5f3fc; /* 水青色 */
--hljs-attr: #34d399; /* 翡翠绿 */
}
/* 多巴胺主题 - 高饱和度愉悦配色 */
[data-theme="neon"] {
/* 基础三色 */
--bg-color: #1a0933; /* 深紫罗兰背景(增强鲜艳色对比) */
--text-color: #f0f0ff; /* 柔光白文字 */
--border-color: #6a45d1; /* 霓虹紫边框 */
/* 主色调 - 荧光粉 */
--el-color-primary: #ff2d95; /* 高饱和品红 */
--el-color-primary-light-3: #ff5eaa;
--el-color-primary-light-5: #ff8fc0;
--el-color-primary-light-7: #ffc0d6;
--el-color-primary-rgb: 255, 45, 149 !important;
/* 背景系统 */
--el-bg-color: var(--bg-color) !important;
--el-bg-color-page: #27104e !important; /* 渐变紫色 */
--el-tabs-bg-color: #27104e !important; /* 渐变紫色 */
--el-bg-color-overlay: #351f63 !important; /* 霓虹灯牌效果 */
/* 文字系统 */
--el-text-color-primary: var(--text-color) !important;
--el-text-color-regular: #d6c2ff !important; /* 薰衣草紫 */
--el-text-color-secondary: #a98fff !important;
/* 边框系统 */
--el-border-color: var(--border-color) !important;
--el-border-color-light: #8d6de9 !important; /* 亮紫色 */
--el-border-color-lighter: #b9a0ff !important;
/* 组件特定 */
--el-button-bg-color: #ff2d95 !important; /* 荧光粉按钮 */
--el-input-bg-color: #2d1b5b !important; /* 深紫晶背景 */
--el-menu-bg-color: rgba(26, 9, 51, 0.85) !important;
--el-table-bg-color: #1a0933 !important;
--el-tag-bg-color: rgba(255, 45, 149, 0.2) !important;
/* 多巴胺特色状态色 */
--el-color-success: #39ff14 !important; /* 荧光绿 */
--el-color-warning: #ffde59 !important; /* 柠檬黄 */
--el-color-danger: #ff2a6d !important; /* 电光粉 */
--el-color-info: #05d9e8 !important; /* 青蓝色 */
/* 发光效果阴影 */
--el-box-shadow-light: 0 0 15px rgba(255, 45, 149, 0.4),
0 0 30px rgba(101, 0, 255, 0.3) !important;
--card-shadow: 0 0 20px rgba(255, 45, 149, 0.3),
0 0 40px rgba(101, 0, 255, 0.2);
/* 输入框系统 */
--el-input-text-color: #f0f0ff;
--el-input-placeholder-color: #b9a0ff;
--el-input-hover-border-color: #ff5eaa;
--el-input-focus-border-color: #ff2d95;
--el-input-disabled-bg-color: #2a1150;
/* 代码块 */
--code-bg: #2d1b5b;
--code-border: #6a45d1;
}
/* 配套代码高亮主题 */
[data-theme="neon"] {
--hljs-text: #f0f0ff;
--hljs-bg: #2d1b5b;
--hljs-border: rgba(106, 69, 209, 0.4);
--hljs-keyword: #ff2d95; /* 荧光粉 */
--hljs-string: #39ff14; /* 荧光绿 */
--hljs-number: #ffde59; /* 柠檬黄 */
--hljs-comment: #b9a0ff; /* 薰衣草紫 */
--hljs-title: #05d9e8; /* 青蓝 */
--hljs-built_in: #ff2a6d; /* 电光粉 */
--hljs-literal: #ff8fc0; /* 浅品红 */
--hljs-class: #ff5eaa; /* 主色渐变 */
--hljs-function: #8d6de9; /* 亮紫色 */
--hljs-params: #ffde59; /* 柠檬黄 */
--hljs-attr: #05d9e8; /* 青蓝 */
}
/* 棉花糖主题 */
[data-theme="marshmallow"] {
/* 基础三要素 */
--bg-color: #e6f7ff; /* 极浅水蓝背景 */
--text-color: #2e2a36; /* 深紫灰色文字 */
--border-color: #c2d6e3; /* 浅灰蓝色边框 */
/* 主色调 - 樱花粉 */
--el-color-primary: #f5a5c3 !important;
--el-color-primary-light-3: #f8bbd3;
--el-color-primary-light-5: #fad1e1;
--el-color-primary-light-7: #fde8f0;
--el-color-primary-rgb: 245, 165, 195 !important;
/* 辅助色 - 浅水蓝 */
--el-color-info: #99d8e0 !important;
--el-color-info-light-3: #b3e3e8;
--el-color-info-light-5: #cceef0;
/* 背景系统 */
--el-bg-color: var(--bg-color) !important;
--el-bg-color-page: #d4f1f5 !important; /* 更亮的水蓝 */
--el-tabs-bg-color: #d4f1f5 !important; /* 更亮的水蓝 */
--el-bg-color-overlay: #ffffff !important; /* 纯白浮层 */
/* 文字系统 */
--el-text-color-primary: #3a2e4a !important; /* 深紫罗兰 */
--el-text-color-regular: #5a4e6a !important;
--el-text-color-secondary: #8c7b99 !important;
/* 边框系统 */
--el-border-color: #e0c4d3 !important; /* 浅粉灰 */
--el-border-color-light: #f0dde6 !important;
--el-border-color-lighter: #f8eef3 !important;
/* 组件设计 */
--el-button-bg-color: var(--el-color-primary) !important;
--el-input-bg-color: #ffffff !important; /* 纯白输入框 */
--el-menu-bg-color: #f9f2f5 !important; /* 极浅粉背景 */
--el-table-bg-color: #ffffff !important;
--el-tag-bg-color: rgba(245, 165, 195, 0.15) !important;
/* 状态颜色(增强对比) */
--el-color-success: #8bd48d !important; /* 薄荷绿 */
--el-color-warning: #ffd166 !important; /* 奶油黄 */
--el-color-danger: #ff6b6b !important; /* 珊瑚红 */
/* 阴影效果 */
--el-box-shadow-light: 0 4px 16px rgba(245, 165, 195, 0.2) !important;
--card-shadow: 0 4px 12px rgba(153, 216, 224, 0.15); /* 水蓝阴影 */
/* 输入框系统 */
--el-input-text-color: #4a3b5a;
--el-input-placeholder-color: #c0a4b8;
--el-input-hover-border-color: var(--el-color-primary-light-3);
--el-input-focus-border-color: var(--el-color-primary);
--el-input-disabled-bg-color: #f8f5fa;
/* 代码块 */
--code-bg: #ffffff;
--code-border: #f0dde6;
}
/* 配套糖果色代码高亮 */
[data-theme="marshmallow"] {
--hljs-text: #4a3b5a;
--hljs-bg: #fff5f9;
--hljs-border: #f8d7e6;
--hljs-keyword: #f5a5c3; /* 主色粉 */
--hljs-string: #99d8e0; /* 水蓝色 */
--hljs-number: #ff9aa2; /* 珊瑚粉 */
--hljs-comment: #c0a4b8; /* 灰紫色 */
--hljs-title: #8bd48d; /* 薄荷绿 */
--hljs-built_in: #ffd166; /* 奶油黄 */
--hljs-literal: #ff6b6b; /* 珊瑚红 */
--hljs-class: #c9a2e0; /* 淡紫色 */
--hljs-function: #a5d8f5; /* 浅天蓝 */
--hljs-params: #7b8c9d; /* 灰蓝色 */
--hljs-attr: #76c893; /* 翡翠绿 */
}
/* =========================================
NEW THEME: RAINBOW (Holographic Prism)
========================================= */
[data-theme="rainbow"] {
/* --- 核心背景:珍珠母贝质感的微光渐变 --- */
--bg-color: #f8f9fe;
--bg-gradient: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
/* --- 文字系统:深邃的靛青色,而非纯黑 --- */
--text-color: #43436a;
--text-secondary: #7e7e9e;
/* --- 边框:半透明的炫彩 --- */
--border-color: rgba(255, 255, 255, 0.6);
--border-gradient: linear-gradient(to right, #a18cd1 0%, #fbc2eb 100%);
/* --- 核心主色:梦幻紫 (作为锚点颜色) --- */
--el-color-primary: #845ec2;
--el-color-primary-light-3: #9b7ad6;
--el-color-primary-light-5: #b397e0;
--el-color-primary-light-7: #ccb5eb;
--el-color-primary-light-9: #e6d6f5;
--el-color-primary-rgb: 132, 94, 194 !important;
/* --- 全局组件覆盖 --- */
--el-bg-color: rgba(255, 255, 255, 0.85) !important; /* 卡片背景半透明 */
--el-bg-color-page: #f4f6f9 !important;
--el-bg-color-overlay: #ffffff !important;
--el-text-color-primary: var(--text-color) !important;
--el-text-color-regular: #5e5e80 !important;
--el-text-color-secondary: var(--text-secondary) !important;
--el-border-color: #e6e8f0 !important;
--el-border-color-light: #f0f2f7 !important;
/* --- 特殊组件颜色 --- */
--el-button-bg-color: var(--el-color-primary) !important;
--el-input-bg-color: rgba(255, 255, 255, 0.9) !important;
--el-menu-bg-color: transparent !important; /* 菜单透明以显示背景 */
--el-tag-bg-color: rgba(132, 94, 194, 0.1) !important;
/* --- 状态颜色 (采用马卡龙色系) --- */
--el-color-success: #00b894 !important; /* 薄荷绿 */
--el-color-warning: #fdcb6e !important; /* 芥末黄 */
--el-color-danger: #ff7675 !important; /* 柔和红 */
--el-color-info: #74b9ff !important; /* 天空蓝 */
/* --- 核心特征:彩色弥散阴影 --- */
--el-box-shadow-light: 0 8px 32px 0 rgba(132, 94, 194, 0.15);
--card-shadow: 0 10px 40px -10px rgba(161, 140, 209, 0.3);
/* --- 代码块 --- */
--code-bg: #ffffff;
--code-border: #e6e8f0;
/* 定义彩虹渐变变量供后续使用 */
--rainbow-gradient: linear-gradient(120deg, #845ec2, #d65db1, #ff6f91, #ff9671, #ffc75f, #f9f871);
}
/* -----------------------------------
Rainbow 主题专属样式覆盖
----------------------------------- */
/* 1. 全局背景动画效果 */
[data-theme="rainbow"] body {
background:
radial-gradient(at 0% 0%, hsla(253,16%,7%,0) 0, transparent 50%),
radial-gradient(at 50% 0%, hsla(225,39%,30%,0) 0, transparent 50%),
radial-gradient(at 100% 0%, hsla(339,49%,30%,0) 0, transparent 50%);
background-color: #f3f4f6;
background-image:
radial-gradient(at 80% 0%, hsla(189,100%,56%,0.1) 0px, transparent 50%),
radial-gradient(at 0% 50%, hsla(355,100%,93%,0.1) 0px, transparent 50%),
radial-gradient(at 80% 50%, hsla(340,100%,76%,0.1) 0px, transparent 50%),
radial-gradient(at 0% 100%, hsla(22,100%,77%,0.1) 0px, transparent 50%),
radial-gradient(at 80% 100%, hsla(240,100%,70%,0.1) 0px, transparent 50%),
radial-gradient(at 0% 0%, hsla(343,100%,76%,0.1) 0px, transparent 50%);
background-attachment: fixed; /* 固定背景,营造高级感 */
}
/* 2. 侧边栏:磨砂玻璃 */
[data-theme="rainbow"] .sidebar {
background: rgba(255, 255, 255, 0.7) !important;
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border-right: 1px solid rgba(255, 255, 255, 0.5) !important;
}
/* 3. 卡片系统:浮光效果 */
[data-theme="rainbow"] .provider-card,
[data-theme="rainbow"] .vendor-card,
[data-theme="rainbow"] .settings-form,
[data-theme="rainbow"] .highlight-block,
[data-theme="rainbow"] .highlight-block-reasoning {
background: rgba(255, 255, 255, 0.8) !important;
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.8) !important;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03),
0 0 0 1px rgba(255, 255, 255, 0.5) inset !important;
}
/* 卡片悬停:彩虹光晕 */
[data-theme="rainbow"] .provider-card:hover,
[data-theme="rainbow"] .vendor-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(132, 94, 194, 0.15),
0 5px 15px rgba(255, 150, 113, 0.1) !important;
border-color: #d65db1 !important;
}
/* 4. 按钮:流光渐变 */
[data-theme="rainbow"] .el-button--primary {
background-image: linear-gradient(to right, #845ec2 0%, #b39cd0 51%, #845ec2 100%) !important;
background-size: 200% auto !important;
border: none !important;
transition: 0.5s !important;
box-shadow: 0 4px 15px 0 rgba(132, 94, 194, 0.35);
}
[data-theme="rainbow"] .el-button--primary:hover {
background-position: right center !important;
box-shadow: 0 4px 15px 0 rgba(132, 94, 194, 0.5);
transform: scale(1.02);
}
/* 5. 用户消息气泡:全息色彩 */
[data-theme="rainbow"] .message.user .message-content {
background: var(--rainbow-gradient) !important;
color: white !important;
box-shadow: 0 4px 15px rgba(255, 111, 145, 0.3) !important;
border: none !important;
}
/* 6. AI 消息气泡:纯净白 + 炫彩边框 */
[data-theme="rainbow"] .message.assistant .message-content {
background: #ffffff !important;
border: 1px solid transparent !important;
background-image: linear-gradient(#fff, #fff), var(--rainbow-gradient);
background-origin: border-box;
background-clip: padding-box, border-box;
box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
}
/* 7. 选中状态优化 */
[data-theme="rainbow"] .el-menu-item.is-active {
background: linear-gradient(90deg, rgba(132, 94, 194, 0.1), transparent) !important;
color: #845ec2 !important;
border-left: 3px solid #845ec2;
}
/* 8. 滚动条:细长的彩虹 */
[data-theme="rainbow"] ::-webkit-scrollbar-thumb {
background-image: linear-gradient(to bottom, #845ec2, #ff9671);
border-radius: 10px;
}
/* =========================================
Rainbow 主题代码高亮 (Light Elegant)
========================================= */
[data-theme="rainbow"] {
--hljs-text: #43436a;
--hljs-bg: #fdfdff;
--hljs-border: rgba(132, 94, 194, 0.2);
/* 采用高明度的光谱色 */
--hljs-keyword: #845ec2; /* 皇家紫 */
--hljs-string: #00b894; /* 宝石绿 */
--hljs-number: #ff9671; /* 珊瑚橘 */
--hljs-comment: #b0b0d0; /* 雾霾蓝灰 */
--hljs-title: #d65db1; /* 兰花紫 */
--hljs-built_in: #2c98f0; /* 海洋蓝 */
--hljs-literal: #ff6f91; /* 亮粉红 */
--hljs-class: #f9f871; /* 柠檬黄(需深色背景) -> 调整为深金黄 */
--hljs-class: #f9c440; /* 金黄色 */
--hljs-function: #845ec2;
--hljs-params: #4b4b4b;
--hljs-attr: #0097e6;
}
/* 沙漠主题 */
[data-theme="desert"] {
/* 基础三色 */
--bg-color: #f9f2e7; /* 浅沙色背景 */
--text-color: #5c3d2e; /* 深棕色文字 */
--border-color: #d7b98e; /* 浅褐色边框 */
/* 主色调 - 沙丘金/陶土橙 */
--el-color-primary: #d98236; /* 陶土橙 */
--el-color-primary-light-3: #e39e5d;
--el-color-primary-light-5: #edba84;
--el-color-primary-light-7: #f7d6ac;
--el-color-primary-rgb: 217, 130, 54 !important;
/* 背景系统 */
--el-bg-color: var(--bg-color) !important;
--el-bg-color-page: #f5e8c9 !important; /* 浅沙色 */
--el-tabs-bg-color: #f5e8c9 !important; /* 浅沙色 */
--el-bg-color-overlay: #f0e0b5 !important; /* 稍深沙色 */
/* 文字系统 */
--el-text-color-primary: var(--text-color) !important;
--el-text-color-regular: #7d5c3f !important; /* 次级文字 */
--el-text-color-secondary: #9e7e5f !important; /* 三级文字 */
/* 边框系统 */
--el-border-color: var(--border-color) !important;
--el-border-color-light: #c9a87c !important; /* 更浅边框 */
--el-border-color-lighter: #bb9662 !important;
/* 组件特定 */
--el-button-bg-color: #d98236 !important; /* 陶土橙按钮 */
--el-input-bg-color: #f5e8c9 !important; /* 输入框背景 */
--el-menu-bg-color: #f0e0b5 !important; /* 菜单背景 */
--el-table-bg-color: #f9f2e7 !important; /* 表格背景 */
--el-tag-bg-color: rgba(217, 130, 54, 0.15) !important; /* 半透明标签 */
/* 状态颜色 */
--el-color-success: #8a9b52 !important; /* 沙漠绿 */
--el-color-warning: #e6a23c !important; /* 琥珀色 */
--el-color-danger: #c4564a !important; /* 砖红色 */
--el-color-info: #a87c52 !important; /* 胡桃木色 */
/* 阴影效果 */
--el-box-shadow-light: 0 2px 10px rgba(217, 130, 54, 0.2) !important;
--card-shadow: 0 4px 12px rgba(187, 150, 98, 0.15);
/* 输入框系统 */
--el-input-text-color: var(--text-color);
--el-input-placeholder-color: #9e7e5f;
--el-input-hover-border-color: var(--el-color-primary-light-3);
--el-input-focus-border-color: var(--el-color-primary);
--el-input-disabled-bg-color: #f0e0b5;
/* 代码块 */
--code-bg: #f5e8c9;
--code-border: #d7b98e;
/* 特殊装饰色 */
--sunset-red: #c4564a;
--sunset-orange: #e39e5d;
--cactus-green: #8a9b52;
}
/* 派对主题 */
[data-theme="party"] {
/* 基础三色 */
--bg-color: #fffbf0; /* 暖白/奶油色背景 */
--text-color: #374151; /* 深灰蓝色文字 */
--border-color: #e5e7eb; /* 浅灰色边框 */
/* 主色调 - 活力橙 */
--el-color-primary: #ed7d00 !important;
--el-color-primary-light-3: #f59e0b;
--el-color-primary-light-5: #fbbf24;
--el-color-primary-light-7: #fde68a;
--el-color-primary-rgb: 237, 125, 0 !important;
/* 次要色调 - 深海蓝 */
--el-color-info: #21859b !important;
--el-color-info-light-3: #0ea5e9;
--el-color-info-light-5: #38bdf8;
--el-color-info-light-7: #7dd3fc;
--el-color-info-rgb: 33, 133, 155 !important;
/* 辅助色调 - 暖棕色 */
--el-color-warning: #d97706 !important;
--el-color-warning-light-3: #f59e0b;
--el-color-warning-light-5: #fbbf24;
/* 背景系统 */
--el-bg-color: var(--bg-color) !important;
--el-bg-color-page: #fef7e6 !important; /* 更暖的米黄色页面背景 */
--el-tabs-bg-color: #fef7e6 !important; /* 米黄色标签页背景 */
--el-bg-color-overlay: #ffffff !important; /* 纯白浮层背景 */
/* 文字系统 */
--el-text-color-primary: #1f2937 !important; /* 深炭灰色 */
--el-text-color-regular: #4b5563 !important; /* 中灰色 */
--el-text-color-secondary: #6b7280 !important; /* 浅灰色 */
/* 边框系统 */
--el-border-color: var(--border-color) !important;
--el-border-color-light: #d1d5db !important; /* 中等灰色边框 */
--el-border-color-lighter: #e5e7eb !important;
/* 组件特定 */
--el-button-bg-color: var(--el-color-primary) !important;
--el-input-bg-color: #ffffff !important; /* 纯白输入框背景 */
--el-menu-bg-color: #fef7e6 !important; /* 米黄色菜单背景 */
--el-table-bg-color: #ffffff !important; /* 纯白表格背景 */
--el-tag-bg-color: rgba(237, 125, 0, 0.12) !important; /* 半透明橙色标签 */
/* 状态颜色 */
--el-color-success: #059669 !important; /* 深绿色 */
--el-color-warning: #d97706 !important; /* 暖棕色 */
--el-color-danger: #dc2626 !important; /* 深红色 */
/* 阴影效果 */
--el-box-shadow-light: 0 4px 16px rgba(237, 125, 0, 0.18) !important;
--card-shadow: 0 4px 12px rgba(33, 133, 155, 0.12); /* 青蓝色调阴影 */
/* 输入框系统 */
--el-input-text-color: var(--el-text-color-primary);
--el-input-placeholder-color: #9ca3af;
--el-input-hover-border-color: var(--el-color-primary-light-5);
--el-input-focus-border-color: var(--el-color-primary);
--el-input-disabled-bg-color: #f9fafb;
/* 导航和菜单 */
--el-menu-text-color: #4b5563;
--el-menu-hover-bg-color: rgba(237, 125, 0, 0.08);
--el-menu-active-bg-color: rgba(237, 125, 0, 0.15);
/* 代码块 */
--code-bg: #fef7e6;
--code-border: #e5e7eb;
}
/* 配套代码高亮主题 */
[data-theme="party"] {
--hljs-text: #374151;
--hljs-bg: #fef7e6;
--hljs-border: rgba(237, 125, 0, 0.2);
--hljs-keyword: #ed7d00; /* 活力橙 */
--hljs-string: #21859b; /* 深海蓝 */
--hljs-number: #d97706; /* 暖棕色 */
--hljs-comment: #9ca3af; /* 中灰色 */
--hljs-title: #059669; /* 深绿色 */
--hljs-built_in: #dc2626; /* 深红色 */
--hljs-literal: #f59e0b; /* 琥珀色 */
--hljs-class: #0ea5e9; /* 青蓝色 */
--hljs-function: #4b5563; /* 中灰色 */
--hljs-params: #6b7280; /* 浅灰色 */
--hljs-attr: #10b981; /* 翡翠绿 */
}
/* 沙漠主题代码高亮 */
[data-theme="desert"] {
--hljs-text: #5c3d2e;
--hljs-bg: #f5e8c9;
--hljs-border: rgba(187, 150, 98, 0.3);
--hljs-keyword: #c4564a; /* 日落红 */
--hljs-string: #8a9b52; /* 仙人掌绿 */
--hljs-number: #d98236; /* 主色陶土橙 */
--hljs-comment: #9e7e5f; /* 胡桃木色 */
--hljs-title: #a87c52; /* 胡桃木深色 */
--hljs-built_in: #bb9662; /* 沙丘金 */
--hljs-literal: #e39e5d; /* 日落橙 */
--hljs-class: #d98236; /* 主色 */
--hljs-function: #bb9662; /* 沙丘金 */
--hljs-params: #7d5c3f; /* 深棕色 */
--hljs-attr: #8a9b52; /* 沙漠绿 */
}
:root {
/* 水墨风基础变量 */
--ink-primary: #2c3e50; /* 墨黑 */
--ink-secondary: #5d6d7e; /* 灰墨 */
--ink-accent: #7f8c8d; /* 淡墨 */
--ink-light: #ecf0f1; /* 宣纸白 */
--ink-highlight: #3498db; /* 青花点缀 */
--ink-danger: #e74c3c; /* 朱砂红 */
--ink-success: #27ae60; /* 竹青 */
--ink-warning: #f39c12; /* 琥珀黄 */
/* 背景纹理 */
--ink-bg-texture: linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
}
[data-theme="ink"] {
/* 基础三色 */
--bg-color: #f5f7fa; /* 宣纸白背景 */
--text-color: #2c3e50; /* 墨黑色文字 */
--border-color: #d5dbdb; /* 淡墨灰边框 */
/* 主色调 - 墨黑渐变 */
--el-color-primary: var(--ink-primary);
--el-color-primary-light-3: #3d566e;
--el-color-primary-light-5: #4f6a85;
--el-color-primary-light-7: #6b839d;
--el-color-primary-rgb: 44, 62, 80 !important;
/* 背景系统 */
--el-bg-color: var(--bg-color) !important;
--el-bg-color-page: #eef2f6 !important; /* 宣纸纹理背景 */
--el-tabs-bg-color: #eef2f6 !important; /* 宣纸纹理背景 */
--el-bg-color-overlay: #ffffff !important; /* 浮层背景 */
background-image: var(--ink-bg-texture);
background-size: 20px 20px;
/* 文字系统 */
--el-text-color-primary: var(--text-color) !important;
--el-text-color-regular: #5d6d7e !important; /* 灰墨色 */
--el-text-color-secondary: #7f8c8d !important; /* 淡墨色 */
/* 边框系统 */
--el-border-color: var(--border-color) !important;
--el-border-color-light: #c5cdd3 !important; /* 更淡墨色 */
--el-border-color-lighter: #e1e4e8 !important;
/* 组件特定 */
--el-button-bg-color: #ffffff !important; /* 宣纸白按钮 */
--el-input-bg-color: #ffffff !important; /* 输入框背景 */
--el-menu-bg-color: #f5f7fa !important; /* 菜单背景 */
--el-table-bg-color: #ffffff !important; /* 表格背景 */
--el-tag-bg-color: rgba(44, 62, 80, 0.1) !important; /* 半透明标签 */
/* 状态颜色 */
--el-color-success: var(--ink-success) !important; /* 竹青色 */
--el-color-warning: var(--ink-warning) !important; /* 琥珀色 */
--el-color-danger: var(--ink-danger) !important; /* 朱砂红 */
--el-color-info: var(--ink-highlight) !important; /* 青花色 */
/* 阴影效果 */
--el-box-shadow-light: 0 2px 8px rgba(44, 62, 80, 0.1) !important;
--card-shadow: 0 4px 12px rgba(44, 62, 80, 0.08);
/* 输入框系统 */
--el-input-text-color: var(--text-color);
--el-input-placeholder-color: #a6b1be;
--el-input-hover-border-color: var(--el-color-primary-light-5);
--el-input-focus-border-color: var(--el-color-primary);
--el-input-disabled-bg-color: #f0f3f7;
/* 代码块 */
--code-bg: #ffffff;
--code-border: #e1e4e8;
/* 水墨特色元素 */
--ink-brush-stroke: linear-gradient(to right,
transparent 0%,
rgba(44, 62, 80, 0.2) 30%,
rgba(44, 62, 80, 0.5) 50%,
rgba(44, 62, 80, 0.2) 70%,
transparent 100%);
}
/* 配套代码高亮主题 */
[data-theme="ink-wash"] {
--hljs-text: var(--text-color);
--hljs-bg: #ffffff;
--hljs-border: rgba(52, 152, 219, 0.1);
--hljs-keyword: #8e44ad; /* 紫藤色 */
--hljs-string: var(--ink-danger); /* 朱砂红 */
--hljs-number: var(--ink-success); /* 竹青色 */
--hljs-comment: #95a5a6; /* 烟灰色 */
--hljs-title: var(--ink-highlight); /* 青花色 */
--hljs-built_in: var(--ink-primary); /* 墨黑色 */
--hljs-literal: var(--ink-warning); /* 琥珀色 */
--hljs-class: #16a085; /* 碧玉色 */
--hljs-function: #2980b9; /* 靛青色 */
--hljs-params: #d35400; /* 赭石色 */
--hljs-attr: #27ae60; /* 竹青色 */
}
/* 修改默认按钮基础样式 */
.el-button--default {
/* 通用样式 */
background-color: var(--bg-color) !important;
border-color: var(--border-color) !important;
color: var(--text-color) !important;
/* 悬停状态 */
&:hover {
background-color: var(--hover-bg) !important;
border-color: var(--hover-border) !important;
transform: translateY(-1px);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
/* 激活状态 */
&:active {
transform: translateY(0);
box-shadow: none;
}
/* 禁用状态 */
&.is-disabled {
opacity: 0.6;
filter: grayscale(0.3);
}
/* 图标样式 */
.el-icon {
transition: transform 0.2s;
font-size: 18px;
}
&:hover .el-icon {
transform: scale(1.1);
}
}
.el-input-group__append, .el-input-group__prepend {
border: none;
background-color: var(--bg-color) !important;
color: var(--text-color) !important;
}
body {
background-color: var(--el-bg-color);
color: var(--el-text-color-primary);
transition:
background-color var(--transition-duration) var(--transition-function),
color var(--transition-duration) var(--transition-function);
margin: 0;
font-family: var(--el-font-family);
-webkit-font-smoothing: antialiased;
height: 100vh;
overflow: hidden;
}
#app {
height: 100vh;
display: flex;
flex-direction: column;
}
/* 按钮 */
.el-button {
transition: all var(--transition-duration) !important;
}
.sidebar {
background: var(--bg-color) !important;
border-right-color: var(--border-color) !important;
}
.el-menu {
--el-menu-bg-color: var(--bg-color);
--el-menu-text-color: var(--text-color);
--el-menu-hover-bg-color: color-mix(in srgb, var(--primary-color) 15%, transparent);
--el-menu-active-color: var(--primary-color);
}
.el-menu-item {
background-color: var(--el-bg-color-page)!important;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.el-menu-item:hover {
background: var(--el-menu-hover-bg-color) !important;
transform: translateX(4px);
}
/* 输入系统全局适配 */
.el-input {
--el-input-bg-color: var(--bg-color)!important;
--el-input-text-color: var(--text-color)!important;
}
.el-input__inner {
background: var(--bg-color) !important;
color: var(--text-color) !important;
&::placeholder {
color: color-mix(in srgb, var(--text-color) 50%, transparent) !important;
}
}
.el-textarea {
--el-input-bg-color: var(--bg-color)!important;
--el-input-text-color: var(--text-color)!important;
}
.el-textarea__inner {
background: var(--bg-color) !important;
color: var(--text-color) !important;
&::placeholder {
color: color-mix(in srgb, var(--text-color) 50%, transparent) !important;
}
}
/* 下拉菜单适配 */
.el-select {
--el-select-input-focus-border-color: var(--primary-color)!important;
.el-select__wrapper {
background: var(--bg-color) !important;
box-shadow: 0 0 0 1px var(--border-color) !important;
&:hover {
box-shadow: 0 0 0 1px var(--primary-color) !important;
}
.el-select__placeholder {
color: color-mix(in srgb, var(--text-color) 50%, transparent) !important;
}
}
}
/* 下拉菜单内部适配 */
.el-select-dropdown {
--el-select-dropdown-border-color: var(--border-color)!important;
--el-select-dropdown-bg-color: var(--bg-color)!important;
--el-select-dropdown-text-color: var(--text-color)!important;
--el-select-dropdown-hover-bg-color: color-mix(in srgb, var(--primary-color) 15%, transparent)!important;
--el-select-dropdown-active-bg-color: var(--primary-color)!important;
}
.el-option {
&__content {
background: var(--el-bg-color) !important;
color: var(--el-text-color) !important;
}
&__is-active {
background: var(--el-primary-color) !important;
color: var(--bg-color) !important;
}
}
.el-option-group__title {
color: var(--text-color) !important;
}
.el-option-group__label {
color: var(--text-color) !important;
}
.el-option-group__options {
.el-option {
&__content {
color: var(--text-color) !important;
}
&__is-active {
color: var(--el-bg-color) !important;
}
}
}
.el-alert {
--el-alert-bg-color: var(--bg-color) !important;
--el-alert-text-color: var(--text-color) !important;
}
/* 开关控件适配 */
.el-switch {
--el-switch-on-color: var(--primary-color);
--el-switch-off-color: var(--border-color);
}
/* 弹窗适配 */
.el-dialog {
background: var(--bg-color) !important;
border: 1px solid var(--border-color) !important;
.el-dialog__header {
border-bottom: 1px solid var(--border-color) !important;
}
.el-dialog__title {
color: var(--text-color) !important;
}
}
.knowledge-dialog-content {
/* 隐藏横向滚动条 */
overflow-x: hidden;
}
/* 滑动条深度适配 */
.el-slider {
--el-slider-main-bg-color: var(--primary-color);
--el-slider-runway-bg-color: color-mix(in srgb, var(--border-color) 30%, transparent);
.el-slider__button {
border-color: var(--primary-color) !important;
background: var(--bg-color) !important;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
}
/* 表格 */
.el-table {
--el-table-header-bg-color: var(--el-bg-color-page);
--el-table-tr-bg-color: var(--el-bg-color);
--el-table-border-color: var(--el-border-color);
}
/* 代码块 */
.code-block {
background-color: var(--code-bg-color) !important;
border: 1px solid var(--el-border-color) !important;
}
[data-theme="light"] {
/* 基础三要素 */
--hljs-text: #24292e;
--hljs-bg: #f6f8fa;
--hljs-border: rgba(27,31,36,0.15);
/* 核心语法 */
--hljs-keyword: #d73a49;
--hljs-string: #032f62;
--hljs-number: #005cc5;
--hljs-comment: #6a737d;
/* 结构类元素 */
--hljs-title: #2f6f9d;
--hljs-built_in: #6f42c1;
--hljs-literal: #cf222e;
--hljs-class: #8250df;
--hljs-function: #6639ba;
/* 辅助元素 */
--hljs-params: #24292e;
--hljs-attr: #116329;
}
/* 深色模式覆盖 */
[data-theme="dark"] {
--hljs-text: #e1e4e8;
--hljs-bg: #2d333b;
--hljs-border: rgba(205,217,229,0.1);
--hljs-keyword: #ff7b72;
--hljs-string: #79c0ff;
--hljs-number: #79c0ff;
--hljs-comment: #8b949e;
--hljs-title: #a5d6ff;
--hljs-built_in: #d2a8ff;
--hljs-literal: #ffa198;
--hljs-class: #d2a8ff;
--hljs-function: #d2a8ff;
--hljs-params: #e1e4e8;
--hljs-attr: #7ee787;
}
.hljs {
color: var(--hljs-text) !important;
background: var(--code-bg-color) !important; /* 与主题色一致 */
padding: 1em !important;
border-radius: 8px; /* 添加圆角 */
transition: color 0.3s;
}
.hljs .hljs-comment,
.hljs .hljs-quote {
color: var(--hljs-comment);
}
.hljs .hljs-keyword,
.hljs .hljs-selector-tag,
.hljs .hljs-subst {
color: var(--hljs-keyword);
}
.hljs .hljs-number,
.hljs .hljs-literal,
.hljs .hljs-variable,
.hljs .hljs-template-variable,
.hljs .hljs-tag .hljs-attr {
color: var(--hljs-number);
}
.hljs .hljs-string,
.hljs .hljs-doctag {
color: var(--hljs-string);
}
.hljs .hljs-title,
.hljs .hljs-section {
color: var(--hljs-title);
}
.hljs .hljs-subst {
font-weight: normal;
}
.hljs .hljs-type,
.hljs .hljs-class .hljs-title {
color: var(--hljs-built_in);
}
.hljs .hljs-attribute,
.hljs .hljs-name,
.hljs .hljs-tag {
color: var(--hljs-attr);
}
.hljs .hljs-symbol,
.hljs .hljs-bullet,
.hljs .hljs-link {
color: var(--hljs-literal);
}
.hljs .hljs-regexp,
.hljs .hljs-meta .hljs-keyword,
.hljs .hljs-selector-attr, .hljs .hljs-selector-pseudo {
color: var(--hljs-function);
}
.hljs .hljs-addition {
color: #55a532;
background-color: #eaffea;
}
.hljs .hljs-deletion {
color: #bd2c00;
background-color: #ffecec;
}
.hljs .hljs-link {
text-decoration: underline;
}
.hljs .hljs-emphasis {
font-style: italic;
}
/* 文件列表 */
.compact-file-item {
background-color: var(--file-bg-color) !important;
border: 1px solid var(--el-border-color) !important;
}
/* 卡片系统 */
.provider-card {
background-color: var(--card-bg-color) !important;
border: 1px solid var(--el-border-color) !important;
box-shadow: var(--el-box-shadow-light) !important;
}
/* 切换按钮 */
.el-switch__core {
background-color: var(--el-border-color) !important;
border-color: var(--el-border-color) !important;
}
.el-switch.is-checked .el-switch__core {
background-color: var(--el-color-primary) !important;
border-color: var(--el-color-primary) !important;
}
/* 滚动条 */
::-webkit-scrollbar {
width: 6px;
background-color: var(--el-bg-color-page);
}
::-webkit-scrollbar-thumb {
background-color: var(--el-border-color);
border-radius: 3px;
}
/* Markdown内容 */
.markdown-body {
color: var(--el-text-color-primary) !important;
}
.markdown-body table {
background-color: transparent !important;
border-color: var(--el-border-color) !important;
color: var(--text-color);
border-radius: 12px 12px 0 0 !important;
}
.markdown-body table::-webkit-scrollbar {
width: 5px; /* 横向滚动条宽度(如果有横向滚动的话) */
height: 5px; /* 纵向滚动条高度(虽然你这里主要是垂直滚动,但设置一下也可以统一样式) */
}
.markdown-body table th {
background-color: var(--el-color-primary) !important;
color: var(--el-bg-color-page) !important;
}
.markdown-body table td {
background-color: var(--el-table-bg-color) !important;
color: var(--el-text-color-primary) !important;
}
.markdown-body blockquote {
border-left-color: var(--el-border-color) !important;
}
.markdown-body hr {
border-color: var(--el-border-color) !important;
}
.markdown-body code {
background-color: var(--code-bg-color) !important;
color: var(--code-text-color) !important;
}
.markdown-body .code-block {
padding: 0!important;
margin: 0!important;
border-radius: 8px!important;
}
.markdown-body code::-webkit-scrollbar {
width: 5px; /* 横向滚动条宽度(如果有横向滚动的话) */
height: 5px; /* 纵向滚动条高度(虽然你这里主要是垂直滚动,但设置一下也可以统一样式) */
}
.markdown-body th {
background-color: var(--el-color-primary-light-9) !important;
}
/* 状态标签 */
.el-tag {
background-color: var(--el-tag-bg-color) !important;
border-color: var(--el-color-primary-light-7) !important;
}
/* 加载动画 */
.loading-spinner {
color: var(--el-color-primary) !important;
}
/* 工具提示 */
.el-tooltip__popper {
background-color: var(--el-bg-color) !important;
border: 1px solid var(--el-border-color) !important;
color: var(--el-text-color-primary) !important;
box-shadow: var(--el-box-shadow-light) !important;
}
/* 顶部栏样式 */
.top-bar {
background-color: var(--el-bg-color-page);
padding: 0 16px !important;
display: flex;
align-items: center;
justify-content: flex-end;
-webkit-app-region: drag;
}
.window-controls {
display: flex;
gap: 4px;
-webkit-app-region: no-drag;
}
.top-bar-btn {
height: 16px;
width: 16px;
padding: 0;
color: var(--el-text-color) !important;
display: flex;
align-items: center;
justify-content: center;
margin: 0!important;
}
.top-bar-btn .el-icon {
font-size: 12px;
width: 12px;
height: 12px;
}
.top-bar-btn:hover {
background-color: var(--el-color-primary-light-3) !important;
}
/* 主容器样式 */
.main-container {
flex: 1;
overflow: hidden;
}
.el-aside {
background-color: var(--el-bg-color-page)!important;
}
/* 侧边栏样式 */
.sidebar {
background-color: var(--el-bg-color-page) !important;
border-right: 1px solid var(--el-border-color-light);
transition: width 0.3s;
height: 100%;
overflow: hidden;
width: 200px;
}
.el-menu-vertical {
border-right: none !important;
overflow: hidden;
width: 100% !important;
}
.el-menu-vertical:not(.el-menu--collapse) {
width: 200px;
}
/* 内容区样式 */
.content {
padding: 20px;
overflow-y: scroll; /* 强制显示滚动条,以便我们可以隐藏它 */
-ms-overflow-style: none; /* Internet Explorer 10+ */
scrollbar-width: none; /* Firefox */
background-color: var(--el-bg-color-page);
}
.content::-webkit-scrollbar {
display: none; /* Safari and Chrome */
}
/* 聊天容器样式 */
.chat-container {
display: flex;
flex-direction: column;
height: 100%;
margin: 0;
padding: 0;
}
.chat-area {
display: flex;
flex-direction: column;
height: 100%;
gap: 10px;
margin: 0;
padding: 0;
min-height: 0 !important;
}
.messages-container {
flex: 1;
min-height: 0 !important;
overflow-y: auto;
padding-bottom: 30px !important;
padding: 20px;
background-color: var(--el-bg-color);
border-radius: 8px;
box-shadow: 0 2px 12px var(--el-box-shadow-light);
scrollbar-width: 2px;
overflow-anchor: none;
}
/* Chrome, Edge, Safari 等 */
.messages-container::-webkit-scrollbar {
width: 5px; /* 横向滚动条宽度(如果有横向滚动的话) */
height: 5px; /* 纵向滚动条高度(虽然你这里主要是垂直滚动,但设置一下也可以统一样式) */
}
.messages-container::-webkit-scrollbar-thumb {
border-radius: 2px; /* 滚动条 thumb 圆角 */
}
/* 修复消息容器布局 */
.message {
margin-bottom: 20px;
display: flex;
flex-direction: column;
}
/* 修复用户消息换行问题 */
.message.user {
align-items: flex-end; /* 原设置正确,但需要配合子元素宽度 */
}
.message.assistant {
align-items: flex-start;
}
/* 消息内容基础样式 */
.system-content {
padding: 12px;
border-radius: 12px;
font-size: 14px;
line-height: 1.6;
white-space: pre-wrap;
word-break: break-word;
max-width: 100%;
}
.scroll-on-hover {
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: transparent transparent;
transition: scrollbar-color 0.3s ease;
}
.scroll-on-hover:hover {
scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}
/* Webkit 浏览器平滑动画 */
.scroll-on-hover::-webkit-scrollbar {
width: 8px;
transition: all 0.3s ease;
}
.scroll-on-hover::-webkit-scrollbar-track {
background: transparent;
transition: all 0.3s ease;
}
.scroll-on-hover::-webkit-scrollbar-thumb {
background: transparent;
border-radius: 4px;
transition: all 0.3s ease;
}
.scroll-on-hover:hover::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.3);
}
.scroll-on-hover:hover::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.5);
}
.user-content {
padding: 12px;
border-radius: 12px;
font-size: 14px;
line-height: 1.6;
white-space: pre-wrap;
word-break: break-word;
box-shadow: var(--el-box-shadow)!important;
max-width: 100%;
}
.user .message-content {
background-color: var(--el-color-primary)!important;
color: #ffffff;
border-radius: 12px 12px 0 12px;
box-shadow: var(--el-box-shadow)!important;
max-width: 100%;
}
.system .message-content {
background-color: var(--el-bg-color) !important;
border: 1px solid var(--el-border-color-lighter) !important;
color: var(--el-text-color-primary) !important; /* 增加文字颜色定义 */
border-radius: 12px;
padding: 5px;
box-shadow: var(--el-box-shadow)!important;
max-width: 100%;
}
.assistant .message-content {
background-color: var(--el-bg-color-page);
border: 1px solid var(--el-border-color-light);
color: var(--el-text-color-primary) !important; /* 增加文字颜色定义 */
border-radius: 12px 12px 12px 0;
box-shadow: var(--el-box-shadow)!important;
max-width: 100%;
}
/* 增强AI消息样式 */
.assistant-message-content {
max-width: 85%;
width: fit-content; /* 确保动态宽度 */
white-space: pre-line;
}
.assistant .message-content > :first-child {
margin-top: 0;
}
.assistant .message-content > :last-child {
margin-bottom: 0;
}
/* 光扫动效:挂在气泡本身,而不是 markdown 文字层 */
.assistant .message-content.typing {
position: relative;
overflow: hidden; /* 裁掉光带多余部分 */
border-radius: 12px 12px 12px 0; /* 与气泡圆角一致 */
}
/* ===== 现代光带 ===== */
.assistant .message-content.typing::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
/* 两段渐变拼成“亮-暗-亮”波带 */
background: linear-gradient(
90deg,
transparent 0%,
var(--el-color-primary-light-7) 18%,
var(--el-color-primary) 50%,
var(--el-color-primary-light-7) 82%,
transparent 100%
);
background-size: 60px 100%; /* 光带固定 60 px 宽 */
background-repeat: no-repeat;
animation: modern-shine 1.6s linear infinite;
}
@keyframes modern-shine {
0% { background-position: -60px 0; } /* 起点:藏在左边外 */
100% { background-position: calc(100% + 60px) 0; } /* 终点:完全跑出右边 */
}
/* 添加Markdown正文样式 */
.markdown-body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 1.6;
color: var(--el-text-color-primary) !important;
padding: 16px;
}
.markdown-body p {
margin: 0.8em 0;
}
.markdown-body pre {
margin: 1em 0;
overflow: auto;
}
.button-group {
display: flex;
flex-wrap: wrap; /* 允许换行 */
justify-content: flex-start;
}
/* 移动端适配 */
@media (max-width: 768px) {
.button-group {
row-gap: 8px; /* 行间距 */
column-gap: 6px; /* 列间距 */
}
.button-group .el-button {
flex-shrink: 0; /* 防止按钮缩小 */
margin: 2px !important; /* 覆盖可能存在的边距 */
}
.el-main {
padding: 0!important;
margin: 0!important;
}
}
@media (max-width: 680px) {
.message {
padding: 0!important;
margin: 4px!important;
}
.messages-container {
padding: 0!important;
margin: 0px!important;
}
}
/* 打字指示器样式 */
.typing-indicator {
display: flex;
gap: 4px;
padding: 8px 12px;
}
.typing-indicator span {
width: 8px;
height: 8px;
background-color: var(--el-bg-color);
border-radius: 50%;
animation: typing 1s infinite ease-in-out;
}
.typing-indicator span:nth-child(2) {
animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes typing {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-4px);
}
}
/* 设置表单样式 */
.settings-form {
max-width: 100%;
margin: 40px auto;
padding: 32px;
background-color: var(--el-bg-color);
border-radius: 12px;
box-shadow: 0 4px 16px var(--el-box-shadow-light);
}
.behavior-block {
margin: 40px auto;
padding: 32px;
background-color: var(--el-bg-color-page);
border-radius: 12px;
box-shadow: 0 4px 16px var(--el-box-shadow-light);
}
.el-form-item {
margin-bottom: 32px;
}
.full-width-input {
box-shadow: 0 4px 16px rgba(var(--el-color-primary-rgb), 0.2);
width: 100%;
}
.full-width-input .el-input__wrapper {
padding: 8px 16px;
height: 48px;
box-shadow: 0 2px 8px var(--el-box-shadow-light);
transition: all 0.3s ease;
}
.full-width-input .el-input__wrapper:hover {
box-shadow: 0 4px 12px var(--el-box-shadow-light);
}
.full-width-input .el-input__wrapper.is-focus {
box-shadow: 0 4px 16px rgba(var(--el-color-primary-rgb), 0.3);
}
.full-width-input .el-input__inner {
font-size: 16px;
}
/* 响应式调整 */
@media (max-width: 768px) {
.settings-form {
max-width: 100%;
margin: 20px;
padding: 24px;
}
.full-width-input .el-input__wrapper {
height: 44px;
}
}
.settings-form {
display: flex;
flex-direction: column;
}
.form-item-align {
display: flex;
align-items: center; /* 垂直居中 */
justify-content: space-between; /* 左右两端对齐 */
}
.el-form-item__label, .el-form-item__content {
text-align: center; /* 标签文字左对齐 */
}
/* 确保输入控件宽度合适 */
.full-width-input {
width: 100%;
}
/* 可选:为了让所有标签的横向中心点对齐,可以给标签设定固定的宽度 */
.el-form-item__label {
width: auto;
display: inline-block;
text-align: center;
}
.api-container {
padding: 20px;
max-width: 800px;
margin: 0 auto;
}
.api-endpoint {
margin-bottom: 30px;
}
/* 添加表格样式 */
.model-table {
margin-top: 20px;
border: 1px solid var(--el-border-color);
border-radius: 4px;
.el-table__header th {
background-color: var(--el-fill-color-light);
}
}
.loading-models, .error-models {
display: flex;
align-items: center;
gap: 8px;
padding: 20px;
color: var(--el-color-warning);
}
.error-models {
color: var(--el-color-danger);
}
.copyable {
cursor: pointer;
color: #409eff;
transition: color 0.3s;
}
.copyable:hover {
color: #79bbff;
}
.notification {
position: fixed;
top: -40px;
left: 50%;
transform: translateX(-50%);
background: #4CAF50;
color: white;
padding: 12px 24px;
border-radius: 4px;
box-shadow: 0 2px 8px var(--el-box-shadow-light);
opacity: 0;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 9999;
font-family: system-ui;
font-size: 14px;
}
.notification.show {
top: 24px;
opacity: 1;
}
.notification.hide {
top: 10px;
opacity: 0;
}
.notification.error {
background: #ff5252;
}
/* 工具界面样式 */
.tool-item {
border: 1px solid var(--bg-color);
border-radius: 4px;
margin-bottom: 16px;
padding: 16px;
cursor: pointer;
transition: all 0.3s;
}
.tool-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.tool-content {
margin-top: 16px;
padding-left: 24px;
border-left: 2px solid var(--el-color-primary)
}
.tool-item:hover {
box-shadow: 0 2px 12px var(--el-box-shadow-light);
}
/* 拖拽/点击区域样式 */
.drop-zone {
border: 2px dashed rgba(var(--el-color-primary-rgb), 0.2);
border-radius: 8px;
padding: 40px 20px;
text-align: center;
cursor: pointer;
transition: all 0.3s;
margin: 5% auto;
width: 80%;
background-color: var(--el-bg-color-page)
}
.drop-zone:hover {
border-color: var(--border-color);
background-color: var(--el-bg-color);
transform: translateY(-2px);
box-shadow: 0 2px 12px 0 rgba(64,158,255,.1);
}
.drop-zone p {
margin-top: 15px;
color: #606266;
font-size: 14px;
}
.el-popper__arrow {
border-color: var(--border-color) !important;
}
.el-popper__arrow::before{
background-color: var(--el-bg-color)!important;
}
.el-popper{
background-color: var(--el-bg-color)!important;
color: var(--el-text-color)!important;
}
.upload-container {
display: flex;
flex-direction: column;
align-items: center;
padding: 10px;
}
/* 更新css/styles.css */
/* 紧凑型文件列表 */
.compact-file-list {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 8px;
max-height: 72px;
overflow-y: scroll;
padding: 8px 0;
}
/* 不显示滚动条 */
.compact-file-list::-webkit-scrollbar {
display: none;
}
.compact-file-item {
position: relative;
display: inline-flex;
align-items: center;
background: #f0f4ff;
border-radius: 12px;
padding: 4px 36px 4px 12px; /* 增加右侧padding */
max-width: 240px;
transition: all 0.2s;
overflow-y: scroll;
}
/* 不显示滚动条 */
.compact-file-item::-webkit-scrollbar {
display: none;
}
.file-name {
color: #409eff;
font-size: 13px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.delete-icon {
background-color: transparent !important;/* 透明 */
border: none !important; /* 去掉边框 */
position: absolute;
right: 0px; /* 增加右侧间距 */
top: 50%;
transform: translateY(-50%);
padding: 3px !important;
width: 10px; /* 缩小尺寸 */
height: 10px;
}
.delete-icon .el-icon {
font-size: 12px; /* 缩小图标 */
}
/* 调整hover状态 */
.delete-icon:hover {
color: var(--el-color-danger) !important;
transform: translateY(-50%) scale(1.1);
}
.compact-file-item:hover {
background: #e6f1ff;
box-shadow: 0 2px 6px rgba(64,158,255,0.1);
}
/* 文件链接样式 */
.file-links {
margin-top: 8px;
display: flex;
flex-wrap: wrap;
gap: 6px;
}
/* 单个文件链接 */
.file-link {
display: inline-flex;
align-items: center;
background: #f0f4ff;
border-radius: 12px;
padding: 4px 12px;
font-size: 13px;
color: #409eff;
text-decoration: none;
transition: all 0.2s;
max-width: 240px;
white-space: nowrap; /* 禁止链接文字换行 */
overflow: hidden;
}
.file-link:hover {
background: #e1e9ff;
color: #337ecc;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
/* Markdown表格样式 */
.markdown-body table {
width: 100% !important; /* 强制继承父级宽度 */
min-width: 100%; /* 防止内容不足时收缩 */
display: table; /* 恢复表格特性 */
box-shadow: none; /* 移除阴影避免视觉干扰 */
overflow-x: auto;
max-width: 100%;
}
.markdown-body th,
.markdown-body td {
padding: 12px 15px;
border: 1px solid var(--el-border-color-light);
}
.markdown-body th {
background-color: var(--el-color-primary-light-9);
font-weight: 600;
}
.markdown-body tr:nth-child(even) {
background-color: var(--el-fill-color-lighter);
}
/* 代码块样式 */
.code-block {
position: relative;
margin: 1em 0;
border-radius: 8px;
overflow-x: auto;
max-width: 100%;
}
.code-block::-webkit-scrollbar {
width: 5px; /* 横向滚动条宽度(如果有横向滚动的话) */
height: 5px; /* 纵向滚动条高度(虽然你这里主要是垂直滚动,但设置一下也可以统一样式) */
}
.code-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 12px;
background: var(--el-color-primary);
color: var(--el-bg-color-page)!important;
border-radius: 8px 8px 0 0;
}
.code-lang {
color: #ffffff !important;
font-size: 0.9em;
font-family: var(--el-font-family);
margin-right: auto;
}
/* 设置按钮组的样式 */
.code-actions {
display: flex;
gap: 5px; /* 按钮之间的间距 */
}
.copy-button, .preview-button{
background: rgba(255,255,255,0.1) !important;
color: #fff !important;
border: none;
cursor: pointer;
padding: 4px 8px;
border-radius: 4px;
transition: all 0.2s;
}
.copy-button, .download-button{
background: rgba(255,255,255,0.1) !important;
color: #fff !important;
border: none;
cursor: pointer;
padding: 4px 8px;
border-radius: 4px;
transition: all 0.2s;
}
/* 在样式表中添加覆盖规则 */
.code-block pre {
background-color: transparent !important;
padding: 0;
}
/* 钥匙箱主容器 */
.keybox-container {
padding: 2rem;
max-width: 1400px;
margin: 0 auto;
background: var(--bg-color);
min-height: calc(100vh - 64px); /* 根据导航栏高度调整 */
box-shadow: var(--el-box-shadow-light);
border-radius: 8px;
}
/* 网格布局系统 */
.provider-grid {
display: grid;
gap: 1.5rem;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
padding: 0;
margin: 0 -0.75rem; /* 抵消卡片边距 */
}
/* 磁贴卡片系统 */
.provider-card {
--card-border: 1px solid #e2e8f0;
--card-shadow: 0 1px 3px rgba(0,0,0,0.05);
position: relative;
background: #ffffff;
border: var(--card-border);
border-radius: 0.75rem;
padding: 1.25rem;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
min-height: 270px!important;
display: flex;
flex-direction: column;
margin: 0.75rem;
box-shadow: var(--card-shadow);
}
.provider-card:hover {
--card-border: 1px solid #cbd5e1;
--card-shadow: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.05);
transform: translateY(-2px);
}
/* 卡片头部 */
.card-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 1rem;
position: relative;
}
/* 卡片操作按钮组 */
/* 调整卡片操作按钮组样式 */
.card-actions {
display: flex;
gap: 0.5rem;
position: relative; /* 改为相对定位 */
top: 0;
right: 0;
background: transparent; /* 去掉背景色 */
padding: 0;
box-shadow: none; /* 去掉阴影 */
}
/* 调整输入框容器布局 */
.input-group {
flex: 1;
display: flex;
flex-direction: column;
gap: 1rem;
margin-top: 1rem; /* 增加上边距 */
}
/* 确保输入框可见 */
.el-input {
width: 100%;
min-width: 100%; /* 防止收缩 */
}
/* 调整模型选择容器 */
.model-container {
margin-top: 1rem;
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
}
/* 确保选择框宽度 */
.model-select {
flex: 1;
min-width: 120px;
}
/* 添加新卡片 */
.add-tile {
--dash-color: #cbd5e1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
cursor: pointer;
border: 2px dashed var(--dash-color);
background-color: rgba(248,250,252,0.5);
transition: all 0.2s ease;
}
.add-tile:hover {
--dash-color: #94a3b8;
background-color: rgba(241,245,249,0.8);
transform: scale(0.98);
}
.add-tile .el-icon {
transition: transform 0.2s ease;
}
.add-tile:hover .el-icon {
transform: scale(1.1);
}
/* 对话框增强样式 */
.el-dialog__header {
border-bottom: 1px solid var(--el-button-bg-color);
margin-bottom: 1rem;
}
.el-form-item {
margin-bottom: 1.25rem;
}
.el-form-item__label {
font-weight: 500;
color: #475569;
padding-bottom: 0.375rem !important;
}
.el-select__popper {
background-color: var(--el-bg-color) !important;
border: 1px solid var(--el-border-color) !important;
box-shadow: var(--el-box-shadow-light) !important;
}
/* 选项文字颜色和hover背景 */
.el-select-dropdown__item {
color: var(--el-text-color-primary) !important;
&:hover {
background-color: var(--el-color-primary-light-3) !important;
}
&:is-selected{
background-color: var(--el-color-primary-light-3) !important;
}
}
/* 禁用状态的选项 */
.el-select-dropdown__item.is-disabled {
color: var(--el-text-color-placeholder) !important;
}
/* 供应商选项样式 */
.provider-option {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.model-id {
color: var(--el-text-color-secondary);
font-size: 12px;
max-width: 150px;
overflow: hidden;
text-overflow: ellipsis;
}
.generate-btn {
margin-top: 20px;
text-align: center;
padding: 20px 0;
border-top: 1px solid var(--card-bg-color);
}
/* 添加这些样式 */
.alert-content {
line-height: 1.8;
color: var(--el-color-info); /* 保持与警告组件颜色一致 */
}
.font-medium {
font-weight: 500;
}
.el-link {
vertical-align: baseline; /* 保持文字对齐 */
}
.el-link:hover {
text-decoration: underline !important; /* 悬停时显示下划线 */
}
/* 知识库磁贴样式 */
.knowledge-card {
min-height: 160px;
}
.knowledge-card h3 {
margin-top: 10px;
font-size: 1.2em;
}
/* 在 css/styles.css 中添加 */
.loading-spinner {
animation: spin 1s linear infinite;
margin-right: 8px;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.processing-message {
text-align: center;
padding: 20px;
color: var(--el-color-info);
}
/* 添加样式 */
.kb-content {
padding: 12px;
height: calc(100% - 40px); /* 留出头部空间 */
}
.kb-header {
display: flex;
align-items: center;
margin-bottom: 8px;
gap: 8px;
}
.kb-title {
font-size: 16px;
font-weight: 600;
color: var(--el-text-color-primary);
margin: 0;
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.kb-description {
font-size: 12px;
color: var(--el-text-color-secondary);
line-height: 1.5;
margin: 8px 0;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
}
.kb-meta {
border-top: 1px solid var(--el-border-color);
padding-top: 8px;
margin-top: 12px;
}
.kb-meta-item {
display: flex;
align-items: center;
font-size: 12px;
color: var(--el-text-color-secondary);
margin: 4px 0;
}
.kb-icon {
font-size: 14px;
margin-right: 6px;
color: var(--el-text-color-secondary);
}
.el-collapse {
border: none;
color: var(--el-text-color-primary)!important;
background-color: var(--el-bg-color)!important;
}
/* 添加样式 */
.advanced-settings {
--el-collapse-header-height: 48px;
.el-collapse-item {
color: var(--el-text-color-primary)!important;
background-color: var(--el-bg-color)!important;
margin: 12px 0;
border-radius: 8px;
overflow: hidden;
&.is-active {
box-shadow: 0 2px 12px var(--el-box-shadow);
}
}
.el-collapse-item__content{
color: var(--el-text-color-primary)!important;
background-color: var(--el-bg-color)!important;
}
.el-collapse-item__header {
color: var(--el-text-color-primary)!important;
background-color: var(--el-bg-color)!important;
padding: 0 16px;
font-size: 14px;
}
.el-slider__button {
color: var(--el-text-color-primary)!important;
background-color: var(--el-bg-color)!important;
border-color: var(--el-color-primary)!important;
}
.el-form-item {
color: var(--el-text-color-primary)!important;
background-color: var(--el-bg-color)!important;
margin-bottom: 8px;
}
}
.collapse-title {
display: flex;
align-items: center;
color: var(--el-color-primary);
.el-icon {
transition: transform 0.2s;
}
}
/* 激活状态旋转图标 */
.el-collapse-item.is-active .collapse-title .el-icon {
transform: rotate(90deg);
}
.knowledge-dialog-content {
max-height: 60vh;
overflow-y: auto;
padding: 10px;
}
.knowledge-item {
display: flex;
align-items: center;
gap: 12px;
padding: 12px;
margin-bottom: 8px;
background: var(--bg-color);
border-radius: 8px;
transition: all 0.2s;
}
.knowledge-item:hover {
background: var(--el-border-color-light);
}
.knowledge-info {
flex: 1;
}
.knowledge-name {
font-weight: 500;
color: var(--el-text-color-primary);
}
.knowledge-desc {
font-size: 12px;
color: var(--el-text-color-secondary);
margin-top: 4px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
}
.empty-tip {
text-align: center;
color: var(--el-text-color-secondary);
padding: 20px;
}
.empty-tip a {
color: var(--el-text-color-primary);
text-decoration: none;
cursor: pointer;
font-weight: 500;
transition: color 0.2s;
}
.empty-tip a:hover {
color: var(--el-color-primary);
text-decoration: underline;
}
.browser-mode-btn-container {
text-align: center;
margin-top: 20px;
}
.browser-mode-btn {
width: 90%;
max-width: 300px;
text-align: center;
transition: all 0.3s ease;
background: linear-gradient(45deg, var(--el-color-primary), var(--el-color-primary-light-3));
box-shadow: 0 4px 12px var(--el-color-primary-light-9);
border: none;
&:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px var(--el-color-primary-light-9);
}
&:active {
transform: translateY(0);
}
}
.browser-mode-btn span {
color: #fff;
}
.tip-text {
font-size: 12px;
color: var(--el-text-color-secondary);
margin-top: 8px;
}
.user-message-content div {
white-space: pre-wrap;
}
.form-item-align .el-switch {
margin-left: auto;
}
/* MCP服务器磁贴样式 */
.mcp-container .kb-header {
display: flex;
align-items: center;
gap: 16px;
margin: 12px;
}
.mcp-container .kb-switch {
position: absolute;
left: 12px;
top: 12px;
}
.mcp-container .card-actions {
position: absolute;
right: 12px;
top: 12px;
}
.mcp-container .kb-meta {
border-top: 1px solid var(--el-border-color-light);
padding-top: 12px;
margin-top: 12px;
}
.mcp-container .kb-meta-item {
display: flex;
align-items: center;
gap: 8px;
font-size: 12px;
color: var(--el-text-color-secondary);
}
.mcp-container .kb-meta-item .el-switch {
margin-left: auto;
}
.mcp-container .el-tag--info {
background-color: rgba(var(--el-color-primary-rgb), 0.1);
border-color: rgba(var(--el-color-primary-rgb), 0.2);
color: var(--el-color-primary);
}
/* 侧边栏Logo样式 */
.sidebar-logo {
/* 侧边栏最底部 */
position: absolute;
bottom: 0;
width: 100%;
height: 48px;
display: flex;
align-items: center;
justify-content: left;
background-color: var(--el-bg-color);
}
.logo-icon img {
width: 24px;
height: 24px;
border: none;
vertical-align: middle;
bottom: 0;
}
/* 开源声明页面 */
.logo-container {
padding: 2rem;
max-width: 800px;
margin: 0 auto;
}
.license-notice {
background: var(--el-bg-color-page);
border-radius: 12px;
padding: 2rem;
box-shadow: 0 4px 16px var(--el-box-shadow-light);
}
.notice-section {
border-left: 4px solid var(--el-color-warning);
padding-left: 1rem;
margin: 2rem 0;
}
.warning-text {
color: var(--el-color-warning);
font-size: 16px;
line-height: 1.8;
}
.warning-text-en {
color: var(--el-color-warning-light-3);
font-size: 14px;
line-height: 1.6;
margin-top: 0.5rem;
}
.contact-section {
margin: 2rem 0;
padding: 1.5rem;
background: var(--el-bg-color);
border-radius: 8px;
border: 1px solid var(--el-border-color-light);
}
.contact-section h3 {
color: var(--el-color-primary);
margin-bottom: 1rem;
}
.contact-card {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
}
.contact-link {
color: var(--el-color-primary);
text-decoration: none;
transition: color 0.3s;
}
.contact-link:hover {
color: var(--el-color-primary-light-3);
text-decoration: underline;
}
.social-links {
margin-top: 2rem;
}
.link-item {
display: flex;
align-items: center;
margin: 1rem 0;
padding: 1rem;
background: var(--el-bg-color);
border-radius: 8px;
transition: transform 0.3s;
}
.link-item:hover {
transform: translateX(10px);
box-shadow: 0 2px 8px var(--el-box-shadow-light);
}
.link-item .el-icon {
font-size: 24px;
margin-right: 1rem;
color: var(--el-color-primary-light-3);
}
.social-link {
color: var(--el-color-primary-light-3);
margin-left: 0.5rem;
text-decoration: none;
}
.qq-group {
color: var(--el-color-primary-light-3);
font-weight: 500;
margin-left: 0.5rem;
}
.agreement-section {
margin-top: 2rem;
padding-top: 2rem;
border-top: 1px solid var(--el-border-color-light);
text-align: center;
}
.agreement-link {
color: var(--el-color-info);
text-decoration: none;
font-weight: 500;
}
.agreement-link:hover {
text-decoration: underline;
}
.agent-prompt {
display: -webkit-box;
-webkit-line-clamp: 4;
line-clamp: 4;
color: var(--el-color-info);
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.2em;
max-height: 4.8em; /* 4 lines */
}
.agent-header {
display: flex;
align-items: center;
gap: 8px;
font-size: large;
color: var(--text-color);
margin: 8px;
}
.agent-id {
font-family: monospace;
user-select: all;
}
.agent-config-tabs {
margin: 25px;
}
.agent-config-tabs .el-tabs__content {
max-height: 400px;
overflow-y: auto;
}
.preview-container {
position: relative;
width: 100%;
min-height: 200px;
max-height: 80vh;
overflow: auto;
background: var(--preview-bg-color);
border-radius: 4px;
margin: 10px 0;
transition: all 0.3s ease;
}
.preview-container.loading {
min-height: 100px;
display: flex;
align-items: center;
justify-content: center;
}
.preview-container iframe {
width: 100%;
height: 100%;
border: none;
background: var(--preview-bg-color);
}
.mermaid-diagram {
padding: 20px;
text-align: center;
}
/* 隐藏原始代码内容 */
.code-content[style*="display: none"] {
display: none !important;
}
/* 更新按钮容器样式 */
.top-bar-btn.update-btn {
/* 保持原有基本样式 */
width: auto;
padding: 4px 12px !important; /* 增加水平内边距 */
display: inline-flex; /* 确保按钮依据内容调整大小 */
white-space: nowrap; /* 防止文字换行 */
transition: all 0.2s ease;
}
/* 更新按钮图标样式 */
.update-btn .el-icon {
margin-right: 8px !important; /* 增加图标右边距 */
flex-shrink: 0; /* 防止图标被压缩 */
}
/* 成功状态按钮 */
.update-btn.success {
background-color: var(--el-color-success) !important;
padding: 4px 12px !important;
}
.extra-params {
.param-row {
display: flex;
align-items: center; /* Vertically center content */
gap: 10px; /* Space between elements */
margin-bottom: 10px; /* Space between rows */
.param-input,
.type-select,
.value-input,
.remove-btn {
flex: 1; /* Equal distribution of space */
min-width: 0; /* Important for flexbox to shrink items */
}
.value-input {
align-items: center; /* 保持垂直居中 */
justify-content: center; /* 水平居中 */
> * {
flex: 1;
min-width: 0;
}
.el-input-number {
width: auto;
}
.el-switch {
/* 水平居中 */
display: flex;
align-items: center;
justify-content: center;
}
}
.remove-btn {
flex: 0 0 auto; /* Don't grow, don't shrink, automatic width */
width: auto; /* Let the button's content determine its width */
}
}
}
.memo-extra-params {
.param-row {
margin-bottom: 16px;
.param-name-input {
margin-bottom: 8px;
}
.param-value-input {
margin-bottom: 8px;
textarea {
min-height: 80px;
resize: vertical;
}
}
.action-row {
display: flex;
justify-content: flex-end;
gap: 8px;
.el-button {
margin-left: 0;
}
}
}
}
.remove-btn {
margin-left: auto;
}
.param-header {
display: flex; /* 使用 flexbox */
justify-content: space-between; /* 左右对齐 */
align-items: center; /* 垂直居中对齐 */
background-color: var(--el-bg-color-page); /* 背景颜色 */
padding: 10px; /* 内边距 */
margin-bottom: 20px; /* 底部外边距 */
border: 2px solid var(--card-border);
box-shadow: 2px 2px 5px var(--card-shadow); /* 阴影效果 */
border-radius: 8px; /* 圆角 */
}
.action-row {
display: flex;
justify-content: flex-end; /* 按钮靠右对齐 */
gap: 8px; /* 按钮之间的间距 */
}
.param-header span {
font-size: 18px; /* 字体大小 */
font-weight: bold; /* 加粗 */
color: var(--el-text-color);
}
.message-actions {
display: flex;
justify-content: flex-end;
margin-top: 8px;
opacity: 0.6;
transition: opacity 0.2s;
}
.message:hover .message-actions {
opacity: 1;
}
.copy-btn {
padding: 4px !important;
font-size: 12px !important;
}
.copy-btn i {
font-size: 12px;
}
.tool-card-title {
font-size: 16px;
font-weight: bold;
margin-bottom: 12px;
}
.el-input.mini-input {
width: auto;
height: auto;
}
/* 新版侧边导航样式 */
.agent-suite-container {
height: calc(100vh - 60px);
}
.deploy-container {
height: calc(100vh - 60px);
}
.storage-container {
height: calc(100vh - 60px);
}
.suite-layout {
display: flex;
height: 100%;
}
.suite-sidebar {
width: 220px;
background: var(--el-bg-color-page);
border-right: 2px solid var(--el-border-color-light);
overflow-y: auto;
}
.suite-content {
flex: 1;
padding: 24px;
overflow-y: auto;
background: var(--el-bg-color-page);
}
.tile-nav {
padding: 12px 0;
}
.nav-item {
display: flex;
align-items: center;
padding: 12px 20px;
margin: 4px 12px;
border-radius: 8px;
cursor: pointer;
transition: all 0.2s;
color: var(--el-text-color-regular);
&:hover {
background: var(--el-color-primary-light-9);
color: var(--el-color-primary);
.nav-icon {
color: var(--el-color-primary);
}
}
&.active {
background: var(--el-color-primary-light-9);
color: var(--el-color-primary);
font-weight: 500;
.nav-icon {
color: var(--el-color-primary);
}
}
}
.nav-icon {
font-size: 16px;
margin-right: 12px;
width: 24px;
transition: color 0.2s;
}
.nav-text {
font-size: 14px;
white-space: nowrap;
}
.suite-content {
flex: 1;
padding: 24px;
overflow-y: auto;
background: var(--el-bg-color-page);
}
.input-box {
border-radius: 12px !important;
}
/* 或者更具体地针对textarea元素 */
.input-box .el-textarea__inner {
border-radius: 12px !important;
}
.image-links {
/* 垂直排列 */
flex-direction: column;
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 8px;
}
.image-link {
max-width: 100%; /* 🌟 同时限制相对和绝对大小 */
height: auto; /* 🌟 保持比例 */
border-radius: 12px;
object-fit: contain; /* 🌟 智能适应容器 */
}
.update-btn {
transition: all 0.3s ease;
background: linear-gradient(90deg, #409eff var(--progress), transparent var(--progress));
}
.update-btn.installed {
background: #67c23a !important;
}
.update-btn:hover {
transform: scale(1.05);
}
.progress-text {
margin-left: 5px;
font-size: 0.8em;
}
.fa-spinner {
animation: spin 1s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.update-btn {
--progress: calc(var(--download-progress) * 1%);
}
/* 让菜单容器使用 flex 纵向布局,并占满高度 */
.el-menu-vertical {
background-color: var(--el-bg-color-page)!important;
display: flex;
flex-direction: column;
height: 100%;
}
/* 选择倒数第3个菜单项(system)*/
.el-menu-item:nth-last-child(3) {
margin-top: auto; /* 这个属性会让它和后面的元素自动推到容器底部 */
}
.text-container {
padding: 20px;
}
.file-list {
display: grid;
gap: 16px;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.text-list {
display: flex;
flex-direction: column;
gap: 16px;
}
.file-item {
background: var(--el-bg-color);
border: 1px solid var(--el-border-color);
border-radius: 8px;
padding: 12px;
display: flex;
align-items: center;
transition: all 0.3s;
}
.file-item:hover {
transform: translateY(-2px);
box-shadow: var(--el-box-shadow-light);
}
.file-icon {
margin-right: 12px;
font-size: 24px;
color: var(--el-color-primary);
}
.file-info {
flex: 1;
min-width: 0;
}
.file-name {
font-size: 14px;
color: var(--el-text-color-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.file-actions {
display: flex;
gap: 8px;
margin-left: 12px;
.file-actions-btn {
margin: 2px!important;
}
.a {
margin: 0px!important;
}
}
.image-container {
padding: 20px;
}
.image-grid {
display: grid;
gap: 16px;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.image-item {
position: relative;
border-radius: 8px;
overflow: hidden;
transition: all 0.3s;
aspect-ratio: 1;
}
.image-item:hover {
transform: translateY(-2px);
box-shadow: var(--el-box-shadow-light);
}
.video-container {
padding: 20px;
}
.thumbnail {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 8px;
}
.image-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(transparent, rgba(0,0,0,0.6));
padding: 12px;
display: flex;
justify-content: space-between;
align-items: center;
}
.image-name {
color: var(--el-text-color);
font-size: 12px;
text-shadow: 0 1px 2px var(--el-box-shadow-light);
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.image-actions {
display: flex;
gap: 1px;
.image-actions-btn {
margin: 3px!important;
}
.a {
margin: 3px!important;
}
}
/* 添加预览样式 */
.image-preview-dialog {
.el-dialog__body {
padding: 0;
height: auto;
}
.preview-container {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
background: var(--bg-color);
}
.preview-image {
max-width: 100%;
max-height: 100%;
object-fit: contain;
justify-content: center;
align-items: center;
}
}
.vendor-name {
font-size: 14px;
color: var(--el-text-color);
letter-spacing: -0.2px;
}
.vendor-label {
font-size: 14px;
font-weight: 500;
color: var(--el-text-color-primary);
}
.vendor-section-header {
font-size: 12px;
font-weight: 600;
color: var(--el-text-color-secondary);
padding: 8px 16px 4px;
text-transform: none;
letter-spacing: 0.3px;
user-select: none;
opacity: 0.7;
}
/* Premium 供应商选择列表 */
.vendor-select-list {
border-radius: 12px;
background: var(--el-bg-color);
border: 1px solid var(--el-border-color-light);
overflow: hidden;
max-height: 400px;
overflow-y: auto;
}
.vendor-select-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 20px;
cursor: pointer;
transition: background 0.15s ease;
border-bottom: 1px solid var(--el-border-color-lighter);
}
.vendor-select-row:last-child {
border-bottom: none;
}
.vendor-select-row:hover {
background: var(--el-fill-color-light);
}
.vendor-select-row.selected {
background: var(--el-color-primary-light-9);
}
.vendor-select-row.selected .vendor-select-name {
color: var(--el-color-primary);
}
.vendor-select-row-content {
display: flex;
align-items: center;
gap: 12px;
flex: 1;
min-width: 0;
}
.vendor-select-name {
font-size: 15px;
font-weight: 500;
color: var(--el-text-color-primary);
transition: color 0.15s ease;
}
.vendor-select-category {
font-size: 11px;
font-weight: 500;
color: var(--el-text-color-secondary);
background: var(--el-fill-color);
padding: 2px 10px;
border-radius: 10px;
flex-shrink: 0;
}
.vendor-select-indicator {
color: var(--el-color-primary);
font-size: 14px;
flex-shrink: 0;
margin-left: 12px;
}
.mini-vendor-logo {
width: 24px;
height: 24px;
object-fit: cover;
border-radius: 50%;
flex-shrink: 0;
}
/* 搜索引擎纯文字名称 */
.engine-name {
font-size: 13px;
font-weight: 500;
color: var(--el-text-color-primary);
}
/* =========================================
添加供应商对话框 —— 双栏布局
========================================= */
.add-provider-body {
display: flex;
gap: 24px;
min-height: 420px;
max-height: 60vh;
}
.add-provider-left {
width: 280px;
min-width: 280px;
flex-shrink: 0;
display: flex;
flex-direction: column;
overflow-y: auto;
padding-right: 4px;
scrollbar-gutter: stable;
}
.add-provider-left::-webkit-scrollbar {
width: 5px;
}
.add-provider-left::-webkit-scrollbar-track {
background: transparent;
}
.add-provider-left::-webkit-scrollbar-thumb {
background: transparent;
border-radius: 10px;
transition: background 0.3s;
}
.add-provider-left:hover::-webkit-scrollbar-thumb {
background: rgba(128, 128, 128, 0.3);
}
.add-provider-left::-webkit-scrollbar-thumb:hover {
background: rgba(128, 128, 128, 0.5);
}
.add-provider-right {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 16px;
overflow-y: auto;
padding-left: 4px;
}
.add-provider-right-empty {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
color: var(--el-text-color-placeholder);
font-size: 14px;
}
/* 配置区域 */
.config-section {
background: var(--el-bg-color);
border: 1px solid var(--el-border-color-lighter);
border-radius: 10px;
padding: 16px;
}
.config-section-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
}
.config-label {
font-size: 12px;
font-weight: 600;
color: var(--el-text-color-secondary);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.config-link-icon {
font-size: 13px;
color: var(--el-text-color-secondary);
transition: color 0.15s;
}
.config-link-icon:hover {
color: var(--el-color-primary);
}
/* API Key 行 */
.api-key-row {
display: flex;
gap: 10px;
}
.api-key-input {
flex: 1;
}
.test-btn {
flex-shrink: 0;
white-space: nowrap;
}
/* 连接状态 */
.connection-status {
margin-top: 8px;
font-size: 13px;
display: flex;
align-items: center;
gap: 6px;
}
.connection-status.success {
color: #34C759;
}
.connection-status.error {
color: #FF3B30;
}
.connection-status i {
font-size: 14px;
}
/* 模型列表 */
.model-list {
max-height: 180px;
overflow-y: auto;
border: 1px solid var(--el-border-color-lighter);
border-radius: 8px;
}
.model-item {
display: flex;
align-items: center;
padding: 8px 12px;
border-bottom: 1px solid var(--el-border-color-lighter);
transition: background 0.1s;
}
.model-item:last-child {
border-bottom: none;
}
.model-item:hover {
background: var(--el-fill-color-light);
}
.model-name {
font-size: 13px;
color: var(--el-text-color-primary);
font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
}
/* 移动端适配 */
@media (max-width: 680px) {
.add-provider-body {
flex-direction: column;
max-height: none;
}
.add-provider-left {
width: 100%;
min-width: 0;
max-height: 240px;
}
.add-provider-right {
padding-left: 0;
}
}
width: 24px;
height: 24px;
object-fit: contain;
border-radius: 50%;
margin-left: 2px;
}
.spinner-rotate {
animation: spin 1s infinite linear;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.input-container.expanded-input {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1000;
background: var(--el-bg-color);
padding: 20px;
box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
.input-container.expanded-input .input-box textarea {
height: calc(100vh - 100px) !important;
min-height: auto !important;
}
/* 添加移动端样式 */
@media (max-width: 768px) {
.sidebar {
position: fixed !important;
left: 0;
top: 30px;
height: calc(100vh - 30px) !important;
z-index: 2000;
transition: transform 0.3s ease;
}
.mobile-sidebar:not(.el-menu--collapse) {
width: 200px !important;
}
.sidebar-mask {
position: fixed;
top: 30px;
left: 0;
width: 100vw;
height: calc(100vh - 30px);
background: rgba(0,0,0,0.5);
z-index: 1999;
}
.mobile-menu {
padding: 0 12px;
cursor: pointer;
color: var(--el-text-color-regular);
}
.main-container {
margin-left: 0 !important;
}
}
@media (max-width: 768px) {
.suite-content {
padding: 10px;
/* 隐藏横向滚动条 */
overflow-x: hidden;
}
.suite-sidebar {
padding-left: 1px!important;
padding-right: 1px!important;
margin-left: 1px!important;
margin-right: 1px!important;
width: 50px !important; /* 缩小侧边栏宽度 */
}
.tile-nav {
padding-left: 1px!important;
padding-right: 1px!important;
margin-left: 1px!important;
margin-right: 1px!important;
width: 45px !important; /* 缩小导航栏宽度 */
}
.nav-text {
padding-left: 1px!important;
padding-right: 1px!important;
margin-left: 1px!important;
margin-right: 1px!important;
width: 0 !important;
padding: auto;
margin: auto;
font-size: 0 !important;
display: none !important; /* 隐藏文字 */
}
.nav-icon {
padding-left: 1px!important;
padding-right: 1px!important;
margin-left: 1px!important;
margin-right: 1px!important;
width: 40px !important;
font-size: 20px !important; /* 调整图标大小 */
}
.nav-item {
padding-left: 1px!important;
padding-right: 1px!important;
margin-left: 1px!important;
margin-right: 1px!important;
width: 40px !important;
}
.settings-form{
width: 100% !important;
padding-left: 1px!important;
padding-right: 1px!important;
margin-left: 1px!important;
margin-right: 1px!important;
}
.file-list {
width: 100% !important;
padding-left: 1px!important;
padding-right: 1px!important;
margin-left: 1px!important;
margin-right: 1px!important;
}
.page .text-container {
min-width: 0px!important;
width: 100% !important;
padding-left: 1px!important;
padding-right: 1px!important;
margin-left: 1px!important;
margin-right: 1px!important;
min-width: 0px!important;
}
.file-item {
width: auto !important;
padding: 3px!important;
max-width: 230px!important;
min-width: 0px!important;
.file-info {
width: auto!important;
padding-left: 1px!important;
padding-right: 1px!important;
margin-left: 1px!important;
margin-right: 1px!important;
min-width: 0px!important;
max-width: 40%!important;
}
.file-actions {
gap: 1px!important;
margin-left: 1px!important;
padding-left: 1px!important;
padding-right: 1px!important;
margin-left: 1px!important;
margin-right: 1px!important;
min-width: 0px!important;
}
}
.page .image-container {
width: 100% !important;
padding-left: 1px!important;
padding-right: 1px!important;
margin-left: 1px!important;
margin-right: 1px!important;
min-width: 0px!important;
}
.image-item {
min-width: 0px!important;
}
.page .video-container {
width: 100% !important;
padding-left: 1px!important;
padding-right: 1px!important;
margin-left: 1px!important;
margin-right: 1px!important;
min-width: 0px!important;
}
.video-item {
min-width: 0px!important;
}
.page .logo-container{
width: 100% !important;
padding-left: 1px!important;
padding-right: 1px!important;
margin-left: 1px!important;
margin-right: 1px!important;
min-width: 0px!important;
}
.license-notice {
width: 100% !important;
padding-left: 1px!important;
padding-right: 1px!important;
margin-left: 1px!important;
margin-right: 1px!important;
min-width: 0px!important;
}
}
/* ComfyUI容器样式 */
.comfyui-iframe-container {
position: relative;
height: calc(100vh - 120px);
background: var(--el-bg-color-page);
}
.comfyui-iframe {
width: 100%;
height: 100%;
background: var(--el-bg-color-page);
}
.server-item {
display: flex;
align-items: center; /* 垂直居中 */
gap: 8px; /* 元素间距 */
width: 100%; /* 占满父容器宽度 */
margin-bottom: 8px; /* 项间距 */
.el-input {
flex: 1; /* 输入框占据剩余空间 */
min-width: 0; /* 防止内容溢出 */
}
.el-button {
flex-shrink: 0; /* 按钮不收缩 */
}
}
.add-server-btn {
width: 100%;
margin-top: 10px;
}
.add-server-btn {
width: 100%;
margin-top: 10px;
}
.no-server-tip {
height: 300px;
display: flex;
align-items: center;
justify-content: center;
}
.input-box {
width: 100%;
margin-bottom: 10px;
}
.video-wrapper {
position: relative;
display: inline-block; /* 防止超出容器 */
}
.delete-overlay-btn {
position: absolute;
top: 10px;
right: 10px;
z-index: 10;
}
.knowledge-card {
.cover-image {
width: 100%;
height: 120px;
object-fit: contain;
background: var(--el-bg-color-page);
border-radius: 8px;
}
}
.tag-editor {
display: flex;
flex-direction: column;
gap: 12px;
width: 100%;
.tag-item {
display: flex;
align-items: center;
gap: 16px;
width: auto;
padding: 12px;
background: var(--el-bg-color-page);
border-radius: 8px;
.sticker-thumb {
width: 50px;
height: 50px;
flex-shrink: 0;
object-fit: contain;
border: 1px solid var(--el-border-color);
border-radius: 4px;
background: var(--el-bg-color-page);
}
.el-input {
flex: 1;
min-width: 0;
&__wrapper {
height: 40px;
}
}
}
}
.el-upload-list--picture-card {
--el-upload-list-picture-card-size: 30px;
margin: 0;
.el-upload-list__item {
margin: 0 8px 8px 0;
}
.el-upload-list__item .el-icon-close-tip{
display: none !important;
}
}
.sticker-upload {
margin-left: 24px;
.el-upload {
background-color: var(--el-bg-color-page);
}
}
.fastapi-iframe {
min-height: 85vh!important;
}
.tts-controls {
display: flex;
justify-content: flex-end;
align-items: center; /* 确保垂直居中 */
margin-bottom: 8px;
opacity: 0.6;
transition: opacity 0.2s;
}
.message:hover .tts-controls {
opacity: 1;
}
.tts-status {
color: var(--el-color-info);
font-size: 14px;
margin-left: 8px; /* 文字左侧也保持相同间距 */
}
.msg-status {
margin-top: 2px;
font-size: 14px;
margin-left: 8px; /* 文字左侧也保持相同间距 */
}
.message.assistant .tts-controls {
background: var(--el-bg-color-page);
}
.message.assistant .tts-controls .tts-status {
color: var(--el-primary-color)
}
/* 保持按钮之间的间距不变 */
.tts-controls .el-button {
margin: 0; /* 移除默认边距 */
}
/* 修改搜索操作行样式 */
.search-action-row {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 15px;
width: 100%; /* 新增 */
}
/* 确保搜索框可以收缩 */
.search-input {
flex: 1 1 auto; /* 允许缩小 */
min-width: 200px; /* 保留最小宽度 */
}
/* 调整按钮容器 */
.action-buttons {
flex-shrink: 0; /* 禁止按钮收缩 */
display: flex; /* 水平排列按钮 */
margin: 0px;
}
.checkbox-no-label .el-checkbox__label {
display: none;
}
/* 工具栏整体 */
.toolbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
background: var(--el-bg-color);
border-radius: 8px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
margin-bottom: 12px;
gap: 12px; /* flex 子项间距 */
}
/* 全选复选框文字样式 */
.select-all-checkbox .el-checkbox__label {
font-weight: 500;
color: #303133;
margin-left: 6px;
}
/* 批量删除按钮 */
.batch-del-btn {
border-radius: 20px; /* 胶囊形状 */
padding: 6px 14px;
font-weight: 500;
box-shadow: 0 2px 4px rgba(245, 108, 108, 0.2);
transition: transform 0.15s;
}
.batch-del-btn:not(:disabled):hover {
transform: scale(1.05);
}
.batch-del-btn:disabled {
box-shadow: none;
transform: none;
}
.highlight-block {
display: flex;
flex-direction: column;
padding: 12px 16px;
background: var(--el-color-info);
border-radius: 8px;
border: 1px solid rgba(0, 0, 0, 0.1);
box-shadow:
0 2px 6px rgba(0, 0, 0, 0.1),
inset 0 1px 2px rgba(255, 255, 255, 0.3);
margin-bottom: 12px;
color: var(--el-bg-color-page);
max-height: 200px;
overflow-y: auto;
}
.highlight-block.expanded {
max-height: none !important; /* 展开 */
}
/* 滚动条样式 */
.highlight-block table::-webkit-scrollbar {
width: 5px; /* 横向滚动条宽度(如果有横向滚动的话) */
height: 5px; /* 纵向滚动条高度(虽然你这里主要是垂直滚动,但设置一下也可以统一样式) */
}
.highlight-block-error {
display: flex;
flex-direction: column;
padding: 12px 16px;
background: var(--el-color-danger);
border-radius: 8px;
border: 1px solid rgba(0, 0, 0, 0.1);
box-shadow:
0 2px 6px rgba(0, 0, 0, 0.1),
inset 0 1px 2px rgba(255, 255, 255, 0.3);
margin-bottom: 12px;
color: var(--el-bg-color-page);
overflow-y: auto;
}
.highlight-block-reasoning {
display: flex;
flex-direction: column;
padding: 12px 16px;
background: var(--el-color-warning);
border-radius: 8px;
border: 1px solid rgba(0, 0, 0, 0.1);
box-shadow:
0 2px 6px rgba(0, 0, 0, 0.1),
inset 0 1px 2px rgba(255, 255, 255, 0.3);
margin-bottom: 12px;
color: var(--el-bg-color-page);
}
/* 滚动条样式 */
.highlight-block-reasoning table::-webkit-scrollbar {
width: 5px; /* 横向滚动条宽度(如果有横向滚动的话) */
height: 5px; /* 纵向滚动条高度(虽然你这里主要是垂直滚动,但设置一下也可以统一样式) */
}
/* 进度条容器样式 */
.progress-container {
background-color: var(--el-bg-color);
color: var(--el-text-color-primary);
border-radius: 8px;
padding: 12px 15px;
border: 1px solid var(--el-border-color);
transition: all 0.3s ease;
margin-bottom: 12px;
}
/* 进度条信息样式 */
.progress-info {
font-size: 13px;
color: #606266;
font-weight: 500;
}
/* 进度条统计信息样式 */
.progress-stats {
text-align: center;
}
.model-info {
border-radius: 16px!important;
margin: 1px!important;
background-color: var(--el-bg-color-page);
color: var(--el-text-color);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.model-info:hover {
transform: scale(1.01);
}
.model-info .el-alert{
background-color: var(--el-bg-color-page)!important;
color: var(--el-primary-color)!important;
}
.event-button-group {
display: flex;
justify-content: flex-end; /* 靠右对齐 */
margin-bottom: 10px;
}
.knowledge-item.active {
background: var(--el-color-primary-light-9);
border: 1px solid #1890ff; /* 边框高亮 */
border-color: var(--el-color-primary);
color: var(--el-text-color-primary);
}
/* 头部 */
.tool-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:16px;
}
.header-buttons{
display:flex;
gap:8px;
}
/* 经典并排 */
.classic-box{
display:flex;
gap:16px;
}
.classic-panel{
flex:1;
display:flex;
flex-direction:column;
}
.panel-label{
font-size:14px;
color:#606266;
margin-bottom:6px;
}
/* 让 textarea 撑满 */
.classic-panel .el-textarea{
flex:1;
}
.segment-list {
scroll-behavior: smooth;
}
.chat-wrapper {
display: flex;
height: 100%;
position: relative;
gap: 0;
}
/* 拖拽遮罩层 */
.resize-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 9999;
cursor: col-resize;
background: transparent;
}
/* 对话区域 */
.chat-area {
width: 50%;
transition: width 0.2s ease-out;
flex-shrink: 0;
min-width: 0;
}
.chat-area-layout {
display: flex;
gap: 0;
min-height: 0;
height: 100%;
}
.chat-main-column {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
padding-left: 12px;
}
.chat-history-panel {
flex-shrink: 0;
min-width: 0;
background: transparent;
border-right: 1px solid var(--el-border-color);
overflow: hidden;
transition: width 0.2s ease-out, opacity 0.2s ease-out;
}
.chat-history-panel.collapsed {
width: 0;
opacity: 0;
border-right-width: 0;
}
.chat-history-inner {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
.chat-history-header {
display: flex;
flex-direction: column;
gap: 10px;
padding: 12px 14px 10px;
border-bottom: 1px solid var(--el-border-color-lighter);
}
.chat-history-header-top {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
flex-wrap: nowrap;
}
.chat-history-header-tools {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
flex-shrink: 0;
flex-wrap: nowrap;
}
.chat-history-heading {
min-width: 0;
flex: 1;
overflow: hidden;
}
.chat-history-title {
font-size: 16px;
font-weight: 700;
color: var(--el-text-color-primary);
white-space: nowrap;
}
.chat-history-subtitle {
margin-top: 4px;
font-size: 12px;
color: var(--el-text-color-secondary);
}
.chat-history-search {
padding: 10px 14px 6px;
}
.chat-history-header-actions {
display: flex;
gap: 8px;
align-items: center;
justify-content: center;
flex-wrap: nowrap;
width: 100%;
overflow: hidden;
}
.chat-history-header.stacked .chat-history-header-actions {
justify-content: center;
}
.chat-history-header-actions .el-button {
margin: 0 !important;
}
.chat-history-list {
flex: 1;
overflow-y: auto;
overflow-x: hidden;
padding: 8px 10px 16px;
}
.chat-history-group {
margin-bottom: 12px;
}
.chat-history-group-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 8px 10px;
border-radius: 12px;
cursor: pointer;
transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.chat-history-group-header:hover {
background: var(--el-fill-color-light);
}
.chat-history-group-header.active {
background: color-mix(in srgb, var(--el-color-primary-light-9) 80%, transparent);
box-shadow: inset 0 0 0 1px var(--el-color-primary-light-5);
}
.chat-history-group-title-wrap {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
}
.chat-history-group-actions {
display: flex;
align-items: center;
gap: 2px;
flex-shrink: 0;
}
.chat-history-group-icon {
color: var(--el-text-color-secondary);
font-size: 12px;
}
.chat-history-group-title {
font-size: 13px;
font-weight: 700;
color: var(--el-text-color-primary);
}
.chat-history-group-count {
font-size: 12px;
color: var(--el-text-color-secondary);
}
.chat-history-group-conversations {
overflow: hidden;
transform-origin: top;
}
.chat-history-group-collapse-enter-active,
.chat-history-group-collapse-leave-active {
transition: max-height 0.24s ease, opacity 0.2s ease, transform 0.24s ease;
}
.chat-history-group-collapse-enter-from,
.chat-history-group-collapse-leave-to {
max-height: 0;
opacity: 0;
transform: translateY(-6px);
}
.chat-history-group-collapse-enter-to,
.chat-history-group-collapse-leave-from {
max-height: 480px;
opacity: 1;
transform: translateY(0);
}
.chat-history-item {
width: 100%;
max-width: 100%;
box-sizing: border-box;
border: 0;
background: transparent;
display: flex;
align-items: flex-start;
gap: 10px;
padding: 12px;
border-radius: 14px;
text-align: left;
cursor: pointer;
transition: background-color 0.2s ease, transform 0.2s ease;
}
.chat-history-item:hover {
background: var(--el-fill-color-light);
transform: translateX(2px);
}
.chat-history-item.active {
background: var(--el-color-primary-light-9);
box-shadow: inset 0 0 0 1px var(--el-color-primary-light-5);
}
.chat-history-item-main {
flex: 1;
min-width: 0;
overflow: hidden;
}
.chat-history-item-top {
display: flex;
align-items: center;
gap: 8px;
}
.chat-history-item-title,
.chat-history-item-preview {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.chat-history-item-title {
flex: 1;
font-size: 14px;
font-weight: 600;
color: var(--el-text-color-primary);
}
.chat-history-item-time {
flex-shrink: 0;
font-size: 12px;
color: var(--el-text-color-secondary);
}
.chat-history-item-preview {
margin-top: 6px;
font-size: 12px;
color: var(--el-text-color-secondary);
}
.chat-history-item-actions {
display: flex;
align-items: center;
gap: 2px;
flex-shrink: 0;
}
.chat-history-more {
opacity: 0.7;
color: var(--el-text-color-secondary) !important;
}
.chat-history-toggle-btn {
opacity: 0.7;
color: var(--el-text-color-secondary) !important;
}
.chat-history-more:hover,
.chat-history-item:hover .chat-history-more,
.chat-history-group-header:hover .chat-history-more,
.chat-history-group-header:hover .chat-history-toggle-btn {
opacity: 1;
}
.chat-history-new-btn {
border: 0 !important;
border-radius: 999px !important;
padding: 12px 18px !important;
min-height: 46px;
background: linear-gradient(135deg, #5B8DEE 0%, #6FA7F6 100%) !important;
color: #fff !important;
font-weight: 700 !important;
box-shadow: 0 10px 20px rgba(91, 141, 238, 0.18);
flex-shrink: 0;
}
.chat-history-new-btn:hover {
background: linear-gradient(135deg, #4C7FDF 0%, #5D97EE 100%) !important;
color: #fff !important;
}
.chat-history-new-group-btn {
border: 1px solid #CBD5E1 !important;
border-radius: 999px !important;
padding: 12px 16px !important;
min-height: 46px;
background: #FFFFFF !important;
color: #475569 !important;
font-weight: 700 !important;
box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
flex-shrink: 0;
}
.chat-history-header-more-btn {
border-radius: 999px !important;
min-height: 46px;
width: 46px;
padding: 0 !important;
border: 1px solid #CBD5E1 !important;
background: #FFFFFF !important;
color: #475569 !important;
}
.chat-history-header-icon-btn {
width: 32px !important;
height: 32px !important;
min-height: 32px !important;
padding: 0 !important;
border-radius: 999px !important;
border: 1px solid #D7DEE8 !important;
background: #FFFFFF !important;
color: #64748B !important;
}
.chat-history-header-icon-btn.danger:hover {
background: #FEF2F2 !important;
color: #DC2626 !important;
border-color: #FECACA !important;
}
.chat-history-submenu-item {
padding: 0 !important;
}
.chat-history-submenu-trigger {
min-width: 150px;
padding: 8px 14px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
color: var(--el-text-color-primary);
}
.group-memory-switch-row {
display: flex;
align-items: center;
gap: 10px;
}
.group-memory-switch-hint {
font-size: 12px;
color: var(--el-text-color-secondary);
line-height: 1.5;
}
.chat-history-confirm-copy {
font-size: 14px;
color: var(--el-text-color-primary);
}
.chat-history-confirm-title {
margin-top: 10px;
font-size: 15px;
font-weight: 700;
color: var(--el-text-color-primary);
word-break: break-word;
}
.chat-history-confirm-note {
margin-top: 10px;
font-size: 13px;
line-height: 1.6;
color: var(--el-text-color-secondary);
}
.chat-history-delete-memory-option {
margin-top: 16px;
display: flex;
align-items: center;
gap: 10px;
color: var(--el-text-color-secondary);
}
.chat-history-divider {
width: 10px;
flex-shrink: 0;
cursor: col-resize;
position: relative;
}
.chat-history-divider::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 1px;
transform: translateX(-50%);
background: var(--el-border-color);
}
.chat-history-divider:hover::before {
background: var(--el-text-color-secondary);
}
.chat-history-empty {
min-height: 120px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
color: var(--el-text-color-secondary);
font-size: 13px;
}
/* 拖拽时禁用动画 */
.chat-wrapper.resizing .chat-area {
transition: none;
}
.chat-wrapper.collapsed-left .chat-area {
display: none;
}
.chat-wrapper.collapsed-right .chat-area {
width: 100%;
}
/* 侧边栏 */
.side-panel {
width: 50%;
flex-shrink: 0;
background: var(--el-bg-color-page);
border-radius: 8px;
box-shadow: 0 1px 4px rgba(0,0,0,.08);
display: flex;
align-items: center;
justify-content: center;
height: 100%;
flex-direction: column;
overflow-x: hidden;
transition: width 0.2s ease-out;
min-width: 0;
}
/* 拖拽时禁用动画 */
.chat-wrapper.resizing .side-panel {
transition: none;
}
.chat-wrapper.collapsed-right .side-panel {
display: none;
}
.chat-wrapper.collapsed-left .side-panel {
width: 100%;
}
.side-panel-scroll {
width: 100%;
flex: 1;
box-sizing: border-box;
padding: 0;
margin: 0;
}
/* 可拖拽分割条 */
.resizer {
width: 10px;
background: var(--el-border-color-light);
cursor: col-resize;
position: relative;
display: flex;
align-items: center;
justify-content: center;
transition: background-color .2s ease;
flex-shrink: 0;
z-index: 5;
}
.resizer:hover {
background: var(--el-color-primary);
}
.resizer-collapsed-right,
.resizer-collapsed-left {
position: absolute;
width: 24px;
height: 60px;
border-radius: 12px;
top: 50%;
transform: translateY(-50%);
background: var(--el-tag-bg-color);
box-shadow: 0 2px 8px rgba(0,0,0,.15);
cursor: pointer;
z-index: 10;
transition: all .2s ease;
}
/* 收起按钮的 hover 效果 - 只轻微移动 */
.resizer-collapsed-right:hover {
background: var(--el-color-primary-light-3);
transform: translateY(-50%) translateX(-2px); /* 只向左移动 2px */
}
.resizer-collapsed-left:hover {
background: var(--el-color-primary-light-3);
transform: translateY(-50%) translateX(2px); /* 只向右移动 2px */
}
.resizer-collapsed-right {
right: 0;
}
.resizer-collapsed-left {
left: 0;
}
.resizer-handle {
position: relative;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 4px;
box-sizing: border-box;
}
.resizer-dots {
display: flex;
flex-direction: column;
gap: 3px;
}
.resizer-dots .dot {
width: 4px;
height: 4px;
border-radius: 50%;
background: var(--el-text-color-regular);
transition: all .2s ease;
}
.resizer:hover .resizer-dots .dot {
background: white;
transform: scale(1.1); /* 减小缩放幅度 */
}
/* 展开按钮 - 保持绝对居中 */
.expand-chat-btn,
.expand-side-btn {
position: absolute;
top: 50%;
width: 24px;
height: 60px;
border-radius: 12px;
background: var(--el-color-primary);
color: var(--el-bg-color-page);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 12px;
transition: all .2s ease;
box-shadow: 0 2px 4px rgba(0,0,0,.1);
}
/* 展开按钮的定位 - 确保居中且不移动 */
.expand-chat-btn {
left: 50%;
transform: translate(-50%, -50%);
}
.expand-side-btn {
left: 50%; /* 改为 left 而不是 right,确保一致性 */
transform: translate(-50%, -50%);
}
/* 展开按钮的 hover 效果 - 只轻微缩放 */
.expand-chat-btn:hover,
.expand-side-btn:hover {
transform: translate(-50%, -50%) scale(1.05); /* 保持居中,只轻微缩放 */
box-shadow: 0 4px 8px rgba(0,0,0,.2);
background: var(--el-color-primary-dark-2);
}
/* 拖拽时的样式 */
.chat-wrapper.resizing {
cursor: col-resize;
}
.chat-wrapper.resizing .side-panel-iframe {
pointer-events: none;
}
.chat-wrapper.resizing * {
user-select: none;
}
.chat-wrapper.resizing .resizer {
background: var(--el-color-primary);
}
/* 添加更温和的视觉反馈区域 */
.resizer::before {
content: '';
position: absolute;
top: 0;
left: -1px;
right: -1px;
bottom: 0;
background: transparent;
transition: background-color .2s ease;
}
.resizer:hover::before {
background: var(--el-color-primary-light-9);
}
/* 为收起状态的按钮添加更温和的视觉效果 */
.resizer-collapsed-right::before,
.resizer-collapsed-left::before {
content: '';
position: absolute;
top: 3px;
left: 3px;
right: 3px;
bottom: 3px;
border-radius: 9px;
background: linear-gradient(135deg, var(--el-color-primary-light-8), var(--el-color-primary-light-6));
opacity: 0;
transition: opacity .2s ease;
}
.resizer-collapsed-right:hover::before,
.resizer-collapsed-left:hover::before {
opacity: 0.3; /* 降低透明度,更温和 */
}
/* 响应式处理 */
@media (max-width: 768px) {
.resizer {
display: none;
}
.chat-area-layout {
display: block;
}
.chat-history-panel,
.chat-history-divider {
display: none;
}
.chat-area,
.side-panel {
width: 100% !important;
}
}
/* 扩展相关样式 */
.side-panel-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
border-bottom: 1px solid var(--el-border-color-light);
}
.extension-switch-btn {
margin-left: 10px;
}
.extensions-list {
overflow-y: auto;
}
.extension-card {
margin: 10px 0;
cursor: pointer;
transition: all 0.3s;
background-color: var(--el-bg-color-page)!important;
color: var(--el-text-color-primary)!important;
}
.extension-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.extension-card.active {
border-color: var(--el-color-primary);
box-shadow: 0 0 0 1px var(--el-color-primary);
}
.extension-info h3 {
margin-top: 0;
margin-bottom: 8px;
}
.extension-info p {
color: var(--el-text-color-secondary);
margin-bottom: 8px;
}
.extension-meta {
display: flex;
justify-content: space-between;
font-size: 12px;
color: var(--el-text-color-secondary);
}
.extensions-divider {
margin: 12px 0;
}
.side-panel-content {
padding: auto;
margin: 6px;
}
.side-panel-iframe {
padding: 0;
margin: 0;
overflow: hidden;
height: 100%;
width: 100%;
}
.extension-card {
position: relative; /* 关键:让内部绝对定位相对于卡片 */
}
.btn-top-right {
position: absolute;
top: 12px;
right: 12px;
z-index: 1; /* 保证在卡片内容之上 */
}
.plugin-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
}
.plugin-header h3 {
margin: 0;
font-weight: 500;
color: var(--text-color);
}
.plugin-button-group {
display: flex;
gap: 10px; /* 按钮之间的间距 */
}
.plugins-container {
margin-top: 16px;
min-height: 200px;
}
.empty-plugins {
display: flex;
justify-content: center;
align-items: center;
height: 200px;
}
.plugins-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 16px;
margin-bottom: 16px;
}
.plugin-card {
display: flex;
flex-direction: column;
justify-content: space-between;
background-color: var(--el-bg-color);
border-radius: 12px;
padding: 16px;
transition: all var(--transition-duration) var(--transition-function);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
border: 1px solid var(--border-color);
height: 100%;
min-height: 140px;
}
.plugin-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.plugin-content {
flex: 1;
}
.plugin-name {
margin: 12px 0 12px 8px;
font-size: 16px;
font-weight: 500;
color: var(--text-color);
font-weight: bold;
}
.plugin-description {
margin: 0 0 0 8px;
font-size: 14px;
color: var(--el-text-color-secondary);
line-height: 1.5;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 3;
line-clamp: 3;
-webkit-box-orient: vertical;
}
.plugin-action {
margin-top: 16px;
display: flex;
justify-content: flex-end;
}
.sherpa-card {
margin-top: 12px;
border-radius: 24px; /* 整体圆角 */
overflow: hidden; /* 确保 header 圆角不被内容顶破 */
cursor: pointer;
transition: all 0.3s;
background-color: var(--el-bg-color-page)!important;
color: var(--el-text-color-primary)!important;
}
.sherpa-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.left-actions {
display: flex;
gap: 8px;
}
.loading-container {
display: flex;
justify-content: center;
align-items: center;
height: 100%; /* 全屏居中,你也可以改成具体高度 */
}
.loading-content {
text-align: center;
}
.loading-icon {
font-size: 48px; /* 图标更大 */
}
.loading-text {
margin-top: 16px;
font-size: 16px;
color: var(--el-text-color);
}
.line-box {
display: flex;
gap: 8px; /* 间距自己调 */
align-items: center;
}
.fill-input {
flex: 1; /* 动态占满剩余宽度 */
min-width: 0; /* 防止 flex 子项溢出 */
}
.log-dialog .el-dialog__body {
padding: 10px 20px;
z-index: 9999;
}
.log-container {
background-color: #1e1e1e;
color: #d4d4d4;
padding: 15px;
border-radius: 4px;
height: 500px;
overflow-y: auto;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 12px;
line-height: 1.5;
white-space: pre-wrap; /* 允许自动换行 */
word-break: break-all;
}
/* 滚动条整体宽高 */
.log-container::-webkit-scrollbar {
width: 10px; /* 垂直滚动条宽度 */
height: 10px; /* 水平滚动条高度 */
}
/* 滚动条轨道 (背景) */
.log-container::-webkit-scrollbar-track {
background: #2b2b2b; /* 比容器背景稍亮一点或保持一致 */
border-radius: 4px;
}
/* 滚动条滑块 (Handle) */
.log-container::-webkit-scrollbar-thumb {
background: #4c4c4c; /* 深灰色滑块 */
border-radius: 4px;
border: 2px solid #2b2b2b; /* 给滑块加个边框,产生间隙感 */
}
/* 鼠标悬停在滑块上 */
.log-container::-webkit-scrollbar-thumb:hover {
background: #6e6e6e; /* 悬停时变亮 */
}
/* 滚动条角落 (横竖滚动条交汇处) */
.log-container::-webkit-scrollbar-corner {
background: #1e1e1e;
}
:root {
/* 优化默认字体栈,使其在 Win/Mac 上都看起来原生 */
--el-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
/* 定义更柔和的通用阴影变量 */
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
--shadow-glow: 0 0 15px rgba(var(--el-color-primary-rgb), 0.3);
}
body {
/* 优化抗锯齿渲染 */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
/* 滚动条美化 - 更加纤细现代 */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background-color: rgba(144, 147, 153, 0.3);
border-radius: 10px;
transition: background-color 0.3s;
}
::-webkit-scrollbar-thumb:hover {
background-color: rgba(144, 147, 153, 0.5);
}
/* 覆盖侧边栏背景,与顶部栏保持一致 */
.sidebar {
background-color: var(--el-bg-color-page) !important;
backdrop-filter: none !important; /* 移除毛玻璃,与顶部栏统一 */
-webkit-backdrop-filter: none !important;
border-right: 1px solid var(--el-border-color-light) !important; /* 保留分割线 */
}
/* 菜单项优化 - 胶囊式选中态 */
.el-menu {
border-right: none !important;
background: transparent !important;
padding: 8px;
}
.el-menu-item {
border-radius: 8px;
margin-bottom: 4px;
height: 44px;
line-height: 44px;
background: transparent !important; /* 默认透明 */
}
.el-menu-item:hover {
background-color: rgba(128, 128, 128, 0.08) !important;
transform: translateX(2px);
}
.el-menu-item.is-active {
background: linear-gradient(90deg, var(--el-color-primary-light-9), var(--el-bg-color)) !important;
color: var(--el-color-primary) !important;
font-weight: 600;
box-shadow: inset 3px 0 0 var(--el-color-primary); /* 左侧指示条 */
}
/* 暗黑模式适配 */
[data-theme="dark"] .el-menu-item.is-active,
[data-theme="midnight"] .el-menu-item.is-active {
background: rgba(var(--el-color-primary-rgb), 0.15) !important;
}
/* 聊天容器背景微纹理 (可选,增加质感) */
.messages-container {
border: none !important;
box-shadow: none !important;
background-size: 30px 30px; /* 点阵背景 */
}
/* 消息气泡基础 */
.message-content {
box-shadow: var(--shadow-sm) !important;
border: none !important;
line-height: 1.7;
letter-spacing: 0.3px;
}
/* 用户气泡 - 更鲜艳、去边框 */
.user .message-content {
border-radius: 18px 18px 4px 18px !important; /* 右下角尖角 */
background: linear-gradient(135deg, var(--el-color-primary), var(--el-color-primary-light-3)) !important;
box-shadow: 0 4px 12px rgba(var(--el-color-primary-rgb), 0.25) !important;
}
/* AI 气泡 - 纯净感 */
.assistant .message-content {
border-radius: 18px 18px 18px 4px !important; /* 左下角尖角 */
background-color: var(--el-bg-color) !important;
border: 1px solid var(--el-border-color-lighter) !important;
}
/* 输入框区域 - 悬浮胶囊风格 */
.input-container.expanded-input,
.chat-area .el-textarea__inner {
border-radius: 16px !important;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* 聚焦时的输入框 - 发光效果 */
.el-textarea__inner:focus {
box-shadow: 0 0 0 2px var(--el-color-primary-light-5) inset, 0 4px 12px rgba(0,0,0,0.05) !important;
background-color: var(--el-bg-color) !important;
}
/* 通用卡片升级 */
.provider-card,
.vendor-card,
.tool-item,
.file-item,
.knowledge-item,
.extension-card {
border: 1px solid transparent !important; /* 默认隐藏边框 */
background: var(--el-bg-color) !important;
box-shadow: var(--shadow-sm) !important;
border-radius: 12px !important;
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important; /* 弹性动画 */
position: relative;
overflow: hidden;
}
/* 悬停时的“上浮”效果 */
.provider-card:hover,
.vendor-card:hover,
.tool-item:hover,
.file-item:hover,
.knowledge-item:hover,
.extension-card:hover {
transform: translateY(-4px) scale(1.01);
box-shadow: var(--shadow-lg) !important;
border-color: var(--el-color-primary-light-8) !important;
z-index: 2;
}
/* 给卡片顶部增加一个装饰性的彩色条 (可选) */
.provider-card::before,
.extension-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 3px;
background: linear-gradient(90deg, var(--el-color-primary), var(--el-color-primary-light-5));
opacity: 0;
transition: opacity 0.3s;
}
.provider-card:hover::before,
.extension-card:hover::before {
opacity: 1;
}
/* 按钮圆角化 */
.el-button {
border-radius: 8px !important;
font-weight: 500;
letter-spacing: 0.5px;
}
/* 主要按钮渐变增强 */
.el-button--primary {
background: linear-gradient(145deg, var(--el-color-primary), var(--el-color-primary-light-3)) !important;
border: none !important;
box-shadow: 0 2px 6px rgba(var(--el-color-primary-rgb), 0.3);
}
.el-button--primary:hover {
background: linear-gradient(145deg, var(--el-color-primary-light-3), var(--el-color-primary)) !important;
box-shadow: 0 4px 12px rgba(var(--el-color-primary-rgb), 0.4);
transform: translateY(-1px);
}
.el-button--primary:active {
transform: translateY(1px);
box-shadow: none;
}
/* 标签 (Tag) 样式优化 */
.el-tag {
border-radius: 6px;
border: none !important;
font-weight: 500;
}
/* 开关 (Switch) 样式优化 */
.el-switch__core {
border-radius: 16px !important;
}
.el-switch.is-checked .el-switch__core {
box-shadow: 0 0 8px rgba(var(--el-color-primary-rgb), 0.5);
}
.code-block {
border-radius: 12px !important;
overflow: hidden !important;
border: 1px solid rgba(128, 128, 128, 0.15) !important;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
margin: 1.5em 0 !important;
}
.code-header {
background: #282c34 !important; /* 固定深色头,对比更强 */
padding: 10px 16px !important;
}
.code-lang {
color: #abb2bf !important;
font-weight: 600;
font-size: 0.85em;
text-transform: uppercase;
}
.copy-button, .preview-button {
background: rgba(255,255,255,0.1) !important;
color: #fff !important;
border-radius: 4px;
}
.copy-button:hover {
background: rgba(255,255,255,0.2) !important;
}
[data-theme="dark"] .el-bg-color,
[data-theme="dark"] .sidebar,
[data-theme="dark"] .el-menu {
/* 避免纯黑,使用深灰蓝,护眼且高级 */
--bg-color: #121212;
}
[data-theme="dark"] .provider-card,
[data-theme="dark"] .message-content.assistant {
background-color: #1e1e1e !important;
border: 1px solid #333 !important;
}
[data-theme="dark"] .el-input__wrapper,
[data-theme="dark"] .el-textarea__inner {
background-color: #181818 !important;
box-shadow: 0 0 0 1px #333 inset !important;
}
/* 1. 基础状态:强制使用主题定义的背景色 */
.el-input__wrapper,
.el-textarea__inner {
/* 关键修改:使用 var(--el-input-bg-color) 读取你在 :root 或 data-theme 中定义的颜色 */
background-color: var(--el-input-bg-color) !important;
/* 边框:使用柔和的内阴影代替实线边框,颜色跟随主题 */
box-shadow: 0 0 0 1px var(--el-border-color) inset !important;
/* 质感优化 */
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
color: var(--el-input-text-color) !important;
}
/* 2. 悬停状态 (Hover) */
.el-input__wrapper:hover,
.el-textarea__inner:hover {
background-color: var(--el-input-bg-color) !important; /* 保持背景不变 */
box-shadow: 0 0 0 1px var(--el-input-hover-border-color) inset !important; /* 边框变色 */
}
/* 3. 聚焦状态 (Focus) */
.el-input__wrapper.is-focus,
.el-textarea__inner:focus {
/* 聚焦时背景色:稍微调亮一点,或者保持一致 */
background-color: var(--el-input-bg-color) !important;
/* 聚焦光晕:主色调边框 + 轻微阴影 */
box-shadow: 0 0 0 1px var(--el-color-primary) inset,
0 0 0 1px var(--el-color-primary) inset,
0 4px 12px rgba(0,0,0,0.08) !important;
}
/* 4. 输入框圆角统一优化 (保持之前的胶囊风格) */
.input-container.expanded-input,
.chat-area .el-textarea__inner,
.el-input__wrapper {
border-radius: 12px !important; /* 稍微减小一点圆角,更适合桌面端 */
}
/* 5. 修复输入文字颜色 */
.el-input__inner {
color: var(--el-input-text-color) !important;
/* 确保内部 input 标签本身背景透明,透出 wrapper 的颜色 */
background-color: transparent !important;
}
/* 修复供应商卡片选中状态被覆盖的问题 */
.vendor-card.selected {
border-color: var(--el-color-primary) !important;
background-color: var(--el-color-primary-light-9) !important; /* 建议使用 light-9 或 light-7,视主题深浅调整 */
box-shadow: 0 0 0 1px var(--el-color-primary) inset !important; /* 可选:增加内描边增强选中感 */
}
/* 暗色模式下的选中状态适配 */
[data-theme="dark"] .vendor-card.selected {
background-color: rgba(var(--el-color-primary-rgb), 0.2) !important;
}
/* =========================================
AI 推理与工具展示 - 现代卡片 (右下角水印版)
========================================= */
/* 1. 通用基础容器 */
.highlight-block,
.highlight-block-reasoning {
position: relative;
margin: 12px 0;
/* 顶部恢复紧凑,底部留出空间给水印 */
padding: 12px 16px 24px 16px;
border-radius: 12px;
font-size: 13px;
line-height: 1.6;
width: auto;
max-width: 100%;
overflow-x: hidden; /* 防止内容撑开 */
transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* -----------------------------------------
2. 推理块 (Thinking) - 暖色调
----------------------------------------- */
.highlight-block-reasoning {
/* 背景:极淡的暖色混合 */
background-color: rgba(255, 165, 0, 0.03);
/* 左侧装饰线:保留方案一的设计感 */
border: none;
border-left: 3px solid var(--el-color-warning);
/* 文字样式 */
color: var(--el-text-color-regular);
font-family: var(--el-font-family);
}
/* 右下角不起眼的水印 */
.highlight-block-reasoning::after {
content: "THINKING PROCESS";
position: absolute;
bottom: 5px;
right: 12px;
font-size: 9px; /* 极小字号 */
font-weight: 700;
color: var(--el-text-color-placeholder); /* 使用占位符颜色,非常淡 */
text-transform: uppercase;
letter-spacing: 1px; /* 增加字间距,提升精致感 */
opacity: 0.5; /* 进一步降低不透明度 */
pointer-events: none; /* 不影响鼠标点击 */
}
/* 推理内容字体微调 */
.highlight-block-reasoning p,
.highlight-block-reasoning div {
margin: 0.5em 0;
opacity: 0.95;
}
/* -----------------------------------------
3. 工具块 (Tools) - 冷色调/科技感
----------------------------------------- */
.highlight-block {
/* 背景:极淡的冷色混合 */
background-color: color-mix(in srgb, var(--el-color-info) 6%, transparent);
/* 左侧装饰线:区分于推理块 */
border: none;
border-left: 3px solid var(--el-color-info);
/* 文字:等宽字体 */
font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
color: var(--el-text-color-secondary);
font-size: 12px;
}
/* 右下角水印 */
.highlight-block::after {
content: "TOOL OUTPUT";
position: absolute;
bottom: 5px;
right: 12px;
font-size: 9px;
font-weight: 700;
color: var(--el-text-color-placeholder);
text-transform: uppercase;
letter-spacing: 1px;
opacity: 0.5;
pointer-events: none;
}
/* -----------------------------------------
4. 交互与细节
----------------------------------------- */
/* 悬停效果:轻微上浮,背景加深 */
.highlight-block:hover,
.highlight-block-reasoning:hover {
background-color: rgba(0, 0, 0, 0.05); /* 通用加深 */
transform: translateY(-1px);
}
/* 内部滚动条美化 (当内容过长出现滚动时) */
.highlight-block::-webkit-scrollbar,
.highlight-block-reasoning::-webkit-scrollbar {
height: 4px;
width: 4px;
}
.highlight-block::-webkit-scrollbar-track,
.highlight-block-reasoning::-webkit-scrollbar-track {
background: transparent;
}
.highlight-block::-webkit-scrollbar-thumb,
.highlight-block-reasoning::-webkit-scrollbar-thumb {
background: rgba(128, 128, 128, 0.2);
border-radius: 4px;
}
/* =========================================
2. Markdown 表格高级样式 & 下载按钮
========================================= */
/* 表格外部容器 (由JS生成) */
.markdown-table-wrapper {
position: relative;
margin: 1.5em 0;
border-radius: 12px;
/* --- 核心修改开始 --- */
display: block; /* 保持块级特性(换行) */
width: fit-content; /* 关键:宽度适配内容 */
min-width: 50px; /* 关键:设置最小宽度,防止表格太窄时下载按钮遮挡表头 */
max-width: 100%; /* 防止超出父容器宽度 */
overflow-x: auto; /* 如果表格比屏幕宽,允许横向滚动 */
/* --- 核心修改结束 --- */
/* 边框和背景跟随主题 */
border: 1px solid var(--el-border-color-light);
background-color: var(--el-bg-color);
/* 阴影 */
box-shadow: var(--shadow-sm, 0 2px 6px rgba(0,0,0,0.04));
transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.markdown-table-wrapper table {
width: 100%;
border-collapse: collapse;
margin: 0 !important; /* 去掉 table 自身的 margin */
border: none !important; /* 边框交给 wrapper */
}
/* 优化滚动条样式(防止在Windows下滚动条太丑破坏圆角) */
.markdown-table-wrapper::-webkit-scrollbar {
height: 6px; /* 横向滚动条高度 */
}
.markdown-table-wrapper::-webkit-scrollbar-thumb {
background-color: var(--el-border-color);
border-radius: 4px;
}
/* 重置 Markdown 内部表格样式 */
.markdown-body table {
width: 100%;
border-collapse: separate; /* 关键:分离边框以支持圆角 */
border-spacing: 0;
border: none !important;
margin: 0 !important;
}
/* 表头样式 */
.markdown-body table th {
/* 背景色:使用主题定义的 Page 背景或浅色主色 */
background-color: var(--el-color-primary) !important;
color: white !important;
font-weight: 600;
padding: 12px 16px;
text-align: left;
border-bottom: 1px solid var(--el-border-color-light);
border-right: 1px solid transparent; /* 占位 */
}
/* 单元格样式 */
.markdown-body table td {
padding: 12px 16px;
color: var(--el-text-color-regular);
background-color: var(--el-bg-color);
border-bottom: 1px solid var(--el-border-color-lighter);
transition: background-color 0.2s;
}
/* 斑马纹 (偶数行) */
.markdown-body table tr:nth-child(even) td {
background-color: var(--el-fill-color-lighter, rgba(128,128,128, 0.03));
}
/* 鼠标悬停行高亮 */
.markdown-body table tr:hover td {
/* 混合主色调来实现高亮,适应所有主题颜色 */
background-color: color-mix(in srgb, var(--el-color-primary) 8%, var(--el-bg-color)) !important;
}
/* 移除最后一行底部的边框,完美贴合圆角容器 */
.markdown-body table tr:last-child td {
border-bottom: none;
}
/* --- 表格下载按钮 --- */
.table-download-btn {
position: absolute;
top: 8px;
right: 8px;
z-index: 10;
padding: 4px 12px;
/* 按钮颜色跟随主题 */
background-color: var(--el-bg-color);
border: 1px solid var(--el-border-color);
color: var(--el-text-color-secondary);
border-radius: 6px;
font-size: 12px;
cursor: pointer;
display: flex;
align-items: center;
gap: 6px;
opacity: 0;
transform: translateY(-5px);
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: var(--shadow-sm);
}
/* 只有鼠标进入表格区域时才显示按钮 */
.markdown-table-wrapper:hover .table-download-btn {
opacity: 1;
transform: translateY(0);
}
.table-download-btn:hover {
color: var(--el-color-primary);
border-color: var(--el-color-primary);
background-color: var(--el-color-primary-light-9);
}
/* =========================================
3. Markdown 链接美化:高级灰色胶囊按钮
========================================= */
/* 1. 基础样式:重置默认的蓝色链接,改为灰色胶囊 */
.markdown-body a {
display: inline-flex; /* 让链接像个小盒子,支持 padding */
align-items: center; /* 内容垂直居中 */
vertical-align: middle; /* 与周围文字对齐 */
/* 尺寸与间距 */
padding: 2px 10px 2px 8px; /* 上下紧凑,左右宽敞 */
margin: 0 4px; /* 链接之间留点空隙 */
border-radius: 14px; /* 完整的圆角 (胶囊形) */
/* 字体设置 */
font-size: 0.9em; /* 比正文稍小,更精致 */
line-height: 1.5;
text-decoration: none !important; /* 去掉下划线 */
/* --- 颜色系统 (高级灰) --- */
/* 背景:使用极浅的填充色 */
background-color: var(--el-fill-color, #f0f2f5);
/* 边框:浅灰色描边 */
border: 1px solid var(--el-border-color, #dcdfe6);
/* 文字:次级文字颜色 (深灰) */
color: var(--el-text-color-regular, #606266) !important;
/* 动画 */
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
/* 强制不换行 (可选,防止长链接标题被打断,如果标题很长建议去掉这行) */
/* white-space: nowrap; */
/* max-width: 100%; */
}
/* 2. 添加链接图标前缀 (增加识别度) */
.markdown-body a::before {
/* 使用 FontAwesome 的链接图标 */
content: "\f0c1";
font-family: "Font Awesome 6 Free";
font-weight: 900;
margin-right: 6px; /* 图标和文字的间距 */
font-size: 0.85em; /* 图标稍小 */
opacity: 0.6; /* 图标半透明,不要太抢眼 */
transition: transform 0.2s;
}
/* 3. 悬停状态 (Hover):变色、上浮、投影 */
.markdown-body a:hover {
/* 背景:变成极浅的主色调 */
background-color: var(--el-color-primary-light-9) !important;
/* 边框:变成主色调 */
border-color: var(--el-color-primary) !important;
/* 文字:变成主色调 */
color: var(--el-color-primary) !important;
/* 交互反馈 */
transform: translateY(-1px); /* 微微上浮 */
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); /* 增加投影 */
}
/* 悬停时图标的小动画 */
.markdown-body a:hover::before {
opacity: 1;
transform: rotate(-45deg); /* 图标旋转一下,增加灵动感 */
}
/* 4. 点击状态 (Active) */
.markdown-body a:active {
transform: translateY(0);
box-shadow: none;
background-color: var(--el-color-primary-light-8) !important;
}
/* ========================================= */
/* A2UI 自动适配主题样式 (全主题兼容版) */
/* ========================================= */
/* 1. 根容器通用样式 */
.a2ui-root {
margin: 10px 0;
border-radius: 12px;
transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
/* 确保文字颜色跟随主题 */
color: var(--text-color);
}
/* 2. 表单/组合模式的容器 */
.a2ui-root-boxed {
/* ★ 关键修改:使用 --bg-color (你的主题基础色) 而不是 overlay */
/* 这样无论你是深蓝还是深紫,背景都会一致 */
background-color: var(--bg-color, var(--el-bg-color));
/* 边框使用半透明色,适配所有深浅背景 */
border: 1px solid rgba(128, 128, 128, 0.2);
/* 阴影更柔和 */
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
padding: 20px;
}
/* 3. 卡片/纯净模式的容器 (透明) */
.a2ui-root-clean {
background-color: transparent;
border: none;
box-shadow: none;
padding: 0;
}
/* 4. 标题栏 */
.a2ui-title {
color: var(--el-text-color-primary);
/* 分割线改为半透明,适配所有色调 */
border-bottom: 1px solid rgba(128, 128, 128, 0.2);
font-weight: bold;
font-size: 16px;
margin-bottom: 15px;
padding-bottom: 10px;
}
/* 5. 纯文本内容 */
.a2ui-text-content {
color: var(--el-text-color-regular);
font-size: 14px;
margin-bottom: 12px;
line-height: 1.6;
white-space: pre-wrap;
}
/* 6. 内部卡片样式 */
.a2ui-inner-card {
/* ★ 关键修改:强制使用主题背景色 */
background-color: var(--bg-color, var(--el-bg-color)) !important;
border: 1px solid rgba(128, 128, 128, 0.2) !important;
color: var(--el-text-color-primary) !important;
border-radius: 12px !important;
margin-bottom: 12px;
/* 移除 Element Plus 默认阴影,避免在深色主题显得脏 */
box-shadow: none !important;
}
.a2ui-inner-card .el-card__header {
border-bottom: 1px solid rgba(128, 128, 128, 0.15) !important;
color: var(--el-text-color-primary);
}
/* 7. 卡片描述文字 */
.a2ui-card-desc {
font-size: 14px;
color: var(--el-text-color-secondary);
line-height: 1.6;
}
/* 8. 卡片底部操作栏 */
.a2ui-card-actions {
margin-top: 15px;
text-align: right;
border-top: 1px solid rgba(128, 128, 128, 0.15); /* 半透明分割线 */
padding-top: 12px;
}
/* 9. 布局容器 */
.a2ui-group-container {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
}
.a2ui-form-container {
display: block;
}
/* ========================================= */
/* A2UI List & News 样式 (半透明适配版) */
/* ========================================= */
.a2ui-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.a2ui-list-item {
padding: 12px;
border-radius: 8px;
/* ★ 关键修改:使用 rgba 半透明背景 ★ */
/* 在亮色主题是 5% 黑色 (浅灰),在深色主题是 5% 白色 (微亮) */
/* 为了兼容,我们使用 CSS 变量 fallback 或者简单的白色半透明叠加 */
background-color: rgba(125, 125, 125, 0.08);
cursor: pointer;
transition: all 0.2s;
border: 1px solid transparent;
}
.a2ui-list-item:hover {
/* 悬停时加深背景浓度 */
background-color: rgba(125, 125, 125, 0.15);
transform: translateX(4px);
}
/* 针对暗色主题的特调 (可选,如果上面的 rgba 效果不够好) */
[data-theme="dark"] .a2ui-list-item,
[data-theme="midnight"] .a2ui-list-item,
[data-theme="neon"] .a2ui-list-item {
background-color: rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .a2ui-list-item:hover,
[data-theme="midnight"] .a2ui-list-item:hover,
[data-theme="neon"] .a2ui-list-item:hover {
background-color: rgba(255, 255, 255, 0.1);
}
.a2ui-list-title {
font-weight: 600;
font-size: 15px;
color: var(--el-text-color-primary);
margin-bottom: 4px;
line-height: 1.4;
}
.a2ui-list-desc {
font-size: 13px;
color: var(--el-text-color-secondary);
margin-bottom: 8px;
line-height: 1.5;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.a2ui-list-meta {
display: flex;
align-items: center;
font-size: 12px;
color: var(--el-text-color-placeholder);
}
.a2ui-list-meta .tag {
/* 使用透明度混合的主色,适配任何背景 */
background-color: var(--el-color-primary-light-9);
color: var(--el-color-primary);
padding: 2px 6px;
border-radius: 4px;
margin-right: 8px;
font-weight: 500;
/* 确保在深色模式下 Tag 不会太刺眼 */
filter: brightness(0.95);
}
/* 修复 A2UI 内 Markdown 内容的间距 */
.a2ui-text-content p,
.a2ui-card-desc p {
margin-bottom: 8px; /* 减小段落间距 */
margin-top: 0;
}
.a2ui-text-content p:last-child,
.a2ui-card-desc p:last-child {
margin-bottom: 0;
}
.a2ui-text-content ul,
.a2ui-card-desc ul {
padding-left: 20px; /* 确保列表符号显示 */
margin: 5px 0;
}
/* ========================================= */
/* A2UI 新增交互组件样式 (Form Controls) */
/* ========================================= */
/* 1. 单选框 & 多选框组 (Radio & Checkbox) */
/* 让选项组自动换行,避免手机端溢出 */
.a2ui-root .el-radio-group,
.a2ui-root .el-checkbox-group {
display: flex;
flex-wrap: wrap;
gap: 10px;
width: 100%;
}
/* 增强带边框的选项样式 (使其看起来像小卡片) */
.a2ui-root .el-radio.is-bordered,
.a2ui-root .el-checkbox.is-bordered {
margin-right: 0 !important; /* 移除 Element 默认右边距,改用 gap 控制 */
background-color: rgba(125, 125, 125, 0.04); /* 微弱的背景填充 */
border-color: rgba(128, 128, 128, 0.2); /* 半透明边框 */
transition: all 0.2s;
}
/* 选中状态:使用主题主色,并增加不透明度 */
.a2ui-root .el-radio.is-bordered.is-checked,
.a2ui-root .el-checkbox.is-bordered.is-checked {
background-color: var(--el-color-primary-light-9);
border-color: var(--el-color-primary);
}
/* 2. 评分组件 (Rate) */
.a2ui-root .el-rate {
height: auto;
padding: 5px 0;
display: flex;
align-items: center;
}
.a2ui-root .el-rate__text {
/* 确保评分后的文字 (如"满意") 颜色跟随主题 */
color: var(--el-text-color-regular) !important;
margin-left: 10px;
}
/* 3. 滑块组件 (Slider) */
.a2ui-root .el-slider__runway {
/* 滑块轨道背景适配 */
background-color: var(--el-border-color-lighter);
}
/* 修复滑块输入框在某些主题下的背景 */
.a2ui-root .el-slider__input .el-input__wrapper {
background-color: transparent;
box-shadow: 0 0 0 1px var(--el-border-color) inset;
}
/* 4. 警告/提示条 (Alert) */
.a2ui-root .el-alert {
margin: 0;
border: 1px solid transparent;
/* 稍微圆润一点,符合聊天气泡风格 */
border-radius: 8px;
}
/* 针对不同类型的 Alert 微调背景透明度 (可选,Element Plus 默认其实不错) */
/* 这里主要是为了修复 Markdown 在 Alert 里的边距问题 */
.a2ui-root .el-alert .el-alert__content {
width: 100%; /* 确保内容占满 */
}
/* 修复:Alert 内部 Markdown <p> 标签会导致垂直间距过大 */
.a2ui-root .el-alert .el-alert__description p {
margin: 4px 0;
line-height: 1.5;
}
.a2ui-root .el-alert .el-alert__description p:first-child {
margin-top: 0;
}
.a2ui-root .el-alert .el-alert__description p:last-child {
margin-bottom: 0;
}
/* 5. 日期选择器 (DatePicker) */
.a2ui-root .el-date-editor.el-input,
.a2ui-root .el-date-editor.el-input__wrapper {
width: 100%; /* 强制占满容器 */
box-sizing: border-box;
}
/* ========================================= */
/* 移动端适配微调 */
/* ========================================= */
@media (max-width: 768px) {
/* 手机上 Radio/Checkbox 占满一行,便于点击 */
.a2ui-root .el-radio.is-bordered,
.a2ui-root .el-checkbox.is-bordered {
width: 100%;
justify-content: center; /* 文字居中 */
}
/* 手机上 Slider 的输入框可能太挤,可以隐藏或缩小 */
.a2ui-root .el-slider__input {
width: 60px;
}
.a2ui-root .el-slider__runway.show-input {
margin-right: 75px; /* 给输入框留位置 */
}
}
/* ========================================= */
/* A2UI Code 组件样式 (Mac 风格终端) */
/* ========================================= */
.a2ui-code-block {
margin-bottom: 15px;
border-radius: 8px;
overflow: hidden; /* 确保圆角不被内部溢出破坏 */
font-family: 'Menlo', 'Monaco', 'Consolas', 'Courier New', monospace;
border: 1px solid rgba(128, 128, 128, 0.2);
/* 自动适配背景色:
亮色模式:非常浅的灰色
深色模式:深黑灰色 (接近 VSCode)
*/
background-color: var(--code-bg-color, #282c34);
}
/* 顶部栏 (语言标签 + 复制按钮) */
.a2ui-code-block .code-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 12px;
/* 顶部栏背景:稍微比代码区深一点或浅一点,形成层次感 */
background-color: rgba(128, 128, 128, 0.1);
border-bottom: 1px solid rgba(128, 128, 128, 0.1);
user-select: none;
}
.a2ui-code-block .lang-tag {
font-size: 12px;
color: var(--el-text-color-secondary);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* 复制按钮 */
.a2ui-code-block .copy-btn {
display: flex;
align-items: center;
gap: 6px;
font-size: 12px;
color: var(--el-text-color-secondary);
cursor: pointer;
transition: all 0.2s;
padding: 4px 8px;
border-radius: 4px;
}
.a2ui-code-block .copy-btn:hover {
background-color: rgba(128, 128, 128, 0.15);
color: var(--el-color-primary);
}
/* 代码内容区 */
.a2ui-code-block .code-body {
padding: 12px;
overflow-x: auto; /* 超出宽度横向滚动 */
}
/* 核心 Pre/Code 样式 */
.a2ui-code-block .code-body pre {
margin: 0;
padding: 0;
background-color: var(--code-bg-color, #282c34);
border: none;
line-height: 1.5;
color: var(--el-text-color-secondary);
}
.a2ui-code-block .code-body pre code {
font-size: 13px;
/* 确保代码颜色在深浅模式下可见 */
color: var(--el-text-color-secondary);
white-space: pre; /* 保持格式 */
word-wrap: normal;
}
/* 移除 markdown 内容中最后一个元素的底部边距 */
.markdown-body > *:last-child,
.markdown-body > div > *:last-child {
margin-bottom: 0 !important;
}
/* 针对你代码中的特定结构,可能还需要深入一层 */
.markdown-body p:last-child {
margin-bottom: 0 !important;
}
/* A2UI TTS Block 样式 */
.a2ui-tts-block {
display: flex;
align-items: flex-start;
background-color: var(--el-bg-color-page); /* 适配亮/暗模式 */
border: 1px solid var(--el-border-color-lighter);
border-radius: 8px;
padding: 12px 16px;
margin-bottom: 15px;
cursor: pointer;
transition: all 0.2s ease;
position: relative;
width: 100%;
box-sizing: border-box;
}
.a2ui-tts-block:hover {
background-color: var(--el-bg-color-page);
border-color: var(--el-color-primary);
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.a2ui-tts-block:active {
transform: translateY(0);
}
.a2ui-tts-block .tts-icon {
margin-right: 12px;
font-size: 18px;
color: var(--el-color-primary);
margin-top: 2px; /* 图标微调 */
flex-shrink: 0;
}
.a2ui-tts-block .tts-body {
flex: 1;
min-width: 0; /* 防止 flex 子项溢出 */
}
.a2ui-tts-block .tts-label {
font-size: 12px;
color: var(--el-text-color-secondary);
margin-bottom: 4px;
}
.a2ui-tts-block .tts-content {
font-size: 14px;
color: var(--el-text-color-primary);
line-height: 1.5;
}
/* 去除 Markdown 默认的 margin */
.a2ui-tts-block .tts-content p {
margin: 0;
}
.a2ui-tts-block .tts-action-hint {
margin-left: 12px;
font-size: 12px;
color: var(--el-text-color-placeholder);
opacity: 0;
transition: opacity 0.2s;
display: flex;
align-items: center;
height: 100%;
}
.a2ui-tts-block:hover .tts-action-hint {
opacity: 1;
}
/* --- 脚注样式修正 --- */
/* 1. 针对正文右上角的引用链接 */
.footnote-ref a {
/* 强制重置样式,清除可能的背景图或边框 */
text-decoration: none !important;
background: #eee !important; /* 浅灰背景 */
border: none !important;
outline: none !important;
/* 核心:固定宽高 + Flex 居中 = 完美圆形 */
display: inline-flex !important;
align-items: center;
justify-content: center;
width: 16px !important; /* 强制宽度 */
height: 16px !important; /* 强制高度 */
border-radius: 50% !important;
/* 文字样式 */
color: #555 !important;
font-size: 10px !important;
font-weight: 700;
line-height: 1 !important; /* 防止行高撑开 */
padding: 0 !important; /* 清除内边距 */
margin: 0 2px; /* 左右留点缝隙 */
/* 动画 */
transition: all 0.2s ease;
}
/* 2. 核心修复:屏蔽伪元素产生的“链接图标” */
/* 大多数全局链接图标是通过 ::after 或 ::before 添加的 */
.footnote-ref a::after,
.footnote-ref a::before {
content: none !important;
display: none !important;
width: 0 !important;
margin: 0 !important;
}
/* 3. 如果图标是作为子元素 <i> 存在的,也隐藏它 */
.footnote-ref a i,
.footnote-ref a svg {
display: none !important;
}
/* 4. 悬停高亮 */
.footnote-ref a:hover {
background-color: var(--el-color-primary) !important;
color: #fff !important;
transform: scale(1.1);
}
/* 调整 sup 标签位置,让圆圈跟文字对齐稍微舒服点 */
sup.footnote-ref {
top: -0.6em;
font-size: 100%; /* 防止sup再次缩小字体 */
}
/* 隐藏插件默认生成的分割线 */
hr.footnotes-sep {
display: none !important;
}
/* 确保底部脚注区域只有一个上边框 */
.footnotes {
margin-top: 0px;
padding-top: 20px;
border-top: 1px solid #e0e0e0; /* 这里保留你自己想要的分割线 */
color: #666;
font-size: 0.9em;
}
.footnote-backref {
text-decoration: none !important; /* 去掉下划线 */
border: none !important; /* 去掉可能的边框 */
margin-left: 4px; /* 与文字隔开一点距离 */
color: #409eff; /* 设置为你想要的主题色 */
font-family: sans-serif; /* 确保符号显示正常 */
}
/* 核心:隐藏该链接自动附加的图标 (伪元素) */
.footnote-backref::after,
.footnote-backref::before {
content: none !important;
display: none !important;
width: 0 !important;
}
/* 防御性代码:如果图标是通过内部 i/svg 标签实现的,也隐藏掉 */
.footnote-backref i,
.footnote-backref svg {
display: none !important;
}
/* 鼠标悬停效果 */
.footnote-backref:hover {
color: var(--el-color-primary) !important;
cursor: pointer;
}
/* --- START OF STREAMDOWN OPTIMIZATIONS --- */
/* 1. 解决表格/布局抖动核心修复 */
/* 强制表格容器块级化,防止内容撑开导致父级跳动 */
.markdown-body table {
display: block !important; /* 覆盖原本的 display: table */
width: 100% !important;
overflow-x: auto !important; /* 允许横向滚动 */
table-layout: auto !important; /* 让浏览器自动布局 */
margin-bottom: 1em !important;
border-collapse: collapse !important;
/* 防止空表头导致高度塌陷 */
min-height: 40px;
}
/* 固定单元格行为,减少文字输入时的微小跳动 */
.markdown-body th,
.markdown-body td {
min-width: 60px; /* 最小宽度 */
word-break: break-word; /* 允许换行 */
white-space: normal;
transition: background-color 0.2s; /* 仅颜色过渡,不过渡宽高 */
}
/* 2. 丝滑扫描进场动画 (Stream Effect) */
@keyframes stream-slide-in {
0% {
opacity: 0;
transform: translateY(4px) translateX(-3px);
filter: blur(1px);
}
100% {
opacity: 1;
transform: translateY(0) translateX(0);
filter: blur(0);
}
}
/* 应用动画到 Markdown 的块级元素 */
.markdown-body > p,
.markdown-body > ul,
.markdown-body > ol,
.markdown-body > table,
.markdown-body > blockquote,
.markdown-body > pre {
animation: stream-slide-in 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
transform-origin: left center;
will-change: transform, opacity, filter;
}
/* 列表项逐个出现 */
.markdown-body li {
animation: stream-slide-in 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
will-change: transform, opacity, filter;
}
/* 3. 光标特效 (仅在正在生成的最后一段显示) */
/* 我们通过 JS 给正在生成的容器加 .streaming 类 */
.streaming > *:last-child::after {
content: '';
display: inline-block;
width: 6px;
height: 1.2em;
background-color: var(--el-color-primary);
margin-left: 4px;
vertical-align: sub;
animation: stream-blink 1s step-end infinite;
box-shadow: 0 0 8px var(--el-color-primary);
}
/* 代码块里不显示光标 */
.streaming > pre:last-child::after {
display: none;
}
@keyframes stream-blink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
/* Respect OS-level motion reduction preferences */
@media (prefers-reduced-motion: reduce) {
.markdown-body > p,
.markdown-body > ul,
.markdown-body > ol,
.markdown-body > table,
.markdown-body > blockquote,
.markdown-body > pre,
.markdown-body li {
animation: none !important;
will-change: auto !important;
}
.streaming > *:last-child::after {
animation: none !important;
opacity: 1;
}
}
/* 4. 代码块防抖优化 */
.markdown-body pre code {
/* 强制换行,防止代码过长导致布局瞬间撑开 */
white-space: pre-wrap !important;
word-break: break-all !important;
}
/* --- 修复表格底部空隙 --- */
/* 1. 强制去除 Wrapper 内部 Table 的所有外边距 */
/* markdown-body 通常给 table 设了 margin-bottom: 1rem,这会导致 Wrapper 底部有大片空白 */
.markdown-table-wrapper table {
margin: 0 !important;
border-bottom: none !important; /* 避免双重边框 */
}
/* 2. 确保 Wrapper 紧贴内容 */
.markdown-table-wrapper {
/* 确保 wrapper 自身没有多余的 padding */
padding: 0 !important;
/* 确保溢出处理正确 */
overflow: hidden;
/* 重新把圆角加回来,防止直角表格刺破圆角容器 */
border-radius: 8px;
}
/* 3. 去掉最后一行单元格的底部边框 (可选,为了完美视觉) */
/* 因为 Wrapper 已经有边框了,如果最后一行也有 border-bottom,看起来会变粗 */
.markdown-table-wrapper table tr:last-child td {
border-bottom: none !important;
}
/* 4. 修复水平滚动条导致的高度 (可选) */
/* 如果你需要横向滚动,确保滚动条不占据非滚动状态的高度 */
.markdown-table-wrapper::-webkit-scrollbar {
height: 6px;
background: transparent;
}
/* --- END OF STREAMDOWN OPTIMIZATIONS --- */
/* =========================================
IOS Minimalist Browser Theme (Theme Adapted)
========================================= */
/* 容器 */
.ai-browser-container {
display: flex;
flex-direction: column;
height: 100% !important; /* 强制占满父容器高度 */
/* 使用页面背景变量 */
background-color: var(--el-bg-color-page);
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
transition: background-color 0.3s;
}
/* --- 顶部 Header --- */
.browser-header {
/* 使用混合色实现半透明:取85%的主题背景色,混入透明色 */
background: color-mix(in srgb, var(--el-bg-color) 85%, transparent);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid var(--el-border-color-light);
z-index: 100;
padding-bottom: 8px;
}
/* --- 标签栏 --- */
.browser-tabs {
display: flex;
align-items: center;
padding: 8px 12px 0 12px;
gap: 6px;
overflow-x: auto;
}
/* 标签样式 */
.browser-tab {
display: flex;
align-items: center;
justify-content: space-between;
width: 180px;
height: 34px;
background: transparent;
border-radius: 8px;
padding: 0 10px;
font-size: 12px;
color: var(--el-text-color-regular); /* 适配文字颜色 */
cursor: pointer;
transition: all 0.2s ease;
border: 1px solid transparent;
}
.browser-tab.active {
background: var(--el-bg-color); /* 激活时使用卡片背景 */
color: var(--el-text-color-primary);
box-shadow: 0 1px 4px rgba(0,0,0,0.05); /* 阴影保持微弱 */
border: 1px solid var(--el-border-color-lighter);
}
.tab-content {
display: flex;
align-items: center;
width: 85%;
overflow: hidden;
}
.tab-icon img, .tab-icon i {
width: 14px;
height: 14px;
margin-right: 8px;
font-size: 14px;
color: var(--el-text-color-secondary);
}
.browser-tab.active .tab-icon i {
color: var(--el-color-primary); /* 激活图标使用主色 */
}
.tab-title {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-weight: 500;
}
.tab-close {
opacity: 0;
width: 16px;
height: 16px;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
transition: all 0.2s;
color: var(--el-text-color-secondary);
}
.browser-tab:hover .tab-close {
opacity: 1;
}
.tab-close:hover {
background: var(--el-bg-color-page);
color: var(--el-color-danger);
}
.new-tab-btn {
width: 28px;
height: 28px;
border: none;
background: transparent;
border-radius: 6px;
cursor: pointer;
color: var(--el-text-color-regular);
transition: background 0.2s;
display: flex;
align-items: center;
justify-content: center;
}
.new-tab-btn:hover {
background: var(--el-bg-color-page);
}
/* --- 工具栏 & 地址栏 --- */
.browser-toolbar {
display: flex;
align-items: center;
padding: 8px 16px;
gap: 16px;
}
.nav-buttons {
display: flex;
gap: 4px;
width: 140px;
}
.nav-btn {
width: 32px;
height: 32px;
border: none;
background: transparent;
border-radius: 8px;
color: var(--el-text-color-primary);
font-size: 14px;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
justify-content: center;
}
.nav-btn:hover:not(:disabled) {
background: var(--el-bg-color-page);
}
.nav-btn:disabled {
color: var(--el-text-color-placeholder);
cursor: default;
}
.address-bar-wrapper {
flex: 1;
max-width: 800px;
margin: 0 auto;
}
/* 地址栏 Input */
.ios-address-input .el-input__wrapper {
/* 使用稍深的填充色 */
background: var(--el-bg-color-page) !important;
border-radius: 10px !important;
box-shadow: none !important;
padding: 4px 12px !important;
height: 36px;
transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.ios-address-input .el-input__wrapper.is-focus {
background-color: var(--el-bg-color) !important;
/* 聚焦光环使用主色 */
box-shadow: 0 0 0 2px var(--el-color-primary) !important;
}
.ios-address-input .el-input__inner {
font-size: 14px;
color: var(--el-text-color-primary) !important;
text-align: left;
}
.address-lock-icon {
color: var(--el-text-color-secondary);
margin-right: 6px;
font-size: 12px;
}
/* --- 浏览器主体 --- */
.browser-body {
flex: 1; /* 占据剩余垂直空间 */
position: relative; /* 关键:为内部绝对定位做基准 */
width: 100%;
height: 0; /* 关键技巧:配合 flex:1 使用,防止被内部内容撑大导致滚动条 */
background: var(--el-bg-color);
overflow: hidden;
}
/* --- 极简欢迎页 (适配版) --- */
.browser-welcome-page {
width: 100%;
height: 100%;
background: var(--el-bg-color-page);
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
/* 3. Webview 包装器:使用绝对定位强制铺满 */
.webview-wrapper {
position: absolute; /* 脱离文档流,强制拉伸 */
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
z-index: 1;
display: flex; /* 确保内部 webview 能利用 flex 属性 */
flex-direction: column;
}
/* 4. Webview 标签本身 */
.webview-element {
flex: 1;
width: 100% !important;
height: 100% !important;
border: none;
display: inline-flex; /* Electron webview 推荐的 display 属性 */
}
/* 5. 欢迎页也需要绝对定位铺满,否则可能会被挤压 */
.browser-welcome-page {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2; /* 确保在 webview 上层(如果有重叠的话,虽然 v-if 控制了) */
background: var(--el-bg-color-page);
display: flex;
align-items: center;
justify-content: center;
overflow-y: auto; /* 允许欢迎页内容过多时滚动 */
}
.ios-welcome-container {
width: 100%;
max-width: 680px;
padding: 0 20px;
display: flex;
flex-direction: column;
align-items: center;
transform: translateY(-10%);
}
.ios-title {
font-size: 48px;
font-weight: 700;
/* 标题渐变:从主文本色到次文本色 */
background: linear-gradient(135deg, var(--el-text-color-primary) 0%, var(--el-text-color-secondary) 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 40px;
letter-spacing: -1px;
}
/* 搜索框容器 */
.ios-search-wrapper {
width: 100%;
height: 60px;
/* 搜索框背景:使用覆盖层背景(通常是纯色) + 透明度 */
background: var(--bg-color)!important;
border: 1px solid var(--el-border-color-lighter);
border-radius: 20px;
/* 阴影适配 */
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05), 0 2px 10px rgba(0,0,0,0.01);
display: flex;
align-items: center;
padding: 0 16px;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
position: relative;
z-index: 500; /* 确保下拉菜单不被遮挡 */
}
/* 悬停和聚焦效果 */
.ios-search-wrapper:hover {
box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0,0,0,0.03);
transform: translateY(-1px);
border-color: var(--el-border-color);
}
.ios-search-wrapper.focused {
border-color: var(--el-color-primary);
/* 光晕使用主色,降低透明度 */
box-shadow: 0 0 0 4px color-mix(in srgb, var(--el-color-primary) 15%, transparent),
0 15px 50px rgba(0, 0, 0, 0.1);
}
/* 引擎选择器 */
.engine-selector {
position: relative;
height: 100%;
display: flex;
align-items: center;
/* 增加 padding 让热区变大一点 */
padding-right: 12px;
padding-left: 4px;
border-right: 1px solid var(--el-border-color-lighter);
background: var(--bg-color)!important;
cursor: pointer;
}
.current-engine {
display: flex;
align-items: center;
gap: 8px;
font-size: 16px;
color: var(--el-text-color-primary);
padding: 4px 8px;
border-radius: 8px;
transition: background 0.2s;
}
.current-engine i {
font-size: 18px;
}
.current-engine .fa-caret-down {
font-size: 12px;
color: var(--el-text-color-secondary);
}
/* 下拉菜单 */
.engine-dropdown {
position: absolute;
/* 1. 改为 calc 方式定位,不使用 margin-top */
top: calc(100% + 10px);
left: 0;
width: 140px;
background: var(--bg-color)!important;
backdrop-filter: blur(20px);
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
border: 1px solid var(--el-border-color-light);
padding: 6px;
z-index: 1000;
/* margin-top: 10px; <-- 2. 删掉这一行,因为我们用 top: calc() 代替了 */
animation: dropdownFade 0.2s ease-out;
}
.engine-dropdown::before {
content: '';
position: absolute;
/* 向上延伸 10px,填补与按钮之间的空隙 */
top: -10px;
left: 0;
width: 100%;
height: 10px;
background: transparent; /* 透明,不可见但可交互 */
}
@keyframes dropdownFade {
from { opacity: 0; transform: translateY(-5px); }
to { opacity: 1; transform: translateY(0); }
}
.engine-item {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
border-radius: 8px;
font-size: 14px;
color: var(--el-text-color);
transition: all 0.2s;
cursor: pointer;
}
.engine-item.active {
color: var(--el-color-primary);
background: var(--el-color-primary-light-9);
}
/* 输入框 */
.ios-search-input {
flex: 1;
border: none;
background: transparent;
height: 100%;
padding: 0 16px;
font-size: 18px;
color: var(--el-text-color)!important;
background: var(--bg-color)!important;
outline: none;
}
.ios-search-input::placeholder {
color: var(--el-text-color-placeholder);
font-weight: 300;
}
/* 搜索按钮 */
.ios-search-btn {
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--el-color-primary);
border: none;
color: #fff; /* 按钮文字固定白色 */
font-size: 14px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
opacity: 0;
transform: scale(0.8);
}
.ios-search-wrapper.focused .ios-search-btn,
.ios-search-wrapper:hover .ios-search-btn {
opacity: 1;
transform: scale(1);
}
.ios-search-btn:hover {
/* 悬停加深颜色:混合黑色 */
background: color-mix(in srgb, var(--el-color-primary) 90%, black);
transform: scale(1.1);
}
/* ================= 集成浏览器条样式 ================= */
.integrated-browser-bar {
display: flex;
align-items: center;
flex: 1;
min-width: 0;
margin-top: 2px;
height: 100%;
gap: 8px;
-webkit-app-region: no-drag; /* 只有这部分不可拖拽 */
/* margin-left 已在 HTML 中内联设置,利用父级 top-bar 的 drag 属性实现左侧拖拽区域 */
}
/* 1. 地址栏 */
.integrated-address-bar {
height: 26px;
margin-top: 2px;
display: flex;
align-items: center;
width: 160px; /* 稍微调窄一点,给右边留空间 */
flex-shrink: 0;
transition: width 0.3s;
}
.integrated-address-bar:focus-within {
width: 220px;
}
/* 输入框样式 */
.ib-input .el-input__wrapper {
background-color: var(--el-fill-color-light);
border-radius: 15px;
padding: 0 10px;
height: 24px;
line-height: 24px;
box-shadow: none;
}
.ib-input .el-input__inner {
font-size: 12px;
height: 24px;
}
/* 2. 标签栏容器 (位于中间) */
.integrated-tabs-container {
flex: 1;
min-width: 0; /* 允许容器被压缩 */
height: 100%;
display: flex;
align-items: center;
overflow-x: auto; /* 关键:开启横向滚动 */
overflow-y: hidden;
/* 隐藏滚动条 (Chrome/Electron) */
scrollbar-width: none;
/* 两侧渐变遮罩 */
mask-image: linear-gradient(to right, transparent, black 20px, black 90%, transparent);
-webkit-mask-image: linear-gradient(to right, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
}
.integrated-tabs-container::-webkit-scrollbar {
display: none;
}
.tabs-scroll-wrapper {
display: flex;
align-items: center;
gap: 4px;
padding: 0 10px;
/* 关键:宽度根据内容自适应,但至少要填满容器 */
width: max-content;
min-width: 100%;
}
/* 单个标签 */
.ib-tab {
display: flex;
align-items: center;
justify-content: space-between;
/* 1. 宽度策略:实现自动伸缩 */
width: 150px; /* 默认理想宽度 */
min-width: 80px; /* 关键:压到 80px 就不再压了,开始触发父容器滚动 */
max-width: 180px;
/* 2. 弹性策略 */
flex-shrink: 0; /* 这里有个权衡:*/
/* 如果设为 1:标签会一直挤压直到 min-width,然后才滚动(符合你的要求)*/
/* 如果设为 0:标签完全不挤压,直接滚动 */
/* 建议设为 0,因为配合边缘滚动,固定宽度的标签更容易点击 */
/* 但如果你一定要“先挤压后滚动”,请改为 flex-shrink: 1; */
height: 26px;
margin-top: 4px;
/* 其他样式不变... */
background-color: transparent;
border-radius: 6px;
padding: 0 6px;
cursor: pointer;
user-select: none;
font-size: 12px;
color: var(--el-text-color-regular);
transition: background-color 0.2s, width 0.2s; /* 加个过渡动画更顺滑 */
}
.ib-tab.active {
background-color: var(--el-bg-color);
color: var(--el-color-primary);
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.ib-tab-content {
display: flex;
align-items: center;
gap: 5px;
overflow: hidden;
flex: 1;
}
.ib-icon {
display: flex;
align-items: center;
width: 14px;
height: 14px;
}
.ib-icon img {
width: 100%;
height: 100%;
border-radius: 2px;
}
.ib-title {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ib-close {
opacity: 0;
width: 16px;
height: 16px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
font-size: 10px;
}
.ib-tab:hover .ib-close {
opacity: 1;
}
.ib-close:hover {
background-color: var(--el-fill-color-dark);
color: var(--el-color-danger);
}
/* 3. 右侧控制组 (新建标签 + 导航) */
.browser-controls-group {
display: flex;
align-items: center;
gap: 2px;
flex-shrink: 0; /* 防止被挤压 */
background: var(--bg-color);
border-radius: 12px;
padding: 0 4px;
height: 26px;
margin-right: 10px;
}
/* 垂直分割线 */
.ib-divider {
width: 1px;
height: 14px;
background-color: var(--el-border-color);
margin: 0 4px;
}
.ib-btn {
background: transparent;
border: none;
color: var(--el-text-color-primary);
cursor: pointer;
padding: 0;
border-radius: 4px;
font-size: 13px; /* 稍微大一点点 */
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
transition: background 0.2s;
}
.ib-btn:hover:not(:disabled) {
background-color: var(--el-fill-color-dark);
}
.ib-btn:disabled {
opacity: 0.4;
cursor: not-allowed;
}
/* 新建标签按钮特殊样式 (可选) */
.new-tab-plus {
/* 如果想让它突出一点,可以加这个 */
color: var(--el-color-primary);
}
/* 包装器,用于相对定位 */
.download-manager-wrapper {
position: relative;
display: flex;
align-items: center;
height: 100%;
}
/* 按钮上的小红点 */
.download-badge {
position: absolute;
top: 4px;
right: 4px;
width: 6px;
height: 6px;
background-color: var(--el-color-danger);
border-radius: 50%;
box-shadow: 0 0 2px rgba(0,0,0,0.3);
}
/* --- iOS 风格下拉面板 --- */
.ios-dropdown-panel {
position: absolute;
top: 34px; /* 按钮高度下方 */
right: -10px; /* 稍微靠右对齐 */
width: 320px;
max-height: 400px;
background: var(--bg-color);
backdrop-filter: blur(20px); /* 核心:毛玻璃效果 */
-webkit-backdrop-filter: blur(20px);
border-radius: 12px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0,0,0,0.05);
border: 1px solid rgba(255, 255, 255, 0.3);
display: flex;
flex-direction: column;
z-index: 9999;
overflow: hidden;
animation: dropdownSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.ios-dropdown-panel::before {
content: '';
position: absolute;
/* 向上延伸,填补按钮和面板之间的空隙 */
top: -20px;
/* 占满整个宽度 */
left: 0;
width: 100%;
/* 高度要足够覆盖空隙,比如 gap 是 10px,这里设 20px 确保重叠 */
height: 20px;
/* 透明背景 */
background: transparent;
/* 调试时可以把下面这行解开,看看桥在哪 */
/* background: rgba(255, 0, 0, 0.3); */
}
@keyframes dropdownSlideIn {
from { opacity: 0; transform: translateY(-8px) scale(0.98); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
/* 头部 */
.dropdown-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
border-bottom: 1px solid rgba(0,0,0,0.05);
font-size: 13px;
font-weight: 600;
color: var(--el-text-color-primary);
}
.clear-btn {
font-weight: normal;
color: var(--el-color-primary);
cursor: pointer;
}
.clear-btn:hover {
opacity: 0.8;
}
/* 列表区 */
.download-list {
overflow-y: auto;
max-height: 350px;
padding: 8px;
}
.download-list::-webkit-scrollbar {
width: 4px;
}
.download-list::-webkit-scrollbar-thumb {
background: rgba(0,0,0,0.1);
border-radius: 2px;
}
/* 空状态 */
.empty-state {
padding: 40px 0;
text-align: center;
color: var(--el-text-color-placeholder);
background: var(--bg-color);
}
.empty-state i {
font-size: 24px;
margin-bottom: 8px;
opacity: 0.5;
}
/* 单个下载项 */
.download-item {
display: flex;
align-items: center;
padding: 8px;
border-radius: 8px;
background: transparent;
transition: background 0.2s;
gap: 10px;
margin-bottom: 4px;
background: var(--bg-color);
}
.download-item:hover {
background: rgba(0,0,0,0.05);
}
.dark .download-item:hover {
background: rgba(255,255,255,0.05);
}
/* 文件图标 */
.file-icon {
width: 32px;
height: 32px;
background: var(--el-fill-color);
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
color: var(--el-text-color-secondary);
font-size: 14px;
flex-shrink: 0;
}
/* 信息区 */
.file-info {
flex: 1;
min-width: 0; /* 允许文本截断 */
display: flex;
flex-direction: column;
gap: 4px;
}
.file-name {
font-size: 12px;
font-weight: 500;
color: var(--el-text-color-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.file-meta {
font-size: 10px;
color: var(--el-text-color-secondary);
}
/* 进度条 */
.progress-bar-bg {
height: 3px;
width: 100%;
background: rgba(0,0,0,0.05);
border-radius: 2px;
overflow: hidden;
}
.dark .progress-bar-bg { background: rgba(255,255,255,0.1); }
.progress-bar-fill {
height: 100%;
background: var(--el-color-primary);
border-radius: 2px;
transition: width 0.2s;
}
/* 操作按钮 */
.item-actions {
display: flex;
gap: 4px;
}
.action-btn {
width: 24px;
height: 24px;
border-radius: 50%;
border: none;
background: transparent;
color: var(--el-text-color);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
transition: all 0.2s;
}
.action-btn:hover {
background: rgba(0,0,0,0.1);
color: var(--el-color-primary);
}
.action-btn.delete:hover {
background: rgba(245, 108, 108, 0.1); /* 浅红色 */
color: var(--el-color-danger);
}
.success-text { color: var(--el-color-success); }
.error-text { color: var(--el-color-danger); }
/* Vue 动画 transition */
.dropdown-fade-enter-active,
.dropdown-fade-leave-active {
transition: opacity 0.2s ease, transform 0.2s ease;
}
.dropdown-fade-enter-from,
.dropdown-fade-leave-to {
opacity: 0;
transform: translateY(-5px);
}
/* --- AI Browser 侧边栏切换手柄 --- */
.browser-toggle-handle {
position: absolute;
top: 50%;
right: 0; /* 紧贴右侧边缘 */
transform: translateY(-50%);
width: 24px;
height: 60px;
background: var(--el-color-primary); /* 使用主题色 */
color: #ffffff; /* 确保图标是白色 */
border-radius: 12px 0 0 12px; /* 左侧圆角,右侧直角贴合边缘 */
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 100; /* 确保层级高于 WebView */
box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
opacity: 0.6; /* 默认半透明,减少对浏览内容的干扰 */
font-size: 12px;
}
/* 鼠标悬停效果 */
.browser-toggle-handle:hover {
opacity: 1;
width: 32px; /* 变宽 */
padding-right: 4px;
background: var(--el-color-primary-light-3);
}
/* 适配不同主题的图标颜色 */
[data-theme="dark"] .browser-toggle-handle,
[data-theme="midnight"] .browser-toggle-handle {
box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
}
/* --- AI Browser 侧边栏切换手柄(反向,紧贴左侧)--- */
.browser-toggle-handle--left {
position: absolute;
top: 50%;
left: 0; /* 紧贴左侧边缘 */
transform: translateY(-50%);
width: 24px;
height: 60px;
background: var(--el-color-primary);
color: #ffffff;
border-radius: 0 12px 12px 0; /* 右侧圆角,左侧直角贴合边缘 */
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 9999;
box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15); /* 阴影方向相反 */
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
opacity: 0.6;
font-size: 12px;
}
/* 鼠标悬停效果 */
.browser-toggle-handle--left:hover {
opacity: 1;
width: 32px;
padding-left: 4px; /* 左侧内边距,保持图标居中 */
background: var(--el-color-primary-light-3);
}
/* 适配不同主题的图标颜色 */
[data-theme="dark"] .browser-toggle-handle--left,
[data-theme="midnight"] .browser-toggle-handle--left {
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}
/* --- 收藏夹功能样式 --- */
/* 1. 允许标题被点击 */
.ios-title {
cursor: pointer;
user-select: none;
transition: opacity 0.2s;
position: relative;
}
.ios-title:hover {
opacity: 0.8;
}
.ios-title:active {
transform: scale(0.98);
}
/* 提示用户可以点击的小标识 (可选) */
.ios-title::after {
content: 'Click to toggle favorites';
position: absolute;
bottom: -20px;
left: 50%;
transform: translateX(-50%);
font-size: 12px;
color: var(--el-text-color-secondary);
opacity: 0;
transition: opacity 0.3s;
pointer-events: none;
font-weight: normal;
white-space: nowrap;
}
.ios-title:hover::after {
opacity: 0.6;
}
/* 2. 收藏夹容器 */
.ios-favorites-wrapper {
width: 100%;
max-width: 680px;
margin-top: 40px;
/* 动画过渡容器高度和透明度 */
transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
overflow: hidden;
opacity: 1;
max-height: 500px; /* 足够展示两行图标的高度 */
}
.ios-favorites-wrapper.hidden {
opacity: 0;
max-height: 0;
margin-top: 0;
}
/* 3. 图标网格 */
.ios-favorites-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
gap: 16px 12px;
padding: 10px;
}
/* 4. 单个收藏项 */
.fav-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
cursor: pointer;
text-decoration: none;
}
.fav-item:hover .fav-icon-box {
transform: translateY(-4px);
box-shadow: 0 8px 20px rgba(0,0,0,0.1);
background: var(--el-bg-color);
}
.ios-favorites-wrapper {
width: 100%;
max-width: 720px;
margin-top: 30px;
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
opacity: 1;
transform: translateY(0);
}
.ios-favorites-wrapper.hidden {
opacity: 0;
transform: translateY(20px);
pointer-events: none;
max-height: 0;
margin-top: 0;
}
/* 3. 网格布局:固定宽度,防止变形 */
.ios-favorites-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 25px; /* 间距拉开,防止视觉拥挤 */
padding: 20px;
}
/* 4. 单个图标项:去掉背景框,只留纯净图标 */
.fav-item {
display: flex;
flex-direction: column;
align-items: center;
width: 70px; /* 固定宽度 */
text-decoration: none;
position: relative;
}
/* 图标容器 */
.fav-icon-box {
width: 54px;
height: 54px;
background: var(--el-primary-color) !important; /* 强制纯白,因为99%的网页图标是为白色背景设计的 */
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* 极细阴影 */
transition: all 0.3s ease;
border: 1px solid rgba(0,0,0,0.05);
overflow: hidden;
}
/* 图片:铺满盒子但留一点内边距 */
.fav-icon-box img {
width: 80%;
height: 80%;
object-fit: contain;
image-rendering: -webkit-optimize-contrast; /* 锐化渲染 */
}
.fav-item:hover .fav-icon-box {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0,0,0,0.15);
border-color: var(--el-color-primary);
}
/* 标题文字 */
.fav-title {
font-size: 12px;
color: var(--el-text-color-regular);
text-align: center;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 0 4px;
transition: color 0.2s;
}
.fav-item:hover .fav-title {
color: var(--el-text-color-primary);
}
/* 删除按钮 (悬停显示) */
.fav-remove-btn {
position: absolute;
top: -6px;
right: -6px;
width: 20px;
height: 20px;
background: var(--el-text-color-secondary);
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
opacity: 0;
transition: all 0.2s;
z-index: 10;
}
.fav-remove-btn:hover {
background: var(--el-color-danger);
transform: scale(1.1);
}
.fav-item:hover .fav-remove-btn {
opacity: 1;
}
/* 地址栏收藏按钮激活状态 */
.ib-btn.is-favorite {
color: #f5a623; /* 星星黄色 */
}
/* 容器微调 */
.current-engine {
display: flex;
align-items: center;
gap: 6px;
padding: 2px 8px;
border-radius: 6px;
transition: background 0.2s;
}
.current-engine .fa-caret-down {
font-size: 10px;
color: var(--el-text-color-placeholder);
}
/* AI Browser 侧边栏基础样式 */
.browser-copilot-sidebar {
width: 450px; /* 默认展开宽度 */
border-left: 1px solid var(--el-border-color);
background: var(--el-bg-color);
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden; /* 关键:隐藏收起时的内部内容 */
/* 关键动画属性 */
transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
opacity 0.2s ease,
border-left-width 0.1s; /* 边框也需要过渡,否则最后会留一条线 */
opacity: 1;
flex-shrink: 0; /* 防止被左侧挤压 */
}
/* 收起状态的样式 */
.browser-copilot-sidebar.sidebar-collapsed {
width: 0 !important;
border-left-width: 0 !important; /* 收起时去掉边框 */
opacity: 0;
pointer-events: none; /* 收起后禁止点击交互 */
}
/* --- 新建标签页按钮 (Chrome 风格) --- */
.new-tab-inline {
display: flex;
align-items: center;
justify-content: center;
/* 尺寸与位置适配 */
width: 28px;
height: 26px; /* 与 .ib-tab 高度保持一致 */
margin-top: 4px; /* 与 .ib-tab 的 margin-top 保持一致 */
margin-left: 2px; /* 与最后一个标签保持微小间距 */
/* 基础样式 */
background: transparent;
border: none;
border-radius: 6px; /* 与标签圆角一致 */
color: var(--el-text-color-regular);
cursor: pointer;
flex-shrink: 0; /* 关键:防止标签过多时按钮被挤压 */
transition: background-color 0.2s, color 0.2s;
font-size: 12px;
}
/* 悬停效果 */
.new-tab-inline:hover {
background-color: var(--el-fill-color-dark); /* 也就是 hover 时的浅灰色背景 */
color: var(--el-color-primary); /* 可选:悬停时图标变色 */
}
/* 适配移动端或触摸 */
.new-tab-inline:active {
background-color: var(--el-fill-color-darker);
}
/* 进度条外层容器 */
.omni-progress-wrapper {
display: flex;
align-items: center;
gap: 12px;
flex: 1; /* 占据剩余空间 */
min-width: 120px; /* 强制给一个最小宽度 */
margin: 0 10px;
}
/* 强制显示进度条轨道 */
.omni-progress-wrapper :deep(.el-slider) {
height: 20px;
display: flex;
align-items: center;
}
.omni-progress-wrapper :deep(.el-slider__runway) {
flex: 1;
height: 4px !important;
background-color: rgba(0, 0, 0, 0.1) !important; /* 轨道背景色 */
border-radius: 2px;
}
.omni-progress-wrapper :deep(.el-slider__bar) {
height: 4px !important;
background-color: var(--el-color-primary) !important; /* 进度填充色 */
border-radius: 2px;
}
.omni-progress-wrapper :deep(.el-slider__button-wrapper) {
top: -14px; /* 调整滑块圆圈的位置 */
}
.tts-status-time {
font-family: 'Courier New', Courier, monospace;
font-size: 11px;
color: #666;
white-space: nowrap;
}
.omni-slider {
width: 150px !important;
min-width: 150px !important;
}
/* =========================================
Advanced Pro Notification (Top-Right Toast)
========================================= */
.notification {
/* 定位:右上角悬浮 */
position: fixed;
top: 24px;
right: 24px;
left: auto; /* 重置之前的居中设置 */
/* 初始状态:完全位移到屏幕右侧外,透明 */
transform: translateX(120%);
opacity: 0;
/* 布局 */
display: flex;
align-items: flex-start;
gap: 14px;
padding: 16px 20px;
/* 尺寸限制 */
min-width: 320px;
max-width: 400px;
/* 视觉风格:保持不变 (磨砂 + 高级阴影) */
background: var(--el-bg-color-overlay, rgba(255, 255, 255, 0.95));
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
/* 边框与圆角 */
border: 1px solid var(--el-border-color-light, rgba(0,0,0,0.1));
border-radius: 12px;
/* 阴影:侧边弹出更适合稍重的左侧阴影 */
box-shadow:
-5px 5px 20px -5px rgba(0, 0, 0, 0.1),
0 4px 6px -2px rgba(0, 0, 0, 0.05);
/* 字体 */
color: var(--el-text-color-primary);
font-family: var(--el-font-family, system-ui, sans-serif);
font-size: 14px;
line-height: 1.5;
/* 动画过渡:使用这种贝塞尔曲线会有“快速进入,缓慢刹车”的高级感 */
transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
z-index: 10000;
pointer-events: auto; /* 右上角通常允许点击关闭,保持可交互 */
overflow: hidden;
}
/* 激活状态:滑入屏幕 */
.notification.show {
opacity: 1;
transform: translateX(0);
}
/* 离开状态:滑出屏幕 */
.notification.hide {
opacity: 0;
transform: translateX(120%);
}
/* --- 下面的样式保持不变 (图标、内容、进度条、主题适配) --- */
.notif-icon-box {
flex-shrink: 0;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
}
.notif-content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
min-height: 24px;
}
.notif-title {
font-weight: 600;
margin-bottom: 2px;
font-size: 15px;
}
.notif-desc {
color: var(--el-text-color-secondary, #666);
font-size: 13px;
word-break: break-word; /* 防止长单词撑破布局 */
}
/* 进度条 */
.notif-progress {
position: absolute;
bottom: 0;
left: 0;
height: 3px;
background: currentColor;
width: 100%;
opacity: 0.2;
transform-origin: left;
transform: scaleX(0);
}
.notification.show .notif-progress {
transition-property: transform;
transition-timing-function: linear;
transform: scaleX(1);
}
/* ================= 主题颜色适配 (保持不变) ================= */
.notification.success { border-left: 4px solid var(--el-color-success); background: var(--el-bg-color-page) !important; color: var(--el-text-color-primary) !important;}
.notification.success .notif-icon-box { color: var(--el-color-success); }
.notification.success .notif-progress { background: var(--el-color-success); }
.notification.error { border-left: 4px solid var(--el-color-danger); }
.notification.error .notif-icon-box { color: var(--el-color-danger); }
.notification.error .notif-progress { background: var(--el-color-danger); }
.notification.warning { border-left: 4px solid var(--el-color-warning); }
.notification.warning .notif-icon-box { color: var(--el-color-warning); }
.notification.warning .notif-progress { background: var(--el-color-warning); }
.notification.info { border-left: 4px solid var(--el-color-primary); background: var(--el-bg-color-page) !important; color: var(--el-text-color-primary) !important;}
.notification.info .notif-icon-box { color: var(--el-color-primary); }
.notification.info .notif-progress { background: var(--el-color-primary); }
/* ================= 移动端适配 ================= */
/* 手机屏幕很窄,右上角弹出显示不全,强制改回顶部居中 */
@media (max-width: 768px) {
.notification {
top: 16px;
left: 50%;
right: auto;
width: 90%;
min-width: auto;
/* 手机端改成向下弹出 */
transform: translateX(-50%) translateY(-150%);
border-radius: 12px;
}
.notification.show {
transform: translateX(-50%) translateY(0);
}
.notification.hide {
transform: translateX(-50%) translateY(-150%);
}
}
/* =========================================================
特殊覆盖:Warning 和 Error 使用实色背景 + 白色文字
========================================================= */
/* --- 1. Error (Danger) 红色实底模式 --- */
.notification.error {
/* 强制背景为红色 (使用变量或默认色) */
background: var(--el-color-danger) !important;
/* 去掉磨砂玻璃的半透明边框 */
border: 1px solid transparent !important;
/* 强制主标题文字为白色 */
color: #ffffff !important;
/* 稍微增加一点深色投影,增加立体感 */
box-shadow: 0 8px 16px rgba(245, 108, 108, 0.3) !important;
}
/* --- 2. Warning 橙色实底模式 --- */
.notification.warning {
/* 强制背景为橙色 */
background: var(--el-color-warning) !important;
border: 1px solid transparent !important;
color: #ffffff !important;
box-shadow: 0 8px 16px rgba(230, 162, 60, 0.3) !important;
}
/* --- 3. 统一修正这两个模式下的内部元素颜色 --- */
/* 修正描述文字 (notif-desc) */
.notification.error .notif-desc,
.notification.warning .notif-desc {
/* 使用 90% 透明度的白色,既保持清晰又有层次感 */
color: rgba(255, 255, 255, 0.9) !important;
}
/* 修正图标颜色 */
.notification.error .notif-icon-box,
.notification.warning .notif-icon-box {
/* 图标改为纯白 */
color: #ffffff !important;
}
/* 修正左侧装饰线 (因为背景已经是彩色了,左侧线可以去掉或者改成白色) */
.notification.error,
.notification.warning {
border-left: none !important; /* 建议去掉左侧条,因为整体已经是彩色了 */
/* 或者如果你想保留左侧条,可以改成深色一点的:
border-left: 4px solid rgba(0,0,0,0.2) !important;
*/
}
/* 修正底部进度条颜色 */
.notification.error .notif-progress,
.notification.warning .notif-progress {
/* 进度条改为半透明白色 */
background: rgba(255, 255, 255, 0.4) !important;
}
/* ====================================================
修复版 IM 风格与 单/群聊 模式兼容样式
(只改布局,不改气泡形状)
==================================================== */
/* 1. 全局消息容器重置 */
/* 引入 im-content-wrapper 后,我们需要确保它是透明的布局容器 */
.im-content-wrapper {
display: flex;
flex-direction: column;
max-width: 100%;
position: relative;
}
/* 2. 单聊/群聊 User 样式 */
.message.user .im-content-wrapper {
align-items: flex-end; /* 强制靠右,且宽度收缩 */
}
/* 3. 单聊/群聊 Assistant 样式 */
.message.assistant .im-content-wrapper {
align-items: flex-start; /* 强制靠左,宽度收缩 */
}
/* 4. 单聊/群聊 System 样式 */
.message.system .im-content-wrapper {
align-items: stretch; /* 拉伸占满宽度 */
width: 100%;
}
/* 5. 修复助手按钮对齐 (关键:让按钮跟随气泡左对齐) */
.message.assistant .message-actions,
.message.assistant .tts-controls {
justify-content: flex-start !important;
width: 100%;
}
/* 用户操作栏保持靠右 */
.message.user .message-actions {
justify-content: flex-end !important;
}
/* 6. 修复气泡宽度逻辑 */
.im-content-wrapper .message-content {
width: fit-content;
max-width: 100%;
box-sizing: border-box;
/* 这里不再修改 border-radius,沿用全局样式,保持只有一个直角 */
}
/* 系统消息内容占满 */
.message.system .im-content-wrapper .message-content {
width: 100%;
}
/* ====================================================
群聊模式专属布局 (.is-group-mode)
==================================================== */
/* 1. 布局改为横向,以便放入头像 */
.message.is-group-mode {
flex-direction: row !important;
align-items: flex-start !important;
gap: 12px; /* 头像与气泡的间距 */
}
/* 2. 用户消息整体靠右 */
.message.is-group-mode.user {
justify-content: flex-end;
}
/* 3. 系统消息在群聊下依然保持纵向占满 */
.message.is-group-mode.system {
flex-direction: column !important;
}
/* 4. 限制群聊模式下气泡的最大宽度,留出头像空间,防止挤压 */
.message.is-group-mode .im-content-wrapper {
max-width: calc(100% - 48px); /* 减去头像宽度+间距 */
}
/* 系统消息不受限 */
.message.is-group-mode.system .im-content-wrapper {
max-width: 100%;
}
/* 5. 头像样式 */
.im-avatar {
flex-shrink: 0;
margin-top: 0; /* 对齐气泡顶部 */
}
.im-avatar img {
width: 36px;
height: 36px;
border-radius: 50%;
object-fit: cover;
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
background-color: #fff;
}
/* 6. 名字标签 */
.im-name-tag {
font-size: 12px;
color: var(--el-text-color-secondary);
margin-bottom: 4px;
margin-left: 1px;
line-height: 1;
}
/* ====================================================
移动端适配
==================================================== */
@media (max-width: 768px) {
.message.is-group-mode {
gap: 8px;
}
.im-avatar img {
width: 30px;
height: 30px;
}
.message.is-group-mode .im-content-wrapper {
max-width: calc(100% - 40px);
}
}
/* =========================================
Unified Input & Attachment (Seamless & Thumbnail Files)
========================================= */
/* 1. 外层包裹器:伪装成一个完整的输入框 */
.unified-input-wrapper {
display: flex;
flex-direction: column;
background-color: var(--el-input-bg-color);
border: 1px solid var(--el-border-color);
border-radius: 12px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 0 0 1px transparent inset;
overflow: hidden;
}
/* 聚焦高亮 */
.unified-input-wrapper:focus-within {
border-color: var(--el-color-primary);
box-shadow: 0 0 0 1px var(--el-color-primary) inset;
background-color: var(--el-bg-color);
}
/* 2. 附件列表:透明、无边框、横向滚动 */
.attachment-preview-list {
display: flex;
gap: 8px;
padding: 12px 12px 0 12px;
background-color: transparent !important;
border: none !important;
height: auto;
min-height: 0;
overflow-x: auto;
overflow-y: hidden;
scrollbar-width: none;
}
.attachment-preview-list::-webkit-scrollbar {
display: none;
}
/* 3. 附件项通用容器 */
.attachment-item {
flex-shrink: 0;
height: 80px; /* 统一高度 */
position: relative;
margin-bottom: 4px;
}
/* 4. 图片预览盒子 (自适应宽度,保持比例) */
.preview-image-box {
height: 100%;
width: auto; /* 宽度自适应 */
min-width: 40px;
border-radius: 8px;
overflow: hidden;
position: relative;
border: 1px solid var(--el-border-color-lighter);
background-color: rgba(128, 128, 128, 0.05);
display: flex;
align-items: center;
justify-content: center;
}
.preview-image-box img {
height: 100%;
width: auto;
object-fit: contain;
display: block;
}
/* 5. 文件卡片盒子 (样式重制:改为缩略图风格) */
.file-card-box {
height: 100%;
width: 80px; /* 固定宽度,做成正方形或竖长方形 */
/* 布局改为纵向:图标在上,文字在下 */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
background-color: rgba(128, 128, 128, 0.05); /* 统一底色 */
border: 1px solid var(--el-border-color-lighter);
border-radius: 8px;
padding: 6px;
box-sizing: border-box;
position: relative; /* 为遮罩层定位 */
transition: all 0.2s;
}
/* 文件图标调整 */
.file-card-box .file-icon {
font-size: 28px;
color: var(--el-color-primary);
margin-right: 0; /* 去掉之前的右边距 */
margin-bottom: 2px;
height: auto;
width: auto;
}
/* 文件名调整 */
.file-card-box .file-info {
width: 100%;
text-align: center;
display: block; /* 覆盖之前的 flex */
}
.file-card-box .file-name {
font-size: 10px; /* 字体缩小 */
color: var(--el-text-color-regular);
line-height: 1.2;
/* 限制显示两行,超出省略 */
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
white-space: normal; /* 允许换行 */
text-overflow: ellipsis;
width: 100%;
}
/* 6. 统一的遮罩层 (Overlay) 样式 */
/* 图片的遮罩层 */
.preview-image-box .overlay,
/* 文件的遮罩层 (复用之前的 .remove-btn div) */
.file-card-box .remove-btn {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
backdrop-filter: blur(2px); /* 可选:轻微模糊背景 */
display: flex;
align-items: center;
justify-content: center;
opacity: 0; /* 默认隐藏 */
transition: opacity 0.2s ease;
z-index: 10;
border-radius: 8px; /* 跟随父级圆角 */
/* 覆盖之前 remove-btn 可能存在的文字样式 */
color: white;
font-size: 16px;
cursor: pointer;
}
/* 悬停显示遮罩 */
.preview-image-box:hover .overlay,
.file-card-box:hover .remove-btn {
opacity: 1;
}
/* 7. 删除按钮图标样式优化 */
/* 让文件卡片里的 xmark 图标看起来像一个红色按钮 */
.file-card-box .remove-btn i {
background-color: var(--el-color-danger);
color: white;
width: 24px;
height: 24px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
box-shadow: 0 2px 6px rgba(0,0,0,0.2);
transition: transform 0.2s;
}
.file-card-box .remove-btn:hover i {
transform: scale(1.1);
}
/* 8. 输入框本身:彻底透明化 */
.input-box-transparent {
width: 100%;
}
.input-box-transparent .el-textarea__inner {
background-color: transparent !important;
border: none !important;
box-shadow: none !important;
border-radius: 0 !important;
color: var(--el-text-color-primary) !important;
padding: 8px 12px 12px 12px !important;
}
/* 如果有附件,调整输入框上边距 */
.attachment-preview-list + .input-box-transparent .el-textarea__inner {
padding-top: 4px !important;
}
/* =========================================
Ultimate Tool Approval Card (iOS/Mac 质感版)
========================================= */
.approval-card {
/* 卡片底色使用干净的背景,脱离原本廉价的黄色背景 */
background-color: var(--el-bg-color);
border: 1px solid var(--el-border-color-light);
border-radius: 16px;
margin: 16px 0;
overflow: hidden;
/* 采用你全局设定的现代悬浮阴影 */
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
font-family: var(--el-font-family);
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
position: relative;
}
/* 顶部警戒色发光条 (代替原本笨重的左侧粗边框) */
.approval-card::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 4px;
background: linear-gradient(90deg, var(--el-color-warning), var(--el-color-warning-light-5));
opacity: 0.9;
}
/* 悬停物理反馈 */
.approval-card:hover {
transform: translateY(-2px);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
border-color: var(--el-color-warning-light-5);
}
/* --- Header 区域 --- */
.approval-header {
display: flex;
align-items: center;
padding: 16px 20px 12px;
color: var(--el-text-color-primary);
font-size: 15px;
font-weight: 600;
gap: 8px;
}
.security-icon {
color: var(--el-color-warning);
font-size: 18px;
}
.permission-mode-tag {
font-size: 12px;
padding: 2px 8px;
border-radius: 12px;
background-color: color-mix(in srgb, var(--el-color-warning) 12%, transparent);
color: var(--el-color-warning);
font-weight: 600;
margin-left: 6px;
border: 1px solid color-mix(in srgb, var(--el-color-warning) 25%, transparent);
}
/* --- Body 区域 --- */
.approval-body {
padding: 0 20px 12px;
font-size: 14px;
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.body-label {
color: var(--el-text-color-regular);
}
/* 工具名称像代码高亮标签一样 */
.tool-name-badge {
font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
background-color: var(--el-fill-color-light);
color: var(--el-color-primary);
padding: 4px 10px;
border-radius: 8px;
font-size: 13px;
font-weight: 600;
border: 1px solid var(--el-border-color-lighter);
}
/* --- 参数展示区域 (终端风格) --- */
.approval-params-wrapper {
margin: 0 20px 16px;
/* 继承你在主题中写好的代码块背景色 */
background-color: var(--code-bg);
border-radius: 10px;
border: 1px solid var(--code-border);
overflow: hidden;
}
.params-header {
padding: 6px 12px;
font-size: 11px;
font-weight: 700;
color: var(--el-text-color-secondary);
background-color: rgba(128, 128, 128, 0.08);
letter-spacing: 1px;
border-bottom: 1px solid var(--code-border);
}
.approval-params-code {
margin: 0;
padding: 12px;
max-height: 180px;
overflow-y: auto;
font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
font-size: 13px;
/* 继承高亮字体颜色 */
color: var(--hljs-text, var(--el-text-color-regular));
line-height: 1.5;
}
.approval-params-code::-webkit-scrollbar {
width: 6px; height: 6px;
}
.approval-params-code::-webkit-scrollbar-thumb {
background-color: rgba(128, 128, 128, 0.3);
border-radius: 3px;
}
/* --- 底部操作栏 (Actions) --- */
.approval-actions {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 20px;
background-color: var(--el-fill-color-lighter, rgba(0,0,0,0.02));
border-top: 1px solid var(--el-border-color-lighter);
}
.action-right-group {
display: flex;
gap: 10px;
}
.approval-actions button {
padding: 8px 18px;
border: none;
border-radius: 8px;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
font-family: var(--el-font-family);
}
.approval-actions button:active {
transform: scale(0.95);
}
/* 1. 拒绝 (低视噪的幽灵按钮) */
.btn-deny {
background-color: transparent !important;
color: var(--el-color-danger) !important;
border: 1px solid transparent !important;
}
.btn-deny:hover {
background-color: color-mix(in srgb, var(--el-color-danger) 10%, transparent) !important;
}
/* 2. 始终允许 (次级线框按钮) */
.btn-allow-always {
background-color: var(--el-bg-color) !important;
color: var(--el-text-color-regular) !important;
border: 1px solid var(--el-border-color) !important;
}
.btn-allow-always:hover {
color: var(--el-color-primary) !important;
border-color: var(--el-color-primary-light-5) !important;
background-color: var(--el-color-primary-light-9) !important;
}
/* 3. 仅允许一次 (绝对视觉焦点的 Primary 按钮) */
.btn-allow-once {
background: linear-gradient(145deg, var(--el-color-primary), var(--el-color-primary-light-3)) !important;
color: #ffffff !important;
box-shadow: 0 4px 12px rgba(var(--el-color-primary-rgb), 0.3) !important;
}
.btn-allow-once:hover {
background: linear-gradient(145deg, var(--el-color-primary-light-3), var(--el-color-primary)) !important;
box-shadow: 0 6px 16px rgba(var(--el-color-primary-rgb), 0.4) !important;
transform: translateY(-1px);
}
/* --- 深色模式暗部微调 --- */
[data-theme="dark"] .approval-card,[data-theme="midnight"] .approval-card,
[data-theme="neon"] .approval-card {
background-color: rgba(255, 255, 255, 0.02);
}
/* =========================================
MCP 工具列表样式适配
========================================= */
/* 1. 区域容器 */
.tools-section {
margin-top: 20px;
/* 使用变量作为分割线颜色 */
border-top: 1px solid var(--el-border-color-lighter);
padding-top: 15px;
}
.tools-section h3 {
/* 跟随主题文字颜色 */
color: var(--el-text-color-primary);
font-size: 15px;
font-weight: 600;
margin-bottom: 12px;
}
/* 2. 列表滚动容器 */
.tools-list-container {
max-height: 300px;
overflow-y: auto;
/* 背景色:使用页面背景色(通常比卡片背景稍深或有区分度) */
background-color: var(--el-bg-color-page);
padding: 10px;
border-radius: 8px;
/* 边框跟随主题 */
border: 1px solid var(--el-border-color-lighter);
}
/* 自定义滚动条适配 */
.tools-list-container::-webkit-scrollbar {
width: 4px;
}
.tools-list-container::-webkit-scrollbar-thumb {
background: var(--el-border-color);
border-radius: 2px;
}
/* 3. 单个工具卡片 */
.tool-item-card {
display: flex;
align-items: center;
justify-content: space-between;
/* 卡片背景:使用组件背景色(亮色模式是白,暗色模式是深灰) */
background-color: var(--el-bg-color);
padding: 10px 12px;
margin-bottom: 8px;
border-radius: 8px;
/* 边框颜色 */
border: 1px solid var(--el-border-color);
transition: all 0.2s ease;
}
.tool-item-card:last-child {
margin-bottom: 0;
}
/* 悬停效果:轻微上浮 + 边框高亮 */
.tool-item-card:hover {
transform: translateY(-1px);
border-color: var(--el-color-primary-light-5);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
/* 4. 左侧信息区 */
.tool-info-left {
flex: 1;
overflow: hidden;
margin-right: 12px;
}
.tool-header-row {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 4px;
}
.tool-name {
font-weight: 600;
font-size: 14px;
color: var(--el-text-color-primary);
/* 名字很长时截断 */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tool-info-icon {
font-size: 13px;
color: var(--el-text-color-secondary);
cursor: help;
transition: color 0.2s;
}
.tool-info-icon:hover {
color: var(--el-color-primary);
}
.tool-desc {
font-size: 12px;
color: var(--el-text-color-secondary);
/* 描述文字单行截断 */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.4;
}
/* 5. 空状态 */
.tools-empty-state {
text-align: center;
color: var(--el-text-color-placeholder);
padding: 30px 0;
background-color: var(--el-bg-color-page);
border-radius: 8px;
border: 1px dashed var(--el-border-color);
font-size: 13px;
}
/* =========================================
v-loading 遮罩层主题适配
========================================= */
/* 1. 遮罩背景适配 */
.el-loading-mask {
/* 使用主题背景色,并设置 70% 的透明度 */
background-color: color-mix(in srgb, var(--el-bg-color) 70%, transparent) !important;
/* 添加毛玻璃效果,符合你整体的 iOS/现代风格 */
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
transition: background-color 0.3s var(--transition-function);
z-index: 2000;
}
/* 2. 加载图标(旋转圆圈)颜色 */
.el-loading-spinner .path {
stroke: var(--el-color-primary) !important;
stroke-width: 3;
}
/* 3. 加载文字颜色 */
.el-loading-spinner .el-loading-text {
color: var(--el-color-primary) !important;
font-weight: 500;
margin-top: 10px;
letter-spacing: 0.5px;
/* 也可以使用主题字体 */
font-family: var(--el-font-family);
}
/* 4. 特殊主题下的微调 (可选) */
/* Rainbow 主题下让加载圈带点霓虹感 */
[data-theme="rainbow"] .el-loading-spinner .path {
filter: drop-shadow(0 0 5px var(--el-color-primary));
}
/* Neon 主题下文字发光 */
[data-theme="neon"] .el-loading-spinner .el-loading-text {
text-shadow: 0 0 8px var(--el-color-primary);
}
/* 5. 针对 Dialog 内部 loading 的圆角修正 */
/* 确保遮罩层不会超出 Dialog 的圆角边缘 */
.el-dialog .el-loading-mask {
border-radius: 12px;
}
/* =========================================
Unified Premium Market Banner (New Style)
========================================= */
.market-link-banner {
/* 1. 基础布局:改为更轻盈的容器 */
display: flex;
flex-direction: column;
width: auto;
box-sizing: border-box;
min-height: 100px;
margin: 10px !important;
/* 确保 z-index 逻辑 */
z-index: 1;
/* 2. 核心风格:磨砂玻璃 + 大圆角 (对齐你的 side-panel 和 el-dialog) */
background-color: var(--el-bg-color) !important;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid var(--el-border-color-lighter) !important;
border-radius: 20px !important;
/* 3. 柔和物理投影 (使用你定义的 --shadow-md 逻辑) */
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 4px rgba(0, 0, 0, 0.03) !important;
cursor: pointer;
position: relative;
overflow: hidden;
/* 4. 接入你的 Premium Motion 曲线 */
transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
/* 顶部点缀条:改为精致的窄条 */
.banner-accent-bar {
background: linear-gradient(90deg, var(--el-color-primary), var(--el-color-primary-light-5));
color: white;
font-size: 10px;
font-weight: 700;
padding: 4px 15px;
text-align: right;
letter-spacing: 1.5px;
text-transform: uppercase;
opacity: 0.9;
}
/* 主体区域 */
.banner-main {
display: flex;
align-items: center;
padding: 16px 20px;
flex: 1;
gap: 18px;
}
/* 图标盒子:改为呼吸感圆角矩形,并使用渐变背景 */
.banner-icon-box {
width: 50px;
height: 50px;
background: linear-gradient(135deg, var(--el-color-primary-light-7), var(--el-color-primary-light-9));
color: var(--el-color-primary);
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
border-radius: 14px;
border: 1px solid color-mix(in srgb, var(--el-color-primary) 20%, transparent);
flex-shrink: 0;
box-shadow: 0 4px 12px rgba(var(--el-color-primary-rgb), 0.15);
}
/* 文字区:更现代的字重分层 */
.banner-text {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
}
.banner-text h3 {
margin: 0 !important;
font-size: 16px !important;
font-weight: 700 !important;
color: var(--el-text-color-primary) !important;
letter-spacing: -0.3px;
}
.banner-text p {
margin: 4px 0 0 0 !important;
font-size: 13px !important;
color: var(--el-text-color-secondary) !important;
line-height: 1.4;
opacity: 0.8;
}
/* 右侧动作区:去掉虚线,改为更现代的箭头效果 */
.banner-action {
display: flex;
align-items: center;
gap: 6px;
font-weight: 600;
font-size: 13px;
padding-left: 15px;
color: var(--el-color-primary);
transition: all 0.3s ease;
}
/* ----------------------------------------------------
✨ 交互动效升级 (Premium Micro-interactions)
------------------------------------------------------- */
.market-link-banner:hover {
/* 模拟物理浮起 */
z-index: 10 !important;
transform: translateY(-5px) scale(1.01) !important;
border-color: var(--el-color-primary-light-5) !important;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(var(--el-color-primary-rgb), 0.1) !important;
}
.market-link-banner:hover .banner-icon-box {
/* 图标在悬停时变亮并轻微旋转 */
background: var(--el-color-primary);
color: white;
transform: rotate(-5deg) scale(1.1);
}
.market-link-banner:hover .banner-action {
transform: translateX(5px); /* 箭头向右指引 */
}
/* 点击回弹感 */
.market-link-banner:active {
transform: translateY(-2px) scale(0.98) !important;
transition-duration: 0.1s !important;
}
/* ----------------------------------------------------
各主题色适配微调
------------------------------------------------------- */
/* Dark/Midnight 主题 */
[data-theme="dark"] .market-link-banner,
[data-theme="midnight"] .market-link-banner {
background-color: rgba(255, 255, 255, 0.03) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}
[data-theme="dark"] .banner-icon-box,
[data-theme="midnight"] .banner-icon-box {
background: rgba(var(--el-color-primary-rgb), 0.2);
}
/* Rainbow / Neon 主题:增加边框光晕 */
[data-theme="rainbow"] .market-link-banner,
[data-theme="neon"] .market-link-banner {
background-color: rgba(255, 255, 255, 0.1) !important;
border: 1px solid rgba(255, 255, 255, 0.3) !important;
}
/* 容器:给整个列表加点背景区分 */
.events-management-list {
background: var(--el-bg-color-page);
border: 1px solid #dcdfe6;
border-radius: 6px;
padding: 12px;
margin-top: 10px;
}
/* 每一行的布局 */
.event-row-item {
display: flex; /* 启用弹性布局 */
align-items: center; /* 垂直居中 */
margin-bottom: 16px; /* 重要:每个输入框之间的间隔 */
gap: 12px; /* 输入框和删除按钮之间的间隔 */
}
/* 输入框占据左侧所有空间 */
.input-col {
flex: 1;
}
/* 按钮固定在右侧,不缩放 */
.action-col {
flex-shrink: 0;
}
/* 弹窗内的次级标签 */
.sub-label {
display: block;
font-size: 13px;
margin-bottom: 10px;
font-weight: bold;
}
/* 调整输入框和按钮的对齐(如果用了 textarea) */
.event-row-item .el-textarea {
display: block;
}
/* 任务中心容器 */
.task-center-container {
display: flex;
flex-direction: column;
height: 100%;
background-color: var(--el-bg-color);
}
/* 头部导航条 */
.task-center-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
border-bottom: 1px solid var(--el-border-color-light);
background-color: var(--el-bg-color);
flex-shrink: 0;
}
.header-title {
font-weight: 600;
font-size: 16px;
color: var(--el-text-color-primary);
}
/* 内容滚动区 */
.task-content-wrapper {
flex: 1;
overflow-y: auto;
padding: 12px;
}
/* 空状态 */
.task-empty-state {
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.empty-tip {
color: var(--el-text-color-secondary);
margin-bottom: 15px;
font-size: 13px;
}
/* 任务列表工具栏 */
.task-toolbar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.toolbar-title {
font-size: 15px;
font-weight: 600;
color: var(--el-text-color-primary);
}
/* 任务卡片 */
.task-card-item {
margin-bottom: 12px;
}
.task-card-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 8px;
}
.task-title-row {
flex: 1;
overflow: hidden;
margin-right: 8px;
}
.task-title {
font-weight: 600;
font-size: 14px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
}
.task-card-desc {
font-size: 12px;
color: var(--el-text-color-secondary);
line-height: 1.5;
margin-bottom: 10px;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.task-progress-bar {
margin-bottom: 10px;
}
.task-card-footer {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 8px;
border-top: 1px solid var(--el-border-color-lighter);
}
.task-meta-info {
display: flex;
gap: 10px;
font-size: 11px;
color: var(--el-text-color-placeholder);
}
.task-actions .el-button {
padding: 0 4px;
}
/* 特殊样式:任务中心入口卡片 */
.task-center-card {
border-left: 4px solid var(--el-color-primary) !important;
background-color: var(--el-bg-color-page) !important;
}
.el-card {
border: 1px solid var(--el-border-color) !important;
border-radius: 6px !important;
background-color: var(--el-bg-color-page) !important;
}
/* 强制将该按钮下的图标设为白色 */
.white-icon-btn i {
color: white !important;
/* 可选:增加一点悬停时的透明度变化,让它看起来有交互感 */
transition: opacity 0.2s;
}
.white-icon-btn:hover i {
opacity: 0.8;
}
.task-detail-view {
height: 100%;
display: flex;
flex-direction: column;
}
.task-detail-content {
padding: 15px;
overflow-y: auto;
flex: 1;
}
.task-info-summary {
background: var(--el-fill-color-light);
padding: 12px;
border-radius: 8px;
margin-bottom: 15px;
}
.timeline-wrapper {
padding: 10px 5px;
}
.history-log-item {
font-size: 13px;
line-height: 1.6;
color: var(--el-text-color-primary);
background: var(--el-bg-color);
padding: 8px 12px;
border-radius: 6px;
border: 1px solid var(--el-border-color-lighter);
}
.history-log-item.status-text {
color: var(--el-color-primary);
font-style: italic;
border: none;
background: transparent;
}
.detail-result-box {
margin-top: 20px;
padding-bottom: 30px;
}
/* 确保详情页的 markdown 格式正确 */
.markdown-body {
font-family: inherit;
font-size: 13px;
}
/* 1. 取消消息列表外层框 */
.messages-container {
background-color: transparent !important;
border-radius: 0 !important;
box-shadow: none !important;
border: none !important;
}
/* 2. 浮动输入区域整体 */
.input-container {
position: relative;
padding: 0 8px 8px 8px;
}
/* 3. unified-input-wrapper 增强成卡片感 */
.unified-input-wrapper {
background-color: var(--el-bg-color) !important;
border: 1px solid var(--el-border-color) !important;
border-radius: 16px !important;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0,0,0,0.06) !important;
}
/* 4. 工具栏按钮组(现在移入输入框内)*/
.button-group {
display: flex;
flex-wrap: wrap;
align-items: center;
padding: 8px 12px 4px 12px;
gap: 2px;
/* border-bottom: 1px solid var(--el-border-color-lighter); <-- 删除或注释掉这一行 */
border-bottom: none !important; /* 确保彻底移除线 */
}
/* 5. 图标按钮缩小,更紧凑 */
.button-group .el-button.is-circle {
width: 32px !important;
height: 32px !important;
}
/* 针对浏览器侧边栏的特殊适配 */
.browser-copilot-sidebar .messages-container {
background-color: transparent !important;
border: none !important;
box-shadow: none !important;
}
/* 侧边栏容器背景 */
.browser-copilot-sidebar {
background-color: var(--el-bg-color-page) !important;
}
/* 确保侧边栏内的输入框卡片感依然存在 */
.browser-copilot-sidebar .unified-input-wrapper {
background-color: var(--el-bg-color) !important; /* 卡片本身是白色/深灰 */
margin: 0 4px; /* 侧边栏较窄,给边缘留一点点呼吸空间 */
}
/* 移除侧边栏输入框容器可能存在的额外边框 */
.browser-copilot-sidebar .chat-area > div:last-child {
border-top: none !important;
}
/* --- 输入框容器优化 --- */
.input-container {
/* 顶部完全不留空,左右留极窄间距,底部留出呼吸空间 */
padding: 0 4px 6px 4px !important;
position: relative;
background: transparent !important;
z-index: 10;
}
/* --- 移动端适配:间距压缩到极致 --- */
@media (max-width: 768px) {
.input-container {
padding: 0 2px 4px 2px !important; /* 手机端几乎贴边 */
}
.unified-input-wrapper {
border-radius: 12px !important; /* 手机端圆角稍微减小,增加内部空间 */
}
}
/* --- 输入框卡片:增加顶部悬浮感 --- */
.unified-input-wrapper {
background-color: var(--el-bg-color) !important;
/* 增加一个向上的淡淡阴影,使其看起来像是盖在消息列表上面的 */
box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03),
0 4px 24px rgba(0, 0, 0, 0.1) !important;
border-bottom: none !important; /* 底部不需要边框,贴近屏幕边缘 */
}
/* --- 消息列表:底部留白调整 --- */
.messages-container {
/* 确保消息列表底部有足够的填充,防止最后一条消息被输入框完全挡死 */
padding-bottom: 20px !important;
}
/* 1. 消除消息区域与输入区域之间的物理间距 */
.chat-area {
gap: 0 !important; /* 关键:彻底去掉中间的空隙 */
}
/* 2. 消息容器处理 */
.messages-container {
flex: 1;
/* 增加底部填充,确保最后一条消息在滚动到底时,文字不会被浮动的输入框挡住 */
padding-bottom: 30px !important;
}
/* 3. 输入框容器:彻底去掉顶部间距,压缩左右间距 */
.input-container {
margin: 0 !important;
padding: 0 4px 8px 4px !important; /* 顶部0,左右4px贴边,底部8px呼吸 */
position: relative;
z-index: 10;
}
/* --- 输入框包裹器圆角升级 --- */
.unified-input-wrapper {
background-color: var(--el-bg-color) !important;
/* 将圆角从 12px/16px 提升到 24px */
border-radius: 24px !important;
border: 1px solid var(--el-border-color) !important;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.05),
0 10px 30px rgba(0, 0, 0, 0.1) !important;
overflow: hidden; /* 必须加上这个,确保内部的输入框不会超出圆角边缘 */
}
/* --- 内部输入框适配 --- */
.input-box-transparent .el-textarea__inner {
background-color: transparent !important;
border: none !important;
box-shadow: none !important;
/* 底部圆角要和外层保持一致,防止点击时的 focus 状态出现直角 */
border-radius: 0 0 24px 24px !important;
padding: 8px 16px 16px 16px !important; /* 增加左右内边距,配合大圆角 */
}
/* --- 移动端适配 --- */
@media (max-width: 768px) {
.unified-input-wrapper {
border-radius: 20px !important; /* 手机端稍微小一点点,更协调 */
}
.input-box-transparent .el-textarea__inner {
border-radius: 0 0 20px 20px !important;
padding: 8px 12px 12px 12px !important;
}
}
/* 5. 移动端极致贴边 */
@media (max-width: 768px) {
.input-container {
padding: 0 2px 4px 2px !important; /* 手机端左右仅留 2px,最大化宽度 */
}
.unified-input-wrapper {
border-radius: 12px !important; /* 稍微减小圆角,让视野更方正 */
}
}
/* --- 修复按钮组对齐问题 --- */
.button-group {
display: flex;
flex-wrap: wrap;
justify-content: flex-start; /* 默认左对齐 */
align-items: center;
gap: 8px; /* 使用 gap 统一控制横向和纵向间距 */
padding: 8px 12px;
border-bottom: none !important; /* 移除下边框 */
}
.send-btn {
margin-left: auto !important;
}
/* 关键修复:强制重置 Element UI 默认的按钮间距 */
.button-group .el-button {
margin: 0 !important; /* 彻底移除默认的 margin-left: 12px */
}
/* 移动端间距微调 */
@media (max-width: 768px) {
.button-group {
gap: 8px!important;
padding: 6px 8px!important;
}
}
/* =========================================
Unified Input Wrapper - Icon-Only Buttons
========================================= */
/* 1. 基础重置:移除所有按钮的背景、边框和阴影 */
.unified-input-wrapper .el-button {
background: transparent !important;
border: none !important;
box-shadow: none !important;
padding: 0 !important;
margin: 0 !important;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
height: 32px !important; /* 统一按钮高度 */
width: 32px !important; /* 统一按钮宽度 */
display: inline-flex;
align-items: center;
justify-content: center;
}
/* 2. 核心逻辑:类型(Type)只影响图标颜色 */
/* Default 类型:使用次级文字颜色(深灰) */
.unified-input-wrapper .el-button--default {
color: var(--el-text-color-regular) !important;
}
/* Primary 类型:使用主题主色 */
.unified-input-wrapper .el-button--primary {
color: var(--el-color-primary) !important;
}
/* Danger 类型:使用危险色(红色) */
.unified-input-wrapper .el-button--danger {
color: var(--el-color-danger) !important;
}
/* 3. 悬停反馈(Hover):轻微背景底色和缩放 */
.unified-input-wrapper .el-button:hover {
background-color: rgba(128, 128, 128, 0.1) !important; /* 极淡的灰色圆圈 */
transform: scale(1.1); /* 图标略微放大 */
}
/* 特定类型的悬停颜色加强 */
.unified-input-wrapper .el-button--primary:hover {
background-color: color-mix(in srgb, var(--el-color-primary) 15%, transparent) !important;
}
.unified-input-wrapper .el-button--danger:hover {
background-color: color-mix(in srgb, var(--el-color-danger) 15%, transparent) !important;
}
/* 4. 激活状态(Active/Click) */
.unified-input-wrapper .el-button:active {
transform: scale(0.95);
background-color: rgba(128, 128, 128, 0.2) !important;
}
/* 6. 禁用状态 */
.unified-input-wrapper .el-button.is-disabled {
opacity: 0.3 !important;
background: transparent !important;
cursor: not-allowed;
}
/* 7. 布局微调:确保按钮组里的图标对齐 */
.unified-input-wrapper .button-group {
gap: 4px !important; /* 按钮之间的间距 */
padding: 8px 12px 2px 12px !important; /* 调整底部间距,让它离输入框更近 */
}
/* 特殊修正:发送按钮不需要 margin-left: auto 时的对齐 */
.unified-input-wrapper .send-btn {
/* 如果你想让发送按钮依然保持在最右边 */
margin-left: auto !important;
}
/* 折叠态:放在发送按钮左侧的 compact pill */
.unified-input-wrapper .button-group .compact-status-pill {
height: 32px !important;
max-width: 200px;
padding: 0 12px !important;
font-size: 12px !important;
flex-shrink: 1;
min-width: 0;
}
.unified-input-wrapper .button-group .compact-status-pill .pill-text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* 当 button-group 里出现 compact pill 时,由首个 pill 顶替 send-btn 的 auto 占位,
* 让 [pill][pill][send-btn] 整组贴在按钮组右侧。 */
.unified-input-wrapper .button-group:has(.compact-status-pill) .compact-status-pill:first-of-type {
margin-left: auto !important;
}
.unified-input-wrapper .button-group:has(.compact-status-pill) .send-btn {
margin-left: 0 !important;
}
/* textarea 高度(1↔多行)切换的平滑过渡 */
.unified-input-wrapper .input-box-transparent .el-textarea__inner {
transition:
min-height 0.25s var(--ease-out-smooth),
height 0.25s var(--ease-out-smooth);
}
/* 容器基本样式 */
.input-container-wrapper {
position: relative;
border: 1px solid transparent;
transition: all 0.3s;
border-radius: 8px;
}
/* 拖拽时的视觉效果 */
.input-container-wrapper.is-dragging {
border: 2px dashed var(--el-color-primary);
background-color: rgba(var(--el-color-primary-rgb), 0.05);
}
/* 拖拽遮罩(可选) */
.drop-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(128, 128, 128, 0.1);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
z-index: 10;
pointer-events: none; /* 确保不干扰拖拽事件 */
color: var(--el-text-color-primary);
font-size: 14px;
}
/* =========================================
Message Bubble Buttons Optimization (紧凑修复版)
========================================= */
/* 1. 基础样式:去掉背景、边框,清零默认外边距 */
.message-actions .el-button,
.tts-controls .el-button {
background: transparent !important;
border: none !important;
box-shadow: none !important;
color: var(--el-text-color-secondary) !important;
/* 🌟 核心修复 1:彻底干掉 Element 默认的相邻按钮 margin-left */
margin: 0 !important;
padding: 0 !important;
/* 🌟 核心修复 2:将尺寸从 30px 缩小到 26px,更加紧凑精致 */
width: 26px !important;
height: 26px !important;
font-size: 13px !important; /* 稍微缩小图标字体适配容器 */
display: inline-flex;
align-items: center;
justify-content: center;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
/* 2. 悬停反馈:淡淡的圆形背景 */
.message-actions .el-button:hover,
.tts-controls .el-button:hover {
background-color: rgba(128, 128, 128, 0.1) !important;
color: var(--el-color-primary) !important;
transform: scale(1.1);
}
/* 3. 播放状态按钮 (TTS) */
.tts-controls .el-button--primary,
.tts-controls .el-button.is-active {
color: var(--el-color-primary) !important;
}
/* 4. 调整间距:确保 Flex 布局生效 */
.message-actions, .tts-controls {
/* 🌟 核心修复 3:强制使用 flex 布局,确保 gap 规则完美接管间距 */
display: flex !important;
align-items: center;
flex-wrap: wrap;
gap: 6px !important; /* 纯净的 4px 间距,配合 26px 的按钮最完美 */
margin-top: 6px !important;
opacity: 0.4;
transition: opacity 0.3s ease;
}
.message:hover .message-actions,
.message:hover .tts-controls {
opacity: 1;
}
/* =========================================
Sidebar Cards & Task Items
========================================= */
.extension-card, .task-center-card, .default-view-card {
border: 1px solid var(--el-border-color-lighter) !important;
border-radius: 16px !important; /* 更大的圆角 */
background-color: var(--el-bg-color) !important;
transition: all 0.3s ease !important;
margin-bottom: 12px !important;
}
.extension-card:hover {
border-color: var(--el-color-primary-light-5) !important;
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
}
/* 任务中心里面的列表项 */
.task-card-item .el-card {
border-radius: 12px !important;
background-color: var(--el-bg-color) !important;
}
/* =========================================
Ultra-Elegant Resizer (Capsule Style)
========================================= */
/* 1. 拖拽条物理热区 - 保持宽度,确保鼠标好抓取,不卡顿 */
.resizer {
width: 16px !important; /* 稍微给宽一点点热区,提升手感 */
background: transparent !important;
border: none !important;
position: relative;
}
/* 隐藏原有复古点阵和发光层 */
.resizer-dots, .resizer::before {
display: none !important;
}
/* 2. 绘制高级“胶囊”拖拽手柄
注意:使用 :not 排除收起状态的按钮,防止样式冲突 */
.resizer:not(.resizer-collapsed-right):not(.resizer-collapsed-left)::after {
content: '';
position: absolute;
/* 垂直和水平绝对居中 */
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
/* --- 核心调整:短一点,粗一丁点 --- */
height: 60px; /* 长度限制在中间区域 */
width: 4px; /* 稍微粗一点,不再是1px的一条线 */
/* --- 核心调整:高级圆角 --- */
border-radius: 4px; /* 上下全圆角,形成完美的胶囊状 */
/* 默认颜色:低调的高级灰,不抢戏 */
background-color: var(--el-border-color-darker, rgba(144, 147, 153, 0.4));
/* 弹性动画过渡 */
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* 3. 悬停和正在拖拽时的交互反馈 */
.resizer:not(.resizer-collapsed-right):not(.resizer-collapsed-left):hover::after,
.chat-wrapper.resizing .resizer::after {
width: 6px; /* 微微变粗,增强握持感 */
height: 72px; /* 微微拉长,增加动态张力 */
background-color: var(--el-color-primary); /* 亮起主题色 */
box-shadow: 0 0 10px rgba(var(--el-color-primary-rgb), 0.5); /* 柔和的发光 */
}
/* -----------------------------------------
2. 右侧面板 (Side Panel) - 悬浮大卡片化
----------------------------------------- */
.side-panel {
/* 背景从页面底色改为“组件纯色”,更具实体感 */
background-color: var(--el-bg-color) !important;
/* 现代化的圆角 */
border-radius: 16px !important;
border: 1px solid var(--el-border-color-lighter) !important;
/* 高级悬浮阴影 */
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
border: 1px solid rgba(255, 255, 255, 0.05) !important;
/* 制造卡片悬浮感:上下右留出间距,左侧贴近拖拽条 */
margin: 12px 12px 12px 0 !important;
height: calc(100% - 24px) !important; /* 配合 margin 扣除高度 */
overflow: hidden; /* 关键:防止内部的网页/列表把圆角刺破 */
}
/* 确保右侧面板里的内部容器(如iframe)完美贴合新的大圆角 */
.side-panel-iframe,
.side-panel-scroll {
border-radius: 16px !important;
background: transparent !important;
}
/* =========================================
Auto-Hiding Scrollbars (Mac-style Immersive)
========================================= */
/* 1. 目标滚动容器:左侧消息列表、右侧面板及内层各类列表 */
.messages-container,
.side-panel-scroll,
.task-content-wrapper,
.task-detail-content,
.extensions-list {
/* Firefox 方案:默认滑块和轨道都透明 */
scrollbar-color: transparent transparent;
scrollbar-width: thin;
/* 增加平滑过渡 */
transition: scrollbar-color 0.4s ease;
overflow-anchor: none;
}
/* Chrome/Edge/Safari 方案:默认滑块透明 */
.messages-container::-webkit-scrollbar-thumb,
.side-panel-scroll::-webkit-scrollbar-thumb,
.task-content-wrapper::-webkit-scrollbar-thumb,
.task-detail-content::-webkit-scrollbar-thumb,
.extensions-list::-webkit-scrollbar-thumb {
background-color: transparent !important;
border-radius: 6px; /* 更加圆润 */
}
/* 2. 交互状态:当鼠标悬停 (hover) 或 容器内正在输入/点击 (focus-within) 时,浮现滚动条 */
.messages-container:hover,
.messages-container:focus-within,
.side-panel-scroll:hover,
.side-panel-scroll:focus-within,
.task-content-wrapper:hover,
.task-content-wrapper:focus-within,
.task-detail-content:hover,
.task-detail-content:focus-within,
.extensions-list:hover,
.extensions-list:focus-within {
/* Firefox 唤醒颜色 */
scrollbar-color: rgba(144, 147, 153, 0.3) transparent;
}
/* Chrome/Edge/Safari 唤醒颜色 */
.messages-container:hover::-webkit-scrollbar-thumb,
.messages-container:focus-within::-webkit-scrollbar-thumb,
.side-panel-scroll:hover::-webkit-scrollbar-thumb,
.side-panel-scroll:focus-within::-webkit-scrollbar-thumb,
.task-content-wrapper:hover::-webkit-scrollbar-thumb,
.task-content-wrapper:focus-within::-webkit-scrollbar-thumb,
.task-detail-content:hover::-webkit-scrollbar-thumb,
.task-detail-content:focus-within::-webkit-scrollbar-thumb,
.extensions-list:hover::-webkit-scrollbar-thumb,
.extensions-list:focus-within::-webkit-scrollbar-thumb {
background-color: rgba(144, 147, 153, 0.3) !important;
}
/* 3. 握持状态:当鼠标精准放在滚动条滑块上时,颜色进一步加深,提示可拖拽 */
.messages-container::-webkit-scrollbar-thumb:hover,
.side-panel-scroll::-webkit-scrollbar-thumb:hover,
.task-content-wrapper::-webkit-scrollbar-thumb:hover,
.task-detail-content::-webkit-scrollbar-thumb:hover,
.extensions-list::-webkit-scrollbar-thumb:hover {
background-color: rgba(144, 147, 153, 0.6) !important;
}
/* --- (可选) 针对右侧 iframe 的隐藏滚动条穿透 --- */
/* 注意:iframe 内的网页滚动条需要网页自身支持,但在侧边栏套壳时,尽量保证外部干净 */
.side-panel-iframe {
scrollbar-width: thin;
scrollbar-color: transparent transparent;
}
.side-panel-iframe:hover {
scrollbar-color: rgba(144, 147, 153, 0.3) transparent;
}
/* =========================================
深色主题适配:右侧大卡片的高级发光与边框
========================================= */
[data-theme="dark"] .side-panel {
/* 稍微提亮边框,增强物理边缘感 */
border-color: rgba(255, 255, 255, 0.08) !important;
/* 核心修改:使用半透明白色产生边缘泛光 (Outer Glow) */
box-shadow: 0 8px 32px rgba(255, 255, 255, 0.04),
0 2px 10px rgba(255, 255, 255, 0.03) !important;
}
[data-theme="midnight"] .side-panel {
border-color: rgba(14, 165, 233, 0.3) !important;
/* 核心修改:底层深海蓝 + 表层白光泛晕 */
box-shadow: 0 8px 32px rgba(2, 132, 199, 0.15),
0 0 15px rgba(255, 255, 255, 0.06) !important;
}
[data-theme="neon"] .side-panel {
border-color: rgba(106, 69, 209, 0.6) !important;
/* 核心修改:霓虹底色 + 亮白光晕,彻底拉开与背景的层次 */
box-shadow: 0 8px 32px rgba(101, 0, 255, 0.25),
0 0 20px rgba(255, 255, 255, 0.08),
0 0 10px rgba(255, 45, 149, 0.2) !important;
}
/* =========================================
输入框底部状态栏 (模型与扩展指示器)
========================================= */
/* 微调输入框自身的底边距,让出空间给状态栏 */
.input-box-transparent .el-textarea__inner {
padding: 8px 16px 6px 16px !important; /* 将底部的 padding 缩小 */
}
/* 底部状态栏容器 */
.input-status-bar {
display: flex;
align-items: center;
gap: 8px;
padding: 0 16px 12px 16px; /* 补足底部呼吸空间,与左右对齐 */
background: transparent;
user-select: none;
}
/* 基础胶囊样式优化 */
.status-pill {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 14px; /* 增加左右内边距,更有胶囊感 */
background-color: #f0f4f9; /* 浅灰色背景,类似 Gemini */
border: 1px solid transparent; /* 默认无边框 */
border-radius: 20px; /* 完美的圆角 */
color: #444746; /* 柔和的深灰色文字 */
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
user-select: none;
height: 32px; /* 固定高度使其对齐 */
box-sizing: border-box;
}
/* 悬停效果:背景加深或出现细微边框 */
.status-pill:hover {
background-color: #e3e7ed;
color: #1f1f1f;
}
/* 图标样式微调 */
.status-pill i {
font-size: 14px;
color: #5f6368; /* 图标颜色比文字稍浅 */
transition: color 0.2s;
}
.status-pill:hover i {
color: #1a73e8; /* 悬停时图标变蓝,增加交互感 */
}
/* 文字部分 */
.pill-text {
max-width: 120px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
[data-theme="dark"] .pill-text,
[data-theme="midnight"] .pill-text,
[data-theme="neon"] .pill-text {
color: #fff;
}
/* --- 特殊状态适配 --- */
/* Dashboard 主页上的大胶囊可以稍微大一点 */
.hero-model-pill {
background-color: white; /* 首页大输入框背景通常是白色的,胶囊可以用白色配淡淡的边框 */
border: 1px solid #dfe1e5;
padding: 8px 16px;
height: 36px;
}
.hero-model-pill:hover {
background-color: #f8f9fa;
border-color: #d2d2d2;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
/* 下拉菜单触发器样式 (针对权限模式等) */
.status-pill-dropdown {
display: inline-flex;
}
/* 当胶囊处于激活/打开状态时 */
.el-dropdown-selfdefine.status-pill,
.status-pill[aria-expanded="true"] {
background-color: #e8f0fe;
color: #1967d2;
}
/* 在多胶囊条同时出现时,允许状态栏内的内容横向滚动而不换行(防过长溢出) */
.input-status-bar {
flex-wrap: nowrap;
overflow-x: auto;
/* 隐藏滚动条让视觉更清爽 */
scrollbar-width: none;
}
.input-status-bar::-webkit-scrollbar {
display: none;
}
/* =========================================
全局 El-Dropdown 下拉菜单主题适配 (终极卡片化版)
========================================= */
/* 1. 最外层弹出层容器 (Popper) - 核心物理外壳 */
.el-popper.el-dropdown__popper {
/* 卡片底色,使用毛玻璃效果,增加现代感 */
background: var(--el-bg-color-overlay, var(--el-bg-color)) !important;
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
/* 🌟 核心:更大的圆角 (16px) 和更强的悬浮阴影 */
border: 1px solid var(--el-border-color-lighter) !important;
border-radius: 16px !important;
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06) !important;
padding: 0 !important;
overflow: visible !important;
}
/* 2. 内部菜单列表 (Menu) */
.el-dropdown-menu {
background: transparent !important;
border: none !important;
box-shadow: none !important;
/* 给内部选项留出充裕的呼吸空间,形成 "大圆角包小圆角" 的美感 */
padding: 8px !important;
border-radius: 16px !important;
}
/* 3. 单个选项 (Menu Item) */
.el-dropdown-menu__item {
color: var(--el-text-color-primary) !important;
/* 内部选项采用 10px 圆角胶囊 */
border-radius: 10px !important;
margin: 2px 0 !important;
padding: 10px 16px !important;
font-size: 13.5px !important;
font-weight: 500 !important;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
/* 选项悬停/聚焦 (Hover) */
.el-dropdown-menu__item:hover,
.el-dropdown-menu__item:focus {
background-color: color-mix(in srgb, var(--el-color-primary) 12%, transparent) !important;
color: var(--el-color-primary) !important;
/* 保持原地不动,确保左右留白绝对对称 */
transform: none !important;
}
/* 被禁用的选项 */
.el-dropdown-menu__item.is-disabled {
color: var(--el-text-color-placeholder) !important;
background-color: transparent !important;
cursor: not-allowed;
transform: none;
}
/* 4. 修复指示箭头 (Arrow) - 让箭头颜色跟上卡片的外壳 */
.el-popper.is-light .el-popper__arrow::before {
background: var(--el-bg-color-overlay, var(--el-bg-color)) !important;
border-color: var(--el-border-color-lighter) !important;
}
/* =========================================
三个深色主题的深度优化 (纯净物理阴影,无发光)
========================================= */
/* [Dark] 石墨黑主题 */
[data-theme="dark"] .el-popper.el-dropdown__popper {
background: #1e1e1e !important;
border-color: #383835 !important; /* 柔和的深灰边框 */
/* 纯黑深邃阴影,无多余光晕 */
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}
[data-theme="dark"] .el-popper.is-light .el-popper__arrow::before {
background: #1e1e1e !important;
border-color: #383835 !important;
}
/* [Midnight] 午夜海洋主题 */
[data-theme="midnight"] .el-popper.el-dropdown__popper {
background: #1e293b !important;
border-color: #334155 !important; /* 匹配午夜主题的灰蓝边框 */
/* 纯黑深邃阴影 */
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}
[data-theme="midnight"] .el-popper.is-light .el-popper__arrow::before {
background: #1e293b !important;
border-color: #334155 !important;
}
/* [Neon] 多巴胺/霓虹主题 (仅保留色彩边框,去除外围光晕) */
[data-theme="neon"] .el-popper.el-dropdown__popper {
background: #2d1b5b !important;
border-color: #6a45d1 !important; /* 保留其标志性的紫色物理边框 */
/* 纯黑深邃阴影,去除紫粉色发光 */
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}
[data-theme="neon"] .el-popper.is-light .el-popper__arrow::before {
background: #2d1b5b !important;
border-color: #6a45d1 !important;
}
/* =========================================
移动端输入框悬浮优化 & 按住说话 (PTT) 模式
========================================= */
/* 1. 移动端输入框悬浮效果 (覆盖之前的极致贴边) */
@media (max-width: 768px) {
.input-container {
/* 左右留出 12px,底部留出 15px,形成呼吸悬浮感 */
padding: 0 12px 15px 12px !important;
}
.unified-input-wrapper {
/* 恢复较大圆角,增强实体感 */
border-radius: 20px !important;
/* 强化悬浮投影,将其与聊天背景彻底剥离 */
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12),
0 4px 12px rgba(0, 0, 0, 0.08) !important;
border: 1px solid var(--el-border-color-lighter) !important;
}
/* 确保底部的状态栏边距适配悬浮卡片 */
.input-status-bar {
padding: 0 12px 10px 12px !important;
}
}
.input-container {
margin: 0 !important;
/* 将底部的 8px 改为 24px 或 30px,给阴影留足空间 */
padding: 0 4px 24px 4px !important;
position: relative;
z-index: 10;
}
/* 2. 左下角:语音 / 键盘 切换按钮 */
.voice-toggle-btn {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 50%;
color: var(--el-text-color-regular);
cursor: pointer;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
flex-shrink: 0;
margin-right: 4px; /* 与右侧的模型胶囊稍微隔开 */
}
.voice-toggle-btn:hover {
background-color: rgba(128, 128, 128, 0.1);
color: var(--el-color-primary);
}
.voice-toggle-btn:active {
transform: scale(0.9);
}
.voice-toggle-btn i {
font-size: 16px;
}
/* =========================================
无缝按住说话模式 (Seamless PTT)
========================================= */
/* 1. 外层容器:占满输入框原本的位置 */
.ptt-seamless-wrapper {
width: 100%;
height: 100%;
min-height: 48px; /* 保持和输入框差不多的高度 */
display: flex;
flex-direction: column;
}
/* 2. 点击区域:完全透明,无边框,融为一体 */
.ptt-seamless-area {
flex: 1;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
cursor: pointer;
/* 字体样式 */
font-size: 15px;
font-weight: 500;
color: var(--el-text-color-secondary); /* 默认灰色,像 placeholder */
letter-spacing: 1px;
/* 关键:去背景、去边框 */
background: transparent;
border: none;
border-radius: inherit; /* 跟随父级圆角 */
/* 防止触摸时选中文本 */
user-select: none;
-webkit-user-select: none;
touch-action: none;
transition: all 0.2s ease;
}
/* 3. 按下状态:背景微变,文字变色 */
.ptt-seamless-area.is-recording {
/* 背景变成淡淡的主色调,而不是深色按钮 */
background-color: var(--el-color-primary-light-9);
color: var(--el-color-primary);
font-weight: 600;
}
/* 4. (可选) 简单的声波动画条,增加录音时的动感 */
.recording-wave {
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
height: 20px;
margin-bottom: 4px;
}
.recording-wave span {
width: 3px;
height: 100%;
background-color: var(--el-color-primary);
border-radius: 2px;
animation: wave-stretch 0.8s ease-in-out infinite;
}
.recording-wave span:nth-child(1) { animation-delay: 0.0s; height: 40%; }
.recording-wave span:nth-child(2) { animation-delay: 0.1s; height: 70%; }
.recording-wave span:nth-child(3) { animation-delay: 0.2s; height: 100%; }
.recording-wave span:nth-child(4) { animation-delay: 0.1s; height: 70%; }
.recording-wave span:nth-child(5) { animation-delay: 0.0s; height: 40%; }
@keyframes wave-stretch {
0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
50% { transform: scaleY(1.0); opacity: 1; }
}
/* 适配暗黑模式 */
[data-theme="dark"] .ptt-seamless-area.is-recording {
background-color: rgba(var(--el-color-primary-rgb), 0.15);
}
/* 桌面端全局录音悬浮层 */
.desktop-recording-overlay {
position: fixed;
top: 40%; /* 浮动在屏幕中间偏上一点 */
left: 50%;
transform: translate(-50%, -50%);
z-index: 9999;
pointer-events: none; /* 防止遮挡鼠标点击 */
animation: fadeIn 0.2s ease-out;
}
.desktop-recording-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: var(--bg-color);
backdrop-filter: blur(8px);
padding: 30px 40px;
border-radius: 20px;
color: var(--el-text-color);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.desktop-recording-content .mic-icon {
font-size: 40px;
margin-bottom: 15px;
color: var(--el-primary-color); /* 主题色 */
}
.desktop-recording-content .ptt-text {
margin-top: 15px;
font-size: 16px;
letter-spacing: 1px;
}
/* 确保波纹动画在桌面提示框里正常显示 (如果你已经全局定义了,这段可以省略) */
.desktop-recording-content .recording-wave {
display: flex;
align-items: center;
gap: 4px;
height: 30px;
}
.desktop-recording-content .recording-wave span {
display: inline-block;
width: 4px;
height: 100%;
background-color: #409eff;
border-radius: 2px;
animation: wave 1s infinite ease-in-out;
}
.desktop-recording-content .recording-wave span:nth-child(1) { animation-delay: 0.0s; }
.desktop-recording-content .recording-wave span:nth-child(2) { animation-delay: 0.1s; }
.desktop-recording-content .recording-wave span:nth-child(3) { animation-delay: 0.2s; }
.desktop-recording-content .recording-wave span:nth-child(4) { animation-delay: 0.3s; }
.desktop-recording-content .recording-wave span:nth-child(5) { animation-delay: 0.4s; }
@keyframes wave {
0%, 100% { transform: scaleY(0.3); }
50% { transform: scaleY(1); }
}
@keyframes fadeIn {
from { opacity: 0; transform: translate(-50%, -40%); }
to { opacity: 1; transform: translate(-50%, -50%); }
}
/* =========================================
Skill Cards: Location Management Footer
========================================= */
/* 消除原 provider-card 底部 padding 带来的影响,使底部状态栏贴边 */
.skill-card {
padding-bottom: 0 !important;
overflow: hidden; /* 确保底部圆角不会被状态栏破坏 */
display: flex;
flex-direction: column;
}
.skill-content-wrapper {
flex: 1;
padding: 0 0 16px 0;
}
.skill-desc {
font-size: 13px;
color: var(--el-text-color-regular);
margin-bottom: 8px;
line-height: 1.5;
height: 38px;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* 底部状态管理栏外层 */
.skill-locations-bar {
display: flex;
align-items: stretch;
margin: auto -1.25rem 0 -1.25rem; /* 抵消父级 padding,紧贴卡片底部和左右边缘 */
border-top: 1px solid var(--el-border-color-lighter);
}
/* 左右两侧的独立面板 */
.location-pane {
flex: 1;
padding: 10px 14px;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 8px;
transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* 当该区域存在内容时,给出极其微弱的成功色混合背景 (完美适配多巴胺/暗色) */
.location-pane.is-active {
background-color: color-mix(in srgb, var(--el-color-success) 4%, transparent);
}
/* 禁用状态变灰 */
.location-pane.is-disabled {
opacity: 0.5;
pointer-events: none;
}
/* 分割线 */
.pane-divider {
width: 1px;
background-color: var(--el-border-color-lighter);
}
/* 区域标题 (如 Global / Project) */
.pane-title {
font-size: 11px;
color: var(--el-text-color-secondary);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
display: flex;
align-items: center;
gap: 6px;
}
/* 状态和操作按钮同行 */
.pane-action {
display: flex;
justify-content: space-between;
align-items: center;
height: 24px; /* 固定高度防止按钮导致跳动 */
}
/* 状态文字指示器 */
.status-indicator {
font-size: 12px;
font-weight: 500;
display: flex;
align-items: center;
gap: 4px;
}
.status-indicator.success { color: var(--el-color-success); }
.status-indicator.pending { color: var(--el-text-color-placeholder); font-weight: 400; }
.status-indicator.disabled { color: var(--el-color-danger); font-size: 11px; }
/* 专门优化底部操作图标按钮,继承你的无边框风格 */
.action-icon-btn {
margin: 0 !important;
padding: 4px !important;
height: 24px !important;
width: 24px !important;
font-size: 13px !important;
border-radius: 6px !important;
}
.action-icon-btn:hover {
background-color: var(--el-fill-color) !important;
transform: scale(1.1);
}
/* 1. 整体容器间距调整 */
.workspace-tree-wrapper {
padding: 15px !important; /* 增加外边距 */
}
/* 2. 调整树节点的高度和文字大小 */
.large-workspace-tree .el-tree-node__content {
height: 40px !important; /* 增加每一行的高度 (默认通常是 26px) */
margin-bottom: 2px; /* 节点之间留一点缝隙 */
border-radius: 6px; /* 圆角看起来更现代 */
}
/* 3. 调整自定义节点内部布局 */
.workspace-tree-node {
font-size: 15px !important; /* 放大文字大小 (从 13px -> 15px) */
display: flex;
align-items: center;
width: 100%;
}
/* 4. 放大图标尺寸 */
.workspace-tree-node i {
font-size: 18px !important; /* 图标放大 (从 14px -> 18px) */
margin-right: 10px !important; /* 图标与文字的间距 */
width: 20px;
text-align: center;
}
/* 5. 调整节点标签 */
.workspace-tree-node .node-label {
gap: 8px !important;
font-weight: 500; /* 稍微加粗文字 */
color: var(--el-text-color-primary);
}
/* 6. 调整右侧操作按钮的大小 */
.workspace-tree-node .node-actions .el-button {
font-size: 16px !important; /* 放大操作图标 */
padding: 4px 8px;
}
/* 7. 悬浮状态背景加深(可选) */
.large-workspace-tree .el-tree-node__content:hover {
background-color: var(--el-fill-color-light) !important;
}
/* 8. 选中状态样式 */
.large-workspace-tree .el-tree-node.is-current > .el-tree-node__content {
background-color: var(--el-color-primary-light-9) !important;
color: var(--el-color-primary) !important;
}
.unified-input-wrapper .icon-btn.el-button {
border: none !important;
background-color: transparent !important;
box-shadow: none !important;
transition: all 0.2s ease;
&.el-button--primary {
background-color: rgba(var(--el-color-primary-rgb), 0.1) !important;
color: var(--el-color-primary) !important; /* 图标呈颜色,背景浅 */
&:hover {
background-color: rgba(var(--el-color-primary-rgb), 0.2) !important;
}
}
&.el-button--default {
color: var(--el-text-color-regular);
&:hover {
background-color: rgba(128, 128, 128, 0.1) !important;
}
}
}
.unified-input-wrapper {
background-color: var(--el-bg-color) !important;
border-radius: 24px !important;
border: 1px solid var(--el-border-color) !important;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
/* 修复尖角:减小向下的偏移和模糊度(例如改为 0 4px 10px),使其在 8px 的缝隙内能平滑消散 */
box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.05),
0 4px 10px rgba(0, 0, 0, 0.08) !important;
overflow: hidden;
}
/* 胶囊模式专用(或者全局标准 primary 按钮) */
.status-btn.el-button--primary {
/* 使用你主题定义的渐变或纯色 */
background: linear-gradient(145deg, var(--el-color-primary), var(--el-color-primary-light-3)) !important;
color: #ffffff !important; /* 强制图标反色为白色 */
box-shadow: 0 4px 12px rgba(var(--el-color-primary-rgb), 0.4) !important;
border: none !important;
}
/* 胶囊按钮内部图标颜色强制白色 */
.status-btn.el-button--primary i {
color: #ffffff !important;
}
/* =========================================
Enhanced Media Attachments (Adaptive Ratio)
========================================= */
/* 1. 容器:允许内容根据大小自动换行 */
.user-msg-attachments {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 10px;
justify-content: flex-end; /* 用户消息靠右 */
}
/* 助手消息里的附件靠左 */
.message.assistant .user-msg-attachments {
justify-content: flex-start;
}
/* 2. 基础项重置:取消 54px 固定尺寸 */
.user-msg-attachments .attachment-item-display {
width: auto !important;
height: auto !important;
flex: 0 1 auto !important; /* 允许根据内容收缩 */
border-radius: 12px;
overflow: hidden;
position: relative;
background-color: rgba(255, 255, 255, 0.1) !important;
border: 1px solid rgba(128, 128, 128, 0.2) !important;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
transition: transform 0.2s ease;
}
/* 3. 图片尺寸:适中 */
.image-item-wrapper {
max-width: 90px; /* 图片最大宽度 */
max-height: 90px;
}
/* 4. 视频尺寸:明显比图片大一些,突出视觉重心 */
.video-item-wrapper {
max-width: 160px; /* 视频最大宽度 */
max-height: 90px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
/* 5. 媒体渲染核心:保持原比例 */
.preview-media-box {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.preview-media-box img,
.preview-media-box video {
width: auto;
height: auto;
max-width: 100%;
max-height: 300px; /* 强制最高上限 */
display: block;
object-fit: contain; /* 确保不被裁切 */
}
/* 针对视频的黑色底色,防止比例不匹配时露白 */
.video-item-wrapper .preview-media-box {
background-color: #000;
}
/* 6. 视频特有修饰:播放标识 */
.video-indicator {
position: absolute;
top: 10px;
left: 10px;
width: 24px;
height: 24px;
background: rgba(0, 0, 0, 0.5);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 10px;
pointer-events: none;
border: 1px solid rgba(255,255,255,0.3);
}
/* 3. 清除图标可能存在的默认边距 */
.user-msg-attachments .file-icon {
color: #ffffff !important;
}
/* 4. 文字区域:确保宽度 100% 且居中 */
.user-msg-attachments .file-info .file-name {
color: #ffffff !important; /* 文字颜色 */
}
/* 7. 文件附件 (保持 54px 方块) */
.user-msg-attachments .attachment-item-display .file-item {
width: 90px !important;
height: 90px !important;
padding: 0 !important;
}
.user-msg-attachments .attachment-item-display .file-item .file-card-box{
width: 90px !important;
height: 90px !important;
padding: 0 !important;
}
/* 8. 悬停交互 */
.attachment-item-display:hover {
transform: scale(1.02);
border-color: var(--el-color-primary) !important;
}
.wechat-guide {
padding: 10px 5px;
}
.guide-step {
display: flex;
gap: 15px;
margin-bottom: 20px;
position: relative;
}
/* 连接线 */
.guide-step:not(:last-child)::after {
content: '';
position: absolute;
left: 14px;
top: 30px;
bottom: -10px;
width: 2px;
background: var(--el-border-color-lighter);
}
.step-num {
width: 30px;
height: 30px;
background: var(--el-color-primary);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
flex-shrink: 0;
z-index: 1;
}
.step-title {
font-weight: 600;
margin-bottom: 4px;
font-size: 15px;
}
.step-desc {
font-size: 13px;
color: var(--el-text-color-secondary);
line-height: 1.5;
margin-bottom: 8px;
}
.code-wrapper {
background: #1a1b1e;
padding: 8px 12px;
border-radius: 6px;
border: 1px solid var(--el-border-color);
display: flex;
justify-content: space-between;
align-items: center;
}
code {
color: #00c2a8;
font-family: 'Courier New', Courier, monospace;
font-size: 13px;
}
.mt-4 {
margin-top: 16px;
}
.video-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* 视频建议稍微宽一点 */
gap: 20px;
padding-top: 15px;
}
.video-item {
border-radius: 8px;
border: 1px solid #ebeef5;
background: #fdfdfd;
overflow: hidden;
}
.video-wrapper {
position: relative;
background: #000;
aspect-ratio: 16 / 9;
}
.video-player {
width: 100%;
height: 100%;
display: block;
}
/* 顶部操作遮罩 */
.video-top-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 40px; /* 只占顶部一小部分 */
padding: 8px 10px;
background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
display: flex;
justify-content: space-between;
align-items: flex-start;
opacity: 0;
transition: opacity 0.3s;
pointer-events: none; /* 重要:不干扰视频点击 */
}
/* 鼠标悬浮在视频项时显示顶部按钮 */
.video-item:hover .video-top-overlay {
opacity: 1;
pointer-events: auto; /* 悬浮时允许点击按钮 */
}
.video-quick-actions {
display: flex;
gap: 6px;
}
.video-mini-btn {
padding: 4px !important;
height: 28px !important;
width: 28px !important;
border: none !important;
}
.video-mini-btn:hover {
background: #fff !important;
}
.video-info-footer {
padding: 8px 12px;
font-size: 13px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
/* 隐藏 Checkbox 文字 */
:deep(.checkbox-no-label .el-checkbox__label) {
display: none;
}
/* 1. 主容器:全局居中排版 */
.dashboard-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center; /* 垂直居中 */
height: 100%;
padding: 0 20px;
box-sizing: border-box;
animation: dashboardFadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes dashboardFadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* 2. 核心区域宽度限制 */
.dashboard-hero {
width: 100%;
max-width: 760px; /* 类似搜索引擎的标准宽度 */
margin-bottom: 30px;
display: flex;
flex-direction: column;
}
/* 3. 问候语:极致克制,去掉浮夸渐变,改用纯净文字 */
.dashboard-title {
font-size: 32px;
font-weight: 500;
color: var(--el-text-color-primary);
margin-bottom: 24px;
text-align: left; /* 靠左对齐,和图例一致 */
letter-spacing: 1px;
}
/* 4. 融合式胶囊输入框 (强化立体感版) */
.hero-input-wrapper {
/* 1. 拉开色差:强制使用纯净组件底色(亮色下通常是纯白) */
background-color: var(--el-bg-color) !important;
/* 2. 边框稍微加深一档,勾勒明确的物理边界 */
border: 1px solid var(--el-border-color-light);
border-radius: 24px;
overflow: hidden;
display: flex;
flex-direction: column;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
/* 3. 强化阴影:双层阴影设计,增强纸面悬浮感 */
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06),
0 2px 8px rgba(0, 0, 0, 0.04);
}
/* 输入框聚焦状态:发光+上浮反馈 */
.hero-input-wrapper.is-focus {
background-color: var(--el-bg-color) !important;
border-color: var(--el-color-primary);
/* 聚焦时强化主色调晕染和立体上浮感 */
box-shadow: 0 12px 40px rgba(var(--el-color-primary-rgb), 0.12),
0 0 0 1px var(--el-color-primary) inset,
0 4px 12px rgba(0, 0, 0, 0.05);
transform: translateY(-2px);
}
/* 输入框本身重置:彻底透明 */
.hero-textarea .el-textarea__inner {
border: none !important;
box-shadow: none !important;
background: transparent !important;
font-size: 16px;
padding: 20px 24px 10px 24px !important; /* 调整内边距 */
color: var(--el-text-color-primary);
line-height: 1.6;
}
.hero-textarea .el-textarea__inner::placeholder {
color: var(--el-text-color-placeholder);
font-weight: 400;
}
/* 5. 融于一体的工具栏 (无边界感) */
.hero-input-footer {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 16px 12px 16px;
background: transparent;
/* 移除原有的上边框,让工具栏和输入框融为一体 */
border-top: none;
}
/* 工具栏图标按钮扁平化 */
.hero-input-footer .el-button {
background: transparent !important;
border: none !important;
box-shadow: none !important;
color: var(--el-text-color-secondary);
font-size: 16px;
width: 36px;
height: 36px;
transition: all 0.2s;
}
.hero-input-footer .el-button:hover {
background-color: rgba(128, 128, 128, 0.1) !important;
color: var(--el-color-primary);
transform: scale(1.1);
}
/* 发送按钮特殊高亮 */
.hero-send-btn {
color: var(--el-color-primary) !important;
}
.hero-send-btn:hover {
background-color: color-mix(in srgb, var(--el-color-primary) 15%, transparent) !important;
}
/* 6. 建议标签组 (Chips) - 替代原本臃肿的方块卡片 */
.guide-grid {
display: flex;
flex-wrap: wrap;
justify-content: flex-start; /* 靠左排列 */
gap: 12px;
width: 100%;
max-width: 760px; /* 与输入框等宽 */
}
/* 芯片式卡片 */
.guide-card {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 18px;
background-color: var(--el-bg-color-page); /* 使用稍深的底色 */
border: 1px solid var(--el-border-color-lighter);
border-radius: 30px; /* 完全的胶囊形 */
cursor: pointer;
transition: all 0.2s ease;
position: relative;
}
.guide-card:hover {
background-color: var(--el-bg-color);
border-color: var(--el-color-primary-light-5);
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}
/* 隐藏冗长的描述文字,只保留标题和图标 */
.card-info p {
display: none;
}
/* 芯片内标题 */
.card-info h3 {
margin: 0;
font-size: 14px;
font-weight: 500;
color: var(--el-text-color-regular);
transition: color 0.2s;
}
.guide-card:hover .card-info h3 {
color: var(--el-text-color-primary);
}
/* 芯片内小图标 */
.card-icon {
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
width: 20px;
height: 20px;
border-radius: 50%;
}
/* 图标颜色方案微调 (适应小尺寸) */
.card-icon.blue { color: #409eff; }
.card-icon.pink { color: #ff69b4; }
.card-icon.gold { color: #e6a23c; }
.card-icon.green { color: #67c23a; }
.card-icon.purple { color: #9b59b6; }
.card-icon.cyan {
color: #00bcd4;
}
.card-icon.indigo {
color: #3f51b5;
}
.card-icon.orange {
color: #ff9800;
}
.card-icon.red {
color: #ff4136; /* 明亮红色 */
}
.card-icon.teal {
color: #009688;
}
/* =========================================
Dashboard 建议标签(Chips)中收藏星星显色
========================================= */
/* 1. 确保星星容器在胶囊右侧对齐 */
.guide-card .fav-star {
display: flex;
align-items: center;
margin-left: 6px; /* 与标题保持一点间距 */
cursor: pointer;
}
/* 2. 强制激活状态的星星显示为金黄色 */
.guide-card .fav-star.active i,
.guide-card .fav-star.active .fa-star {
color: #f1c40f !important; /* 经典的收藏金黄色 */
filter: drop-shadow(0 0 3px rgba(241, 196, 15, 0.4)); /* 增加微弱光晕,让它在深浅色背景下都好看 */
transition: all 0.3s ease;
}
/* 3. 悬停交互:星星稍微变大 */
.guide-card .fav-star:hover i {
transform: scale(1.2);
color: #f39c12 !important; /* 悬停时深一度的橙黄 */
}
/* 4. 针对 guide-card 内部布局的微调 */
.guide-card.extension {
justify-content: space-between; /* 让内容和星星分别靠在两头 */
min-width: 100px;
}
/* 7. 移动端适配 */
@media (max-width: 768px) {
.dashboard-hero {
margin-bottom: 20px;
}
.dashboard-title {
font-size: 26px;
text-align: center; /* 手机端居中好看些 */
}
.guide-grid {
justify-content: center; /* 手机端标签居中 */
}
.guide-card {
padding: 8px 14px;
}
}
/* 扩展卡片右上角按钮组 */
.btn-top-right {
position: absolute;
top: 12px;
right: 12px;
z-index: 10;
display: flex; /* 横向排列 */
align-items: center; /* 居中对齐 */
}
/* 激活状态的星星颜色(明亮的金色) */
.star-active {
color: #e6a23c !important; /* Element Plus 的警告色(金色),在深浅色下都很醒目 */
/* 可以加一点微微的发光感 */
filter: drop-shadow(0 0 2px rgba(230, 162, 60, 0.4));
animation: star-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* 可选:点亮星星时的 Q 弹小动画 */
@keyframes star-pop {
0% { transform: scale(0.8); }
50% { transform: scale(1.2); }
100% { transform: scale(1); }
}
/* =========================================
Unified & Hero Input Buttons Fix (不冲突版)
========================================= */
/* 1. 基础样式:针对独立的图标按钮 (TTS, ASR, 附件) */
/* 我们使用更具体的类名,避免影响到 status-pill */
.hero-input-footer .el-button:not(.status-pill):not(.el-button--primary):not(.el-button--danger) {
background: transparent !important;
border: none !important;
box-shadow: none !important;
color: var(--el-text-color-regular) !important;
opacity: 0.6;
padding: 0 !important;
width: 32px !important;
height: 32px !important;
transition: all 0.2s ease !important;
}
/* 2. 激活状态:当 type="primary" 时(TTS开启、ASR开启) */
.hero-input-footer .el-button--primary:not(.hero-send-btn) {
/* 强制显色 */
color: var(--el-color-primary) !important;
/* 浅色背景提示 */
background-color: color-mix(in srgb, var(--el-color-primary) 15%, transparent) !important;
opacity: 1 !important;
border: none !important;
box-shadow: none !important;
border-radius: 8px !important;
}
/* 3. 悬停反馈 */
.hero-input-footer .el-button:hover:not(.status-pill) {
opacity: 1 !important;
background-color: rgba(128, 128, 128, 0.1) !important;
transform: scale(1.1);
}
/* 4. 专项保护:status-pill (模型选择胶囊) */
/* 确保它拥有实色背景,不被上面的透明规则覆盖 */
.hero-model-pill.status-pill,
.status-pill {
background-color: var(--el-fill-color-light, #f0f4f9) !important; /* 浅灰/主题填充色 */
border: 1px solid var(--el-border-color-lighter) !important;
color: var(--el-text-color-primary) !important;
opacity: 1 !important;
display: inline-flex !important;
padding: 6px 12px !important;
height: 32px !important;
border-radius: 16px !important; /* 保持胶囊形状 */
cursor: pointer;
transition: all 0.3s ease;
}
/* 暗色主题下的胶囊背景微调 */
[data-theme="dark"] .status-pill,
[data-theme="midnight"] .status-pill,
[data-theme="neon"] .status-pill {
background-color: rgba(255, 255, 255, 0.1) !important;
}
/* 5. 发送按钮:保持原有逻辑 */
.hero-send-btn {
background: transparent !important;
color: var(--el-color-primary) !important;
opacity: 1 !important;
font-size: 18px !important;
}
/* 6. 移动端模型选择按钮适配 */
/* 如果移动端使用的是 el-button 形式的模型选择器,强制其表现得像个胶囊 */
.hero-input-footer .icon-btn i.fa-microchip {
color: var(--el-color-primary) !important; /* 图标给个颜色,显眼一点 */
}
/* ====================================================
✨ SAP Premium Motion System (全局高级动效系统) ✨
主打:丝滑页面切换、网格瀑布流进场、物理回弹交互
==================================================== */
/* 1. 核心动效变量 (物理曲线) */
:root {
/* Apple 风格的丝滑减速曲线 (适合进场、移动) */
--ease-out-smooth: cubic-bezier(0.16, 1, 0.3, 1);
/* 带有物理弹性的曲线 (适合卡片弹出、对话气泡) */
--ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
/* 舒适的过渡时间 */
--motion-duration: 0.5s;
}
/* ----------------------------------------------------
2. 页面级平滑切换 (Page Transitions)
当点击左侧菜单切换页面时,整体页面柔和淡入上浮
---------------------------------------------------- */
.page {
animation: pageSlideFadeIn var(--motion-duration) var(--ease-out-smooth) both;
transform-origin: top center;
}
@keyframes pageSlideFadeIn {
0% {
opacity: 0;
transform: translateY(15px) scale(0.995);
filter: blur(2px); /* 极轻微的模糊增加景深感 */
}
100% {
opacity: 1;
transform: translateY(0) scale(1);
filter: blur(0);
}
}
/* ----------------------------------------------------
3. 高级网格瀑布流进场 (Staggered Waterfall)
自动应用于知识库、模型配置、插件等所有的网格布局
---------------------------------------------------- */
/* 为网格内的子元素绑定弹跳进场动画 */
.provider-grid > div,
.guide-grid > div,
.plugins-grid > div {
animation: cardPopIn 0.6s var(--ease-out-back) both;
}
/* 动态交错延迟 (利用 nth-child 实现纯 CSS 瀑布流) */
.provider-grid > div:nth-child(1), .guide-grid > div:nth-child(1), .plugins-grid > div:nth-child(1)(1) { animation-delay: 0.05s; }
.provider-grid > div:nth-child(2), .guide-grid > div:nth-child(2), .plugins-grid > div:nth-child(2)(2) { animation-delay: 0.10s; }
.provider-grid > div:nth-child(3), .guide-grid > div:nth-child(3), .plugins-grid > div:nth-child(3)(3) { animation-delay: 0.15s; }
.provider-grid > div:nth-child(4), .guide-grid > div:nth-child(4), .plugins-grid > div:nth-child(4)(4) { animation-delay: 0.20s; }
.provider-grid > div:nth-child(5), .guide-grid > div:nth-child(5), .plugins-grid > div:nth-child(5)(5) { animation-delay: 0.25s; }
.provider-grid > div:nth-child(6), .guide-grid > div:nth-child(6), .plugins-grid > div:nth-child(6)(6) { animation-delay: 0.30s; }
.provider-grid > div:nth-child(7), .guide-grid > div:nth-child(7), .plugins-grid > div:nth-child(7)(7) { animation-delay: 0.35s; }
.provider-grid > div:nth-child(8), .guide-grid > div:nth-child(8), .plugins-grid > div:nth-child(8)(8) { animation-delay: 0.40s; }
.provider-grid > div:nth-child(9), .guide-grid > div:nth-child(9), .plugins-grid > div:nth-child(9)(9) { animation-delay: 0.45s; }
.provider-grid > div:nth-child(10),.guide-grid > div:nth-child(10),.plugins-grid > div:nth-child(10)(10){ animation-delay: 0.50s; }
.provider-grid > div:nth-child(11),.guide-grid > div:nth-child(11),.plugins-grid > div:nth-child(11)(11){ animation-delay: 0.55s; }
.provider-grid > div:nth-child(12),.guide-grid > div:nth-child(12),.plugins-grid > div:nth-child(12)(12){ animation-delay: 0.60s; }
/* 超过12个的元素统一延迟,防止等待过久 */
.provider-grid > div:nth-child(n+13), .guide-grid > div:nth-child(n+13), .plugins-grid > div:nth-child(n+13) { animation-delay: 0.65s; }
@keyframes cardPopIn {
0% {
opacity: 0;
transform: translateY(25px) scale(0.92);
}
100% {
opacity: 1;
transform: translateY(0) scale(1);
}
}
/* ----------------------------------------------------
4. 物理反馈交互 (Tactile Micro-interactions)
针对卡片、按钮的悬停与点击物理反馈
---------------------------------------------------- */
/* 确保这些元素使用物理曲线进行形变 */
.provider-card, .guide-card, .extension-card, .vendor-card, .tool-item, .el-button, .market-link-banner {
transition: transform 0.3s var(--ease-out-back), box-shadow 0.4s var(--ease-out-smooth), border-color 0.3s ease !important;
}
/* 悬停时:上浮放大,产生“吸附”感 */
.provider-card:hover, .guide-card:hover, .extension-card:hover, .vendor-card:hover, .tool-item:hover {
transform: translateY(-4px) scale(1.01) !important;
z-index: 10; /* 悬停时提层,防止阴影被遮挡 */
}
/* 点击时:模拟物理按压,微缩小 */
.provider-card:active, .guide-card:active, .extension-card:active, .vendor-card:active, .el-button:active, .market-link-banner:active {
transform: scale(0.96) !important;
transition-duration: 0.1s !important; /* 按下瞬间响应变快 */
}
/* ----------------------------------------------------
5. 输入系统与菜单 (Input & Navigation Flow)
---------------------------------------------------- */
/* 输入框聚焦时的平滑光晕扩散 */
.el-input__wrapper, .el-textarea__inner {
transition: transform 0.3s var(--ease-out-smooth), box-shadow 0.3s var(--ease-out-smooth), background-color 0.3s ease !important;
}
.el-input__wrapper.is-focus, .el-textarea__inner:focus {
transform: translateY(-1px) !important;
/* 光晕扩散效果已在前面主体样式中定义,此处增强平滑度 */
}
/* 左侧菜单点击水波纹/平滑滑块 */
.el-menu-item {
transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-out-back) !important;
}
.el-menu-item:active {
transform: scale(0.95) !important;
}
/* ----------------------------------------------------
6. 对话列表进场动效 (Chat Messages Entry)
让新生成的消息气泡从下向上 Q弹入场
---------------------------------------------------- */
.message {
animation: messagePop 0.5s var(--ease-out-back) both;
transform-origin: bottom left; /* AI 消息从左下角生长 */
}
.message.user {
transform-origin: bottom right; /* User 消息从右下角生长 */
}
@keyframes messagePop {
0% {
opacity: 0;
transform: translateY(15px) scale(0.95);
}
100% {
opacity: 1;
transform: translateY(0) scale(1);
}
}
/* ----------------------------------------------------
7. 弹窗高级感 (Dialog / Overlays) - 最终兼容版
---------------------------------------------------- */
/* 1. 遮罩层:增加毛玻璃感 */
.el-overlay {
backdrop-filter: blur(6px) saturate(150%);
-webkit-backdrop-filter: blur(6px) saturate(150%);
background-color: rgba(0, 0, 0, 0.4) !important;
}
/* 2. 对话框本体:弹性进入 */
.dialog-fade-enter-active .el-dialog {
animation: sapDialogPopIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}
@keyframes sapDialogPopIn {
0% { opacity: 0; transform: scale(0.9) translateY(30px); }
100% { opacity: 1; transform: scale(1) translateY(0); }
}
/* 3. 重要:移除之前建议的 .el-popup-parent--hidden .main-container { filter: ... } */
/* 因为 filter 会导致 fixed 定位失效,弹窗无法全屏 */
.el-popup-parent--hidden .main-container {
filter: none !important;
}
/* 4. 修改之前的页面进入动画,防止干扰弹窗 */
/* 将之前的 .page 动画改为只针对 page 内部的直接子元素(不含弹窗) */
.page > *:not(.el-dialog):not(.el-overlay) {
animation: pageSlideFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
/* =========================================
Modernized El-Dialog (高级大圆角弹窗)
========================================= */
/* 1. 弹窗主体容器 */
.el-dialog {
/* 🌟 核心:20px 大圆角 */
border-radius: 20px !important;
/* 确保内部背景不刺破圆角 */
overflow: hidden;
/* 背景与边框适配 */
background: var(--el-bg-color) !important;
border: 1px solid var(--el-border-color-lighter) !important;
/* 深度感:多层物理阴影 */
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15),
0 4px 12px rgba(0, 0, 0, 0.08) !important;
/* 针对不同主题微调 */
transition: background 0.3s, box-shadow 0.3s;
}
/* 2. 标题栏区域 (Header) */
.el-dialog__header {
padding: 24px 28px 12px !important; /* 增加边距,更有呼吸感 */
margin-right: 0 !important;
/* 移除底部线条,采用纯净风格 */
border-bottom: none !important;
}
.el-dialog__title {
font-size: 18px !important;
font-weight: 700 !important;
color: var(--el-text-color-primary);
letter-spacing: -0.5px;
}
/* 3. 关闭按钮重制 (Close Button) */
.el-dialog__headerbtn {
top: 20px !important;
right: 20px !important;
width: 32px !important;
height: 32px !important;
border-radius: 50% !important; /* 圆形背景 */
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
display: flex !important;
align-items: center;
justify-content: center;
}
.el-dialog__headerbtn:hover {
background-color: rgba(128, 128, 128, 0.1) !important;
transform: rotate(90deg); /* 悬停时轻轻旋转,增加交互感 */
}
.el-dialog__headerbtn .el-dialog__close {
color: var(--el-text-color-secondary) !important;
font-size: 16px !important;
}
/* 4. 内容区域 (Body) */
.el-dialog__body {
padding: 12px 28px 24px !important;
color: var(--el-text-color-regular);
font-size: 14px;
line-height: 1.6;
}
/* 5. 底部操作栏 (Footer) */
.el-dialog__footer {
padding: 16px 28px 24px !important;
/* 顶部的极细分割线,适配深浅色 */
border-top: 1px solid color-mix(in srgb, var(--el-border-color-lighter) 50%, transparent) !important;
background-color: transparent !important;
}
/* 6. 弹窗内的按钮间距优化 */
.el-dialog__footer .el-button {
padding: 10px 20px !important;
border-radius: 10px !important; /* 按钮也跟进大圆角逻辑 */
font-weight: 600;
}
/* =========================================
针对特定主题的微调 (Optional Extras)
========================================= */
/* Dark / Midnight / Neon 主题下的内发光,增加实体感 */
[data-theme="dark"] .el-dialog,
[data-theme="midnight"] .el-dialog,
[data-theme="neon"] .el-dialog {
border-color: rgba(255, 255, 255, 0.1) !important;
/* 添加一条极细的顶边光,像玻璃边缘 */
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05),
0 20px 50px rgba(0, 0, 0, 0.5) !important;
}
/* 移除 Element Plus 默认的进入动画,使用我们的 sapDialogPopIn */
.dialog-fade-enter-active, .dialog-fade-leave-active {
animation: none !important;
}
/* =========================================
Mobile El-Dialog Vertical Centering
========================================= */
@media (max-width: 768px) {
/* 1. 让弹窗容器(遮罩层)变为 Flex 布局 */
.el-overlay-dialog {
display: flex !important;
align-items: center !important; /* 垂直居中 */
justify-content: center !important; /* 水平居中 */
padding: 12px !important; /* 视口四周留一点间距,防止贴边 */
}
/* 2. 重置弹窗自身的 Margin */
.el-dialog {
margin: 0 !important; /* 彻底移除默认的 margin-top,由父级 flex 居中控制 */
width: 92% !important; /* 宽度占满 92% */
max-height: 85vh !important; /* 限制最大高度,防止内容撑破屏幕 */
display: flex;
flex-direction: column;
border-radius: 20px !important; /* 保持高级大圆角 */
}
/* 3. 确保弹窗内容过多时可以内部滚动 */
.el-dialog__body {
flex: 1;
overflow-y: auto; /* 开启内部滚动 */
-webkit-overflow-scrolling: touch;
padding: 15px 20px !important;
}
/* 4. 优化页脚按钮布局:让两个按钮并排平分宽度 */
.el-dialog__footer {
padding: 12px 20px 20px !important;
}
.el-dialog__footer .dialog-footer {
display: flex;
gap: 10px;
}
.el-dialog__footer .el-button {
flex: 1; /* 平分宽度 */
margin: 0 !important;
}
}
/* =========================================
Extension Card Anti-Shake Optimization
========================================= */
/* 1. 稳定卡片:悬停时取消物理位移和缩放,改用纯颜色/阴影反馈 */
.extension-card:hover {
transform: none !important; /* 彻底禁用物理上浮 */
border-color: var(--el-color-primary) !important;
/* 用更深更广的阴影来模拟“浮起感”,而不移动像素位置 */
box-shadow: 0 0 0 1px var(--el-color-primary),
0 10px 30px rgba(0, 0, 0, 0.1) !important;
}
/* 2. 移除点击时的“按压”缩放 (关键修复) */
/* 点击时如果发生 scale(0.96),按钮会瞬间变小,导致鼠标滑出 */
.extension-card:active,
.extension-card .el-button:active {
transform: none !important;
}
/* 3. 稳定按钮:取消悬停时的位移,仅保留缩放或背景变化 */
.extension-card .btn-top-right .el-button {
transform: none !important; /* 禁止移动 */
transition: background-color 0.2s, color 0.2s !important; /* 只保留颜色过渡 */
/* 增大点击热区:使用透明边框扩大感应区,但不改变视觉大小 */
border: 4px solid transparent !important;
background-clip: padding-box !important;
}
.extension-card .btn-top-right .el-button:hover {
transform: scale(1.1) !important; /* 只允许轻微缩放,不准位移 */
background-color: var(--el-fill-color-dark) !important;
}
/* 4. 隔离层:当鼠标进入按钮区域时,通过伪类确保卡片背景不会干扰 */
.extension-card .btn-top-right {
padding: 10px;
margin: -10px; /* 负边距抵消 padding,扩大拦截区域 */
z-index: 100;
}
/* =========================================
Dashboard Chips (Guide Cards) Anti-Shake
========================================= */
/* 1. 降低进场动画的幅度:从 25px 减小到 8px,去掉回弹效果 */
@keyframes dashboardPopIn {
0% {
opacity: 0;
transform: translateY(8px); /* 极小位移 */
filter: blur(4px);
}
100% {
opacity: 1;
transform: translateY(0);
filter: blur(0);
}
}
/* 覆盖之前的动画 */
.guide-grid > .guide-card {
animation: dashboardPopIn 0.4s var(--ease-out-smooth) both !important;
/* 移除弹性过渡,改用线性减速过渡 */
transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.2s ease-out !important;
}
/* 2. 移除点击时的物理按压感 (避免点击星星时卡片缩小) */
.guide-card:active {
transform: none !important;
}
/* 3. 悬停效果:仅保留极其轻微的上浮,不使用 scale */
.guide-card:hover {
transform: translateY(-2px) !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}
/* 4. 重点优化:星星按钮 (收藏图标) */
.guide-card .fav-star {
position: relative;
z-index: 10;
width: 28px;
height: 28px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: background-color 0.2s !important;
}
/* 悬停在星星上时,只改变星星背景,不让卡片整体产生视觉干扰 */
.guide-card .fav-star:hover {
background-color: rgba(128, 128, 128, 0.1);
}
/* 移除星星点击时的物理抖动 */
.guide-card .fav-star:active {
transform: scale(0.9); /* 只有星星缩放,卡片不动 */
}
/* 5. 布局稳定性:防止取消收藏时,列表重排导致的瞬间位移跳动 */
.guide-grid {
/* 启用平滑过渡,如果 Vue 使用了 transition-group 效果更好 */
transition: all 0.5s var(--ease-out-smooth);
}
/* =========================================
Storage Section Waterfall Entry
========================================= */
/* 1. 统一绑定进场动画:文本列表、图片网格、视频网格 */
.text-list > .file-item,
.image-grid > .image-item,
.video-grid > .video-item {
/* 使用平滑曲线,避免存储列表在大面积重排时产生眩晕感 */
animation: cardPopIn 0.6s var(--ease-out-smooth) both;
}
/* 2. 动态交错延迟 (Staggered Delays) */
/* 我们为前 12 个元素设置阶梯式延迟 */
.text-list > .file-item:nth-child(1), .image-grid > .image-item:nth-child(1), .video-grid > .video-item:nth-child(1) { animation-delay: 0.05s; }
.text-list > .file-item:nth-child(2), .image-grid > .image-item:nth-child(2), .video-grid > .video-item:nth-child(2) { animation-delay: 0.10s; }
.text-list > .file-item:nth-child(3), .image-grid > .image-item:nth-child(3), .video-grid > .video-item:nth-child(3) { animation-delay: 0.15s; }
.text-list > .file-item:nth-child(4), .image-grid > .image-item:nth-child(4), .video-grid > .video-item:nth-child(4) { animation-delay: 0.20s; }
.text-list > .file-item:nth-child(5), .image-grid > .image-item:nth-child(5), .video-grid > .video-item:nth-child(5) { animation-delay: 0.25s; }
.text-list > .file-item:nth-child(6), .image-grid > .image-item:nth-child(6), .video-grid > .video-item:nth-child(6) { animation-delay: 0.30s; }
.text-list > .file-item:nth-child(7), .image-grid > .image-item:nth-child(7), .video-grid > .video-item:nth-child(7) { animation-delay: 0.35s; }
.text-list > .file-item:nth-child(8), .image-grid > .image-item:nth-child(8), .video-grid > .video-item:nth-child(8) { animation-delay: 0.40s; }
.text-list > .file-item:nth-child(9), .image-grid > .image-item:nth-child(9), .video-grid > .video-item:nth-child(9) { animation-delay: 0.45s; }
.text-list > .file-item:nth-child(10),.image-grid > .image-item:nth-child(10),.video-grid > .video-item:nth-child(10){ animation-delay: 0.50s; }
.text-list > .file-item:nth-child(11),.image-grid > .image-item:nth-child(11),.video-grid > .video-item:nth-child(11){ animation-delay: 0.55s; }
.text-list > .file-item:nth-child(12),.image-grid > .image-item:nth-child(12),.video-grid > .video-item:nth-child(12){ animation-delay: 0.60s; }
/* 超过12个的元素不再延迟,防止超长列表渲染过慢 */
.text-list > .file-item:nth-child(n+13),
.image-grid > .image-item:nth-child(n+13),
.video-grid > .video-item:nth-child(n+13) {
animation-delay: 0.65s;
}
/* 3. 物理交互反馈加固 */
/* 确保文件列表行在鼠标悬停时也有平滑的提升感 */
.file-item {
transition: all 0.3s var(--ease-out-smooth) !important;
border: 1px solid transparent;
}
.file-item:hover {
background-color: var(--el-bg-color) !important;
transform: translateX(4px) !important; /* 文本列表适合向右微移,而不是向上浮 */
box-shadow: var(--shadow-sm);
border-color: var(--el-color-primary-light-8) !important;
}
/* 图片和视频卡片悬停上浮 */
.image-item:hover, .video-item:hover {
transform: translateY(-5px) scale(1.02) !important;
box-shadow: var(--shadow-lg) !important;
z-index: 5;
}
/* 点击反馈:轻微按压 */
.file-item:active, .image-item:active, .video-item:active {
transform: scale(0.98) !important;
transition-duration: 0.1s !important;
}
/* =========================================
Logo & License Page Waterfall Entry
========================================= */
/* 1. 主卡片整体进场 */
.license-notice {
animation: pageSlideFadeIn 0.6s var(--ease-out-smooth) both;
}
/* 2. 内部区块序列进场 (标题、警告区、联系区、链接区、协议区) */
.license-notice > h1,
.license-notice > h3,
.license-notice > .notice-section,
.license-notice > .contact-section,
.license-notice > .social-links,
.license-notice > .agreement-section {
animation: cardPopIn 0.6s var(--ease-out-smooth) both;
}
/* 区块间的微小延迟,让页面自上而下“流”出来 */
.license-notice > h1 { animation-delay: 0.05s; }
.license-notice > h3 { animation-delay: 0.10s; }
.license-notice > .notice-section { animation-delay: 0.15s; }
.license-notice > .contact-section { animation-delay: 0.20s; }
.license-notice > .social-links { animation-delay: 0.25s; }
.license-notice > .agreement-section { animation-delay: 0.30s; }
/* 3. 核心:社交链接列表的瀑布流 (Staggered Links) */
.social-links > .link-item {
animation: cardPopIn 0.5s var(--ease-out-smooth) both;
}
/* 为 9 条社交链接设置阶梯延迟 */
.social-links > .link-item:nth-child(1) { animation-delay: 0.30s; }
.social-links > .link-item:nth-child(2) { animation-delay: 0.35s; }
.social-links > .link-item:nth-child(3) { animation-delay: 0.40s; }
.social-links > .link-item:nth-child(4) { animation-delay: 0.45s; }
.social-links > .link-item:nth-child(5) { animation-delay: 0.50s; }
.social-links > .link-item:nth-child(6) { animation-delay: 0.55s; }
.social-links > .link-item:nth-child(7) { animation-delay: 0.60s; }
.social-links > .link-item:nth-child(8) { animation-delay: 0.65s; }
.social-links > .link-item:nth-child(9) { animation-delay: 0.70s; }
/* 4. 交互加固:链接项悬停动效 */
.link-item {
transition: all 0.3s var(--ease-out-smooth) !important;
cursor: default;
}
.link-item:hover {
transform: translateX(10px) !important; /* 保持你原本的向右位移设计,但使用平滑曲线 */
background-color: var(--el-color-primary-light-9) !important;
box-shadow: var(--shadow-sm) !important;
}
/* 链接文字点击时的反馈 */
.social-link:active {
opacity: 0.7;
transform: scale(0.98);
}
/* =========================================
Settings Form & Items Advanced Motion
========================================= */
/* 1. 表单容器整体:柔和滑入 */
.settings-form {
animation: pageSlideFadeIn 0.6s var(--ease-out-smooth) both;
}
/* 2. 工具项卡片:Q弹进场 */
.settings-form .tool-item {
animation: cardPopIn 0.6s var(--ease-out-back) both;
transition: all 0.3s var(--ease-out-smooth) !important;
}
/* 3. 内容区 (tool-content):呼吸感进场 */
.tool-content {
animation: formContentSlideIn 0.5s var(--ease-out-smooth) both;
animation-delay: 0.1s; /* 稍微晚于表头出现 */
}
@keyframes formContentSlideIn {
0% {
opacity: 0;
transform: translateY(10px);
filter: blur(5px);
}
100% {
opacity: 1;
transform: translateY(0);
filter: blur(0);
}
}
/* 4. 核心:表单项 (el-form-item) 的序列化瀑布流 */
/* 我们让每一个输入框行都有一个细微的阶梯式延迟 */
.settings-form .el-form-item {
animation: cardPopIn 0.5s var(--ease-out-smooth) both;
}
.settings-form .el-form-item:nth-child(1) { animation-delay: 0.15s; }
.settings-form .el-form-item:nth-child(2) { animation-delay: 0.20s; }
.settings-form .el-form-item:nth-child(3) { animation-delay: 0.25s; }
.settings-form .el-form-item:nth-child(4) { animation-delay: 0.30s; }
.settings-form .el-form-item:nth-child(n+5) { animation-delay: 0.35s; }
/* 5. 提示框 (el-alert) 进场优化 */
.settings-form .el-alert {
animation: cardPopIn 0.5s var(--ease-out-smooth) both;
animation-delay: 0.4s; /* 最后出现提示,作为收尾 */
}
/* 6. 物理交互增强:输入框聚焦时的微位移 */
.full-width-input .el-input__wrapper {
transition: all 0.3s var(--ease-out-smooth) !important;
}
.full-width-input .el-input__wrapper.is-focus {
transform: translateX(4px); /* 聚焦时向右微移,产生“被选中”的指向感 */
box-shadow: -4px 0 0 var(--el-color-primary), /* 左侧侧边条线 */
var(--el-box-shadow-light) !important;
}
/* 7. 物理反馈:点击整个工具项时的反馈 */
.tool-item:hover {
border-color: var(--el-color-primary-light-7) !important;
background-color: color-mix(in srgb, var(--el-color-primary) 2%, var(--el-bg-color)) !important;
}
/* =========================================
Dashboard Adaptive Centering (The "Perfect" Fix)
========================================= */
/* 1. 主容器:负责滚动和基础对齐 */
.dashboard-container {
display: flex;
flex-direction: column;
align-items: center;
/* 🌟 核心:不要使用 justify-content: center,否则会导致溢出裁剪 */
justify-content: flex-start;
height: 100%;
width: 100%;
overflow-y: auto;
overflow-x: hidden;
/* 给予一个顶部和底部的最小安全间距,防止顶到头 */
padding: 40px 20px 60px 20px !important;
box-sizing: border-box;
/* 平滑滚动 */
scroll-behavior: smooth;
}
/* 2. Hero 区域:通过 margin-top: auto 实现自适应垂直居中 */
.dashboard-hero {
width: 100%;
max-width: 760px;
flex-shrink: 0;
/* 🌟 核心魔法:
1. margin-top: auto 会自动吃掉顶部的所有剩余空间
2. 配合下方的 margin-bottom: auto,会让整个内容组在有空间时完美居中
3. 设定一个最小间距,确保扩展极多时,对话框离顶部还有一段距离 */
margin-top: auto;
margin-bottom: 24px;
/* 动画保持 */
animation: cardPopIn 0.7s var(--ease-out-smooth) both;
animation-delay: 0.1s;
}
/* 3. 建议卡片网格:通过 margin-bottom: auto 配合 Hero 实现上下平分空间 */
.guide-grid {
width: 100%;
max-width: 760px;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 12px;
/* 🌟 核心:吃掉底部剩余空间 */
margin-bottom: auto;
height: auto;
}
/* 4. 优化:如果屏幕太矮(比如手机横屏或调小窗口),手动设置一个更小的顶部边距 */
@media (max-height: 500px) {
.dashboard-hero {
margin-top: 10px !important;
}
}
/* 5. 滚动条美化 (Mac 风格隐身滚动条) */
.dashboard-container::-webkit-scrollbar {
width: 5px;
}
.dashboard-container::-webkit-scrollbar-track {
background: transparent;
}
.dashboard-container::-webkit-scrollbar-thumb {
background: rgba(128, 128, 128, 0.2);
border-radius: 10px;
}
/* =========================================
🚨 修复:卡片防抖与交互稳定性优化
========================================= */
/* 1. 悬停 (Hover) 优化:取消缩放,仅保留极其轻微的上浮,防止误触 */
.provider-card:hover,
.guide-card:hover,
.extension-card:hover,
.vendor-card:hover,
.tool-item:hover,
.market-link-banner:hover {
transform: translateY(-2px) !important; /* 取消 scale(1.01),减少上浮幅度到 2px */
}
/* 2. 点击 (Active) 优化:彻底取消容器卡片的物理缩放 */
/* 仅保留纯粹的按钮或允许整体缩放的非复合组件 */
.provider-card:active,
.guide-card:active,
.extension-card:active,
.vendor-card:active,
.tool-item:active,
.market-link-banner:active {
transform: none !important; /* 彻底禁止卡片在点击时形变 */
}
/* 3. 针对普通按钮的点击反馈:减小缩放幅度,确保焦点不偏移 */
.el-button:active {
transform: scale(0.98) !important; /* 从 0.96 改为 0.98,保证微小点击感的同时不移位 */
}
/* 4. 卡片内右上角/操作区按钮的防抖隔离 */
.card-actions .el-button:hover,
.btn-top-right .el-button:hover {
transform: none !important; /* 悬停卡片内按钮时不放大 */
background-color: var(--el-fill-color-dark) !important; /* 用颜色代替物理形变 */
}
.card-actions .el-button:active,
.btn-top-right .el-button:active {
transform: scale(0.95) !important; /* 按钮自身的点击反馈独立,不影响父级卡片 */
}
/* =========================================
🚨 修复:移除动态列表的长延迟,解决添加卡片时的卡顿感
========================================= */
/* 彻底取消所有网格/列表元素的 CSS 排队等待时间 */
/* 让元素在 Vue 渲染出 DOM 的瞬间立刻播放弹出动画,实现 0 延迟响应 */
.provider-grid > div,
.guide-grid > div,
.plugins-grid > div,
.text-list > .file-item,
.image-grid > .image-item,
.video-grid > .video-item,
.social-links > .link-item,
.settings-form .el-form-item {
animation-delay: 0s !important;
}
/* 稍微缩短一下卡片的入场动画时间,让它感觉更干脆、响应更迅速 */
@keyframes cardPopIn {
0% {
opacity: 0;
transform: translateY(15px) scale(0.95); /* 缩小了起始位移,减少浮夸感 */
}
100% {
opacity: 1;
transform: translateY(0) scale(1);
}
}
/* =========================================
Task Center Premium Styles
========================================= */
/* 布局基础 */
.task-center-container {
height: 100%;
display: flex;
flex-direction: column;
}
.premium-header {
background: color-mix(in srgb, var(--el-bg-color) 80%, transparent);
backdrop-filter: blur(10px);
padding: 12px 16px;
border-bottom: 1px solid var(--el-border-color-lighter);
}
.immersive-scroll {
flex: 1;
overflow-y: auto;
padding: 16px;
}
/* 详情摘要卡片 */
.summary-card-premium {
background: var(--el-bg-color);
border: 1px solid var(--el-border-color-lighter);
border-radius: 16px;
padding: 20px;
margin-bottom: 20px;
box-shadow: var(--shadow-md);
}
.summary-card-premium .card-top {
display: flex;
justify-content: space-between;
align-items: flex-start;
}
.summary-card-premium h3 {
margin: 0 0 8px 0;
font-size: 18px;
font-weight: 700;
}
.mode-pill {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 11px;
color: var(--el-color-primary);
background: color-mix(in srgb, var(--el-color-primary) 10%, transparent);
padding: 2px 10px;
border-radius: 20px;
font-weight: 600;
}
/* 列表卡片 (对齐 extension-card) */
.task-card-premium {
background: var(--el-bg-color) !important;
border: 1px solid var(--el-border-color-lighter) !important;
border-radius: 14px !important;
padding: 16px;
margin-bottom: 12px;
cursor: pointer;
transition: all 0.3s var(--ease-out-back);
position: relative;
overflow: hidden;
}
.task-card-premium::before {
content: "";
position: absolute;
top: 0; left: 0; width: 4px; height: 100%;
background: var(--el-color-primary);
opacity: 0.7;
}
.task-card-premium:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-lg) !important;
border-color: var(--el-color-primary-light-5) !important;
}
.task-card-premium .task-title {
margin: 8px 0;
font-size: 14px;
color: var(--el-text-color-primary);
}
.task-card-premium .task-desc {
font-size: 12px;
color: var(--el-text-color-secondary);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
line-height: 1.5;
}
/* 日志气泡 (仿微信/iMessage 对话) */
.log-bubble {
background: var(--el-bg-color-page);
border: 1px solid var(--el-border-color-lighter);
border-radius: 12px;
padding: 4px 12px !important; /* 压缩 markdown padding */
font-size: 13px !important;
}
/* 结果浏览器布局 */
.result-browser-layout {
display: flex;
height: 70vh;
margin: -24px -28px; /* 抵消 el-dialog 默认内边距 */
}
.result-nav-sidebar {
width: 200px;
background: var(--el-bg-color-page);
border-right: 1px solid var(--el-border-color-lighter);
padding: 15px 10px;
}
.nav-version-item {
padding: 10px 12px;
border-radius: 10px;
margin-bottom: 6px;
cursor: pointer;
transition: all 0.2s;
border: 1px solid transparent;
}
.nav-version-item.active {
background: var(--el-color-primary);
color: #fff !important;
}
.nav-version-item.active .v-time { color: rgba(255,255,255,0.8); }
.result-main-content {
flex: 1;
display: flex;
flex-direction: column;
}
.content-toolbar {
padding: 10px 20px;
border-bottom: 1px solid var(--el-border-color-lighter);
display: flex;
justify-content: space-between;
align-items: center;
}
/* 绝对居中的空状态 */
.empty-state-centered {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
text-align: center;
padding: 40px;
}
.empty-icon-glow {
font-size: 50px;
color: var(--el-color-primary);
margin-bottom: 20px;
filter: drop-shadow(0 0 10px rgba(var(--el-color-primary-rgb), 0.3));
}
.empty-title { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.empty-desc { color: var(--el-text-color-secondary); font-size: 13px; margin-bottom: 24px; max-width: 200px; }
/* ============================================================
🚀 对话历史侧边栏 - 完整功能修复版
============================================================ */
/* 1. 侧边栏主容器 */
.chat-history-sidebar {
width: 280px !important;
min-width: 280px !important;
height: 100% !important;
background-color: var(--el-bg-color-page) !important;
display: flex;
flex-direction: column;
flex-shrink: 0;
z-index: 10;
transition: background-color 0.3s;
}
/* 2. 顶部新建按钮 */
.chat-history-sidebar .history-header { padding: 16px 16px 8px 16px; }
.chat-history-sidebar .new-chat-btn {
width: 100%; height: 44px !important; border-radius: 22px !important;
display: flex !important; justify-content: center !important; align-items: center !important;
gap: 8px; font-weight: 600 !important;
background-color: var(--el-bg-color) !important;
border: 1px solid var(--el-border-color) !important;
color: var(--el-text-color-primary) !important;
}
.chat-history-sidebar .new-chat-btn:hover {
background-color: color-mix(in srgb, var(--el-color-primary) 10%, var(--el-bg-color)) !important;
border-color: var(--el-color-primary) !important;
color: var(--el-color-primary) !important;
}
/* 3. 搜索行:保持按钮紧凑 */
.chat-history-sidebar .history-search-row {
display: flex; align-items: center; gap: 8px;
padding: 0 16px 12px 16px;
}
.chat-history-sidebar .history-search-input {
flex: 1;
min-width: 0;
color: var(--el-bg-color)!important;
}
.chat-history-sidebar .history-search-input .el-input__wrapper {
background-color: var(--el-bg-color) !important;
box-shadow: none !important; border-radius: 10px !important;
}
.chat-history-sidebar .history-quick-tools {
display: flex; align-items: center; gap: 4px !important; flex-shrink: 0;
}
.chat-history-sidebar .quick-tool-btn.el-button {
background: transparent !important; border: none !important;
color: var(--el-text-color-secondary) !important;
margin: 0 !important; width: 30px !important; height: 30px !important;
padding: 0 !important;
}
.chat-history-sidebar .quick-tool-btn:hover {
background-color: var(--el-fill-color) !important;
color: var(--el-color-primary) !important;
}
/* 4. 列表项与单条删除按钮 */
.chat-history-sidebar .history-list-container { flex: 1; overflow-y: auto; padding: 0 8px 20px 8px; }
.chat-history-sidebar .history-item-row {
display: flex; align-items: center;
padding: 10px 12px; margin: 2px 4px; border-radius: 10px;
cursor: pointer; color: var(--el-text-color-regular);
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
position: relative; /* 方便删除按钮定位 */
}
.chat-history-sidebar .history-item-row:hover {
background-color: var(--el-fill-color-light) !important;
}
.chat-history-sidebar .history-item-row.active {
background-color: color-mix(in srgb, var(--el-color-primary) 12%, var(--el-bg-color)) !important;
color: var(--el-color-primary);
font-weight: 600;
}
.chat-history-sidebar .item-icon { font-size: 14px; margin-right: 12px; opacity: 0.6; }
.chat-history-sidebar .item-title { flex: 1; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 30px; }
/* ✨ 单条记录删除按钮样式 */
.chat-history-sidebar .item-delete-btn {
position: absolute; right: 10px;
width: 26px !important; height: 26px !important;
padding: 0 !important; border: none !important;
background: transparent !important;
color: var(--el-text-color-placeholder) !important;
opacity: 0; /* 默认隐藏 */
transition: all 0.2s ease;
}
.chat-history-sidebar .history-item-row:hover .item-delete-btn {
opacity: 1; /* 悬停显示 */
}
.chat-history-sidebar .item-delete-btn:hover {
color: var(--el-color-danger) !important;
background-color: color-mix(in srgb, var(--el-color-danger) 10%, transparent) !important;
}
/* 5. 全主题深色适配补丁 */
[data-theme="dark"] .chat-history-sidebar .el-input__inner,
[data-theme="midnight"] .chat-history-sidebar .el-input__inner,
[data-theme="neon"] .chat-history-sidebar .el-input__inner { background: transparent !important; color: var(--el-text-color-primary) !important; }
[data-theme="dark"] .chat-history-sidebar .el-input__wrapper.is-focus,
[data-theme="midnight"] .chat-history-sidebar .el-input__wrapper.is-focus,
[data-theme="neon"] .chat-history-sidebar .el-input__wrapper.is-focus { background-color: var(--el-bg-color) !important; }
/* 底部按钮切换修正 */
.history-btn:hover { background-color: var(--el-fill-color-light) !important; color: var(--el-color-primary) !important; }
/* 6. 书签手柄保护结构 */
.chat-main-body {
flex: 1; display: flex; min-width: 0; height: 100%;
position: relative; overflow: visible !important;
}
.browser-toggle-handle, .browser-toggle-handle--left { z-index: 1000 !important; }
/* ============================================================
🌟 完美终极修复:丝滑双向展开/收起动画
============================================================ */
/* 1. 恢复正常的从左到右流式布局 */
.chat-main-body {
flex: 1; display: flex; min-width: 0; height: 100%;
position: relative; overflow: visible !important;
justify-content: flex-start !important;
}
/* 2. 强制覆盖 v-show,支持 CSS 动画 */
.chat-area, .side-panel {
display: flex !important;
overflow: hidden;
/* 仅对 width, margin, opacity 进行过渡,千万不要去过渡 flex 属性 */
transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
margin 0.35s cubic-bezier(0.4, 0, 0.2, 1),
opacity 0.2s ease !important;
}
/* 拖拽时必须禁用动画,保证跟手不卡顿 */
.chat-wrapper.resizing .chat-area,
.chat-wrapper.resizing .side-panel {
transition: none !important;
}
/* 3. 定义收起状态:仅用 width: 0 触发动画 */
.chat-area.collapsed,
.side-panel.collapsed {
width: 0 !important;
min-width: 0 !important;
/* 🚨 核心修复:我已经删掉了 flex: 0 0 0,防止瞬间坍塌导致瞬移! */
opacity: 0 !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
white-space: nowrap;
}
/* 4. 修复展开时的宽度挤压与完美向左吸附 */
.chat-wrapper.collapsed-left .side-panel {
margin-left: 12px !important;
/* 扣除左右各 12px 的 margin = 24px,保证变宽时刚好填满。
左侧平滑缩小,右侧平滑变宽,总宽度恒定 100%,视觉上完美向左生长! */
width: calc(100% - 24px) !important;
}
/* 👇 彻底移除多余的 12px 留白,使其完美贴合右侧边缘 */
.chat-wrapper.collapsed-right .chat-area {
margin-right: 0 !important;
width: 100% !important;
}
/* ============================================================
🚀 历史对话侧边栏:丝滑展开/收起过渡动画
============================================================ */
/* 1. 侧边栏主容器 - 添加动画基础属性 */
.chat-history-sidebar {
width: 280px !important;
min-width: 280px !important;
height: 100% !important;
background-color: var(--el-bg-color-page) !important;
flex-direction: column;
flex-shrink: 0;
z-index: 10;
/* ✨ 核心修复 1:强制 display 始终为 flex,覆盖 v-show 的 display: none */
display: flex !important;
overflow: hidden !important; /* 关键:尺寸缩小时裁剪内部内容 */
/* ✨ 核心修复 2:加入宽度和透明度的弹性过渡动画 (曲线与右侧面板保持一致) */
transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
min-width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
border-right-width 0.35s ease,
opacity 0.25s ease,
background-color 0.3s !important;
}
/* 2. 定义收起状态 - 拦截 Vue 的 v-show="false" */
/* 当点击隐藏时,我们用 CSS 截获 display:none,并将其转化为尺寸和透明度的动画 */
body.has-custom-bg .chat-history-sidebar[style*="display: none"],
.chat-history-sidebar[style*="display: none"] {
width: 0 !important;
min-width: 0 !important;
opacity: 0 !important;
border-right-width: 0 !important; /* 去掉边框,防止完全收起时残留一条线 */
margin: 0 !important; /* 强力清除折叠/隐藏状态下的外边距,彻底解决偏右问题 */
padding: 0 !important; /* 清除内边距 */
pointer-events: none; /* 收起后禁止点击穿透 */
}
/* 3. 防挤压保护:防止收起过程中,内部文字和按钮被挤压换行导致鬼畜闪烁 */
.chat-history-sidebar .history-header,
.chat-history-sidebar .history-search-row,
.chat-history-sidebar .history-list-container {
/* 强制内部容器保持 280px 原宽,这样在父容器变窄时,它们只会像“拉窗帘”一样被裁剪,而不会变形 */
width: 280px !important;
box-sizing: border-box;
}
/* ============================================================
🚀 扩展内页:悬浮返回/关闭按钮 (移动唤醒,静止消失)
============================================================ */
/* 外层容器 */
.ext-iframe-wrapper {
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
border-radius: 16px;
}
/* 边缘感应区:不挡住中间网页的点击,只感应左侧和顶部 20px */
.ext-edge-trigger {
position: absolute;
z-index: 998;
}
.ext-edge-trigger.top {
top: 0; left: 0; width: 100%; height: 20px;
}
.ext-edge-trigger.left {
top: 0; left: 0; width: 20px; height: 100%;
}
/* 悬浮按钮基础样式 */
.ext-floating-close-btn {
position: absolute;
top: 16px;
left: 16px;
z-index: 1000;
width: 36px;
height: 36px;
border-radius: 50%;
/* 磨砂玻璃质感 */
background-color: color-mix(in srgb, var(--el-bg-color) 70%, transparent);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--el-border-color-light);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: var(--el-text-color-primary);
font-size: 16px;
/* 默认隐藏状态 (向左侧微微缩回) */
opacity: 0;
transform: translateX(-15px) scale(0.9);
pointer-events: none; /* 隐藏时不可点击,防止误触 */
transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* 激活状态 (鼠标移动时 JS 加上 is-active 类) */
.ext-floating-close-btn.is-active {
opacity: 1;
transform: translateX(0) scale(1);
pointer-events: auto;
}
/* 悬停与点击反馈 */
.ext-floating-close-btn:hover {
background-color: var(--el-color-primary);
color: #ffffff;
border-color: var(--el-color-primary);
transform: scale(1.1);
box-shadow: 0 6px 20px rgba(var(--el-color-primary-rgb), 0.35);
}
.ext-floating-close-btn:active {
transform: scale(0.92);
transition-duration: 0.1s;
}
/* iframe 圆角适配 */
.side-panel-iframe {
width: 100%;
height: 100%;
border-radius: 16px;
}
/* =========================================
供应商过滤与搜索区域 (无外框、占满整行版)
========================================= */
/* 1. 工具栏外层容器:全宽水平行 */
.vendor-filter-tools {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
gap: 16px;
margin-bottom: 16px;
width: 100%;
box-sizing: border-box;
background: transparent;
border: none;
padding: 0;
}
/* 2. 搜索框深度美化:胶囊悬浮风格 */
.search-input {
flex: 1;
max-width: 320px;
}
.search-input .el-input__wrapper {
border-radius: 20px !important;
background-color: var(--el-bg-color) !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03), 0 0 0 1px transparent inset !important;
border: 1px solid var(--el-border-color-light) !important;
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
padding: 4px 16px !important;
}
.search-input .el-input__wrapper:hover {
border-color: var(--el-color-primary-light-5) !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
transform: translateY(-1px);
}
.search-input .el-input__wrapper.is-focus {
border-color: var(--el-color-primary) !important;
box-shadow: 0 0 0 3px color-mix(in srgb, var(--el-color-primary) 15%, transparent),
0 6px 16px rgba(0, 0, 0, 0.08) !important;
}
/* 3. 分类标签组:Mac/iOS 风格的分段控制器 */
.category-tabs {
flex-shrink: 0;
/* 只保留标签组自身的底槽背景 */
background-color: color-mix(in srgb, var(--el-text-color-primary) 6%, transparent);
padding: 4px;
border-radius: 14px;
display: inline-flex;
}
.category-tabs .el-radio-button__inner {
border: none !important;
background: transparent !important;
border-radius: 10px !important;
box-shadow: none !important;
color: var(--el-text-color-regular);
font-weight: 500;
padding: 6px 18px;
font-size: 13px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.category-tabs .el-radio-button:hover .el-radio-button__inner {
color: var(--el-color-primary);
}
.category-tabs .el-radio-button.is-active .el-radio-button__inner {
background-color: var(--el-bg-color) !important;
color: var(--el-color-primary) !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
transform: scale(1);
}
/* 4. 无结果时的空状态插画对齐优化 */
.vendor-select-list .el-empty {
padding: 40px 0;
--el-empty-text-color: var(--el-text-color-secondary);
}
/* 5. 移动端自适应布局压缩 */
@media (max-width: 680px) {
.vendor-filter-tools {
flex-direction: column;
align-items: stretch;
gap: 12px;
}
.search-input {
max-width: 100%;
}
.category-tabs {
width: 100%;
display: flex;
}
.category-tabs .el-radio-button {
flex: 1;
}
.category-tabs .el-radio-button__inner {
width: 100%;
padding: 8px 0;
}
}
/* =========================================
Minimalist Process Blocks (Linear / Vercel Style)
极致克制:0阴影,0嵌套背景,极紧凑间距
========================================= */
/* 1. 修改流程块的基础间距 */
.sap-process-block {
background-color: var(--el-fill-color-light);
border: 1px solid var(--el-border-color-lighter);
border-radius: 8px;
/* 🌟 修改这里:原来是 8px 0,现在改为 14px 0 (稍微增加一点点上下呼吸感) */
margin: 14px 0;
overflow: hidden;
font-family: var(--el-font-family);
box-shadow: none;
}
/* 2. 新增:相邻流程块防散落 */
/* 当两个流程块紧挨着时(例如“调用工具”下面紧接着“工具结果”),保持它们之间的紧凑感,避免被 14px 撑得太开 */
.sap-process-block + .sap-process-block {
margin-top: 6px;
}
/* 3. 新增:给纯文本层一点保护间距 */
/* 防止内部的 Markdown 文本 `<p>` 标签的外边距被吞掉导致贴边 */
.a2ui-text-wrapper {
margin: 4px 0;
}
/* ----------------------------------------------------
修复首尾元素的间距叠加问题
---------------------------------------------------- */
/* 1. 如果流程块是气泡里的第一个元素,去除顶部外边距,完美贴合气泡边缘 */
.message-blocks-container > .sap-process-block:first-child,
.markdown-body > .sap-process-block:first-child {
margin-top: 0 !important;
}
/* 2. 如果流程块是气泡里的最后一个元素,去除底部外边距 */
.message-blocks-container > .sap-process-block:last-child,
.markdown-body > .sap-process-block:last-child {
margin-bottom: 0 !important;
}
/* (顺便补充) 如果纯文本是第一个或最后一个元素,也确保它们不产生多余缝隙 */
.message-blocks-container > .a2ui-text-wrapper:first-child {
margin-top: 0 !important;
}
.message-blocks-container > .a2ui-text-wrapper:last-child {
margin-bottom: 0 !important;
}
/* --- 极简头部 --- */
.sp-header {
display: flex;
align-items: center;
gap: 8px;
/* 极小 padding */
padding: 8px 12px;
font-size: 12px;
font-weight: 500;
color: var(--el-text-color-secondary);
user-select: none;
}
/* 头部小图标:降低不透明度,不抢戏 */
.sp-header i {
font-size: 12px;
opacity: 0.8;
}
/* 头部特殊强调文字 (如工具名) */
.sp-header span {
color: var(--el-text-color-primary);
font-family: 'Menlo', 'Monaco', monospace;
}
/* --- 取消套娃:内容区不再有自己的底色和边框 --- */
.sp-content {
/* 顶部 0 padding,让它和 header 贴紧 */
padding: 0 12px 10px 12px;
font-size: 13px;
color: var(--el-text-color-regular);
line-height: 1.5;
}
/* 移除推理文本中无用的段落边距 */
.sp-content p { margin: 0 0 6px 0; }
.sp-content p:last-child { margin: 0; }
/* 代码/日志文本:彻底融于背景 */
pre.sp-code, .sp-code {
margin: 0;
padding: 0; /* 0 Padding,由外层父级提供边距 */
background: transparent !important;
border: none !important;
font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
font-size: 12px;
color: var(--el-text-color-secondary);
white-space: pre-wrap;
word-break: break-all;
max-height: 250px;
overflow-y: auto;
}
/* 如果 pre 本身就是子级,补齐它应有的底边距 */
pre.sp-content.sp-code {
padding: 0 12px 10px 12px;
}
/* 内滚动条极简化 */
.sp-code::-webkit-scrollbar { width: 4px; height: 4px; }
.sp-code::-webkit-scrollbar-thumb { background: var(--el-border-color); border-radius: 2px; }
/* --- 5 种状态的高级单色点缀 (莫兰迪色系) --- */
.type-reasoning .sp-header i { color: #8b5cf6; } /* 柔紫 */
.type-call .sp-header i { color: #3b82f6; } /* 柔蓝 */
.type-result .sp-header i { color: #10b981; } /* 柔绿 */
.type-error .sp-header i { color: #ef4444; } /* 柔红 */
.type-approval .sp-header i { color: #f59e0b; } /* 柔橙 */
/* --- 权限审批卡片特殊适配 --- */
.type-approval .sp-text {
font-size: 13px;
margin-bottom: 8px;
color: var(--el-text-color-regular);
}
.type-approval .sp-text span {
font-family: 'Menlo', 'Monaco', monospace;
color: var(--el-text-color-primary);
font-weight: 600;
}
/* 只有审批参数为了区分文本,给了一层微弱的内嵌框 */
.type-approval .sp-code-box {
margin: 0 0 12px 0;
background-color: var(--el-bg-color); /* 凹陷感 */
padding: 8px 10px;
border-radius: 6px;
border: 1px solid var(--el-border-color-lighter);
font-family: 'Menlo', 'Monaco', monospace;
font-size: 12px;
color: var(--el-text-color-secondary);
white-space: pre-wrap;
max-height: 150px;
overflow-y: auto;
}
/* --- 极简交互按钮 --- */
.sp-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
}
.sp-btn {
padding: 5px 12px;
font-size: 12px;
border-radius: 6px;
cursor: pointer;
font-weight: 500;
transition: all 0.2s ease;
border: 1px solid transparent;
background: transparent;
font-family: var(--el-font-family);
}
/* 幽灵按钮 (拒绝) */
.sp-btn.ghost { color: var(--el-text-color-secondary); }
.sp-btn.ghost:hover { color: var(--el-color-danger); background: var(--el-fill-color-darker); }
/* 边框按钮 (一直允许) */
.sp-btn.outline { border-color: var(--el-border-color); color: var(--el-text-color-regular); background: var(--el-bg-color); }
.sp-btn.outline:hover { border-color: var(--el-color-primary); color: var(--el-color-primary); }
/* 实心按钮 (允许一次) */
.sp-btn.primary { background: var(--el-color-primary); color: #fff; border-color: var(--el-color-primary); }
.sp-btn.primary:hover { opacity: 0.85; }
.sp-btn:active { transform: scale(0.96); }
/* 暗色模式防色差 */
[data-theme="dark"] .sap-process-block,
[data-theme="midnight"] .sap-process-block,[data-theme="neon"] .sap-process-block {
background-color: rgba(255, 255, 255, 0.03);
border-color: rgba(255, 255, 255, 0.08);
}
/* 1. 在原来的 .sap-process-block 中,确保有 transition 属性 */
.sap-process-block {
background-color: var(--el-fill-color-light);
border: 1px solid var(--el-border-color-lighter);
border-radius: 8px;
margin: 14px 0;
overflow: hidden;
font-family: var(--el-font-family);
box-shadow: none; /* 默认状态保持干净扁平 */
/* 🌟 新增:添加平滑的物理弹性过渡 */
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
/* 2. 🌟 新增:极其克制的悬浮与阴影效果 */
.sap-process-block:hover {
transform: translateY(-1px); /* 只向上浮动 1 像素,避免眼花 */
/* 双层柔和阴影:底层提供边缘轮廓,外层提供环境光柔和弥散,透明度极低 (0.04) */
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
border-color: var(--el-border-color); /* 边框稍微加深一个色阶,让边缘更锐利 */
}
/* 3. 🌟 新增:暗色主题防脏补丁 */
/* 暗色背景下阴影需要深一点才能看出来,边框给一点泛白感 */[data-theme="dark"] .sap-process-block:hover,
[data-theme="midnight"] .sap-process-block:hover,
[data-theme="neon"] .sap-process-block:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);
border-color: rgba(255, 255, 255, 0.12);
}
/* =========================================
极致版:书签多标签系统 (上下对齐 + 极小精致)
========================================= */
/* 1. 侧边栏整体:向上提拉对齐,并向下补偿高度 */
.side-panel {
background-color: transparent !important;
border: none !important;
box-shadow: none !important;
border-radius: 0 !important;
/* 🌟 对齐魔法:向上拉 14px 保持顶边平行 */
margin: -14px 12px 12px 0 !important;
/* 🌟 补偿魔法:增加 14px 高度,把提上去的底边“拽”回来,实现底部平行 */
height: calc(100% + 14px) !important;
overflow: visible !important;
align-items: stretch !important;
justify-content: flex-start !important;
display: flex !important;
flex-direction: column;
transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
/* 2. 极简书签栏外层:不再需要很高的生长空间 */
.vscode-tabs-header {
display: flex;
align-items: flex-end;
gap: 3px; /* 间距更精密 */
padding-left: 14px;
margin-bottom: -1px;
z-index: 10;
position: relative;
background: transparent !important;
min-height: 24px; /* 🌟 极低的高度,减少干扰 */
overflow-x: auto;
scrollbar-width: none;
}
.vscode-tabs-header::-webkit-scrollbar { display: none; }
/* 3. 极小精致书签本体 */
.vscode-tab {
display: flex;
align-items: center;
/* 🌟 极致尺寸:非激活状态仅 20px 高 */
height: 20px;
padding: 0 8px;
background: var(--el-bg-color);
color: var(--el-text-color-regular);
border: 1px solid var(--el-border-color-lighter);
border-bottom: none;
border-radius: 6px 6px 0 0; /* 圆角更细腻 */
/* 文字更小,更像专业工具 */
font-size: 11px;
letter-spacing: 0.2px;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
min-width: 60px;
max-width: 120px;
}
/* 4. 激活态书签:仅微微拔高,与面板无缝融合 */
.vscode-tab.active {
background-color: var(--el-bg-color);
color: var(--el-color-primary);
font-weight: 600;
/* 🌟 激活态高度控制在 26px,既有区分度又不突兀 */
height: 26px;
border-color: var(--el-border-color-lighter);
/* 极细的顶部装饰线 */
box-shadow: inset 0 2px 0 var(--el-color-primary);
z-index: 2;
padding-bottom: 1px;
}
/* 5. 内部元素尺寸压缩 */
.vscode-tab .tab-icon {
font-size: 11px;
opacity: 0.7;
}
.vscode-tab .ext-img-icon {
width: 12px;
height: 12px;
border-radius: 2px;
}
.vscode-tab .tab-title {
margin-left: 5px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1;
}
/* 6. 极致微小的关闭按钮 */
.vscode-tab .tab-close {
display: flex;
align-items: center;
justify-content: center;
width: 14px;
height: 14px;
border-radius: 3px;
font-size: 9px;
margin-left: 4px;
opacity: 0;
}
.vscode-tab:hover .tab-close,
.vscode-tab.active .tab-close { opacity: 1; }
.vscode-tab .tab-close:hover {
background-color: var(--el-fill-color-darker);
color: var(--el-color-danger);
}
/* 7. 白色主体面板容器:恢复 100% 宽度,并在提拉后依然稳健 */
.side-panel-body-container {
background-color: var(--el-bg-color);
border-radius: 12px !important;
border: 1px solid var(--el-border-color-lighter);
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06); /* 阴影更轻柔,符合精致感 */
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
z-index: 1;
width: 100% !important;
}
/* 修复扩展列表里的卡片标题,防止因为精致化导致按钮覆盖文字 */
.extension-info h3.ext-title {
padding-right: 90px !important;
font-size: 14px !important; /* 字体稍微调小一点 */
}
@media (max-width: 768px) {
.resizer {
display: none;
}
.chat-area-layout {
display: block;
}
.chat-history-panel,
.chat-history-divider {
display: none;
}
/* 完全清除左右缩进带来的偏左问题 */
.chat-wrapper.collapsed-right .chat-area,
.chat-wrapper.collapsed-left .side-panel,
.chat-area,
.side-panel {
width: 100% !important;
margin-right: 0 !important;
margin-left: 0 !important;
}
.chat-main-column {
padding-left: 0 !important;
padding-right: 0 !important;
}
}
/* ============================================================
桌面端侧边栏截断 & 展开按钮靠右问题
============================================================ */
/* 1. 撤销上一个补丁对桌面端的误伤 (解除全局锁定) */
@media (min-width: 769px) {
html, body {
position: static !important;
height: 100vh !important;
}
.el-main, .chat-wrapper {
overflow: visible !important;
}
}
/* 2. 修复侧边栏顶部的书签被截断:放弃负边距,采用安全内部排版 */
.side-panel {
margin: 12px 12px 12px 0 !important; /* 去掉之前的负边距,回归正常 */
height: calc(100% - 24px) !important; /* 恢复正常高度 */
overflow: visible !important;
}
.vscode-tabs-header {
margin-top: 0 !important;
margin-bottom: -1px !important; /* 紧紧贴合下方主体面板 */
}
/* 保证收起时严格隐藏,解决视觉残留 */
.side-panel.collapsed {
overflow: hidden !important;
opacity: 0 !important;
width: 0 !important;
margin: 0 !important;
}
/* 3. 修复侧边栏收起时的“书签按钮”(展开把手)过于靠边的问题 */
.resizer-collapsed-right {
right: 0px !important; /* 离开屏幕绝对右边缘,预留呼吸空间 */
}
.resizer-collapsed-left {
left: 0px !important; /* 左侧也同理 */
}
/* 既然离开了边缘,干脆把展开按钮升级为更圆润的“悬浮胶囊” */
.browser-toggle-handle,
.browser-toggle-handle--left {
border-radius: 12px !important; /* 变成全圆角 */
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important; /* 增加悬浮阴影 */
}
/* ============================================================
📱 移动端防滚动 (限制仅在手机端生效,绝对安全)
============================================================ */
@media (max-width: 768px) {
html, body {
height: 100% !important;
height: 100dvh !important;
width: 100vw !important;
position: fixed !important; /* 仅在手机端锁死屏幕,消灭橡皮筋拖拽 */
overflow: hidden !important;
}
.el-main, .chat-wrapper {
overflow: hidden !important;
}
.messages-container, .side-panel-scroll, .history-list-container {
overflow-y: auto !important;
overflow-x: hidden !important;
-webkit-overflow-scrolling: touch; /* 保持 iOS 丝滑滚动体验 */
}
}
.page {
height: 100%;
overflow-y: auto; /* 保持可滚动 */
scrollbar-width: none; /* Firefox 隐藏滚动条 */
-ms-overflow-style: none; /* IE/Edge 隐藏滚动条 */
}
.page::-webkit-scrollbar {
display: none; /* Chrome/Safari 隐藏滚动条 */
}
.chat-area,
.side-panel {
/* 将原本写死的 flex-shrink: 0 改为 1,允许 Flexbox 自动消化超出的那 28px */
flex-shrink: 1 !important;
}
/* 折叠的工具块:去掉内容,标题可点击,保持原块样式 */
.sap-process-block.collapsed-tool-block {
cursor: pointer;
transition: all 0.2s ease;
padding: 0; /* 去除内边距,只靠 sp-header 撑起 */
}
.sap-process-block.collapsed-tool-block > .sp-header {
padding: 8px 12px;
user-select: none;
}
.sap-process-block.collapsed-tool-block:hover {
border-color: var(--el-color-primary-light-5);
}
/* 确保侧边栏内的卡片有良好的显示 */
.tool-detail-view .extension-card {
background-color: var(--el-bg-color) !important;
border: 1px solid var(--el-border-color-lighter) !important;
border-radius: 12px !important;
}
/* 侧边栏工具详情容器 */
.tool-detail-view {
display: flex;
flex-direction: column;
height: 100%;
}
.tool-detail-view .sap-process-block {
box-shadow: none !important; /* 去掉可能的多余阴影 */
background: var(--el-bg-color) !important;
}
.tool-detail-view .sp-content {
font-size: 13px;
line-height: 1.6;
}
/* 强制思考块内容字号,避免 Markdown 嵌套导致字体缩小 */
.type-reasoning .sp-content {
font-size: 13px !important; /* 固定字号 */
line-height: 1.6;
}
.type-reasoning .sp-content * {
font-size: inherit !important; /* 所有子元素继承父级字号 */
}
.katex-display {
overflow-x: auto;
overflow-y: hidden;
padding: 10px 0;
max-width: 100%;
}
/* =========================================
固定在侧边栏面板的导航按钮(不随内容滚动)
========================================= */
/* 1. 浮动返回按钮 - 左上角 */
.floating-back-btn {
position: absolute; /* 相对于 .side-panel-scroll 定位 */
top: 12px;
left: 12px;
z-index: 1000;
width: 34px;
height: 34px;
border-radius: 50%;
/* 磨砂玻璃质感 */
background-color: color-mix(in srgb, var(--el-bg-color) 75%, transparent);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--el-border-color-light);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: var(--el-text-color-primary);
font-size: 14px;
opacity: 0.85;
pointer-events: auto;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.floating-back-btn:hover {
opacity: 1;
background-color: var(--el-color-primary);
color: #ffffff;
border-color: var(--el-color-primary);
transform: translateX(-2px) scale(1.05);
box-shadow: 0 4px 16px rgba(var(--el-color-primary-rgb), 0.35);
}
.floating-back-btn:active {
transform: translateX(-2px) scale(0.92);
transition-duration: 0.1s;
}
/* 2. 浮动操作按钮组 - 右上角 */
.floating-actions-group {
position: absolute;
top: 12px;
right: 12px;
z-index: 1000;
display: flex;
gap: 6px;
}
/* 单个浮动操作按钮 */
.floating-action-btn {
width: 32px;
height: 32px;
border-radius: 50%;
background-color: color-mix(in srgb, var(--el-bg-color) 75%, transparent);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--el-border-color-light);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: var(--el-text-color-secondary);
font-size: 13px;
opacity: 0.8;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.floating-action-btn:hover {
opacity: 1;
background-color: var(--el-bg-color);
color: var(--el-color-primary);
border-color: var(--el-color-primary-light-5);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.floating-action-btn:active {
transform: translateY(0) scale(0.92);
transition-duration: 0.1s;
}
/* 3. 暗色主题适配 */
[data-theme="dark"] .floating-back-btn,
[data-theme="midnight"] .floating-back-btn,
[data-theme="neon"] .floating-back-btn {
background-color: color-mix(in srgb, var(--el-bg-color) 70%, transparent);
border-color: rgba(255, 255, 255, 0.12);
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .floating-action-btn,
[data-theme="midnight"] .floating-action-btn,
[data-theme="neon"] .floating-action-btn {
background-color: color-mix(in srgb, var(--el-bg-color) 70%, transparent);
border-color: rgba(255, 255, 255, 0.1);
}
/* 4. 确保侧边栏滚动容器支持固定定位 */
.side-panel-scroll {
position: relative; /* 作为浮动按钮的定位锚点 */
}
/* 5. 移动端适配 */
@media (max-width: 768px) {
.floating-back-btn {
top: 8px;
left: 8px;
width: 30px;
height: 30px;
font-size: 12px;
}
.floating-actions-group {
top: 8px;
right: 8px;
gap: 4px;
}
.floating-action-btn {
width: 28px;
height: 28px;
font-size: 11px;
}
}
/* 代码块独立缩放:用 code-zoom 抵消父级的 app-zoom,
* 使 pre.code-block 的最终缩放只跟随 --code-zoom。 */
pre.code-block {
zoom: calc(var(--code-zoom, 1) / var(--app-zoom, 1));
}
/* 外观设置页:字体大小下拉框 + 重置按钮 */
.font-size-row {
display: flex;
gap: 8px;
width: 100%;
align-items: stretch;
}
.font-size-row .font-size-select {
flex: 1;
min-width: 0;
}
.font-size-row .font-size-reset {
flex: 0 0 auto;
}
/* 外观设置页:代码块预览 */
.appearance-preview-label {
margin-top: 8px;
margin-bottom: 6px;
font-size: 12px;
color: var(--el-text-color-secondary, #909399);
letter-spacing: 0.5px;
}
.appearance-preview-code {
background: transparent;
cursor: default;
}
.appearance-preview-code pre.code-block {
margin: 0;
}
/* 抑制"包含代码预览的 tool-item"在悬停/点击时的卡片抬起与缩放,
* 否则鼠标进入预览区会让整张卡片移动,影响阅读。 */
.tool-item:has(.appearance-preview-code) {
cursor: default;
}
.tool-item:has(.appearance-preview-code):hover,
.tool-item:has(.appearance-preview-code):active {
transform: none !important;
box-shadow: none !important;
background-color: var(--el-bg-color) !important;
border-color: var(--bg-color) !important;
}
.docker-registry-switch {
display: inline-flex;
background-color: color-mix(in srgb, var(--el-text-color-primary) 6%, transparent);
border-radius: 40px;
padding: 4px;
gap: 4px;
margin-bottom: 12px;
transition: background-color 0.2s ease;
.switch-option {
font-size: 13px;
font-weight: 500;
padding: 6px 20px;
border-radius: 32px;
cursor: pointer;
color: var(--el-text-color-regular);
background: transparent;
transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
text-align: center;
white-space: nowrap;
&:hover {
color: var(--el-color-primary);
background-color: color-mix(in srgb, var(--el-color-primary) 12%, transparent);
}
&.active {
background: var(--el-bg-color);
color: var(--el-color-primary);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.03);
font-weight: 600;
[data-theme="dark"] &,
[data-theme="midnight"] &,
[data-theme="neon"] & {
background: var(--el-bg-color);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
}
}
@media (max-width: 480px) {
.switch-option {
padding: 5px 16px;
font-size: 12px;
}
}
}
/* =========================================
UI 模式重写:办公模式(DeepSeek) & 娱乐模式(QQ)
========================================= */
/* --- 1. 彻底清除外围包裹 ---
当处于工作或娱乐模式时,强行脱掉外层的“大气泡”伪装 */
.assistant .message-content.mode-work,
.assistant .message-content.mode-entertainment {
background-color: transparent !important;
border: none !important;
box-shadow: none !important;
padding: 0 !important;
}
/* -----------------------------------------
2. 办公模式 (Work Mode) - 专业无包裹
----------------------------------------- */
.mode-work .markdown-body {
padding: 0 4px !important;
font-size: 15px;
line-height: 1.7;
}
/* 过程块(思考、工具调用)极简化,变成左侧粗线指示 */
.mode-work .sap-process-block {
background-color: transparent !important;
border: none !important;
border-left: 3px solid var(--el-border-color-darker) !important;
border-radius: 0 4px 4px 0 !important;
box-shadow: none !important;
padding-left: 12px !important;
margin: 8px 0 !important;
}
.mode-work .sap-process-block:hover {
transform: none !important;
border-left-color: var(--el-color-primary) !important;
}
/* -----------------------------------------
3. 娱乐模式 (Entertainment Mode) - QQ独立多气泡
----------------------------------------- */
/* 让父容器使用 flex 列布局,确保拆分的气泡纵向排列且靠左 */
.mode-entertainment .stream-content,
.mode-entertainment .markdown-body > div:first-child {
display: flex !important;
flex-direction: column !important;
align-items: flex-start !important;
width: 100% !important;
}
/* 🌟 核心魔法:只选择 Markdown 的第一层结构生成气泡 */
.mode-entertainment .stream-content > p,
.mode-entertainment .stream-content > pre,
.mode-entertainment .stream-content > ul,
.mode-entertainment .stream-content > ol,
.mode-entertainment .stream-content > blockquote,
.mode-entertainment .stream-content > table,
.mode-entertainment .markdown-body > div:first-child > p,
.mode-entertainment .markdown-body > div:first-child > pre,
.mode-entertainment .markdown-body > div:first-child > ul,
.mode-entertainment .markdown-body > div:first-child > ol,
.mode-entertainment .markdown-body > div:first-child > blockquote,
.mode-entertainment .markdown-body > div:first-child > table,
.mode-entertainment .sap-process-block.type-approval {
/* 气泡背景和边框 */
background-color: var(--el-bg-color) !important;
border: 1px solid var(--el-border-color-lighter) !important;
/* 🌟 修复3:统一气泡圆角,和标准模式完全一致 (左下角小尖角) */
border-radius: 18px 18px 18px 4px !important;
padding: 12px 16px !important;
margin: 0 0 12px 0 !important; /* 每个气泡的间隔 */
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
/* 更好的自适应宽度,完美包裹文字,不撑满屏幕 */
width: fit-content;
display: block;
max-width: 100%;
color: var(--el-text-color-primary);
box-sizing: border-box;
}
/* 🌟 修复2:单独为列表留出左侧符号空间,避免点溢出 */
.mode-entertainment .stream-content > ul,
.mode-entertainment .stream-content > ol,
.mode-entertainment .markdown-body > div:first-child > ul,
.mode-entertainment .markdown-body > div:first-child > ol {
padding-left: 36px !important;
}
/* 🌟 修复1:严格过滤空行段落,解决生成空心气泡的问题 */
.mode-entertainment .stream-content > p:empty,
.mode-entertainment .markdown-body > div:first-child > p:empty,
.mode-entertainment .stream-content > p:has(> br:only-child),
.mode-entertainment .markdown-body > div:first-child > p:has(> br:only-child) {
display: none !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
}
/* 审批块(被放行的工具)自适应对齐 */
.mode-entertainment .type-approval {
align-self: flex-start;
}
/* 代码块内部防溢出处理 */
.mode-entertainment pre {
white-space: pre-wrap !important;
word-wrap: break-word !important;
}
/* 如果是连续的最后一个气泡,取消底部间距 */
.mode-entertainment .stream-content > *:last-child,
.mode-entertainment .markdown-body > div:first-child > *:last-child {
margin-bottom: 0 !important;
}
/* 🚨 嵌套清零:确保气泡内部深层的标签绝对不会再生成背景(终结气泡套气泡) */
.mode-entertainment .stream-content > blockquote > p,
.mode-entertainment .stream-content > ul > li > p,
.mode-entertainment .markdown-body > div:first-child > blockquote > p,
.mode-entertainment .markdown-body > div:first-child > ul > li > p {
background: transparent !important;
border: none !important;
padding: 0 !important;
box-shadow: none !important;
margin: 0 0 8px 0 !important;
}
/* 🌟 修复4:彻底消除 Markdown 分割线 (---) 在娱乐模式下导致的空行/断层 */
.mode-entertainment .stream-content > hr,
.mode-entertainment .markdown-body > div:first-child > hr,
.mode-entertainment .a2ui-text-wrapper > div > hr {
display: none !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
}
/* 🌟 修复5:让 Markdown 标题 (h1~h6) 也被气泡完美包裹 */
.mode-entertainment .stream-content > h1,
.mode-entertainment .stream-content > h2,
.mode-entertainment .stream-content > h3,
.mode-entertainment .stream-content > h4,
.mode-entertainment .stream-content > h5,
.mode-entertainment .stream-content > h6,
.mode-entertainment .markdown-body > div:first-child > h1,
.mode-entertainment .markdown-body > div:first-child > h2,
.mode-entertainment .markdown-body > div:first-child > h3,
.mode-entertainment .markdown-body > div:first-child > h4,
.mode-entertainment .markdown-body > div:first-child > h5,
.mode-entertainment .markdown-body > div:first-child > h6 {
/* 气泡背景和边框 */
background-color: var(--el-bg-color) !important;
border: 1px solid var(--el-border-color-lighter) !important;
/* 统一气泡圆角 (左下角小尖角) */
border-radius: 18px 18px 18px 4px !important;
padding: 12px 16px !important;
margin: 0 0 12px 0 !important; /* 每个气泡的间隔 */
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
/* 自适应宽度 */
width: fit-content;
display: block;
max-width: 100%;
color: var(--el-text-color-primary);
box-sizing: border-box;
}
/* 消除如果是最后一条消息时的底部间距 */
.mode-entertainment .stream-content > h1:last-child,
.mode-entertainment .stream-content > h2:last-child,
.mode-entertainment .stream-content > h3:last-child,
.mode-entertainment .stream-content > h4:last-child,
.mode-entertainment .stream-content > h5:last-child,
.mode-entertainment .stream-content > h6:last-child,
.mode-entertainment .markdown-body > div:first-child > h1:last-child,
.mode-entertainment .markdown-body > div:first-child > h2:last-child,
.mode-entertainment .markdown-body > div:first-child > h3:last-child,
.mode-entertainment .markdown-body > div:first-child > h4:last-child,
.mode-entertainment .markdown-body > div:first-child > h5:last-child,
.mode-entertainment .markdown-body > div:first-child > h6:last-child {
margin-bottom: 0 !important;
}
/* =========================================
🌟 UI 模式提示器重写 (Typing & Loading Indicators)
解决办公与娱乐模式下的扫光错位与转圈违和问题
========================================= */
/* --- 1. 彻底关闭顶部扫光特效 --- */
/* 在办公和娱乐模式下,干掉原本附着在卡片边缘的跑马灯 */
.assistant .message-content.mode-work.typing::before,
.assistant .message-content.mode-entertainment.typing::before {
display: none !important;
animation: none !important;
background: transparent !important;
}
/* -----------------------------------------
2. 娱乐模式 (Entertainment Mode) - QQ 正在输入气泡
----------------------------------------- */
/* 锁定包含转圈图标的那个隐藏 div,将其强制变身为一个独立的气泡 */
.mode-entertainment div:has(> .fa-spinner.fa-spin) {
background-color: var(--el-bg-color) !important;
border: 1px solid var(--el-border-color-lighter) !important;
border-radius: 18px 18px 18px 4px !important;
padding: 18px 24px !important; /* 预留给跳动圆点的空间 */
margin: 0 0 12px 0 !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
width: fit-content;
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 24px;
}
/* 隐藏原本死板的转圈图标 */
.mode-entertainment div:has(> .fa-spinner.fa-spin) .fa-spinner {
display: none !important;
}
/* 🌟 核心魔法:用伪元素 CSS 绘制三个丝滑跳动的小圆点 */
.mode-entertainment div:has(> .fa-spinner.fa-spin)::after {
content: "";
width: 6px;
height: 6px;
border-radius: 50%;
/* 左右留出 margin 支撑 box-shadow 产生的小点 */
margin: 0 12px;
animation: qq-typing-dots 1.4s infinite ease-in-out both;
}
/* 三圆点波浪跳动动画 */
@keyframes qq-typing-dots {
0%, 80%, 100% {
box-shadow: -12px 0 0 -1px rgba(128,128,128,0.4),
0 0 0 -1px rgba(128,128,128,0.4),
12px 0 0 -1px rgba(128,128,128,0.4);
}
20% {
box-shadow: -12px 0 0 1px var(--el-color-primary),
0 0 0 -1px rgba(128,128,128,0.4),
12px 0 0 -1px rgba(128,128,128,0.4);
}
40% {
box-shadow: -12px 0 0 -1px rgba(128,128,128,0.4),
0 0 0 1px var(--el-color-primary),
12px 0 0 -1px rgba(128,128,128,0.4);
}
60% {
box-shadow: -12px 0 0 -1px rgba(128,128,128,0.4),
0 0 0 -1px rgba(128,128,128,0.4),
12px 0 0 1px var(--el-color-primary);
}
}
/* -----------------------------------------
3. 办公模式 (Work Mode) - 极简光标指示器
----------------------------------------- */
/* 对齐容器,预留位置 */
.mode-work div:has(> .fa-spinner.fa-spin) {
display: inline-flex;
align-items: center;
padding-left: 4px;
margin-top: 4px;
}
/* 隐藏原本死板的转圈图标 */
.mode-work div:has(> .fa-spinner.fa-spin) .fa-spinner {
display: none !important;
}
/* 🌟 核心魔法:将其替换为一个极客风的专业闪烁光标块 */
.mode-work div:has(> .fa-spinner.fa-spin)::before {
content: '';
display: inline-block;
width: 8px;
height: 18px;
background-color: var(--el-color-primary); /* 使用主题色 */
vertical-align: middle;
animation: work-mode-blink 1s step-end infinite;
/* 给光标一点微弱的光晕,更有科幻/终端感 */
box-shadow: 0 0 6px rgba(var(--el-color-primary-rgb), 0.5);
}
/* 光标闪烁动画 */
@keyframes work-mode-blink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
/* =========================================
初始状态中央模式切换器 (Premium Segmented Control)
========================================= */
/* 确保消息容器作为绝对定位锚点 */
.messages-container {
position: relative;
}
/* 中央绝对居中容器 */
.initial-mode-switcher-container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 100;
display: flex;
justify-content: center;
align-items: center;
pointer-events: auto;
animation: switcherFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes switcherFadeIn {
from { opacity: 0; transform: translate(-50%, -40%) scale(0.96); }
to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
/* 胶囊控制条底槽 */
.mode-segmented-control {
display: inline-flex;
background-color: rgba(128, 128, 128, 0.06); /* 极低饱和度底色 */
border: 1px solid var(--el-border-color-lighter);
border-radius: 40px; /* 完整的胶囊圆角 */
padding: 4px;
gap: 4px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
/* 深色/暗色主题适配 */
[data-theme="dark"] .mode-segmented-control,
[data-theme="midnight"] .mode-segmented-control,
[data-theme="neon"] .mode-segmented-control {
background-color: rgba(255, 255, 255, 0.04);
border-color: rgba(255, 255, 255, 0.08);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
/* 单个选项 */
.mode-segmented-control .segment-option {
font-size: 13.5px;
font-weight: 500;
padding: 8px 20px;
border-radius: 32px;
cursor: pointer;
color: var(--el-text-color-regular);
background: transparent;
display: flex;
align-items: center;
gap: 8px;
border: 1px solid transparent; /* 预留高亮描边 */
user-select: none;
-webkit-user-select: none;
transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mode-segmented-control .segment-option i {
font-size: 14px;
transition: transform 0.2s;
}
/* 悬停微调:图标轻轻上浮 */
.mode-segmented-control .segment-option:hover {
color: var(--el-color-primary);
}
.mode-segmented-control .segment-option:hover i {
transform: translateY(-1px);
}
/* 🌟 激活状态 (Active) - 完美复刻参考图的高亮外边框与轻微发光 */
.mode-segmented-control .segment-option.active {
background-color: color-mix(in srgb, var(--el-color-primary) 12%, var(--el-bg-color)) !important;
border-color: var(--el-color-primary) !important;
color: var(--el-color-primary) !important;
font-weight: 600;
box-shadow: 0 2px 8px rgba(var(--el-color-primary-rgb), 0.15);
}
/* 激活状态在暗黑主题下的显色增强 */
[data-theme="dark"] .mode-segmented-control .segment-option.active,
[data-theme="midnight"] .mode-segmented-control .segment-option.active,
[data-theme="neon"] .mode-segmented-control .segment-option.active {
background-color: rgba(var(--el-color-primary-rgb), 0.12) !important;
box-shadow: 0 2px 12px rgba(var(--el-color-primary-rgb), 0.25);
}
/* 物理按压反馈 */
.mode-segmented-control .segment-option:active {
transform: scale(0.96);
transition-duration: 0.1s;
}
/* =========================================
初始状态中央模式切换器 (Premium Segmented Control)
========================================= */
.messages-container {
position: relative; /* 确保绝对定位基准正确 */
}
/* 主容器:改为列布局,容纳标题和控制条 */
.initial-mode-switcher-container {
position: absolute;
top: 45%; /* 稍微偏上,符合视觉黄金分割点 */
left: 50%;
transform: translate(-50%, -50%);
z-index: 100;
display: flex;
flex-direction: column;
align-items: center;
gap: 24px; /* 标题与控制条的物理间距 */
pointer-events: auto;
animation: switcherFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes switcherFadeIn {
from { opacity: 0; transform: translate(-50%, -40%) scale(0.96); }
to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
/* 动态标题部分样式 (对齐参考图) */
.switcher-header {
display: flex;
align-items: center;
gap: 12px;
font-size: 20px;
font-weight: 600;
color: var(--el-text-color-primary);
user-select: none;
-webkit-user-select: none;
}
.switcher-header i {
font-size: 22px;
color: var(--el-color-primary);
animation: iconPulse 2s infinite ease-in-out;
}
@keyframes iconPulse {
0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(var(--el-color-primary-rgb), 0)); }
50% { transform: scale(1.08); filter: drop-shadow(0 0 8px rgba(var(--el-color-primary-rgb), 0.4)); }
}
/* 胶囊控制条底槽 */
.mode-segmented-control {
display: inline-flex;
background-color: rgba(128, 128, 128, 0.06);
border: 1px solid var(--el-border-color-lighter);
border-radius: 40px;
padding: 4px;
gap: 4px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
/* 暗色主题适配 */
[data-theme="dark"] .mode-segmented-control,
[data-theme="midnight"] .mode-segmented-control,
[data-theme="neon"] .mode-segmented-control {
background-color: rgba(255, 255, 255, 0.04);
border-color: rgba(255, 255, 255, 0.08);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
/* 单个选项 */
.mode-segmented-control .segment-option {
font-size: 13.5px;
font-weight: 500;
padding: 8px 20px;
border-radius: 32px;
cursor: pointer;
color: var(--el-text-color-regular);
background: transparent;
display: flex;
align-items: center;
gap: 8px;
border: 1px solid transparent;
user-select: none;
-webkit-user-select: none;
white-space: nowrap; /* 🌟 关键修复:强制文字绝对不准折行,杜绝竖向排版 */
transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mode-segmented-control .segment-option i {
font-size: 14px;
transition: transform 0.2s;
}
.mode-segmented-control .segment-option:hover {
color: var(--el-color-primary);
}
.mode-segmented-control .segment-option:hover i {
transform: translateY(-1px);
}
/* 激活状态 (Active) */
.mode-segmented-control .segment-option.active {
background-color: color-mix(in srgb, var(--el-color-primary) 12%, var(--el-bg-color)) !important;
border-color: var(--el-color-primary) !important;
color: var(--el-color-primary) !important;
font-weight: 600;
box-shadow: 0 2px 8px rgba(var(--el-color-primary-rgb), 0.15);
}
[data-theme="dark"] .mode-segmented-control .segment-option.active,
[data-theme="midnight"] .mode-segmented-control .segment-option.active,
[data-theme="neon"] .mode-segmented-control .segment-option.active {
background-color: rgba(var(--el-color-primary-rgb), 0.12) !important;
box-shadow: 0 2px 12px rgba(var(--el-color-primary-rgb), 0.25);
}
.mode-segmented-control .segment-option:active {
transform: scale(0.96);
transition-duration: 0.1s;
}
/* -----------------------------------------
📱 移动端自适应优化补丁 (max-width: 768px)
通过压缩边距、等宽平分、缩放字号,完美平铺
----------------------------------------- */
@media (max-width: 768px) {
.initial-mode-switcher-container {
width: 92%; /* 限制最大宽度 */
gap: 16px; /* 缩小上下间距 */
top: 40%; /* 手机端弹起键盘时稍偏上,防止被输入框遮挡 */
}
.switcher-header {
font-size: 16px; /* 缩小提示文字 */
gap: 8px;
}
.switcher-header i {
font-size: 18px;
}
.mode-segmented-control {
border-radius: 30px;
padding: 3px;
gap: 2px;
width: 100%; /* 强制占满自适应宽度 */
box-sizing: border-box;
display: flex;
}
.mode-segmented-control .segment-option {
font-size: 11.5px; /* 压缩文字大小 */
padding: 8px 6px; /* 压缩内边距 */
border-radius: 24px;
gap: 4px; /* 缩短图标和文字距离 */
flex: 1; /* 🌟 关键:平分空间,确保横向充满不折行 */
justify-content: center; /* 居中对齐 */
}
.mode-segmented-control .segment-option i {
font-size: 12px; /* 稍微缩小图标 */
}
}
/* =========================================
系统提示词 (System Prompt) 专属重写
========================================= */
/* --- 1. 彻底清除外围包裹 (扩展支持系统消息) --- */
.assistant .message-content.mode-work,
.assistant .message-content.mode-entertainment,
.system .message-content.mode-work,
.system .message-content.mode-entertainment {
background-color: transparent !important;
border: none !important;
box-shadow: none !important;
padding: 0 !important;
}
/* --- 2. 办公模式下的系统提示词微调 (无背景,虚线修饰,辅助色) --- */
.system .message-content.mode-work .system-content {
background: transparent !important;
box-shadow: none !important;
border-radius: 0 !important;
/* 降低视觉优先级:使用更淡的次级文字颜色,让用户视觉重心留在 AI 的正文上 */
color: var(--el-text-color-secondary) !important;
font-size: 13.5px;
line-height: 1.6;
/* 用优雅的虚线侧边栏代替气泡包围,极富学术与配置质感 */
border-left: 2px dashed var(--el-border-color-darker) !important;
padding: 8px 0 8px 14px !important;
margin: 8px 0 !important;
}
/* 办公模式下微调系统内容中的滚动容器,确保内距一致 */
.system .message-content.mode-work .system-content .scroll-on-hover {
padding: 0 !important;
}
/* =========================================
🌟 娱乐模式顶部防挤压留白补丁
自动感应娱乐模式并为消息列表顶部补偿安全间距
========================================= */
/* 当消息容器内部包含娱乐模式的消息时,自动开启顶部优雅间距 */
.messages-container:has(.message-content.mode-entertainment) {
padding-top: 48px !important; /* 桌面端预留 48px 的呼吸感留白 */
transition: padding-top 0.3s var(--ease-out-smooth);
}
/* =========================================
娱乐模式下图片气泡无缝填充 & 圆角剪裁终极修复
========================================= */
/* 1. 强力匹配任何包含图片的段落气泡,彻底清除内边距与空白背景 */
.mode-entertainment .stream-content p:has(img),
.mode-entertainment .markdown-body p:has(img),
.mode-entertainment .markdown-body div:first-child p:has(img) {
padding: 0 !important;
overflow: hidden !important; /* 核心:确保超出异形圆角部分被裁剪掉 */
background-color: var(--el-bg-color) !important;
border: 1px solid var(--el-border-color-lighter) !important;
/* 强制应用与普通文本气泡完全一致的 QQ 异形圆角 */
border-radius: 18px 18px 18px 4px !important;
display: inline-block !important; /* 使气泡宽度完美包裹图片,不产生右侧多余空白 */
max-width: 100% !important;
box-sizing: border-box !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
/* 2. 防御性处理:如果图片外层套了 <a> 标签(用于点击放大预览),重置其布局与圆角 */
.mode-entertainment .stream-content p:has(img) a,
.mode-entertainment .markdown-body p:has(img) a,
.mode-entertainment .markdown-body div:first-child p:has(img) a {
display: block !important;
padding: 0 !important;
margin: 0 !important;
border: none !important;
border-radius: inherit !important; /* 继承父级的异形圆角 */
overflow: hidden !important;
}
/* 3. 让图片自然平铺到气泡边缘,不留任何缝隙,并继承异形圆角 */
.mode-entertainment .stream-content p:has(img) img,
.mode-entertainment .markdown-body p:has(img) img,
.mode-entertainment .markdown-body div:first-child p:has(img) img {
display: block !important;
width: 100% !important; /* 宽度占满气泡 */
height: auto !important; /* 高度等比例缩放,保证二游立绘、卡牌不被拉伸变形 */
/* 尺寸限制:既保证精美,又防止长图撑爆聊天区域 */
max-width: 320px !important; /* 限制横向宽度,与普通气泡视觉体量一致 */
max-height: 480px !important; /* 限制纵向高度上限 */
object-fit: contain !important; /* 保证整张卡面(包括顶部文字和底部菜单)完整显示,不被裁剪 */
border-radius: inherit !important; /* 关键:强制图片各角完美贴合父级 18px 18px 18px 4px 的圆角 */
margin: 0 !important;
padding: 0 !important;
border: none !important;
}
/* =========================================
标准模式与办公模式图片自适应缩放优化
========================================= */
/* 1. 经典/标准模式:自适应优雅缩放 */
.message-content:not(.mode-entertainment):not(.mode-work) .markdown-body img,
.message-content:not(.mode-entertainment):not(.mode-work) .stream-content img {
display: block;
max-width: 100% !important; /* 宽度上限不超过消息气泡 */
height: auto !important; /* 保持原有宽高比 */
max-height: 360px !important; /* 限制最大高度,防止长图霸屏,保持阅读流畅 */
width: auto !important; /* 允许根据比例自动收缩,防止小图/图标被强行拉大 */
object-fit: contain !important;
border-radius: 8px !important; /* 精致的现代圆角 */
margin: 10px 0 !important; /* 上下段落保留呼吸间距 */
box-shadow: var(--shadow-sm); /* 轻微的环境光投影,提升质感 */
border: 1px solid var(--el-border-color-light) !important; /* 微弱的极细边框 */
transition: transform 0.2s ease;
}
/* 2. 办公模式 (Work Mode):更严谨、更紧凑的学术/文档排版 */
.message-content.mode-work .markdown-body img,
.message-content.mode-work .stream-content img {
display: block;
max-width: 100% !important;
height: auto !important;
max-height: 300px !important; /* 办公模式限制到 300px,排版更紧凑 */
width: auto !important;
object-fit: contain !important;
border-radius: 6px !important; /* 更加克制的微圆角 */
margin: 8px 0 !important;
border: 1px solid var(--el-border-color-light) !important;
}
/* 3. 悬停微动反馈(双模式通用) */
.message-content:not(.mode-entertainment) .markdown-body img:hover,
.message-content:not(.mode-entertainment) .stream-content img:hover {
transform: translateY(-1px); /* 悬停时轻微上浮 */
box-shadow: var(--shadow-md); /* 投影微微加深 */
}
/* =========================================
娱乐模式:极简消息时间戳
========================================= */
.im-time-stamp {
font-size: 11px;
color: var(--el-text-color-secondary);
opacity: 0.55;
margin-top: 4px;
user-select: none;
-webkit-user-select: none;
}
/* 助手时间戳靠左对齐 */
.im-time-stamp.assistant {
margin-left: 4px;
align-self: flex-start;
}
/* 用户时间戳靠右对齐 */
.im-time-stamp.user {
margin-right: 4px;
align-self: flex-end;
}
/* =========================================
娱乐模式:消除左右内边距,保留上下 8px 间距
========================================= */
.mode-entertainment .markdown-body {
padding: 8px 0 !important; /* 上下保留 8px 呼吸感,左右彻底归零防偏移 */
background: transparent !important; /* 确保容器背景彻底透明 */
}
/* 兼容处理:消除块容器可能残留的额外上下边距 */
.mode-entertainment .message-blocks-container {
padding: 0 !important;
margin: 0 !important;
}
/* =========================================
娱乐模式:代码块独立气泡 & 无边距无缝填充
========================================= */
/* 1. 让代码块容器独立成为一个无填充的气泡,并使用 overflow:hidden 裁剪圆角 */
.mode-entertainment .stream-content > .code-block,
.mode-entertainment .markdown-body > div:first-child > .code-block,
.mode-entertainment .stream-content > pre,
.mode-entertainment .markdown-body > div:first-child > pre {
background-color: var(--el-bg-color) !important;
border: 1px solid var(--el-border-color-lighter) !important;
border-radius: 18px 18px 18px 4px !important; /* 统一的 QQ 异形圆角 */
padding: 0 !important; /* 彻底清除边缘填充,让内部代码完全贴合边缘 */
margin: 0 0 12px 0 !important; /* 每个气泡的上下间隔 */
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
/* 尺寸自适应与边界防撑破 */
width: fit-content;
min-width: 280px; /* 设定最小宽度,避免极短代码块显得过于局促 */
max-width: 100%;
display: block;
box-sizing: border-box;
overflow: hidden !important; /* 关键:强行裁剪内部 header 和 hljs 容器的直角,使其无缝贴合外层圆角 */
}
/* 2. 彻底清除内部 pre/code/hljs 的圆角和 margin,实现纯粹的无缝贴合 */
.mode-entertainment .code-block pre,
.mode-entertainment .code-block .hljs,
.mode-entertainment pre > code {
border-radius: 0 !important; /* 清除内层容器的圆角,防止出现双重边框或背景露空 */
margin: 0 !important;
}
/* 3. 兼容 has-custom-bg (全局背景图玻璃化) 情况下的代码块气泡 */
body.has-custom-bg .mode-entertainment .stream-content > .code-block,
body.has-custom-bg .mode-entertainment .markdown-body > div:first-child > .code-block,
body.has-custom-bg .mode-entertainment .stream-content > pre,
body.has-custom-bg .mode-entertainment .markdown-body > div:first-child > pre {
background-color: color-mix(in srgb, var(--el-bg-color) 70%, transparent) !important;
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid rgba(128, 128, 128, 0.15) !important;
}
/* =========================================
🚨 修复:办公模式 + 背景图下代码块透明问题
========================================= */
/* 1. 为 `body.has-custom-bg` 模式下的办公模式代码块,恢复毛玻璃背景 */
/* 这个选择器确保了只有在两个条件同时满足时才生效 */
body.has-custom-bg .message-content.mode-work .code-block {
/* 复制标准的毛玻璃样式,使其与其它组件风格统一 */
background-color: color-mix(in srgb, var(--el-bg-color-page) 50%, transparent) !important;
backdrop-filter: blur(20px) saturate(150%);
-webkit-backdrop-filter: blur(20px) saturate(150%);
border: 1px solid rgba(128, 128, 128, 0.2) !important;
border-radius: 12px !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 添加轻微阴影,增强可读性 */
overflow: hidden; /* 确保内部元素不破坏圆角 */
}
/* 2. 确保内部的 <pre> 和 <code> 标签背景透明,以透出父级的毛玻璃效果 */
body.has-custom-bg .message-content.mode-work .code-block pre,
body.has-custom-bg .message-content.mode-work .code-block .hljs {
background: transparent !important;
background-color: transparent !important;
}
/* =========================================
全局背景图毛玻璃透视终极修复 (Body-level Glassmorphism)
========================================= */
/* 1. 强力清除所有阻挡视线的纯色大背景 (包含设置页、工具页等次级路由) */
body.has-custom-bg #app,
body.has-custom-bg .el-container,
body.has-custom-bg .el-main,
body.has-custom-bg .content,
body.has-custom-bg .page,
body.has-custom-bg .chat-container,
body.has-custom-bg .chat-wrapper,
body.has-custom-bg .chat-area,
body.has-custom-bg .chat-main-column,
body.has-custom-bg .messages-container,
body.has-custom-bg .system-container,
body.has-custom-bg .suite-layout,
body.has-custom-bg .suite-content,
body.has-custom-bg .keybox-container,
body.has-custom-bg .api-container,
body.has-custom-bg .license-notice,
body.has-custom-bg .ai-browser-container,
body.has-custom-bg .browser-welcome-page,
body.has-custom-bg .ext-iframe-wrapper {
background: transparent !important;
background-color: transparent !important;
box-shadow: none !important;
border: none !important;
}
/* 2. 最左侧主菜单 (一级导航) */
body.has-custom-bg .sidebar {
background-color: color-mix(in srgb, var(--el-bg-color-page) 50%, transparent) !important;
backdrop-filter: blur(25px) saturate(150%);
-webkit-backdrop-filter: blur(25px) saturate(150%);
border-right: 1px solid rgba(128, 128, 128, 0.15) !important;
}
/* 扒掉菜单项自带底色 */
body.has-custom-bg .el-menu-vertical,
body.has-custom-bg .el-menu-item {
background: transparent !important;
background-color: transparent !important;
}
body.has-custom-bg .el-menu-item:hover,
body.has-custom-bg .el-menu-item.is-active {
background-color: rgba(128, 128, 128, 0.15) !important;
}
/* 3. 二级导航与侧边栏 (历史对话栏、设置页侧栏) - 悬浮大圆角 */
body.has-custom-bg .chat-history-sidebar,
body.has-custom-bg .suite-sidebar {
background-color: color-mix(in srgb, var(--el-bg-color-page) 60%, transparent) !important;
backdrop-filter: blur(25px) saturate(150%);
-webkit-backdrop-filter: blur(25px) saturate(150%);
border: 1px solid rgba(128, 128, 128, 0.15) !important;
/* 悬浮圆角处理 */
border-radius: 16px !important;
margin: 12px 0 12px 12px !important;
height: calc(100% - 24px) !important;
overflow: hidden !important;
}
/* 🌟 3.5 核心修复:浏览器左侧主体卡片化,并强制将网页裁切为 16px 圆角 🌟 */
body.has-custom-bg .browser-body {
background-color: color-mix(in srgb, var(--el-bg-color-page) 50%, transparent) !important;
backdrop-filter: blur(25px) saturate(150%);
-webkit-backdrop-filter: blur(25px) saturate(150%);
border: 1px solid rgba(128, 128, 128, 0.15) !important;
/* 悬浮圆角处理:使其像一个卡片浮在背景上 */
border-radius: 16px !important;
margin: 12px 12px 12px 12px !important; /* 四周预留安全间距 */
height: calc(100% - 24px) !important;
overflow: hidden !important; /* 关键:强行裁切内部的任何网页为圆角 */
}
/* 确保 webview 及其包装层也同步继承圆角,消除任何闪烁直角 */
body.has-custom-bg .webview-wrapper,
body.has-custom-bg .webview-element {
border-radius: 16px !important;
overflow: hidden !important;
}
/* 4. 右侧扩展面板与内页实体卡片 */
body.has-custom-bg .side-panel {
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
body.has-custom-bg .side-panel-body-container,
body.has-custom-bg .settings-form,
body.has-custom-bg .behavior-block,
body.has-custom-bg .provider-card,
body.has-custom-bg .tool-item,
body.has-custom-bg .extension-card,
body.has-custom-bg .vendor-card,
body.has-custom-bg .task-card-item .el-card,
body.has-custom-bg .guide-card,
body.has-custom-bg .fav-icon-box {
background-color: color-mix(in srgb, var(--el-bg-color-page) 60%, transparent) !important;
backdrop-filter: blur(25px) saturate(150%);
-webkit-backdrop-filter: blur(25px) saturate(150%);
border: 1px solid rgba(128, 128, 128, 0.15) !important;
border-radius: 16px !important;
}
/* 4.5 浏览器 Copilot 侧边栏对齐悬浮大圆角 */
body.has-custom-bg .browser-copilot-sidebar {
background-color: color-mix(in srgb, var(--el-bg-color-page) 60%, transparent) !important;
backdrop-filter: blur(25px) saturate(150%);
-webkit-backdrop-filter: blur(25px) saturate(150%);
border: 1px solid rgba(128, 128, 128, 0.15) !important;
/* 悬浮圆角处理 */
border-radius: 16px !important;
margin: 12px 12px 12px 0 !important;
height: calc(100% - 24px) !important;
overflow: hidden !important;
transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
margin 0.35s cubic-bezier(0.4, 0, 0.2, 1),
opacity 0.25s ease !important;
}
body.has-custom-bg .browser-copilot-sidebar.sidebar-collapsed {
width: 0 !important;
min-width: 0 !important;
margin: 0 !important;
border: none !important;
opacity: 0 !important;
}
/* 5. 顶部栏与大输入框、大搜索框 */
body.has-custom-bg .top-bar {
background-color: color-mix(in srgb, var(--el-bg-color-page) 40%, transparent) !important;
backdrop-filter: blur(20px) saturate(150%);
-webkit-backdrop-filter: blur(20px) saturate(150%);
border-bottom: 1px solid rgba(128, 128, 128, 0.1) !important;
}
body.has-custom-bg .unified-input-wrapper,
body.has-custom-bg .hero-input-wrapper,
body.has-custom-bg .ios-search-wrapper {
background-color: color-mix(in srgb, var(--el-bg-color) 65%, transparent) !important;
backdrop-filter: blur(20px) saturate(150%);
-webkit-backdrop-filter: blur(20px) saturate(150%);
border: 1px solid rgba(128, 128, 128, 0.15) !important;
}
body.has-custom-bg .ios-search-input {
background: transparent !important;
background-color: transparent !important;
}
/* 🌟 核心修复:清除切换引擎按钮的白底,使其与搜索框完全融为一体 🌟 */
body.has-custom-bg .engine-selector,
body.has-custom-bg .current-engine {
background: transparent !important;
background-color: transparent !important;
border-right: 1px solid rgba(128, 128, 128, 0.15) !important; /* 半透明精细分割线 */
}
/* 5.5 模型指示器与状态胶囊玻璃化 */
body.has-custom-bg .status-pill {
background-color: color-mix(in srgb, var(--el-fill-color-light) 50%, transparent) !important;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(128, 128, 128, 0.15) !important;
}
body.has-custom-bg .engine-dropdown {
background-color: color-mix(in srgb, var(--el-bg-color) 75%, transparent) !important;
backdrop-filter: blur(20px) saturate(150%);
-webkit-backdrop-filter: blur(20px) saturate(150%);
border: 1px solid rgba(128, 128, 128, 0.2) !important;
}
body.has-custom-bg .browser-toggle-handle {
border-radius: 12px 0 0 12px !important;
}
/* 6. 消息操作区透明 */
body.has-custom-bg .message.assistant .tts-controls,
body.has-custom-bg .message-actions,
body.has-custom-bg .tts-controls .el-button,
body.has-custom-bg .message-actions .el-button {
background: transparent !important;
background-color: transparent !important;
border: none !important;
box-shadow: none !important;
}
body.has-custom-bg .tts-controls .el-button:hover,
body.has-custom-bg .message-actions .el-button:hover {
background-color: rgba(128, 128, 128, 0.15) !important;
}
/* 7. 聊天气泡处理 */
body.has-custom-bg .user .message-content {
background-color: color-mix(in srgb, var(--el-color-primary) 70%, transparent) !important;
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid rgba(128, 128, 128, 0.15) !important;
}
body.has-custom-bg .assistant .message-content:not(.mode-entertainment):not(.mode-work),
body.has-custom-bg .system .message-content:not(.mode-entertainment):not(.mode-work) {
background-color: color-mix(in srgb, var(--el-bg-color) 70%, transparent) !important;
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid rgba(128, 128, 128, 0.15) !important;
}
/* 7.3 娱乐模式气泡打碎透射 */
body.has-custom-bg .assistant .message-content.mode-entertainment,
body.has-custom-bg .system .message-content.mode-entertainment,
body.has-custom-bg .mode-entertainment .markdown-body,
body.has-custom-bg .mode-entertainment .message-blocks-container,
body.has-custom-bg .mode-entertainment .a2ui-text-wrapper,
body.has-custom-bg .mode-entertainment .stream-content {
background: transparent !important;
background-color: transparent !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
border: none !important;
box-shadow: none !important;
}
body.has-custom-bg .mode-entertainment .stream-content > p,
body.has-custom-bg .mode-entertainment .stream-content > pre,
body.has-custom-bg .mode-entertainment .stream-content > ul,
body.has-custom-bg .mode-entertainment .stream-content > ol,
body.has-custom-bg .mode-entertainment .stream-content > blockquote,
body.has-custom-bg .mode-entertainment .stream-content > table,
body.has-custom-bg .mode-entertainment .stream-content > h1,
body.has-custom-bg .mode-entertainment .stream-content > h2,
body.has-custom-bg .mode-entertainment .stream-content > h3,
body.has-custom-bg .mode-entertainment .stream-content > h4,
body.has-custom-bg .mode-entertainment .stream-content > h5,
body.has-custom-bg .mode-entertainment .stream-content > h6,
body.has-custom-bg .mode-entertainment .markdown-body > div:first-child > p,
body.has-custom-bg .mode-entertainment .markdown-body > div:first-child > pre,
body.has-custom-bg .mode-entertainment .markdown-body > div:first-child > ul,
body.has-custom-bg .mode-entertainment .markdown-body > div:first-child > ol,
body.has-custom-bg .mode-entertainment .markdown-body > div:first-child > blockquote,
body.has-custom-bg .mode-entertainment .markdown-body > div:first-child > table,
body.has-custom-bg .mode-entertainment .markdown-body > div:first-child > h1,
body.has-custom-bg .mode-entertainment .markdown-body > div:first-child > h2,
body.has-custom-bg .mode-entertainment .markdown-body > div:first-child > h3,
body.has-custom-bg .mode-entertainment .markdown-body > div:first-child > h4,
body.has-custom-bg .mode-entertainment .markdown-body > div:first-child > h5,
body.has-custom-bg .mode-entertainment .markdown-body > div:first-child > h6,
body.has-custom-bg .mode-entertainment .sap-process-block.type-approval {
background-color: color-mix(in srgb, var(--el-bg-color) 70%, transparent) !important;
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid rgba(128, 128, 128, 0.15) !important;
}
/* 8. 全局护眼叠加层 */
body.has-custom-bg::before {
content: '';
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0, 0, 0, 0.15);
pointer-events: none;
z-index: 0;
}
body.has-custom-bg #app {
position: relative;
z-index: 1;
} |