highlight.less 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656
  1. html.dark {
  2. pre code.hljs {
  3. display: block;
  4. overflow-x: auto;
  5. padding: 1em
  6. }
  7. code.hljs {
  8. padding: 3px 5px
  9. }
  10. .hljs {
  11. color: #abb2bf;
  12. background: #282c34
  13. }
  14. .hljs-keyword,
  15. .hljs-operator,
  16. .hljs-pattern-match {
  17. color: #f92672
  18. }
  19. .hljs-function,
  20. .hljs-pattern-match .hljs-constructor {
  21. color: #61aeee
  22. }
  23. .hljs-function .hljs-params {
  24. color: #a6e22e
  25. }
  26. .hljs-function .hljs-params .hljs-typing {
  27. color: #fd971f
  28. }
  29. .hljs-module-access .hljs-module {
  30. color: #7e57c2
  31. }
  32. .hljs-constructor {
  33. color: #e2b93d
  34. }
  35. .hljs-constructor .hljs-string {
  36. color: #9ccc65
  37. }
  38. .hljs-comment,
  39. .hljs-quote {
  40. color: #b18eb1;
  41. font-style: italic
  42. }
  43. .hljs-doctag,
  44. .hljs-formula {
  45. color: #c678dd
  46. }
  47. .hljs-deletion,
  48. .hljs-name,
  49. .hljs-section,
  50. .hljs-selector-tag,
  51. .hljs-subst {
  52. color: #e06c75
  53. }
  54. .hljs-literal {
  55. color: #56b6c2
  56. }
  57. .hljs-addition,
  58. .hljs-attribute,
  59. .hljs-meta .hljs-string,
  60. .hljs-regexp,
  61. .hljs-string {
  62. color: #98c379
  63. }
  64. .hljs-built_in,
  65. .hljs-class .hljs-title,
  66. .hljs-title.class_ {
  67. color: #e6c07b
  68. }
  69. .hljs-attr,
  70. .hljs-number,
  71. .hljs-selector-attr,
  72. .hljs-selector-class,
  73. .hljs-selector-pseudo,
  74. .hljs-template-variable,
  75. .hljs-type,
  76. .hljs-variable {
  77. color: #d19a66
  78. }
  79. .hljs-bullet,
  80. .hljs-link,
  81. .hljs-meta,
  82. .hljs-selector-id,
  83. .hljs-symbol,
  84. .hljs-title {
  85. color: #61aeee
  86. }
  87. .hljs-emphasis {
  88. font-style: italic
  89. }
  90. .hljs-strong {
  91. font-weight: 700
  92. }
  93. .hljs-link {
  94. text-decoration: underline
  95. }
  96. .nav-bar{
  97. &>div{
  98. background-color: #141718;
  99. }
  100. .user-info{
  101. box-shadow: 0px 20px 24px rgba(0, 0, 0, 0.5);
  102. background-color: #232627;
  103. .user-free{
  104. color: #000;
  105. }
  106. .top{
  107. .avatar{
  108. .circle{
  109. border-color: #232627;
  110. }
  111. }
  112. }
  113. }
  114. .user-bottom{
  115. border: 2px solid #343839;
  116. }
  117. .user-footer{
  118. box-shadow: 0px 20px 24px rgba(0, 0, 0, 0.5);
  119. background-color: #232627;
  120. svg{
  121. margin: 0px 10px 0px 28px;
  122. color: #6C7275;
  123. }
  124. .settings,
  125. .log-out{
  126. color: #6c7275;
  127. &.active,
  128. &:hover{
  129. background-color: #141718;
  130. color: #fff;
  131. svg{
  132. color: #fff;
  133. }
  134. }
  135. }
  136. }
  137. }
  138. .nemu-bar{
  139. .nemu-item{
  140. & .flex-row{
  141. &:hover,
  142. &.active{
  143. background: linear-gradient(270deg, #323337 50%, rgba(70, 79, 111, 0.5) 100%);
  144. box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1), inset 0px 1px 0px rgba(255, 255, 255, 0.05);
  145. }
  146. }
  147. }
  148. }
  149. .n-layout-scroll-container{
  150. background-color: #141718;
  151. // margin-top: 20px;
  152. }
  153. .char-sider{
  154. .top-new-button {
  155. border-color: #2e3132;
  156. button{
  157. color: #fff;
  158. &:hover{
  159. color: #7fe7c4;
  160. }
  161. }
  162. }
  163. .chat-item{
  164. &.check-chat-item,
  165. &:hover{
  166. background: linear-gradient(270deg, #323337 50%, rgba(80, 62, 110, 0.29) 100%);
  167. border-radius: 8px;
  168. }
  169. }
  170. }
  171. .chat-content {
  172. .footer-content{
  173. background-color: #232627;
  174. .chat-footer{
  175. background-color: #232627;
  176. border: 2px solid #343839;
  177. .top-bar{
  178. border-bottom: 2px solid #343839;
  179. svg{
  180. fill: #fff;
  181. outline: none;
  182. }
  183. }
  184. .chat-input{
  185. .n-input-wrapper{
  186. background-color: #232627;
  187. }
  188. }
  189. .send{
  190. background-color: #0084FF;
  191. }
  192. }
  193. }
  194. #scrollRef{
  195. background-color: #232627;
  196. }
  197. #image-wrapper{
  198. background-color: #232627;
  199. }
  200. .message-reply{
  201. background-color: #232728;
  202. }
  203. .message-request{
  204. background-color: #A1DC95;
  205. }
  206. .message-request{
  207. .markdown-body{
  208. p{
  209. font-size: 15px;
  210. color: #000;
  211. }
  212. }
  213. }
  214. .message-reply{
  215. .markdown-body{
  216. p{
  217. color: #FFFFFF;
  218. }
  219. }
  220. }
  221. }
  222. .change-dialog{
  223. background-color: #141718;
  224. border: none !important;
  225. box-shadow: none !important;
  226. .n-card-header{
  227. border-color: #232627;
  228. }
  229. }
  230. .model-button{
  231. button{
  232. position: static;
  233. &:first-child{
  234. outline: none;
  235. border: 2px solid #075caa;
  236. color: #0084ff;
  237. }
  238. &:last-child{
  239. border: none;
  240. box-shadow: none;
  241. background-color: #0084ff;
  242. border-color: #0084ff;
  243. color: #fff;
  244. }
  245. }
  246. }
  247. .mydrawer{
  248. .n-drawer-header{
  249. background-color: #232627;
  250. }
  251. .store-content{
  252. background-color: #232627;
  253. .store-label-item{
  254. button{
  255. color: #fff;
  256. background-color: #0084ff;
  257. &.n-button--secondary{
  258. background-color: #2b2f30;
  259. color: #0084ff;
  260. }
  261. }
  262. }
  263. .store-info-item{
  264. background-color: #2b2f30;
  265. border: 1px solid #3e4040;
  266. }
  267. }
  268. }
  269. .genner-button{
  270. background-color: #0084ff !important;
  271. color: #fff;
  272. margin-bottom: 6px;
  273. }
  274. .draw-tabs .n-tabs-tab--active{
  275. color: #0084ff !important;
  276. }
  277. .draw-tabs{
  278. .n-tabs-tab{
  279. &:hover{
  280. color: #0084ff !important;
  281. }
  282. }
  283. }
  284. .draw-tabs .n-tabs-bar{
  285. background-color: #0084ff;
  286. }
  287. .n-slider-rail{
  288. .n-slider-rail__fill{
  289. background-color: #0084ff;
  290. }
  291. }
  292. .voice-drawer{
  293. .success-button{
  294. background-color: #141718;
  295. }
  296. }
  297. .add-role-draw{
  298. .add-role-button{
  299. height: 48px;
  300. line-height: 48px;
  301. border-radius: 12px;
  302. padding: 0 40px;
  303. background-color: #0084FF;
  304. color: #fff;
  305. }
  306. }
  307. .add-role-draw{
  308. background-color: #141718;
  309. }
  310. .n-data-table{
  311. .n-data-table-base-table-body{
  312. .n-data-table-thead{
  313. border: 1px solid red;
  314. border-top-left-radius: 10px;
  315. border-top-right-radius: 10px;
  316. th{
  317. border: 1px solid #343637;
  318. &:nth-child(1) {
  319. border-right: none;
  320. }
  321. &:nth-child(2) {
  322. border-left: none;
  323. border-right: none;
  324. }
  325. &:nth-child(3) {
  326. border-left: none;
  327. border-right: none;
  328. }
  329. &:nth-child(4) {
  330. padding-left: 40px;
  331. border-left: none;
  332. }
  333. }
  334. }
  335. th{
  336. background-color: #2b2f30;
  337. &:first-child{
  338. border-top-left-radius: 10px;
  339. }
  340. }
  341. .n-data-table-tbody{
  342. .n-data-table-tr{
  343. &:nth-child(even) {
  344. td{
  345. background-color: #2b2f30;
  346. }
  347. }
  348. &:nth-child(odd) {
  349. td{
  350. background-color: #232627;
  351. }
  352. }
  353. td{
  354. font-size: 14px;
  355. padding: 12px 15px;
  356. }
  357. }
  358. }
  359. }
  360. .table-button{
  361. background: rgba(0, 132, 255, 0.2);
  362. color: #0084FF !important;
  363. &:last-child{
  364. color: #D84C10 !important;
  365. background: rgba(216, 76, 16, 0.2);
  366. }
  367. }
  368. }
  369. .draw-button{
  370. background-color: #0084FF;
  371. color: #fff;
  372. }
  373. .knowledge-draw{
  374. background-color: #141718;
  375. }
  376. .top-header,
  377. .chat-header{
  378. border-bottom: 1px solid #343839;
  379. background-color: #232627;
  380. button{
  381. background-color: #141718;
  382. }
  383. }
  384. .annex-modal{
  385. width: 540px;
  386. background-color: #141718 !important;
  387. .annex-upload{
  388. width: 500px;
  389. }
  390. }
  391. .success-button{
  392. border: 2px solid #0084FF !important;
  393. color: #0084FF;
  394. background-color: #232627 !important;
  395. &:hover{
  396. opacity: .8;
  397. color: #0084ff;
  398. }
  399. }
  400. .sound-button-box{
  401. button{
  402. background-color: #232627;
  403. &:hover{
  404. opacity: .7;
  405. }
  406. &:first-child{
  407. border: 2px solid #0084FF;
  408. color: #0084FF;
  409. }
  410. &:last-child{
  411. border: 2px solid #D84C10;
  412. color: #D84C10;
  413. margin-left: 10px;
  414. }
  415. }
  416. }
  417. .role-card{
  418. background-color: #232627;
  419. .card-container{
  420. .card-item{
  421. background-color: #232627;
  422. border: 1px solid #232627;
  423. .ellipsis{
  424. color: #aaacac;
  425. }
  426. }
  427. }
  428. .voice-pagination{
  429. left: 19px;
  430. }
  431. }
  432. .plan-draw{
  433. background-color: #141718 !important;
  434. .plan-item{
  435. background-image: url(@/assets/Subtract.png);
  436. .header{
  437. border-bottom: 1px solid #343839;
  438. .price{
  439. color: #0084FF;
  440. }
  441. .title{
  442. color: #babec1;
  443. }
  444. }
  445. .content{
  446. border-bottom: 1px solid #343839;
  447. .option-item{
  448. .quanquan{
  449. background-color: #0084ff;
  450. color: #fff;
  451. }
  452. }
  453. }
  454. .footer{
  455. background-color: #0084ff;
  456. color: #fff;
  457. }
  458. &:hover{
  459. background-image: url(@/assets/Subtract-active.png);
  460. .header{
  461. border-bottom: 1px solid #339dff;
  462. .title{
  463. color: #fff;
  464. }
  465. .price{
  466. color: #fff;
  467. }
  468. }
  469. .content{
  470. border-bottom: 1px solid #339dff;
  471. .option-item{
  472. .quanquan{
  473. background-color: #fff ;
  474. color: #0084ff;
  475. }
  476. }
  477. }
  478. .footer{
  479. background-color: #fff;
  480. color: #0084ff;
  481. }
  482. }
  483. }
  484. }
  485. .input-button-container {
  486. button{
  487. background-color: #0084FF;
  488. color: #fff;
  489. }
  490. }
  491. .table-box{
  492. background-color: #232627;
  493. }
  494. .know-header{
  495. border-bottom: 1px solid #2e3132;
  496. background-color: #232627;
  497. }
  498. .clear-chat{
  499. background-color: #111415;
  500. &:hover{
  501. transform: scale(1.1);
  502. }
  503. svg{
  504. fill: #fff;
  505. }
  506. }
  507. .gpts-box{
  508. color: #494747;
  509. h1{
  510. color: #fff;
  511. }
  512. .text{
  513. background-color: #141718;
  514. p{
  515. color: #e2e2e2;
  516. }
  517. .title{
  518. color: #fff;
  519. font-size: 16px;
  520. }
  521. }
  522. .gpts-list{
  523. .refresh{
  524. color: #fff;
  525. &:hover{
  526. color: #0084ff;
  527. }
  528. }
  529. .gpts-item{
  530. background-color: #232627;
  531. border: 1px solid #3a3b3c;
  532. .name{
  533. color: #a7a8a9;
  534. &:hover{
  535. color: #0084ff;
  536. }
  537. }
  538. }
  539. }
  540. }
  541. .music-content{
  542. background-color: #232627;
  543. .music-list{
  544. background-color: #232627;
  545. }
  546. .n-switch__button-placeholder{
  547. background-color: #0084FF;
  548. }
  549. .n-tabs-nav-scroll-content{
  550. .n-tabs-tab--active{
  551. color: #0084ff ;
  552. }
  553. .n-tabs-bar{
  554. background-color: #0084FF;
  555. }
  556. .n-tabs-tab-wrapper:hover{
  557. .n-tabs-tab__label{
  558. color: #0084FF;
  559. }
  560. }
  561. }
  562. }
  563. .video-content{
  564. background-color: #232627;
  565. .video-list{
  566. background-color: #232627;
  567. }
  568. }
  569. .annex-main{
  570. background-color: #232627;
  571. }
  572. }
  573. html {
  574. pre code.hljs {
  575. display: block;
  576. overflow-x: auto;
  577. padding: 1em
  578. }
  579. code.hljs {
  580. padding: 3px 5px;
  581. &::-webkit-scrollbar {
  582. height: 4px;
  583. }
  584. }
  585. .hljs {
  586. color: #383a42;
  587. background: #fafafa
  588. }
  589. .hljs-comment,
  590. .hljs-quote {
  591. color: #a0a1a7;
  592. font-style: italic
  593. }
  594. .hljs-doctag,
  595. .hljs-formula,
  596. .hljs-keyword {
  597. color: #a626a4
  598. }
  599. .hljs-deletion,
  600. .hljs-name,
  601. .hljs-section,
  602. .hljs-selector-tag,
  603. .hljs-subst {
  604. color: #e45649
  605. }
  606. .hljs-literal {
  607. color: #0184bb
  608. }
  609. .hljs-addition,
  610. .hljs-attribute,
  611. .hljs-meta .hljs-string,
  612. .hljs-regexp,
  613. .hljs-string {
  614. color: #50a14f
  615. }
  616. .hljs-attr,
  617. .hljs-number,
  618. .hljs-selector-attr,
  619. .hljs-selector-class,
  620. .hljs-selector-pseudo,
  621. .hljs-template-variable,
  622. .hljs-type,
  623. .hljs-variable {
  624. color: #986801
  625. }
  626. .hljs-bullet,
  627. .hljs-link,
  628. .hljs-meta,
  629. .hljs-selector-id,
  630. .hljs-symbol,
  631. .hljs-title {
  632. color: #4078f2
  633. }
  634. .hljs-built_in,
  635. .hljs-class .hljs-title,
  636. .hljs-title.class_ {
  637. color: #c18401
  638. }
  639. .hljs-emphasis {
  640. font-style: italic
  641. }
  642. .hljs-strong {
  643. font-weight: 700
  644. }
  645. .hljs-link {
  646. text-decoration: underline
  647. }
  648. }
  649. .n-layout-scroll-container{
  650. background-color: #e8eaf1;
  651. padding-right: 0px;
  652. }
  653. .is-mobile{.n-layout-scroll-container{
  654. padding-right: 0;
  655. }
  656. }
  657. .text-[18px]{
  658. font-size: 18px;
  659. }
  660. .nav-bar{
  661. width: 332px;
  662. position: relative;
  663. &>div{
  664. // background-color: #131718;
  665. }
  666. .nemu-bar{
  667. width: 332px;
  668. .nemu-item{
  669. margin-left: 16px;
  670. width: 288px;
  671. & .flex-row{
  672. width: 288px;
  673. height: 48px;
  674. border-radius: 8px;
  675. font-family: 'Inter';
  676. font-style: normal;
  677. font-weight: 600;
  678. padding-left: 31px;
  679. span{
  680. // color: rgba(232, 236, 239, 0.75);
  681. margin-left: 15px;
  682. }
  683. &:hover,
  684. &.active{
  685. background: linear-gradient(270deg, #323337 50%, rgba(70, 79, 111, 0.5) 100%);
  686. background: linear-gradient(270deg, #fff 50%, #e8eaf1 100%);
  687. box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1), inset 0px 1px 0px rgba(255, 255, 255, 0.05);
  688. }
  689. }
  690. }
  691. }
  692. .user-info{
  693. padding: 10px;
  694. width: 288px;
  695. left: 16px;
  696. position: absolute;
  697. height: 144px;
  698. background-color: #e8eaf1;
  699. box-shadow: 0px 4px 10px rgba(102, 100, 100, 0.5);
  700. border-radius: 12px;
  701. bottom: 84px;
  702. .top{
  703. padding: 10px;
  704. padding-right: 0;
  705. height: 66px;
  706. position: relative;
  707. .avatar{
  708. width: 40px;
  709. height: 40px;
  710. border-radius: 50%;
  711. position: relative;
  712. float: left;
  713. margin-right: 16px;
  714. img{
  715. width: 100%;
  716. border-radius: 50%;
  717. }
  718. .circle{
  719. position: absolute;
  720. right: -4px;
  721. bottom: -4px;
  722. width: 20px;
  723. height: 20px;
  724. border: 5px solid #e8eaf1;
  725. border-radius: 50%;
  726. background-color: #3fdd78;
  727. }
  728. }
  729. .user-name {
  730. font-family: 'Inter';
  731. font-style: normal;
  732. font-size: 14px;
  733. float: left;
  734. min-width: 130px; /* 设置最大宽度 */
  735. max-width: 160px; /* 设置最大宽度 */
  736. overflow: hidden; /* 隐藏超出部分 */
  737. white-space: nowrap; /* 防止文本换行 */
  738. text-overflow: ellipsis; /* 显示省略号 */
  739. }
  740. .user-free{
  741. float: left;
  742. height: 20px;
  743. line-height: 20px;
  744. margin-top: 2px;
  745. padding: 0 12px;
  746. background-color: #3fdd78;
  747. border-radius: 6px;
  748. font-size: 12px;
  749. font-weight: 600;
  750. }
  751. .user-email{
  752. font-family: 'Inter';
  753. font-style: normal;
  754. color: #86898b;
  755. font-size: 12px;
  756. }
  757. }
  758. .user-bottom{
  759. width: 268px;
  760. height: 48px;
  761. border: 2px solid #e0e0e6;
  762. border-radius: 12px;
  763. text-align: center;
  764. line-height: 48px;
  765. font-size: 14px;
  766. margin-top: 10px;
  767. &:hover{
  768. cursor: pointer;
  769. border-color: #3fdd78;
  770. color: #3fdd78;
  771. }
  772. }
  773. }
  774. .user-footer{
  775. position: absolute;
  776. bottom: 24px;
  777. width: 288px;
  778. height: 48px;
  779. padding: 4px;
  780. left: 16px;
  781. border-radius: 12px;
  782. // background: #232627;
  783. box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
  784. display: flex;
  785. .settings,
  786. .log-out{
  787. cursor: pointer;
  788. flex: 1;
  789. height: 40px;
  790. width: 138px;
  791. line-height: 40px;
  792. // color: #6C7275;
  793. svg{
  794. margin: 0px 10px 0px 28px;
  795. color: #6C7275;
  796. }
  797. &.active,
  798. &:hover{
  799. background-color: #3fdd78;
  800. border-radius: 12px;
  801. color: #fff;
  802. svg{
  803. color: #fff;
  804. }
  805. }
  806. }
  807. }
  808. }
  809. .char-sider{
  810. .top-new-button {
  811. height: 116px;
  812. padding-top: 15px;
  813. border: 1px solid #e0e0e6;
  814. border-left: unset;
  815. border-top: unset;
  816. button{
  817. width: 289px;
  818. height: 48px;
  819. line-height: 48px;
  820. text-align: center;
  821. // background-color: #e8eaf1;
  822. border-radius: 12px;
  823. font-size: 16px;
  824. color: #000;
  825. margin-left: 10px;
  826. margin-top: 20px;
  827. }
  828. }
  829. }
  830. .chat-history{
  831. padding: 23px 30px 0;
  832. .history-title{
  833. font-size: 18px;
  834. margin-bottom: 18px;
  835. margin-left: 18px;
  836. }
  837. .chat-item{
  838. width: 288px;
  839. height: 48px;
  840. &.check-chat-item,
  841. &:hover{
  842. background: linear-gradient(270deg, #fff 50%, #e8eaf1 100%);
  843. border-radius: 8px;
  844. }
  845. }
  846. }
  847. .change-select{
  848. border-radius: 8px !important;
  849. .n-base-selection{
  850. border-radius: 8px !important;
  851. }
  852. .n-base-selection-label,
  853. .n-input-wrapper,
  854. .n-input{
  855. height: 40px !important;
  856. border-radius: 8px !important;
  857. }
  858. }
  859. .change-slider{
  860. .n-slider-rail__fill{
  861. background-color: #0084ff !important;
  862. }
  863. }
  864. .change-dialog{
  865. border-radius: 10px !important;
  866. .n-card-header{
  867. border-bottom: 1px solid #e0e0e6;
  868. margin-bottom: 15px;
  869. }
  870. }
  871. .message-reply,
  872. .message-request{
  873. .markdown-body{
  874. p{
  875. font-size: 17px;
  876. // color: #fff;
  877. }
  878. }
  879. }
  880. .model-button{
  881. button{
  882. padding: 0 30px;
  883. height: 48px;
  884. line-height: 48px;
  885. border-radius: 12px;
  886. font-size: 16px;
  887. margin-left: 20px !important;
  888. &:last-child{
  889. // border: 1px solid #d2f9d1;
  890. // color: #d2f9d1;
  891. }
  892. }
  893. }
  894. .mydrawer{
  895. .store-content{
  896. .store-label-item{
  897. button{
  898. border: 0;
  899. height: 48px;
  900. line-height: 48px;
  901. padding: 0 20px;
  902. min-width: 100px;
  903. text-align: center;
  904. border-radius: 40px;
  905. font-size: 17px;
  906. }
  907. }
  908. .dianzan{
  909. left: 110px;
  910. }
  911. }
  912. }
  913. .sound-button-box{
  914. button{
  915. border-radius: 12px;
  916. height: 48px !important;
  917. line-height: 48px !important;
  918. font-size: 16px;
  919. padding: 0 19px;
  920. padding: 0 35px;
  921. &:hover{
  922. opacity: .7;
  923. }
  924. }
  925. }
  926. .role-card{
  927. position: relative;
  928. .card-container{
  929. .card-item{
  930. height: 152px;
  931. border: 1px solid #e5e7eb;
  932. box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* 添加阴影效果 */
  933. h3{
  934. font-size: 17px;
  935. font-weight: 700;
  936. }
  937. .ellipsis{
  938. font-size: 14px;
  939. }
  940. .card-avatar{
  941. width: 48px;
  942. height: 48px;
  943. border-radius: 50%;
  944. }
  945. .n-divider{
  946. margin-bottom: 10px;
  947. }
  948. .button-list{
  949. justify-content: flex-end;
  950. button{
  951. height: 28px;
  952. line-height: 28px;
  953. text-align: center;
  954. padding: 0 15px;
  955. font-size: 13px;
  956. margin-left: 10px;
  957. }
  958. }
  959. }
  960. }
  961. .voice-pagination{
  962. left: 19px;
  963. }
  964. }
  965. .success-button{
  966. color: #000;
  967. border-radius: 12px !important;
  968. padding: 0 25px !important;
  969. }
  970. .voice-drawer{
  971. border-radius: 10px !important;
  972. .addvoicebutton{
  973. height: 48px;
  974. line-height: 48px;
  975. border-radius: 12px;
  976. background-color: #0084FF;
  977. color: #fff;
  978. font-size: 16px;
  979. font-weight: 700;
  980. }
  981. }
  982. .n-input{
  983. border-radius: 8px !important;
  984. }
  985. .n-pagination-item--active{
  986. color: #0084FF !important;
  987. border-color: #0084FF !important;
  988. }
  989. .add-role-draw{
  990. .add-role-button{
  991. height: 48px;
  992. line-height: 48px;
  993. border-radius: 12px;
  994. padding: 0 40px;
  995. float: right;
  996. }
  997. .add-role-upload{
  998. .n-upload-dragger{
  999. width: 500px;
  1000. height: 228px;
  1001. padding: 40px 63px;
  1002. font-size: 14px;
  1003. line-height: 24px;
  1004. text-align: center;
  1005. letter-spacing: -0.02em;
  1006. }
  1007. }
  1008. .role-avatar-upload{
  1009. .n-upload-trigger{
  1010. width: 120px;
  1011. height: 120px;
  1012. .n-upload-dragger{
  1013. width: 120px;
  1014. height: 120px;
  1015. display: block;
  1016. border-radius: 8px;
  1017. }
  1018. }
  1019. }
  1020. }
  1021. .n-data-table{
  1022. .n-data-table-base-table-body{
  1023. border-top-left-radius: 10px;
  1024. border-top-right-radius: 10px;
  1025. .n-data-table-tbody{
  1026. .n-data-table-tr{
  1027. td{
  1028. font-size: 14px;
  1029. padding: 12px 15px;
  1030. border: none;
  1031. }
  1032. }
  1033. }
  1034. }
  1035. .table-button{
  1036. height: 24px;
  1037. line-height: 24px;
  1038. border-radius: 12px;
  1039. background: rgba(0, 132, 255, 0.2);
  1040. }
  1041. }
  1042. .draw-button{
  1043. height: 48px !important;
  1044. line-height: 48px !important;
  1045. border-radius: 12px !important;
  1046. padding: 0 33px !important;
  1047. font-size: 16px;
  1048. }
  1049. .top-header{
  1050. height: 116px;
  1051. line-height: 116px;
  1052. align-items: center;
  1053. border-bottom: 1px solid #e5e7eb;
  1054. margin: 24px 0 0px !important;
  1055. padding: 0 20px;
  1056. background-color: #fff;
  1057. border-top-right-radius: 20px;
  1058. button{
  1059. height: 48px;
  1060. line-height: 48px;
  1061. }
  1062. }
  1063. .chat-header{
  1064. height: 116px;
  1065. line-height: 116px;
  1066. align-items: center;
  1067. border-bottom: 1px solid #e5e7eb;
  1068. padding: 0 20px;
  1069. background-color: #fff;
  1070. border-top-right-radius: 20px;
  1071. margin-top: 0;
  1072. button{
  1073. height: 48px;
  1074. line-height: 48px;
  1075. }
  1076. }
  1077. .know-header{
  1078. height: 116px;
  1079. line-height: 116px;
  1080. align-items: center;
  1081. border-bottom: 1px solid #e5e7eb;
  1082. margin: 2px 0 0px !important;
  1083. padding: 0 20px;
  1084. background-color: #fff;
  1085. border-top-right-radius: 20px;
  1086. border-top-left-radius: 20px;
  1087. button{
  1088. height: 48px;
  1089. line-height: 48px;
  1090. }
  1091. }
  1092. .n-data-table__pagination{
  1093. justify-content: start !important;
  1094. }
  1095. .annex-modal{
  1096. width: 540px;
  1097. .annex-upload{
  1098. width: 500px;
  1099. }
  1100. }
  1101. .plan-draw{
  1102. border-radius: 20px !important;
  1103. .n-card-header{
  1104. display: none !important;
  1105. }
  1106. .change-combo{
  1107. height: 50px;
  1108. display: flex;
  1109. justify-content: center;
  1110. align-items: center;
  1111. span{
  1112. font-size: 18px;
  1113. &.active-span{
  1114. color: #0084FF;
  1115. }
  1116. }
  1117. .n-switch{
  1118. margin: 0 12px;
  1119. .n-switch__rail{
  1120. width: 53px;
  1121. }
  1122. &.n-switch--active{
  1123. .n-switch__rail{
  1124. background-color: #0084ff;
  1125. }
  1126. }
  1127. }
  1128. }
  1129. .n-tab-pane{
  1130. padding: 0 !important;
  1131. }
  1132. .plan-item{
  1133. width: 320px;
  1134. height: 342px;
  1135. background-image: url(@/assets/Subtract-3.png);
  1136. margin: 20px 15px;
  1137. &:hover{
  1138. transform: scale(1.02);
  1139. background-image: url(@/assets/Subtract-2.png);
  1140. .header{
  1141. .title{
  1142. color: #fff;
  1143. }
  1144. .price{
  1145. color: #fff;
  1146. }
  1147. .date{
  1148. color: #fff;
  1149. }
  1150. }
  1151. }
  1152. .header{
  1153. height: 78px;
  1154. width: calc(100% - 40px);
  1155. margin: 0 20px;
  1156. border-bottom: 1px solid #fff;
  1157. line-height: 90px;
  1158. .title{
  1159. color: #000;
  1160. font-size: 20px;
  1161. font-weight: 700;
  1162. }
  1163. .price{
  1164. font-size: 32px;
  1165. font-weight: 700;
  1166. }
  1167. .date{
  1168. font-size: 14px;
  1169. }
  1170. }
  1171. .content{
  1172. width: calc(100% - 30px);
  1173. // padding: 15px 0;
  1174. margin: 0 20px;
  1175. border-bottom: 1px solid #fff;
  1176. height: 160px;
  1177. overflow-y: scroll;
  1178. .option-item{
  1179. font-size: 14px;
  1180. margin-bottom: 2px;
  1181. display: flex;
  1182. width: 280px;
  1183. .quanquan{
  1184. display: inline-block;
  1185. width: 14px;
  1186. height: 14px;
  1187. background-color: #0084ff;
  1188. color: #fff;
  1189. text-align: center;
  1190. line-height: 14px;
  1191. border-radius: 50%;
  1192. color: #fff;
  1193. position: relative;
  1194. margin-top: 3px;
  1195. margin-right: 10px;
  1196. svg{
  1197. position: absolute;
  1198. top: 1px;
  1199. left: 1px;
  1200. width: 12px;
  1201. height: 12px;
  1202. }
  1203. }
  1204. p{
  1205. white-space: nowrap;
  1206. overflow: hidden;
  1207. text-overflow: ellipsis;
  1208. max-width: 250px;
  1209. }
  1210. }
  1211. }
  1212. .footer{
  1213. width: calc(100% - 40px);
  1214. margin: 20px 20px 0;
  1215. background-color: #fff;
  1216. color: #000;
  1217. height: 48px;
  1218. line-height: 48px;
  1219. font-size: 16px;
  1220. text-align: center;
  1221. border-radius: 12px;
  1222. // border: 1px solid #e0e0e6;
  1223. &:hover{
  1224. transform: scale(1.02);
  1225. }
  1226. svg{
  1227. position: relative;
  1228. top: -2px;
  1229. margin-right: 15px;
  1230. }
  1231. }
  1232. }
  1233. &.mobile-plan-draw {
  1234. .plan-content{
  1235. max-height: 85vh;
  1236. overflow-y: scroll;
  1237. // flex-direction: column !important;
  1238. // align-items: center;
  1239. display: block !important;
  1240. .plan-item{
  1241. width: 320px;
  1242. margin: 0;
  1243. margin-bottom: 20px;
  1244. margin-left: calc((100vw - 320px) / 2 - 24px);
  1245. }
  1246. }
  1247. }
  1248. .n-tabs-nav-scroll-content{
  1249. border: 0 !important;
  1250. margin-bottom: 20px;
  1251. }
  1252. .n-data-table{
  1253. margin-left: 0;
  1254. }
  1255. }
  1256. .plan-tabs{
  1257. .n-tabs-tab{
  1258. &:hover{
  1259. color: #0084FF !important;
  1260. }
  1261. }
  1262. .n-tabs-tab--active{
  1263. color: #0084FF !important;
  1264. }
  1265. .n-tabs-bar{
  1266. background-color: #0084FF !important;
  1267. }
  1268. }
  1269. .input-button-container {
  1270. button{
  1271. border-radius: 12px;
  1272. margin-left: 40px;
  1273. padding: 0 20px;
  1274. width: calc(20% - 10px);
  1275. // width: 20%;
  1276. }
  1277. }
  1278. .table-box{
  1279. background-color: #fff;
  1280. //padding: 20px 46px 20px 20px;
  1281. height: calc(100%);
  1282. border-bottom-right-radius: 0px;
  1283. }
  1284. .draw-table-box{
  1285. .n-data-table-wrapper{
  1286. max-height: 60vh;
  1287. overflow-y: scroll;
  1288. }
  1289. }
  1290. .chat-content {
  1291. height: calc(100vh);
  1292. margin-top: 0px;
  1293. main{
  1294. border-top-right-radius: 20px;
  1295. }
  1296. .header-button{
  1297. margin-right: 20px;
  1298. }
  1299. .footer-content{
  1300. padding: 0;
  1301. background-color: #fff;
  1302. border-bottom-right-radius: 20px;
  1303. // height: 156px;
  1304. .chat-footer{
  1305. border-bottom-right-radius: 12px;
  1306. position: relative;
  1307. background-color: #e8eaf1;
  1308. padding: 0;
  1309. height: 155px;
  1310. width: calc(100% - 80px);
  1311. border: 2px solid #fff;
  1312. margin: 0 40px 40px;
  1313. border-radius: 16px;
  1314. .items-base {
  1315. // position: absolute;
  1316. // top: -70px;
  1317. }
  1318. .top-bar{
  1319. & .left{
  1320. display: flex;
  1321. position: relative;
  1322. float: left;
  1323. .chage-model-select{
  1324. float: left;
  1325. position: relative;
  1326. display: flex;
  1327. align-items: center;
  1328. font-size: 16px;
  1329. cursor: pointer;
  1330. box-shadow: 0px 3px 5px #000;
  1331. border-radius: 5px;
  1332. padding: 2px;
  1333. top: -5px;
  1334. &:hover{
  1335. color: #0084FF;
  1336. }
  1337. svg{
  1338. margin-right: 0 !important;
  1339. }
  1340. span{
  1341. margin: 0 5px;
  1342. }
  1343. }
  1344. }
  1345. height: 42px;
  1346. border-bottom: 2px solid #e0e0e6;
  1347. padding: 10px 26px 0;
  1348. svg{
  1349. margin-right: 25px;
  1350. cursor: pointer;
  1351. float: left;
  1352. fill: #000;
  1353. outline: none;
  1354. &:hover{
  1355. opacity: .8;
  1356. transform: scale(1.1);
  1357. }
  1358. }
  1359. .right{
  1360. float: right;
  1361. cursor: pointer;
  1362. &:hover{
  1363. transform: scale(1.1);
  1364. }
  1365. }
  1366. }
  1367. .chat-input{
  1368. float: left;
  1369. .n-input-wrapper{
  1370. background-color: #e8eaf1;
  1371. border: none;
  1372. }
  1373. width: 80%;
  1374. margin: 15px 0px 0 26px;
  1375. }
  1376. .send{
  1377. float: right;
  1378. cursor: pointer;
  1379. // width: 94px;
  1380. height: 24px;
  1381. border-radius: 12px;
  1382. background-color: #0084FF;
  1383. position: absolute;
  1384. right: 23px;
  1385. bottom: 22px;
  1386. line-height: 24px;
  1387. color: #fff;
  1388. padding: 0 10px;
  1389. svg{
  1390. fill: #fff;
  1391. }
  1392. &:hover{
  1393. transform: scale(1.02);
  1394. }
  1395. }
  1396. }
  1397. }
  1398. #scrollRef{
  1399. background-color: #fff;
  1400. }
  1401. #image-wrapper{
  1402. background-color: #fff;
  1403. }
  1404. .message-reply{
  1405. background-color: #d3e3fd;
  1406. }
  1407. .message-request{
  1408. background-color: #4b9e5f;
  1409. }
  1410. .message-reply,
  1411. .message-request{
  1412. border-radius: 16px;
  1413. .markdown-body{
  1414. p{
  1415. font-size: 17px;
  1416. color: #000;
  1417. }
  1418. }
  1419. }
  1420. .message-request{
  1421. .markdown-body p{
  1422. color: #fff;
  1423. }
  1424. }
  1425. }
  1426. .clear-chat{
  1427. border-radius: 20px;
  1428. background-color: #e8eaf1;
  1429. &:hover{
  1430. transform: scale(1.1);
  1431. }
  1432. svg{
  1433. fill: #000;
  1434. }
  1435. }
  1436. .gpts-box{
  1437. color: #494747;
  1438. h1{
  1439. font-weight: 700;
  1440. font-size: 40px;
  1441. text-align: center;
  1442. color: #000;
  1443. margin: 20px 0;
  1444. }
  1445. .ai-icon{
  1446. float: left;
  1447. }
  1448. .text{
  1449. background-color: #e8eaf1;
  1450. border-radius: 20px;
  1451. float: left;
  1452. width: calc(100% - 100px);
  1453. margin-left: 12px;
  1454. .title{
  1455. font-weight: 700;
  1456. color: #000;
  1457. }
  1458. }
  1459. &>div{
  1460. &::after{
  1461. content: '';
  1462. display: table;
  1463. clear: both;
  1464. }
  1465. }
  1466. .gpts-list{
  1467. margin-top: 10px;
  1468. position: relative;
  1469. .refresh{
  1470. position: absolute;
  1471. top: -35px;
  1472. right: 25px;
  1473. cursor: pointer;
  1474. &:hover{
  1475. transform: scale(1.05);
  1476. color: #0084FF;
  1477. }
  1478. }
  1479. .gpts-item{
  1480. background-color: #ffffff;
  1481. border-radius: 10px;
  1482. border: 1px solid #e8eaf1;
  1483. float: left;
  1484. .n-image{
  1485. float: left;
  1486. margin-top: 5px;
  1487. }
  1488. .info{
  1489. white-space: nowrap;
  1490. overflow: hidden;
  1491. text-overflow: ellipsis;
  1492. }
  1493. .name{
  1494. cursor: pointer;
  1495. color: #a7a8a9;
  1496. white-space: nowrap;
  1497. overflow: hidden;
  1498. text-overflow: ellipsis;
  1499. &:hover{
  1500. color: #0084ff;
  1501. }
  1502. }
  1503. }
  1504. }
  1505. }
  1506. #app{
  1507. .login-box{
  1508. background-color: #232627;
  1509. border: 1px solid #343839;
  1510. box-shadow: none;
  1511. color: #fff;
  1512. margin-top: 10px;
  1513. h2{
  1514. color: #b7babd;
  1515. }
  1516. .login-desc{
  1517. color: #B3B7B9;
  1518. a{
  1519. color: #0084ff;
  1520. }
  1521. }
  1522. form{
  1523. label{
  1524. color: #b7babd;
  1525. margin-bottom: 10px;
  1526. }
  1527. input{
  1528. background-color: #232627;
  1529. border: 2px solid #343839;
  1530. color: #fff !important;
  1531. height: 54px;
  1532. border-radius: 8px;
  1533. caret-color: #fff;
  1534. &::placeholder{
  1535. color: #696B6F;
  1536. }
  1537. }
  1538. }
  1539. .footer-login{
  1540. button{
  1541. height: 54px;
  1542. line-height: 54px;
  1543. border-radius: 8px;
  1544. background-color: #0084FF;
  1545. color: #fff;
  1546. font-size: 16px;
  1547. padding: 0;
  1548. margin-top: 10px;
  1549. width: 100%;
  1550. box-shadow: none;
  1551. }
  1552. }
  1553. // .hander-login{
  1554. // display: flex; /* 使用 flex 布局 */
  1555. // justify-content: space-between; /* 水平分布,两端对齐 */
  1556. // align-items: center; /* 垂直居中 */
  1557. // margin-top: 8px;
  1558. // margin-left: 80px;
  1559. // width: 60%;
  1560. // button{
  1561. // height: 42px;
  1562. // line-height: 42px;
  1563. // border-radius: 8px;
  1564. // // background-color: #0084FF;
  1565. // background-color: #232627;
  1566. // color: #fff;
  1567. // font-size: 18px;
  1568. // padding: 0;
  1569. // margin-left: 10px;
  1570. // width: 100%;
  1571. // // box-shadow: none;
  1572. // }
  1573. // }
  1574. }
  1575. }
  1576. .music-content{
  1577. background-color: #fff;
  1578. height: calc(100%);
  1579. margin-top: 0px;
  1580. border-radius: 0px;
  1581. .music-list{
  1582. background-color: #fff;
  1583. padding: 15px;
  1584. }
  1585. .p-2{
  1586. padding: 15px;
  1587. padding-top: 10px;
  1588. }
  1589. }
  1590. .video-content{
  1591. background-color: #fff;
  1592. height: calc(100%);
  1593. margin-top: 0px;
  1594. border-radius: 0px;
  1595. .p-2{
  1596. padding: 15px;
  1597. .upload-video{
  1598. margin: 15px 0;
  1599. }
  1600. }
  1601. .video-list{
  1602. background-color: #fff;
  1603. border-top-right-radius: 20px;
  1604. border-bottom-right-radius: 20px;
  1605. }
  1606. }
  1607. .annex-main{
  1608. background-color: #fff;
  1609. }