index.css 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658
  1. :root {
  2. --primary: #10b981;
  3. --primary-dark: #059669;
  4. --primary-bg: #ecfdf5;
  5. --success: #059669;
  6. --success-bg: #ecfdf5;
  7. --warning: #d97706;
  8. --warning-bg: #fffbeb;
  9. --danger: #dc2626;
  10. --danger-bg: #fef2f2;
  11. --info: #64748b;
  12. --info-bg: #f8fafc;
  13. --text: #1e293b;
  14. --text-muted: #64748b;
  15. --border: #d9e8e2;
  16. --bg-page: #fefefe;
  17. --surface: #ffffff;
  18. --table-head: #f8fafc;
  19. --row-alt: #fafafa;
  20. --row-hover: #f1f5f9;
  21. --shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  22. --radius: 10px;
  23. --radius-md: 8px;
  24. --control-h: 36px;
  25. /* Element Plus 全局主题色(fresh-mint-green 对齐) */
  26. --el-color-primary: var(--primary);
  27. --el-color-primary-dark-2: var(--primary-dark);
  28. --el-color-primary-light-3: #34d399;
  29. --el-color-primary-light-5: #66d9b3;
  30. --el-color-primary-light-7: #99e9cb;
  31. --el-color-primary-light-8: #c5f3e2;
  32. --el-color-primary-light-9: var(--primary-bg);
  33. --el-color-success: var(--success);
  34. --el-color-success-dark-2: #0b5e58;
  35. --el-color-success-light-3: #34b6ad;
  36. --el-color-success-light-5: #7dd3c7;
  37. --el-color-success-light-7: #a7f3d0;
  38. --el-color-success-light-8: #d1fae5;
  39. --el-color-success-light-9: var(--success-bg);
  40. --el-color-warning: var(--warning);
  41. --el-color-warning-dark-2: #b45309;
  42. --el-color-warning-light-3: #f59e0b;
  43. --el-color-warning-light-5: #fbbf24;
  44. --el-color-warning-light-7: #fde68a;
  45. --el-color-warning-light-8: #fef3c7;
  46. --el-color-warning-light-9: var(--warning-bg);
  47. --el-color-danger: var(--danger);
  48. --el-color-danger-dark-2: #b91c1c;
  49. --el-color-danger-light-3: #ef4444;
  50. --el-color-danger-light-5: #f87171;
  51. --el-color-danger-light-7: #fca5a5;
  52. --el-color-danger-light-8: #fecaca;
  53. --el-color-danger-light-9: var(--danger-bg);
  54. --el-color-info: var(--info);
  55. --el-color-info-dark-2: #115e59;
  56. --el-color-info-light-3: #14b8a6;
  57. --el-color-info-light-5: #2dd4bf;
  58. --el-color-info-light-7: #5eead4;
  59. --el-color-info-light-8: #99f6e4;
  60. --el-color-info-light-9: var(--info-bg);
  61. --el-text-color-primary: var(--text);
  62. --el-text-color-regular: var(--text-muted);
  63. --el-border-color: var(--border);
  64. --el-border-color-light: #edf0f3;
  65. --el-fill-color-light: #f8fafc;
  66. --el-bg-color: var(--surface);
  67. }
  68. * {
  69. box-sizing: border-box;
  70. }
  71. button,
  72. [role="button"],
  73. .el-button,
  74. a,
  75. .menu-link,
  76. .tab-chip,
  77. .tab-close,
  78. .icon-btn,
  79. .bx-btn,
  80. .bx-op-btn,
  81. summary,
  82. .nav-details > summary {
  83. cursor: default;
  84. }
  85. body {
  86. margin: 0;
  87. min-height: 100vh;
  88. font-family: Inter, -apple-system, sans-serif;
  89. font-size: 14px;
  90. line-height: 1.5;
  91. color: var(--text);
  92. background: var(--bg-page);
  93. }
  94. #app {
  95. min-height: 100vh;
  96. }
  97. .bx-layout {
  98. display: flex;
  99. min-height: 100vh;
  100. }
  101. .sidebar {
  102. width: 220px;
  103. flex-shrink: 0;
  104. background: var(--surface);
  105. border-right: 1px solid var(--border);
  106. padding: 24px 16px;
  107. transition: width 0.2s ease, padding 0.2s ease, border-color 0.2s ease;
  108. overflow: hidden;
  109. }
  110. .sidebar.collapsed {
  111. width: 0;
  112. padding-left: 0;
  113. padding-right: 0;
  114. border-right-color: transparent;
  115. }
  116. .logo {
  117. display: flex;
  118. flex-direction: column;
  119. align-items: center;
  120. gap: 8px;
  121. font-size: 16px;
  122. font-weight: 700;
  123. color: var(--text-muted);
  124. padding: 0 12px 20px;
  125. margin-bottom: 8px;
  126. border-bottom: 1px solid var(--border);
  127. }
  128. .logo-mark {
  129. flex-shrink: 0;
  130. display: inline-flex;
  131. align-items: center;
  132. justify-content: center;
  133. width: 100%;
  134. max-height: 40px;
  135. }
  136. .logo-img {
  137. display: block;
  138. height: 36px;
  139. width: auto;
  140. max-width: min(100%, 180px);
  141. object-fit: contain;
  142. }
  143. .logo-title {
  144. color: var(--primary);
  145. font-weight: 700;
  146. letter-spacing: 0.02em;
  147. font-size: 18px;
  148. line-height: 1.2;
  149. text-align: center;
  150. }
  151. .nav-tree {
  152. padding-bottom: 8px;
  153. }
  154. .nav-details {
  155. border: none;
  156. margin: 0 0 4px;
  157. padding: 0;
  158. }
  159. .nav-details > summary {
  160. list-style: none;
  161. cursor: pointer;
  162. display: flex;
  163. align-items: center;
  164. justify-content: space-between;
  165. padding: 8px 12px;
  166. margin: 0;
  167. border-radius: var(--radius);
  168. font-size: 12px;
  169. font-weight: 700;
  170. color: var(--text-muted);
  171. letter-spacing: 0.02em;
  172. user-select: none;
  173. }
  174. .nav-details > summary::-webkit-details-marker {
  175. display: none;
  176. }
  177. .nav-details > summary::after {
  178. content: "";
  179. width: 6px;
  180. height: 6px;
  181. border-right: 2px solid var(--text-muted);
  182. border-bottom: 2px solid var(--text-muted);
  183. transform: rotate(-45deg);
  184. transition: transform 0.2s ease, border-color 0.15s ease;
  185. }
  186. .nav-details[open] > summary::after {
  187. transform: rotate(45deg);
  188. margin-top: -2px;
  189. }
  190. .nav-details > summary:hover {
  191. background: var(--row-alt);
  192. color: var(--text);
  193. }
  194. .nav-details > summary:hover::after {
  195. border-right-color: var(--text);
  196. border-bottom-color: var(--text);
  197. }
  198. .nav-summary-main {
  199. display: flex;
  200. align-items: center;
  201. gap: 8px;
  202. min-width: 0;
  203. flex: 1;
  204. }
  205. .nav-summary-text {
  206. overflow: hidden;
  207. text-overflow: ellipsis;
  208. white-space: nowrap;
  209. }
  210. .nav-summary-ico {
  211. flex-shrink: 0;
  212. font-size: 16px;
  213. color: var(--text-muted);
  214. }
  215. .nav-details > summary:hover .nav-summary-ico {
  216. color: var(--text);
  217. }
  218. .nav-sub {
  219. padding: 2px 0 6px 4px;
  220. margin-left: 4px;
  221. border-left: 2px solid var(--border);
  222. }
  223. .nav-sub .nav-sub {
  224. margin-left: 10px;
  225. padding-left: 8px;
  226. border-left-style: dashed;
  227. border-left-width: 1px;
  228. }
  229. .nav-sub .nav-details > summary {
  230. font-size: 12px;
  231. font-weight: 600;
  232. padding: 6px 10px;
  233. }
  234. .menu-link {
  235. display: flex;
  236. align-items: center;
  237. gap: 8px;
  238. margin: 2px 0;
  239. padding: 8px 12px 8px 14px;
  240. border-radius: var(--radius);
  241. color: var(--text-muted);
  242. text-decoration: none;
  243. font-size: 13px;
  244. font-weight: 500;
  245. }
  246. .menu-link-ico {
  247. flex-shrink: 0;
  248. font-size: 16px;
  249. color: var(--text-muted);
  250. }
  251. .menu-link-text {
  252. min-width: 0;
  253. flex: 1;
  254. overflow: hidden;
  255. text-overflow: ellipsis;
  256. white-space: nowrap;
  257. }
  258. .menu-link:hover {
  259. background: var(--row-alt);
  260. color: var(--text);
  261. }
  262. .menu-link:hover .menu-link-ico {
  263. color: var(--text);
  264. }
  265. .menu-link.active {
  266. background: var(--primary-bg);
  267. color: var(--primary-dark);
  268. font-weight: 600;
  269. }
  270. .menu-link.active .menu-link-ico {
  271. color: var(--primary-dark);
  272. }
  273. .main {
  274. flex: 1;
  275. min-width: 0;
  276. display: flex;
  277. flex-direction: column;
  278. }
  279. .main > .header {
  280. height: 56px;
  281. padding: 0 24px;
  282. display: flex;
  283. align-items: center;
  284. justify-content: space-between;
  285. background: var(--primary-dark);
  286. border-bottom: 1px solid #047857;
  287. }
  288. .main > .header .crumb {
  289. color: rgba(255, 255, 255, 0.82);
  290. }
  291. .main > .header .crumb b {
  292. color: #fff;
  293. }
  294. .main > .header .icon-btn {
  295. color: rgba(255, 255, 255, 0.88);
  296. }
  297. .main > .header .icon-btn:hover {
  298. color: #fff;
  299. background: rgba(255, 255, 255, 0.14);
  300. }
  301. .main > .header .user-trigger {
  302. color: #fff;
  303. background: transparent;
  304. }
  305. .main > .header .user-trigger:hover {
  306. background: transparent;
  307. }
  308. .main > .header .user-avatar {
  309. box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
  310. }
  311. .header-left {
  312. display: flex;
  313. align-items: center;
  314. gap: 3px;
  315. min-width: 0;
  316. }
  317. .header-actions {
  318. display: inline-flex;
  319. align-items: center;
  320. gap: 3px;
  321. flex-shrink: 0;
  322. }
  323. .icon-btn {
  324. appearance: none;
  325. border: none;
  326. color: var(--text-muted);
  327. width: 32px;
  328. height: 32px;
  329. border-radius: 8px;
  330. padding: 0;
  331. margin: 0;
  332. box-shadow: none;
  333. background: transparent;
  334. display: inline-flex;
  335. align-items: center;
  336. justify-content: center;
  337. cursor: pointer;
  338. }
  339. .icon-btn:hover {
  340. color: var(--text);
  341. background: var(--row-alt);
  342. }
  343. .icon-btn .el-icon {
  344. width: auto;
  345. height: auto;
  346. padding: 0;
  347. margin: 0;
  348. line-height: 1;
  349. display: inline-flex;
  350. align-items: center;
  351. justify-content: center;
  352. flex: 0 0 auto;
  353. }
  354. .icon-btn .el-icon svg {
  355. width: 20px;
  356. height: 20px;
  357. padding: 0;
  358. margin: 0;
  359. display: block;
  360. }
  361. .crumb {
  362. font-size: 13px;
  363. color: var(--text-muted);
  364. white-space: nowrap;
  365. overflow: hidden;
  366. text-overflow: ellipsis;
  367. }
  368. .crumb b {
  369. color: var(--text);
  370. font-weight: 600;
  371. }
  372. .header-right {
  373. position: relative;
  374. display: flex;
  375. align-items: center;
  376. gap: 10px;
  377. }
  378. .user-trigger {
  379. appearance: none;
  380. border: none;
  381. color: var(--text);
  382. font-size: 13px;
  383. font-weight: 600;
  384. padding: 4px 8px 4px 4px;
  385. border-radius: 999px;
  386. background: transparent;
  387. box-shadow: none;
  388. margin: 0;
  389. min-height: auto;
  390. display: inline-flex;
  391. align-items: center;
  392. gap: 8px;
  393. cursor: pointer;
  394. }
  395. .user-trigger:hover {
  396. background: var(--row-alt);
  397. }
  398. .user-avatar {
  399. width: 24px;
  400. height: 24px;
  401. border-radius: 50%;
  402. color: #fff;
  403. display: inline-flex;
  404. align-items: center;
  405. justify-content: center;
  406. font-size: 12px;
  407. font-weight: 700;
  408. }
  409. .user-name {
  410. font-size: 13px;
  411. font-weight: 600;
  412. line-height: 1;
  413. }
  414. .content {
  415. flex: 1;
  416. min-height: 0;
  417. padding: 24px;
  418. background: var(--bg-page);
  419. }
  420. .tabs-strip {
  421. display: flex;
  422. flex-wrap: wrap;
  423. align-items: flex-end;
  424. gap: 4px;
  425. margin: 0 0 16px;
  426. padding: 0 2px 10px;
  427. border-bottom: 1px solid var(--border);
  428. }
  429. .tab-chip {
  430. border: 1px solid var(--border);
  431. background: var(--surface);
  432. color: var(--text-muted);
  433. font-size: 13px;
  434. font-weight: 600;
  435. padding: 8px 14px;
  436. border-radius: 8px 8px 0 0;
  437. margin-bottom: -11px;
  438. display: inline-flex;
  439. align-items: center;
  440. gap: 6px;
  441. max-width: 220px;
  442. cursor: pointer;
  443. }
  444. .tab-chip:hover {
  445. color: var(--text);
  446. background: var(--row-alt);
  447. }
  448. .tab-chip.active {
  449. color: var(--primary-dark);
  450. border-bottom-color: var(--surface);
  451. box-shadow: 0 -2px 0 var(--primary) inset;
  452. }
  453. .tab-chip .tab-close:hover {
  454. opacity: 1;
  455. background: rgba(100, 116, 139, 0.14);
  456. }
  457. .tab-label {
  458. min-width: 0;
  459. overflow: hidden;
  460. text-overflow: ellipsis;
  461. white-space: nowrap;
  462. }
  463. .tab-close {
  464. width: 16px;
  465. height: 16px;
  466. border: none;
  467. border-radius: 4px;
  468. background: transparent;
  469. color: inherit;
  470. opacity: 0.7;
  471. cursor: pointer;
  472. padding: 0;
  473. display: inline-flex;
  474. align-items: center;
  475. justify-content: center;
  476. }
  477. .tab-close .el-icon {
  478. width: 12px;
  479. height: 12px;
  480. }
  481. .tab-context-menu {
  482. position: fixed;
  483. z-index: 1000;
  484. width: max-content;
  485. border: 1px solid var(--border);
  486. border-radius: 10px;
  487. background: var(--surface);
  488. box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  489. padding: 6px;
  490. }
  491. .menu-item {
  492. width: auto;
  493. display: block;
  494. border: 0;
  495. background: transparent;
  496. text-align: left;
  497. color: var(--text);
  498. padding: 8px 10px;
  499. border-radius: 8px;
  500. font-size: 13px;
  501. cursor: pointer;
  502. white-space: nowrap;
  503. }
  504. .menu-item:hover {
  505. background: var(--row-alt);
  506. }
  507. .page-head {
  508. margin-bottom: 16px;
  509. }
  510. .page-head h1 {
  511. margin: 0 0 4px;
  512. font-size: 20px;
  513. font-weight: 700;
  514. }
  515. .desc {
  516. margin: 0;
  517. color: var(--text-muted);
  518. font-size: 13px;
  519. }
  520. .stats {
  521. display: grid;
  522. grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  523. gap: 12px;
  524. margin-bottom: 16px;
  525. }
  526. .stat {
  527. background: #fff;
  528. border: 1px solid var(--border);
  529. border-radius: var(--radius);
  530. padding: 12px 14px;
  531. box-shadow: var(--shadow);
  532. }
  533. .stat .k {
  534. margin: 0 0 8px;
  535. font-size: 14px;
  536. font-weight: 600;
  537. }
  538. .stat .v {
  539. margin: 0;
  540. font-size: 22px;
  541. font-weight: 700;
  542. color: var(--primary-dark);
  543. }
  544. .visual-check {
  545. margin-bottom: 16px;
  546. padding: 12px 14px;
  547. border: 1px solid var(--border);
  548. border-radius: var(--radius-md);
  549. background: var(--surface);
  550. }
  551. .visual-check-head {
  552. display: flex;
  553. align-items: center;
  554. justify-content: space-between;
  555. gap: 8px;
  556. margin-bottom: 10px;
  557. }
  558. .visual-check-head h3 {
  559. margin: 0;
  560. font-size: 14px;
  561. font-weight: 600;
  562. color: var(--text);
  563. }
  564. .visual-check-group {
  565. display: flex;
  566. align-items: center;
  567. flex-wrap: wrap;
  568. gap: 8px;
  569. margin-bottom: 8px;
  570. }
  571. .visual-check-alerts .el-alert {
  572. max-width: 220px;
  573. }
  574. .visual-check-label {
  575. min-width: 42px;
  576. font-size: 12px;
  577. font-weight: 600;
  578. color: var(--text-muted);
  579. }
  580. .visual-check-switch-text {
  581. font-size: 12px;
  582. color: var(--text-muted);
  583. }
  584. .panel {
  585. background: #fff;
  586. border: 1px solid var(--border);
  587. border-radius: var(--radius);
  588. box-shadow: var(--shadow);
  589. overflow: hidden;
  590. margin-bottom: 16px;
  591. }
  592. .panel :is(.el-table__footer-wrapper td, .el-table__fixed-footer-wrapper td) {
  593. background: var(--primary-bg) !important;
  594. border-top: 2px solid var(--primary);
  595. font-weight: 600;
  596. }
  597. .simple-panel {
  598. padding: 16px;
  599. }
  600. .panel-top {
  601. padding: 10px 16px;
  602. border-bottom: 1px solid var(--border);
  603. font-size: 14px;
  604. font-weight: 600;
  605. }
  606. .table-scroll {
  607. overflow-x: auto;
  608. overflow-y: hidden;
  609. }
  610. .table-scroll .bx-table {
  611. min-width: 920px;
  612. }
  613. .filter-block {
  614. padding: 12px 16px 10px;
  615. border-bottom: 1px solid var(--border);
  616. }
  617. .filter-actions {
  618. padding-top: 10px;
  619. display: flex;
  620. justify-content: flex-start;
  621. align-items: center;
  622. gap: 10px;
  623. }
  624. .btn-link.el-button {
  625. height: 36px;
  626. padding: 0 8px;
  627. color: var(--primary-dark);
  628. }
  629. .btn-link.el-button:hover {
  630. background: var(--primary-bg);
  631. border-radius: 8px;
  632. }
  633. .filter-actions-end {
  634. display: inline-flex;
  635. align-items: center;
  636. gap: 8px;
  637. /* 无「展开更多条件」时仍把重置/查询固定在行尾 */
  638. margin-left: auto;
  639. }
  640. /* 检索栏右侧按钮(重置/查询)按标准固定样式 */
  641. .filter-actions-end .filter-reset.el-button,
  642. .filter-actions-end .filter-search.el-button {
  643. height: 36px;
  644. padding: 0 14px;
  645. border-radius: 8px;
  646. font-size: 14px;
  647. font-weight: 600;
  648. margin: 0;
  649. }
  650. .filter-actions-end .filter-reset.el-button {
  651. border: 1px solid var(--border);
  652. background: var(--surface);
  653. color: var(--text);
  654. }
  655. .filter-actions-end .filter-reset.el-button:hover {
  656. background: var(--row-alt);
  657. }
  658. /* 查询:主色描边(无背景)+ 带搜索 icon */
  659. .filter-actions-end .filter-search.el-button {
  660. border: 1px solid var(--primary);
  661. background: transparent;
  662. color: var(--primary-dark);
  663. }
  664. .filter-actions-end .filter-search.el-button:hover {
  665. border-color: var(--primary-dark);
  666. }
  667. .filter-grid {
  668. display: grid;
  669. grid-template-columns: repeat(4, 1fr);
  670. gap: 10px 14px;
  671. margin-bottom: 10px;
  672. }
  673. @media (max-width: 1100px) {
  674. .filter-grid {
  675. grid-template-columns: repeat(2, 1fr);
  676. }
  677. }
  678. @media (max-width: 560px) {
  679. .filter-grid {
  680. grid-template-columns: 1fr;
  681. }
  682. }
  683. .filter-field label {
  684. display: block;
  685. font-size: 11px;
  686. font-weight: 500;
  687. color: var(--text-muted);
  688. margin-bottom: 4px;
  689. }
  690. .filter-field :is(.bx-input, .bx-select, .bx-date-picker) {
  691. width: 100%;
  692. min-width: 0;
  693. }
  694. .list-toolbar {
  695. background: var(--table-head);
  696. border-bottom: 1px solid var(--border);
  697. padding: 0;
  698. }
  699. .list-toolbar-row {
  700. padding: 8px 16px;
  701. display: flex;
  702. align-items: center;
  703. gap: 8px;
  704. flex-wrap: wrap;
  705. }
  706. .list-toolbar-selected {
  707. font-size: 12px;
  708. font-weight: 600;
  709. color: var(--text-muted);
  710. min-height: 36px;
  711. display: inline-flex;
  712. align-items: center;
  713. border-right: 1px solid var(--border);
  714. padding-right: 12px;
  715. margin-right: 4px;
  716. }
  717. .list-toolbar-selected .sel-num {
  718. color: var(--primary-dark);
  719. font-weight: 700;
  720. margin: 0 2px;
  721. }
  722. .list-toolbar-actions {
  723. display: inline-flex;
  724. flex-wrap: wrap;
  725. gap: 8px;
  726. align-items: center;
  727. }
  728. .list-toolbar-actions .bx-btn.el-button:not(.el-button--primary) {
  729. background: var(--surface);
  730. border-color: var(--border);
  731. color: var(--text);
  732. }
  733. .list-toolbar-actions .bx-btn.el-button:not(.el-button--primary):hover {
  734. background: var(--row-alt);
  735. }
  736. .list-pager {
  737. display: flex;
  738. flex-wrap: wrap;
  739. align-items: center;
  740. justify-content: space-between;
  741. gap: 10px 12px;
  742. padding: 8px 16px;
  743. border-top: 1px solid var(--border);
  744. background: var(--surface);
  745. color: var(--text-muted);
  746. font-size: 13px;
  747. }
  748. .list-range {
  749. white-space: nowrap;
  750. }
  751. .list-pager-right {
  752. display: flex;
  753. flex-wrap: wrap;
  754. align-items: center;
  755. gap: 8px;
  756. }
  757. .pager-size-label,
  758. .pager-size-suffix {
  759. font-size: 13px;
  760. color: var(--text-muted);
  761. margin: 0;
  762. white-space: nowrap;
  763. }
  764. .list-pager .el-pagination {
  765. --el-pagination-button-height: 32px;
  766. --el-pagination-button-width: 36px;
  767. --el-pagination-font-size: 13px;
  768. color: var(--text-muted);
  769. display: inline-flex;
  770. align-items: center;
  771. gap: 3px;
  772. }
  773. .list-pager .el-pagination button,
  774. .list-pager .el-pagination .el-pager li {
  775. min-width: 36px;
  776. height: 32px;
  777. line-height: 32px;
  778. border-radius: 8px;
  779. }
  780. .list-pager .el-pagination .btn-prev,
  781. .list-pager .el-pagination .btn-next,
  782. .list-pager .el-pagination .el-pager li {
  783. border: 1px solid var(--border);
  784. background: var(--surface);
  785. margin: 0;
  786. }
  787. .list-pager .el-pagination .el-pager {
  788. display: inline-flex;
  789. align-items: center;
  790. gap: 3px;
  791. margin: 0;
  792. }
  793. .list-pager .el-pagination .btn-prev,
  794. .list-pager .el-pagination .btn-next {
  795. padding: 0 10px;
  796. min-width: 68px;
  797. }
  798. .list-pager .el-pagination .el-pager li.is-active {
  799. background: var(--primary);
  800. border-color: var(--primary);
  801. color: #fff;
  802. }
  803. .list-pager .el-pagination .el-pager li.is-active:hover {
  804. background: var(--primary-dark);
  805. border-color: var(--primary-dark);
  806. }
  807. .list-pager .el-pagination .el-pagination__sizes .el-select__wrapper {
  808. min-height: 32px;
  809. border-radius: 8px;
  810. min-width: 72px;
  811. }
  812. .panel :is(.el-table__footer-wrapper td, .el-table__fixed-footer-wrapper td) {
  813. background: var(--primary-bg) !important;
  814. border-top: 2px solid var(--primary);
  815. font-weight: 600;
  816. padding-top: 14px;
  817. padding-bottom: 14px;
  818. }
  819. .panel :is(.el-table__footer-wrapper td, .el-table__fixed-footer-wrapper td) .cell {
  820. white-space: nowrap;
  821. text-align: center;
  822. }
  823. /* 合计行吸底固定(跟随列表滚动容器) */
  824. .panel .el-table__footer-wrapper,
  825. .panel .el-table__fixed-footer-wrapper {
  826. position: sticky;
  827. bottom: 0;
  828. z-index: 4;
  829. }
  830. .ic {
  831. width: 16px;
  832. height: 16px;
  833. }
  834. .ic-sm {
  835. width: 14px;
  836. height: 14px;
  837. }
  838. .bx-input.el-input,
  839. .bx-select.el-select,
  840. .bx-date-picker.el-date-editor {
  841. width: 100%;
  842. }
  843. .bx-input .el-input__wrapper,
  844. .bx-select .el-select__wrapper,
  845. .bx-date-picker .el-input__wrapper {
  846. min-height: var(--control-h);
  847. border-radius: var(--radius-md);
  848. box-shadow: none;
  849. border: 1px solid var(--border);
  850. background: var(--surface);
  851. }
  852. .bx-input .el-input__wrapper.is-focus,
  853. .bx-select .el-select__wrapper.is-focus,
  854. .bx-date-picker .el-input__wrapper.is-focus {
  855. border-color: var(--primary);
  856. box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  857. }
  858. .bx-input .el-input__inner {
  859. height: var(--control-h);
  860. font-size: 14px;
  861. }
  862. .bx-select .el-select__placeholder,
  863. .bx-select .el-input__inner {
  864. font-size: 14px;
  865. }
  866. .bx-table.el-table {
  867. --el-table-border-color: var(--border);
  868. --el-table-header-bg-color: var(--table-head);
  869. --el-table-row-hover-bg-color: var(--row-hover);
  870. --el-table-text-color: var(--text);
  871. --el-table-header-text-color: var(--text-muted);
  872. --el-table-bg-color: var(--surface);
  873. --el-table-tr-bg-color: var(--surface);
  874. }
  875. .bx-table .el-table__header-wrapper th {
  876. font-size: 12px;
  877. font-weight: 600;
  878. color: var(--text-muted);
  879. }
  880. .bx-table .el-table__cell {
  881. padding: 10px 12px;
  882. }
  883. .bx-table.el-table--border {
  884. border: none;
  885. }
  886. .bx-table .el-table__inner-wrapper::before {
  887. background-color: var(--border);
  888. }
  889. .bx-table .el-table__cell {
  890. border-bottom: 1px solid var(--border);
  891. }
  892. .bx-table .el-table__header-wrapper th {
  893. background: var(--table-head) !important;
  894. }
  895. .bx-table .el-table__row td {
  896. background: var(--surface) !important;
  897. }
  898. /* 列表:除金额列(col-money)外单元格居中;金额列右对齐 */
  899. .bx-table .el-table__cell .cell,
  900. .view-detail-table .el-table__cell .cell,
  901. .dlg-view .el-table .el-table__cell .cell,
  902. .bx-dialog .el-dialog__body .el-table .el-table__cell .cell,
  903. .form-section .el-table .el-table__cell .cell {
  904. text-align: center;
  905. }
  906. .bx-table .col-money .cell,
  907. .view-detail-table .col-money .cell,
  908. .dlg-view .el-table .col-money .cell,
  909. .bx-dialog .el-dialog__body .el-table .col-money .cell,
  910. .form-section .el-table .col-money .cell {
  911. text-align: right;
  912. font-variant-numeric: tabular-nums;
  913. }
  914. /* 合计行:金额列强制右对齐(覆盖表尾默认居中) */
  915. .bx-table .el-table__footer-wrapper td.col-money .cell,
  916. .bx-table .el-table__fixed-footer-wrapper td.col-money .cell,
  917. .view-detail-table .el-table__footer-wrapper td.col-money .cell,
  918. .view-detail-table .el-table__fixed-footer-wrapper td.col-money .cell,
  919. .dlg-view .el-table .el-table__footer-wrapper td.col-money .cell,
  920. .bx-dialog .el-dialog__body .el-table .el-table__footer-wrapper td.col-money .cell,
  921. .form-section .el-table .el-table__footer-wrapper td.col-money .cell {
  922. text-align: right !important;
  923. font-variant-numeric: tabular-nums;
  924. }
  925. .bx-table .col-actions .cell {
  926. white-space: nowrap;
  927. display: inline-flex;
  928. flex-wrap: nowrap;
  929. align-items: center;
  930. gap: 6px;
  931. justify-content: flex-start;
  932. }
  933. /* 列表「当前节点」为空:无标签,占位与次要色 */
  934. .node-current-empty {
  935. color: var(--text-muted);
  936. }
  937. /* 列表合计:第 4 列显示「本页合计(n单)」加粗 */
  938. .table-scroll.table-page-summary .el-table__footer-wrapper td:nth-child(4) .cell {
  939. font-weight: 600;
  940. color: var(--text);
  941. }
  942. .bx-table .col-actions .cell > * {
  943. vertical-align: middle;
  944. }
  945. .bx-table .el-table__body tr:hover > td {
  946. background: var(--row-hover) !important;
  947. }
  948. /* 列表偶数行浅底(整行同色;不按列斑马) */
  949. .bx-table .el-table__body tr.el-table__row:nth-child(even) > td.el-table__cell {
  950. background: var(--row-alt) !important;
  951. }
  952. .bx-table .el-table__body tr:hover td {
  953. background: var(--row-hover) !important;
  954. }
  955. .bx-tag {
  956. display: inline-flex;
  957. align-items: center;
  958. padding: 3px 10px;
  959. border-radius: 999px;
  960. font-size: 12px;
  961. font-weight: 600;
  962. background: #fff;
  963. border: 1px solid transparent;
  964. white-space: nowrap;
  965. }
  966. .bx-tag--pending { color: #475569; border-color: #cbd5e1; }
  967. .bx-tag--processing { color: #00a874; border-color: #66d9b3; }
  968. .bx-tag--done { color: #0f766e; border-color: #5eead4; }
  969. /* 审批中等:浅底表格上需可见描边,勿用近白/透明边 */
  970. .bx-tag--warning {
  971. color: #b45309;
  972. background: #fffbeb;
  973. border-color: #f59e0b;
  974. }
  975. /* 历史误用 tone=warn 时与 warning 对齐 */
  976. .bx-tag--warn {
  977. color: #b45309;
  978. background: #fffbeb;
  979. border-color: #f59e0b;
  980. }
  981. .bx-tag--error { color: #dc2626; border-color: #fca5a5; }
  982. .bx-tag--info { color: #0f766e; border-color: #5eead4; }
  983. .bx-btn.el-button {
  984. height: var(--control-h);
  985. border-radius: var(--radius-md);
  986. font-size: 14px;
  987. font-weight: 600;
  988. gap: 2px;
  989. }
  990. .bx-btn.el-button--primary {
  991. background: var(--primary);
  992. border-color: var(--primary);
  993. }
  994. .bx-btn.el-button--primary:hover {
  995. background: var(--primary-dark);
  996. border-color: var(--primary-dark);
  997. }
  998. /* 列表工具栏首按钮:主色描边(无背景) */
  999. .bx-btn.el-button--primary.is-plain {
  1000. background: transparent;
  1001. border-color: var(--primary);
  1002. color: var(--primary-dark);
  1003. }
  1004. .bx-btn.el-button--primary.is-plain:hover {
  1005. background: transparent;
  1006. border-color: var(--primary-dark);
  1007. color: var(--primary-dark);
  1008. }
  1009. .bx-op-btn.el-button {
  1010. height: 28px;
  1011. padding: 0 8px;
  1012. font-size: 12px;
  1013. font-weight: 600;
  1014. gap: 2px;
  1015. border-radius: 8px;
  1016. border: 1px solid var(--border);
  1017. background: var(--surface);
  1018. color: var(--text);
  1019. }
  1020. .bx-op-btn.el-button.primary {
  1021. border-color: var(--primary);
  1022. background: transparent;
  1023. color: var(--primary-dark);
  1024. }
  1025. .bx-op-btn.el-button.primary:hover {
  1026. border-color: var(--primary-dark);
  1027. background: transparent;
  1028. color: var(--primary-dark);
  1029. }
  1030. .bx-op-btn.el-button:not(.primary):hover {
  1031. background: var(--row-alt);
  1032. }
  1033. .el-table .el-button + .el-button {
  1034. margin-left: 8px;
  1035. }
  1036. /* 按钮内所有 icon(含 loading)颜色跟随文字 currentColor */
  1037. .el-button .el-icon {
  1038. color: currentColor;
  1039. }
  1040. .el-button .el-icon svg {
  1041. fill: currentColor;
  1042. stroke: currentColor;
  1043. }
  1044. .el-button.is-loading .el-icon {
  1045. color: currentColor;
  1046. }
  1047. .bx-dialog .el-dialog {
  1048. border: 1px solid var(--border);
  1049. border-radius: var(--radius);
  1050. box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  1051. overflow: hidden;
  1052. display: flex;
  1053. flex-direction: column;
  1054. max-height: calc(100vh - 64px);
  1055. }
  1056. .bx-dialog .el-dialog__header {
  1057. padding: 16px 22px;
  1058. border-bottom: 1px solid var(--border);
  1059. flex-shrink: 0;
  1060. }
  1061. .bx-dialog .el-dialog__title {
  1062. font-size: 18px;
  1063. font-weight: 700;
  1064. color: var(--text);
  1065. letter-spacing: -0.02em;
  1066. }
  1067. .bx-dialog .el-dialog__body {
  1068. padding: 20px 22px;
  1069. overflow-y: auto;
  1070. flex: 1;
  1071. max-height: calc(100vh - 200px);
  1072. }
  1073. .bx-dialog .el-dialog__footer {
  1074. padding: 12px 22px;
  1075. border-top: 1px solid var(--border);
  1076. background: var(--table-head);
  1077. display: flex;
  1078. justify-content: flex-end;
  1079. gap: 8px;
  1080. flex-shrink: 0;
  1081. }
  1082. .bx-dialog .el-dialog__headerbtn {
  1083. width: 32px;
  1084. height: 32px;
  1085. border-radius: 8px;
  1086. top: 12px;
  1087. right: 14px;
  1088. }
  1089. .bx-dialog .el-dialog__headerbtn:hover {
  1090. background: var(--row-alt);
  1091. }
  1092. .bx-dialog .el-dialog__close {
  1093. color: var(--text-muted);
  1094. }
  1095. .bx-dialog .el-dialog__headerbtn:hover .el-dialog__close {
  1096. color: var(--text);
  1097. }
  1098. .dlg-view {
  1099. padding: 0;
  1100. }
  1101. .dlg-view-hero {
  1102. padding: 20px 22px;
  1103. background: linear-gradient(135deg, var(--primary-bg) 0%, var(--surface) 55%);
  1104. border-bottom: 1px solid var(--border);
  1105. }
  1106. .dlg-view-hero-top {
  1107. display: flex;
  1108. align-items: center;
  1109. justify-content: space-between;
  1110. gap: 12px;
  1111. flex-wrap: wrap;
  1112. }
  1113. .dlg-view-title {
  1114. margin: 0;
  1115. font-size: 18px;
  1116. font-weight: 700;
  1117. letter-spacing: -0.02em;
  1118. }
  1119. .dlg-view-tags {
  1120. display: inline-flex;
  1121. align-items: center;
  1122. flex-wrap: wrap;
  1123. gap: 8px;
  1124. }
  1125. .dlg-view-meta {
  1126. margin: 10px 0 0;
  1127. font-size: 13px;
  1128. color: var(--text-muted);
  1129. line-height: 1.5;
  1130. }
  1131. .dlg-view-section {
  1132. padding: 20px 22px;
  1133. border-bottom: 1px solid var(--border);
  1134. }
  1135. .dlg-view-section:last-child {
  1136. border-bottom: none;
  1137. }
  1138. .dlg-kv {
  1139. display: grid;
  1140. grid-template-columns: 96px minmax(0, 1fr) 96px minmax(0, 1fr);
  1141. gap: 14px 28px;
  1142. font-size: 13px;
  1143. align-items: start;
  1144. }
  1145. .dlg-kv .v .clamp-wrap {
  1146. width: 100%;
  1147. }
  1148. .dialog-view-xl .el-dialog,
  1149. .bx-dialog.dialog-view-xl .el-dialog {
  1150. width: min(920px, calc(100vw - 32px)) !important;
  1151. }
  1152. .money-em {
  1153. color: var(--primary-dark);
  1154. font-weight: 700;
  1155. }
  1156. .section-gap-tight {
  1157. margin-top: 10px;
  1158. }
  1159. .inline-row {
  1160. display: flex;
  1161. gap: 8px;
  1162. margin-bottom: 10px;
  1163. align-items: center;
  1164. }
  1165. .inline-grow {
  1166. flex: 1;
  1167. min-width: 0;
  1168. }
  1169. .field-no-margin {
  1170. margin: 0;
  1171. }
  1172. .form-section-last {
  1173. border-bottom: none !important;
  1174. margin-bottom: 0 !important;
  1175. padding-bottom: 0 !important;
  1176. }
  1177. .section-title-tight {
  1178. margin-bottom: 8px;
  1179. }
  1180. .tag-list {
  1181. display: flex;
  1182. flex-wrap: wrap;
  1183. gap: 8px;
  1184. }
  1185. .desc-tight {
  1186. margin-bottom: 12px;
  1187. }
  1188. .fill-100 {
  1189. width: 100%;
  1190. }
  1191. .tree-panel {
  1192. max-height: 400px;
  1193. overflow: auto;
  1194. border: 1px solid var(--el-border-color-light);
  1195. border-radius: 6px;
  1196. padding: 8px;
  1197. }
  1198. .center-pad-lg {
  1199. text-align: center;
  1200. padding: 32px 0;
  1201. }
  1202. .muted {
  1203. color: var(--text-muted);
  1204. }
  1205. .align-right {
  1206. display: flex;
  1207. justify-content: flex-end;
  1208. margin-top: 8px;
  1209. }
  1210. .img-preview-wrap {
  1211. text-align: center;
  1212. }
  1213. .img-preview {
  1214. max-width: 100%;
  1215. max-height: 60vh;
  1216. }
  1217. .dlg-kv .k {
  1218. color: var(--text-muted);
  1219. font-size: 12px;
  1220. font-weight: 600;
  1221. line-height: 1.5;
  1222. word-break: break-word;
  1223. }
  1224. .dlg-kv .v {
  1225. color: var(--text);
  1226. font-weight: 500;
  1227. min-width: 0;
  1228. line-height: 1.5;
  1229. word-break: break-word;
  1230. }
  1231. /* kv-full:仅适合紧跟「行首 col1 的 .k」;若前面已是 k,v,k 占满三列,下一值请用普通 .v。 */
  1232. .dlg-kv .v.kv-full {
  1233. grid-column: 2 / -1;
  1234. }
  1235. .dlg-kv.dlg-kv--triple {
  1236. grid-template-columns: 96px minmax(0, 1fr) 96px minmax(0, 1fr);
  1237. }
  1238. @media (max-width: 1280px) {
  1239. .dlg-kv {
  1240. grid-template-columns: 90px minmax(0, 1fr) 90px minmax(0, 1fr);
  1241. gap: 10px 16px;
  1242. }
  1243. .dlg-kv.dlg-kv--triple {
  1244. grid-template-columns: 90px minmax(0, 1fr) 90px minmax(0, 1fr);
  1245. }
  1246. }
  1247. @media (max-width: 900px) {
  1248. .dlg-kv {
  1249. grid-template-columns: 90px minmax(0, 1fr);
  1250. }
  1251. .dlg-kv.dlg-kv--triple {
  1252. grid-template-columns: 90px minmax(0, 1fr);
  1253. }
  1254. .dlg-kv .v.kv-full {
  1255. grid-column: auto;
  1256. }
  1257. }
  1258. .dlg-note {
  1259. margin: 0 0 16px;
  1260. font-size: 13px;
  1261. color: var(--text-muted);
  1262. }
  1263. .flow-scroll {
  1264. max-height: 320px;
  1265. overflow-y: auto;
  1266. padding-right: 4px;
  1267. }
  1268. @media (max-width: 900px) {
  1269. .flow-scroll {
  1270. max-height: 260px;
  1271. }
  1272. }
  1273. .sr-only {
  1274. position: absolute;
  1275. width: 1px;
  1276. height: 1px;
  1277. padding: 0;
  1278. margin: -1px;
  1279. overflow: hidden;
  1280. clip: rect(0, 0, 0, 0);
  1281. white-space: nowrap;
  1282. border: 0;
  1283. }
  1284. .wf-info-bar {
  1285. padding: 12px 16px;
  1286. display: flex;
  1287. gap: 24px;
  1288. align-items: center;
  1289. background: var(--primary-bg);
  1290. border-bottom: 1px solid var(--border);
  1291. }
  1292. .field {
  1293. margin-bottom: 12px;
  1294. }
  1295. .field label {
  1296. display: block;
  1297. font-size: 13px;
  1298. font-weight: 500;
  1299. margin-bottom: 6px;
  1300. color: var(--text);
  1301. }
  1302. .form-section {
  1303. margin-bottom: 20px;
  1304. padding-bottom: 16px;
  1305. border-bottom: 1px dashed var(--border);
  1306. }
  1307. .form-section:last-of-type {
  1308. border-bottom: none;
  1309. margin-bottom: 0;
  1310. padding-bottom: 0;
  1311. }
  1312. .form-section h4 {
  1313. margin: 0 0 12px;
  1314. font-size: 13px;
  1315. font-weight: 700;
  1316. color: var(--text-muted);
  1317. letter-spacing: 0.04em;
  1318. }
  1319. .form-grid-2 {
  1320. display: grid;
  1321. grid-template-columns: 1fr 1fr;
  1322. gap: 12px 16px;
  1323. }
  1324. @media (max-width: 560px) {
  1325. .form-grid-2 {
  1326. grid-template-columns: 1fr;
  1327. }
  1328. }
  1329. /* Element Plus 组件语义色视觉对齐(fresh-mint-green) */
  1330. .el-tag {
  1331. border-radius: 999px;
  1332. padding: 3px 10px;
  1333. font-size: 12px;
  1334. font-weight: 600;
  1335. line-height: 1.3;
  1336. background: #fff;
  1337. }
  1338. .el-tag.el-tag--success {
  1339. color: #0f766e;
  1340. border-color: #5eead4;
  1341. background: #fff;
  1342. }
  1343. .el-tag.el-tag--warning {
  1344. color: #d97706;
  1345. border-color: #f6c453;
  1346. background: #fff;
  1347. }
  1348. .el-tag.el-tag--danger {
  1349. color: #dc2626;
  1350. border-color: #fca5a5;
  1351. background: #fff;
  1352. }
  1353. .el-tag.el-tag--info {
  1354. color: #0f766e;
  1355. border-color: #5eead4;
  1356. background: #fff;
  1357. }
  1358. .el-alert {
  1359. border-radius: var(--radius-md);
  1360. border: 1px solid transparent;
  1361. }
  1362. .el-alert--success {
  1363. background: var(--success-bg);
  1364. border-color: #a7f3d0;
  1365. color: #0f766e;
  1366. }
  1367. .el-alert--warning {
  1368. background: var(--warning-bg);
  1369. border-color: #fde68a;
  1370. color: #b45309;
  1371. }
  1372. .el-alert--error {
  1373. background: var(--danger-bg);
  1374. border-color: #fecaca;
  1375. color: #b91c1c;
  1376. }
  1377. .el-alert--info {
  1378. background: var(--info-bg);
  1379. border-color: #99f6e4;
  1380. color: #115e59;
  1381. }
  1382. .el-message {
  1383. border-radius: var(--radius-md);
  1384. border: 1px solid transparent;
  1385. box-shadow: var(--shadow);
  1386. }
  1387. .el-message--success {
  1388. background: var(--success-bg);
  1389. border-color: #a7f3d0;
  1390. }
  1391. .el-message--warning {
  1392. background: var(--warning-bg);
  1393. border-color: #fde68a;
  1394. }
  1395. .el-message--error {
  1396. background: var(--danger-bg);
  1397. border-color: #fecaca;
  1398. }
  1399. .el-message--info {
  1400. background: var(--info-bg);
  1401. border-color: #99f6e4;
  1402. }
  1403. .el-switch {
  1404. --el-switch-on-color: var(--primary);
  1405. --el-switch-off-color: #d1d5db;
  1406. }
  1407. /* 工作流配置信息栏 */
  1408. .wf-info-bar {
  1409. padding: 12px 16px;
  1410. display: flex;
  1411. gap: 24px;
  1412. align-items: center;
  1413. background: var(--primary-bg);
  1414. border-bottom: 1px solid var(--border);
  1415. }