cockpit-dashboard.scss 38 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601
  1. /* 驾驶舱:布局 + 主题(全局,勿 scoped,以便作用于子组件) */
  2. .cockpit-dashboard-page {
  3. --cockpit-th-height: 32px;
  4. --cockpit-tr-height: 40px;
  5. --cockpit-td-padding-x: 8px;
  6. --cockpit-table-stripe-odd: #1a2a4f;
  7. --cockpit-table-stripe-even: #0f1f3d;
  8. --cockpit-table-visible-rows: 4;
  9. --cockpit-table-body-h: calc(
  10. var(--cockpit-tr-height) * var(--cockpit-table-visible-rows)
  11. );
  12. --cockpit-table-block-h: calc(
  13. var(--cockpit-th-height) + var(--cockpit-table-body-h)
  14. );
  15. /* 健康 Tab:环图 + 表格标题 + 4 行表,避免固定过高留白 */
  16. --cockpit-health-chart-h: 150px;
  17. --cockpit-health-abnormal-kpi-h: 76px;
  18. --cockpit-health-abnormal-pane-h: calc(
  19. 32px + var(--cockpit-health-abnormal-kpi-h) + 12px + 34px +
  20. var(--cockpit-table-block-h)
  21. );
  22. --cockpit-health-pane-h: max(
  23. calc(
  24. 32px + var(--cockpit-health-chart-h) + 8px + 30px +
  25. var(--cockpit-table-block-h)
  26. ),
  27. var(--cockpit-health-abnormal-pane-h)
  28. );
  29. /* 入库 Tab:副标题 + 表头 + 4 行表(缩小底部冗余预留) */
  30. --cockpit-inbound-pane-h: calc(32px + var(--cockpit-table-block-h));
  31. position: relative;
  32. width: 100%;
  33. height: calc(100vh - 60px);
  34. overflow: hidden;
  35. background: var(--cockpit-page-bg, #f0f2f5);
  36. box-sizing: border-box;
  37. *,
  38. *::before,
  39. *::after {
  40. box-sizing: border-box;
  41. }
  42. .cockpit-dashboard__map {
  43. position: absolute;
  44. inset: 0;
  45. z-index: 0;
  46. }
  47. .cockpit-dashboard__overlay {
  48. position: relative;
  49. z-index: 2;
  50. display: flex;
  51. align-items: flex-start;
  52. justify-content: space-between;
  53. height: 100%;
  54. padding: 10px 12px;
  55. gap: 10px;
  56. pointer-events: none;
  57. }
  58. .cockpit-dashboard__left,
  59. .cockpit-dashboard__right {
  60. flex: 0 0 308px;
  61. width: 308px;
  62. max-height: 100%;
  63. overflow-x: hidden;
  64. overflow-y: auto;
  65. display: flex;
  66. flex-direction: column;
  67. gap: 10px;
  68. pointer-events: auto;
  69. scrollbar-width: thin;
  70. scrollbar-color: rgba(0, 140, 200, 0.45) transparent;
  71. }
  72. .cockpit-dashboard__left::-webkit-scrollbar,
  73. .cockpit-dashboard__right::-webkit-scrollbar {
  74. width: 4px;
  75. }
  76. .cockpit-dashboard__left::-webkit-scrollbar-thumb,
  77. .cockpit-dashboard__right::-webkit-scrollbar-thumb {
  78. border-radius: 4px;
  79. background: rgba(0, 150, 220, 0.45);
  80. }
  81. .cockpit-dashboard__center-spacer {
  82. flex: 1 1 auto;
  83. min-width: 0;
  84. pointer-events: none;
  85. }
  86. /* —— 统一面板容器 —— */
  87. .cockpit-panel {
  88. flex-shrink: 0;
  89. border-radius: var(--cockpit-panel-radius, 8px);
  90. padding: 10px 12px 12px;
  91. background: var(--cockpit-panel-bg, #ffffff);
  92. border: 1px solid var(--cockpit-panel-border, #ebeef5);
  93. color: var(--cockpit-panel-text, #303133);
  94. box-shadow: var(--cockpit-panel-shadow, 0 2px 8px rgba(0, 0, 0, 0.06));
  95. &::after {
  96. display: none !important;
  97. content: none !important;
  98. }
  99. }
  100. .cockpit-panel--compact {
  101. padding: 10px 12px;
  102. }
  103. /* 面板内标题(含子组件 h3) */
  104. .cockpit-panel__title,
  105. .cockpit-panel h3,
  106. .cockpit-panel .backbone h3,
  107. .cockpit-panel .BOXYI > h3,
  108. .cockpit-panel .centeredh3 {
  109. margin: 0 0 10px;
  110. padding: 0 0 8px;
  111. font-size: 14px;
  112. font-weight: 600;
  113. line-height: 1.4;
  114. color: var(--cockpit-panel-title, #303133);
  115. border-bottom: 1px solid var(--cockpit-panel-divider, #ebeef5);
  116. display: flex;
  117. align-items: center;
  118. justify-content: space-between;
  119. width: 100%;
  120. }
  121. .cockpit-panel .centeredh3 span {
  122. font-size: 12px;
  123. font-weight: 400;
  124. color: var(--cockpit-accent, var(--primary-color, #82780c));
  125. }
  126. .cockpit-panel--stats {
  127. .cockpit-stats__row {
  128. display: flex;
  129. align-items: center;
  130. justify-content: space-between;
  131. font-size: 13px;
  132. line-height: 28px;
  133. color: var(--cockpit-panel-text, #303133);
  134. .SpText {
  135. color: var(--cockpit-panel-muted, #909399);
  136. }
  137. }
  138. .cockpit-stats__switch {
  139. margin-top: 6px;
  140. display: flex;
  141. justify-content: flex-end;
  142. }
  143. .el-select,
  144. .el-input__inner {
  145. width: 100%;
  146. }
  147. }
  148. /* 子组件根:透明,由面板承载外观 */
  149. .cockpit-panel .backbone,
  150. .cockpit-panel .BOXYI,
  151. .cockpit-panel .BOX {
  152. width: 100% !important;
  153. background: transparent !important;
  154. padding: 0 !important;
  155. margin: 0 !important;
  156. border: none !important;
  157. border-radius: 0 !important;
  158. color: inherit !important;
  159. box-shadow: none !important;
  160. }
  161. .cockpit-panel--data-tabs .cockpit-inbound-wrap {
  162. margin-top: 12px;
  163. padding-top: 12px;
  164. border-top: 1px solid var(--cockpit-panel-divider, #ebeef5);
  165. }
  166. /* 表头条(与 el-table thead 同高) */
  167. .cockpit-panel .titleJQ,
  168. .cockpit-panel .titleYC,
  169. .cockpit-panel .cockpit-inbound-table-head {
  170. margin: 0 0 6px;
  171. padding: 0 8px;
  172. min-height: var(--cockpit-th-height);
  173. height: var(--cockpit-th-height);
  174. line-height: var(--cockpit-th-height);
  175. font-size: 12px;
  176. border-radius: 2px;
  177. background: var(--cockpit-table-header-bg, #f5f7fa) !important;
  178. color: var(--cockpit-panel-muted, #909399) !important;
  179. box-sizing: border-box;
  180. }
  181. .cockpit-panel .cockpit-inbound-table-head {
  182. line-height: normal;
  183. display: grid;
  184. align-items: center;
  185. }
  186. /* el-table 表头:含 has-gutter 时高度一致 */
  187. .cockpit-panel .el-table thead th.el-table__cell,
  188. .cockpit-panel .el-table thead.has-gutter th.el-table__cell,
  189. .cockpit-panel .el-table thead th.gutter,
  190. .cockpit-panel .el-table thead.has-gutter th.gutter {
  191. height: var(--cockpit-th-height) !important;
  192. padding: 0 4px !important;
  193. box-sizing: border-box;
  194. }
  195. .cockpit-panel .el-table thead.has-gutter tr {
  196. height: var(--cockpit-th-height) !important;
  197. }
  198. .cockpit-panel .el-table thead th.gutter,
  199. .cockpit-panel .el-table thead.has-gutter th.gutter {
  200. display: table-cell !important;
  201. width: 6px !important;
  202. padding: 0 !important;
  203. vertical-align: middle;
  204. }
  205. .cockpit-panel .el-table thead th .cell {
  206. line-height: var(--cockpit-th-height);
  207. height: var(--cockpit-th-height);
  208. display: flex;
  209. align-items: center;
  210. justify-content: center;
  211. padding: 0 4px;
  212. box-sizing: border-box;
  213. }
  214. .cockpit-panel .el-table thead th.is-left .cell,
  215. .cockpit-panel .el-table thead th.cockpit-health-col-name .cell {
  216. justify-content: flex-start;
  217. }
  218. /* 表体:固定 4 行高度,两表一致 */
  219. .cockpit-panel .cockpit-table-block .el-table__body-wrapper {
  220. max-height: var(--cockpit-table-body-h) !important;
  221. min-height: var(--cockpit-table-body-h) !important;
  222. height: var(--cockpit-table-body-h) !important;
  223. overflow-y: auto !important;
  224. }
  225. /* 自动滚动列表:隐藏滚动条,保留 programmatic scroll */
  226. .cockpit-panel .cockpit-table-block .el-table__body-wrapper,
  227. .cockpit-panel #Tabtab .el-table__body-wrapper,
  228. .cockpit-panel .cockpit-unified-table .el-table__body-wrapper {
  229. scrollbar-width: none !important;
  230. -ms-overflow-style: none !important;
  231. }
  232. .cockpit-panel
  233. .cockpit-table-block
  234. .el-table__body-wrapper::-webkit-scrollbar,
  235. .cockpit-panel #Tabtab .el-table__body-wrapper::-webkit-scrollbar,
  236. .cockpit-panel
  237. .cockpit-unified-table
  238. .el-table__body-wrapper::-webkit-scrollbar {
  239. width: 0 !important;
  240. height: 0 !important;
  241. display: none !important;
  242. }
  243. .cockpit-panel .cockpit-table-block {
  244. min-height: var(--cockpit-table-block-h);
  245. }
  246. .cockpit-panel .cockpit-table-block > .titleYC,
  247. .cockpit-panel .cockpit-table-block > .cockpit-inbound-table-head {
  248. margin-bottom: 0 !important;
  249. }
  250. .cockpit-panel .cockpit-table-block .cockpit-tabroll-table {
  251. flex: 1;
  252. min-height: 0;
  253. }
  254. .cockpit-panel .cockpit-table-block .el-table__body tr {
  255. height: var(--cockpit-tr-height) !important;
  256. }
  257. .cockpit-panel .cockpit-table-block .el-table__body td.el-table__cell {
  258. height: var(--cockpit-tr-height) !important;
  259. padding: 0 !important;
  260. box-sizing: border-box;
  261. border-bottom: none !important;
  262. }
  263. .cockpit-inbound-table-wrap.cockpit-table-block {
  264. display: flex;
  265. flex-direction: column;
  266. }
  267. .cockpit-panel .cockpit-table-block .el-table__body td.el-table__cell .cell {
  268. line-height: var(--cockpit-tr-height);
  269. height: var(--cockpit-tr-height);
  270. display: flex;
  271. align-items: center;
  272. padding: 0 var(--cockpit-td-padding-x) !important;
  273. box-sizing: border-box;
  274. overflow: hidden;
  275. text-overflow: ellipsis;
  276. white-space: nowrap;
  277. }
  278. /* 滚动列表表格 */
  279. .cockpit-panel #Tabtab.el-table,
  280. .cockpit-panel #Tabtab .el-table__cell {
  281. background: transparent !important;
  282. color: var(--cockpit-panel-text, #606266) !important;
  283. font-size: 12px;
  284. border-color: var(--cockpit-panel-divider, #ebeef5) !important;
  285. }
  286. .cockpit-panel #Tabtab th.el-table__cell {
  287. background: var(--cockpit-table-header-bg, #f5f7fa) !important;
  288. color: var(--cockpit-panel-muted, #909399) !important;
  289. }
  290. .cockpit-panel #Tabtab .el-table__row:nth-child(2n) td {
  291. background: var(--cockpit-table-stripe, #fafafa) !important;
  292. }
  293. .cockpit-panel .cockpit-analysis-chart {
  294. width: 100%;
  295. height: 160px;
  296. }
  297. .cockpit-panel--analysis-history .cockpit-analysis-chart {
  298. height: 132px;
  299. margin-top: 4px;
  300. }
  301. .cockpit-panel--analysis-history .cockpit-history-block {
  302. margin-top: 10px;
  303. padding-top: 10px;
  304. border-top: 1px solid var(--cockpit-panel-divider, #ebeef5);
  305. }
  306. .cockpit-panel--analysis-history .cockpit-section-title {
  307. margin-bottom: 8px;
  308. }
  309. .cockpit-scroll-table {
  310. border-radius: 2px;
  311. overflow: hidden;
  312. }
  313. /* 统一列表表(历史 / 健康 / 入库 / 异常) */
  314. .cockpit-unified-table {
  315. background: transparent;
  316. }
  317. .cockpit-unified-table-head {
  318. display: grid !important;
  319. align-items: center;
  320. margin: 0 !important;
  321. padding: 0 var(--cockpit-td-padding-x) !important;
  322. min-height: var(--cockpit-th-height);
  323. height: var(--cockpit-th-height);
  324. line-height: var(--cockpit-th-height);
  325. font-size: 12px;
  326. font-weight: 500;
  327. border: none !important;
  328. border-radius: 0;
  329. box-sizing: border-box;
  330. span {
  331. margin: 0 !important;
  332. padding: 0;
  333. text-align: center;
  334. overflow: hidden;
  335. text-overflow: ellipsis;
  336. white-space: nowrap;
  337. }
  338. span:first-child {
  339. text-align: left !important;
  340. }
  341. &--history {
  342. grid-template-columns: 28% 38% 34%;
  343. }
  344. &--health {
  345. grid-template-columns: 38% 15% 15% 15% 17%;
  346. }
  347. &--inbound-import {
  348. grid-template-columns: 42% 58%;
  349. }
  350. &--inbound-two,
  351. &--abnormal-two {
  352. grid-template-columns: 50% 50%;
  353. }
  354. }
  355. .cockpit-unified-table-head--inbound-import .cockpit-inbound-col-data {
  356. display: flex;
  357. align-items: center;
  358. justify-content: space-between;
  359. gap: 8px;
  360. padding-right: 0;
  361. }
  362. .cockpit-unified-table .cockpit-tabroll-table,
  363. .cockpit-unified-table #Tabtab {
  364. width: 100% !important;
  365. }
  366. .cockpit-unified-table #Tabtab.el-table,
  367. .cockpit-unified-table #Tabtab::before {
  368. background: transparent !important;
  369. }
  370. .cockpit-unified-table #Tabtab .el-table__body,
  371. .cockpit-unified-table #Tabtab .el-table__body-wrapper table {
  372. width: 100% !important;
  373. table-layout: fixed !important;
  374. }
  375. .cockpit-unified-table #Tabtab .el-table__body td.el-table__cell {
  376. border: none !important;
  377. color: #ffffff;
  378. vertical-align: middle;
  379. }
  380. .cockpit-unified-table
  381. #Tabtab
  382. .el-table__body
  383. tr:nth-child(odd)
  384. td.el-table__cell {
  385. background: var(--cockpit-table-stripe-odd) !important;
  386. color: #ffffff !important;
  387. }
  388. .cockpit-unified-table
  389. #Tabtab
  390. .el-table__body
  391. tr:nth-child(even)
  392. td.el-table__cell {
  393. background: var(--cockpit-table-stripe-even) !important;
  394. color: #ffffff !important;
  395. }
  396. .cockpit-unified-table #Tabtab .el-table__body tr:hover > td.el-table__cell {
  397. background: #182544 !important; /* 稍微加深的蓝色 */
  398. color: rgba(255, 255, 255, 0.9) !important;
  399. }
  400. .cockpit-unified-table #Tabtab .el-table__body td.el-table__cell .cell {
  401. display: flex !important;
  402. align-items: center !important;
  403. width: 100%;
  404. box-sizing: border-box;
  405. }
  406. /* 表体除第一列外居中 */
  407. .cockpit-unified-table
  408. #Tabtab
  409. .el-table__body
  410. tr
  411. td.el-table__cell:not(:first-child)
  412. .cell {
  413. justify-content: center !important;
  414. text-align: center !important;
  415. }
  416. .cockpit-unified-table
  417. #Tabtab
  418. .el-table__body
  419. tr
  420. td.el-table__cell:nth-child(n + 2)
  421. .cell {
  422. justify-content: center !important;
  423. text-align: center !important;
  424. }
  425. /* 第一列数据强制左对齐 */
  426. .cockpit-unified-table
  427. #Tabtab
  428. .el-table__body
  429. td.el-table__cell:first-child
  430. .cell,
  431. .cockpit-unified-table #Tabtab .el-table__body tr td:first-child .cell {
  432. justify-content: flex-start !important;
  433. text-align: left !important;
  434. }
  435. /* 表头与表体列宽对齐 */
  436. .cockpit-unified-table--history #Tabtab colgroup col:nth-child(1) {
  437. width: 28% !important;
  438. }
  439. .cockpit-unified-table--history #Tabtab colgroup col:nth-child(2) {
  440. width: 38% !important;
  441. }
  442. .cockpit-unified-table--history #Tabtab colgroup col:nth-child(3) {
  443. width: 34% !important;
  444. }
  445. .cockpit-unified-table--health #Tabtab colgroup col:nth-child(1) {
  446. width: 38% !important;
  447. }
  448. .cockpit-unified-table--health #Tabtab colgroup col:nth-child(2),
  449. .cockpit-unified-table--health #Tabtab colgroup col:nth-child(3),
  450. .cockpit-unified-table--health #Tabtab colgroup col:nth-child(4) {
  451. width: 15% !important;
  452. }
  453. .cockpit-unified-table--health #Tabtab colgroup col:nth-child(5) {
  454. width: 17% !important;
  455. }
  456. .cockpit-unified-table--inbound-import #Tabtab colgroup col:nth-child(1) {
  457. width: 42% !important;
  458. }
  459. .cockpit-unified-table--inbound-import #Tabtab colgroup col:nth-child(2) {
  460. width: 58% !important;
  461. }
  462. .cockpit-unified-table--inbound-two #Tabtab colgroup col:nth-child(1),
  463. .cockpit-unified-table--abnormal-two #Tabtab colgroup col:nth-child(1) {
  464. width: 50% !important;
  465. }
  466. .cockpit-unified-table--inbound-two #Tabtab colgroup col:nth-child(2),
  467. .cockpit-unified-table--abnormal-two #Tabtab colgroup col:nth-child(2) {
  468. width: 50% !important;
  469. }
  470. .cockpit-section-title {
  471. margin: 0 0 8px;
  472. padding: 0;
  473. border-bottom: none;
  474. font-size: 14px;
  475. font-weight: 600;
  476. line-height: 1.4;
  477. }
  478. .cockpit-panel--stats .cockpit-stats__row {
  479. line-height: 26px;
  480. }
  481. .cockpit-panel--stats .cockpit-stats__switch {
  482. margin-top: 4px;
  483. }
  484. /* 任务统计数字块 */
  485. .cockpit-panel .BOXsan {
  486. width: 100%;
  487. display: flex;
  488. justify-content: space-between;
  489. gap: 8px;
  490. }
  491. .cockpit-panel .YC01,
  492. .cockpit-panel .YC02,
  493. .cockpit-panel .YC03 {
  494. flex: 1;
  495. min-width: 0;
  496. }
  497. /* Tab 统一样式 */
  498. .cockpit-panel .el-tabs__header {
  499. margin: 0 0 10px;
  500. }
  501. .cockpit-panel .el-tabs__nav-wrap::after {
  502. background-color: var(--cockpit-panel-divider, #ebeef5);
  503. }
  504. .cockpit-panel .el-tabs__item {
  505. height: 32px;
  506. line-height: 32px;
  507. font-size: 13px;
  508. color: var(--cockpit-panel-muted, #909399);
  509. padding: 0 14px;
  510. }
  511. .cockpit-panel .el-tabs__item.is-active {
  512. color: var(--cockpit-accent, var(--primary-color, #82780c));
  513. font-weight: 600;
  514. }
  515. .cockpit-panel .el-tabs__active-bar {
  516. background-color: var(--cockpit-accent, var(--primary-color, #82780c));
  517. }
  518. /* 表单控件 */
  519. .cockpit-panel .el-input__inner,
  520. .cockpit-panel .el-range-editor.el-input__inner,
  521. .cockpit-panel .el-range-input {
  522. background-color: var(--cockpit-input-bg, #ffffff) !important;
  523. border-color: var(--cockpit-input-border, #dcdfe6) !important;
  524. color: var(--cockpit-panel-text, #606266) !important;
  525. }
  526. .cockpit-panel .el-date-editor .el-range-separator {
  527. color: var(--cockpit-panel-muted, #909399) !important;
  528. }
  529. .cockpit-panel .el-switch__label {
  530. color: var(--cockpit-panel-muted, #909399);
  531. }
  532. .cockpit-panel .el-switch__label.is-active {
  533. color: var(--cockpit-accent, var(--primary-color, #82780c)) !important;
  534. }
  535. .cockpit-panel--health .cockpit-health-table__head {
  536. border-bottom: none;
  537. margin-bottom: 8px;
  538. padding-bottom: 0;
  539. }
  540. .cockpit-inbound-panel {
  541. width: 100%;
  542. }
  543. .cockpit-inbound-body {
  544. position: relative;
  545. height: var(--cockpit-inbound-pane-h);
  546. min-height: var(--cockpit-inbound-pane-h);
  547. overflow: hidden;
  548. }
  549. .cockpit-inbound-pane {
  550. position: absolute;
  551. inset: 0;
  552. overflow: hidden;
  553. display: flex;
  554. flex-direction: column;
  555. }
  556. .cockpit-panel--inbound .cockpit-inbound-pane-header {
  557. margin: 2px 0 6px;
  558. }
  559. .cockpit-panel--inbound .cockpit-inbound-subtitle {
  560. margin: 0;
  561. }
  562. .cockpit-inbound-pane .cockpit-inbound-table-wrap {
  563. flex: 1;
  564. min-height: 0;
  565. display: flex;
  566. flex-direction: column;
  567. }
  568. .cockpit-inbound-pane .cockpit-tabroll-table {
  569. flex: 1;
  570. min-height: 0;
  571. }
  572. .cockpit-inbound-pane-header {
  573. display: flex;
  574. justify-content: space-between;
  575. align-items: center;
  576. .cockpit-inbound-col-data {
  577. font-size: 12px;
  578. color: var(--cockpit-panel-muted, #909399);
  579. cursor: pointer;
  580. &:hover {
  581. color: var(--cockpit-accent, #2979ff) !important;
  582. }
  583. }
  584. }
  585. .cockpit-inbound-subtitle {
  586. margin: 8px 0 10px;
  587. font-size: 14px;
  588. font-weight: 600;
  589. line-height: 1.3;
  590. color: var(--cockpit-panel-title, #303133);
  591. }
  592. .cockpit-inbound-table-wrap {
  593. border-radius: 6px;
  594. overflow: hidden;
  595. }
  596. .cockpit-inbound-table-head {
  597. display: grid !important;
  598. align-items: center;
  599. margin: 0 !important;
  600. padding: 0 10px !important;
  601. min-height: var(--cockpit-th-height);
  602. height: var(--cockpit-th-height);
  603. line-height: normal;
  604. width: 100%;
  605. box-sizing: border-box;
  606. span {
  607. margin: 0 !important;
  608. font-size: 12px;
  609. }
  610. &--import {
  611. grid-template-columns: 42% 58%;
  612. }
  613. .cockpit-inbound-col-name {
  614. text-align: left;
  615. white-space: nowrap;
  616. overflow: hidden;
  617. text-overflow: ellipsis;
  618. }
  619. .cockpit-inbound-col-data {
  620. display: flex;
  621. align-items: center;
  622. justify-content: space-between;
  623. gap: 8px;
  624. padding-left: 6px;
  625. box-sizing: border-box;
  626. > span:first-child {
  627. flex: 1;
  628. text-align: right;
  629. white-space: nowrap;
  630. overflow: hidden;
  631. text-overflow: ellipsis;
  632. }
  633. }
  634. &--two {
  635. grid-template-columns: 42% 58%;
  636. }
  637. .cockpit-inbound-col-extra {
  638. text-align: right;
  639. padding-right: 4px;
  640. }
  641. }
  642. .cockpit-inbound-more-link {
  643. flex-shrink: 0;
  644. color: var(--cockpit-accent, #2979ff) !important;
  645. cursor: pointer;
  646. text-align: right !important;
  647. }
  648. .cockpit-inbound-table-wrap .tabroll-wrap,
  649. .cockpit-inbound-table-wrap #Tabtab,
  650. .cockpit-inbound-table-wrap #Tabtab .el-table__body,
  651. .cockpit-inbound-table-wrap #Tabtab .el-table__body-wrapper,
  652. .cockpit-inbound-table-wrap #Tabtab table {
  653. width: 100% !important;
  654. }
  655. .cockpit-inbound-table-wrap #Tabtab table {
  656. table-layout: fixed !important;
  657. }
  658. .cockpit-inbound-table-wrap #Tabtab colgroup col:first-child {
  659. width: 42% !important;
  660. }
  661. .cockpit-inbound-table-wrap #Tabtab colgroup col:last-child {
  662. width: 58% !important;
  663. }
  664. .cockpit-panel--inbound .centeredh3 {
  665. display: none;
  666. }
  667. .cockpit-health-table .el-table th.el-table__cell {
  668. background: var(--cockpit-table-header-bg, #f5f7fa) !important;
  669. color: var(--cockpit-panel-muted, #909399) !important;
  670. font-size: 12px;
  671. }
  672. .cockpit-health-table .el-table td.el-table__cell {
  673. background: transparent !important;
  674. color: var(--cockpit-panel-text, #606266) !important;
  675. font-size: 12px;
  676. }
  677. }
  678. /* —— 科技蓝大屏(参考设计稿) —— */
  679. html[data-theme="tech-blue"] .cockpit-dashboard-page {
  680. --cockpit-page-bg: #020a16;
  681. --cockpit-panel-border: rgba(0, 90, 140, 0.72);
  682. --cockpit-panel-divider: rgba(0, 120, 200, 0.22);
  683. --cockpit-panel-text: #c8e8f8;
  684. --cockpit-panel-title: #ffffff;
  685. --cockpit-panel-muted: rgba(168, 210, 235, 0.72);
  686. --cockpit-panel-radius: 8px;
  687. --cockpit-table-header-bg: rgba(0, 36, 64, 0.92);
  688. --cockpit-table-row-bg: rgba(0, 18, 36, 0.55);
  689. --cockpit-table-row-bg-alt: rgba(0, 24, 46, 0.72);
  690. --cockpit-input-bg: rgba(0, 16, 32, 0.92);
  691. --cockpit-input-border: rgba(0, 140, 210, 0.45);
  692. --cockpit-accent: #00c8ff;
  693. --cockpit-status-ok: #7ecf51;
  694. --cockpit-status-warn: #eecb5f;
  695. --cockpit-status-danger: #e16757;
  696. --cockpit-kpi-cyan: #5ce1ff;
  697. background-color: #020a16;
  698. background-image: radial-gradient(
  699. ellipse 80% 55% at 50% 38%,
  700. rgba(12, 40, 88, 0.45) 0%,
  701. transparent 68%
  702. ),
  703. linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
  704. linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  705. background-size: 100% 100%, 24px 24px, 24px 24px;
  706. .cockpit-dashboard__map {
  707. filter: saturate(1.12) contrast(1.08) brightness(0.9);
  708. }
  709. .cockpit-dashboard__map::before {
  710. content: "";
  711. position: absolute;
  712. inset: 0;
  713. pointer-events: none;
  714. z-index: 1;
  715. background: radial-gradient(
  716. ellipse 70% 48% at 50% 45%,
  717. rgba(20, 86, 165, 0.12) 0%,
  718. rgba(0, 0, 0, 0) 74%
  719. ),
  720. linear-gradient(
  721. 180deg,
  722. rgba(0, 8, 20, 0.26) 0%,
  723. rgba(0, 8, 20, 0) 18%,
  724. rgba(0, 8, 20, 0) 82%,
  725. rgba(0, 8, 20, 0.24) 100%
  726. );
  727. }
  728. .cockpit-dashboard__map::after {
  729. content: "";
  730. position: absolute;
  731. inset: 0;
  732. pointer-events: none;
  733. z-index: 1;
  734. background-image: repeating-linear-gradient(
  735. to bottom,
  736. rgba(0, 235, 255, 0.04) 0,
  737. rgba(0, 235, 255, 0.04) 1px,
  738. transparent 1px,
  739. transparent 4px
  740. );
  741. opacity: 0.45;
  742. }
  743. .cockpit-dashboard__left,
  744. .cockpit-dashboard__right {
  745. scrollbar-width: none;
  746. -ms-overflow-style: none;
  747. &::-webkit-scrollbar {
  748. display: none;
  749. }
  750. }
  751. .cockpit-panel {
  752. position: relative;
  753. overflow: hidden;
  754. background: linear-gradient(
  755. 180deg,
  756. rgba(6, 22, 45, 0.97) 0%,
  757. rgba(4, 16, 32, 0.98) 52%,
  758. rgba(2, 10, 22, 0.99) 100%
  759. ) !important;
  760. border: 1px solid var(--cockpit-panel-border) !important;
  761. border-radius: var(--cockpit-panel-radius) !important;
  762. box-shadow: inset 0 0 28px rgba(0, 130, 220, 0.1),
  763. inset 0 1px 0 rgba(0, 210, 255, 0.12), 0 6px 28px rgba(0, 0, 0, 0.42) !important;
  764. backdrop-filter: blur(12px);
  765. &::before {
  766. content: "";
  767. position: absolute;
  768. top: 0;
  769. left: 6%;
  770. right: 6%;
  771. height: 1px;
  772. background: linear-gradient(
  773. 90deg,
  774. transparent,
  775. rgba(0, 242, 255, 0.65),
  776. transparent
  777. );
  778. pointer-events: none;
  779. z-index: 1;
  780. }
  781. &::after {
  782. content: "";
  783. position: absolute;
  784. inset: 0;
  785. pointer-events: none;
  786. border-radius: inherit;
  787. box-shadow: inset 0 0 0 1px rgba(0, 186, 255, 0.18),
  788. inset 0 0 24px rgba(0, 122, 210, 0.14);
  789. z-index: 1;
  790. }
  791. }
  792. /* section 盒子内部科技填充纹理 */
  793. .cockpit-panel > * {
  794. position: relative;
  795. z-index: 2;
  796. }
  797. .cockpit-panel::before,
  798. .cockpit-panel::after {
  799. border-radius: inherit;
  800. }
  801. .cockpit-panel {
  802. background-image: linear-gradient(
  803. 115deg,
  804. rgba(0, 170, 255, 0.09) 0%,
  805. rgba(0, 170, 255, 0) 34%
  806. ),
  807. linear-gradient(
  808. 180deg,
  809. rgba(0, 255, 255, 0.05) 0%,
  810. rgba(0, 255, 255, 0) 24%
  811. ),
  812. repeating-linear-gradient(
  813. 90deg,
  814. rgba(0, 210, 255, 0.035) 0,
  815. rgba(0, 210, 255, 0.035) 1px,
  816. transparent 1px,
  817. transparent 18px
  818. ),
  819. repeating-linear-gradient(
  820. 0deg,
  821. rgba(0, 170, 220, 0.028) 0,
  822. rgba(0, 170, 220, 0.028) 1px,
  823. transparent 1px,
  824. transparent 18px
  825. ),
  826. linear-gradient(
  827. 180deg,
  828. rgba(6, 22, 45, 0.97) 0%,
  829. rgba(4, 16, 32, 0.98) 52%,
  830. rgba(2, 10, 22, 0.99) 100%
  831. ) !important;
  832. background-blend-mode: screen, screen, normal, normal, normal;
  833. }
  834. .cockpit-panel__title,
  835. .cockpit-panel h3,
  836. .cockpit-panel .backbone h3,
  837. .cockpit-panel .BOXYI > h3,
  838. .cockpit-panel .centeredh3 {
  839. color: #ffffff;
  840. font-size: 14px;
  841. font-weight: 600;
  842. letter-spacing: 0.02em;
  843. border-bottom: 1px solid var(--cockpit-panel-divider);
  844. padding: 0 0 8px;
  845. margin-bottom: 10px;
  846. }
  847. .cockpit-panel .centeredh3 span {
  848. color: #5ec8ff;
  849. text-shadow: 0 0 10px rgba(86, 200, 255, 0.32);
  850. }
  851. .cockpit-panel__title,
  852. .cockpit-panel h3,
  853. .cockpit-panel .backbone h3,
  854. .cockpit-panel .BOXYI > h3,
  855. .cockpit-panel .centeredh3 {
  856. text-shadow: 0 0 10px rgba(0, 170, 255, 0.28);
  857. }
  858. .cockpit-panel:not(.cockpit-panel--health):not(.cockpit-panel--inbound)
  859. .el-tabs__item.is-active {
  860. color: #00d4ff !important;
  861. }
  862. .cockpit-panel .el-tabs__active-bar {
  863. background-color: #00aaff !important;
  864. }
  865. /* 统一列表表(科技蓝) */
  866. .cockpit-unified-table-head {
  867. background: linear-gradient(
  868. 180deg,
  869. rgba(0, 36, 72, 0.72) 0%,
  870. rgba(0, 24, 44, 0.58) 100%
  871. ) !important;
  872. color: #ffffff !important;
  873. box-shadow: inset 0 -1px 0 rgba(0, 190, 255, 0.22);
  874. span {
  875. color: #ffffff !important;
  876. font-weight: 400;
  877. text-shadow: 0 0 8px rgba(0, 168, 255, 0.22);
  878. }
  879. }
  880. .cockpit-unified-table #Tabtab .el-table__empty-text {
  881. color: rgba(200, 228, 245, 0.65) !important;
  882. }
  883. .cockpit-panel .cockpit-section-title {
  884. color: #ffffff;
  885. text-shadow: none;
  886. }
  887. /* 接入统计 */
  888. .cockpit-panel--stats {
  889. .cockpit-stats__row {
  890. color: var(--cockpit-panel-text);
  891. font-size: 13px;
  892. .SpText {
  893. color: var(--cockpit-panel-muted);
  894. }
  895. > span:last-child {
  896. color: #fff;
  897. font-weight: 500;
  898. }
  899. }
  900. .cockpit-stats__legend {
  901. display: flex;
  902. gap: 5px;
  903. margin: 8px 0 6px;
  904. height: 5px;
  905. }
  906. .cockpit-stats__legend-seg {
  907. flex: 1;
  908. border-radius: 2px;
  909. opacity: 0.92;
  910. &--ok {
  911. background: var(--cockpit-status-ok);
  912. box-shadow: 0 0 8px rgba(126, 207, 81, 0.45);
  913. }
  914. &--warn {
  915. background: var(--cockpit-status-warn);
  916. box-shadow: 0 0 8px rgba(238, 203, 95, 0.4);
  917. }
  918. &--danger {
  919. background: var(--cockpit-status-danger);
  920. box-shadow: 0 0 8px rgba(225, 103, 87, 0.4);
  921. }
  922. }
  923. .el-select .el-input__inner {
  924. height: 34px;
  925. line-height: 34px;
  926. font-weight: 600;
  927. color: #fff !important;
  928. background: var(--cockpit-input-bg) !important;
  929. border-color: var(--cockpit-input-border) !important;
  930. box-shadow: inset 0 0 0 1px rgba(0, 150, 220, 0.18),
  931. 0 0 12px rgba(0, 122, 210, 0.08);
  932. }
  933. .el-switch__label {
  934. color: var(--cockpit-panel-muted);
  935. font-size: 12px;
  936. &.is-active {
  937. color: var(--cockpit-kpi-cyan) !important;
  938. }
  939. }
  940. .el-switch__core {
  941. background: rgba(0, 35, 60, 0.95);
  942. border-color: rgba(0, 150, 220, 0.5);
  943. }
  944. .el-switch.is-checked .el-switch__core {
  945. border-color: var(--cockpit-accent);
  946. background-color: rgba(0, 120, 200, 0.85);
  947. box-shadow: 0 0 14px rgba(0, 190, 255, 0.35);
  948. }
  949. }
  950. /* 分析 + 历史 */
  951. .cockpit-panel--analysis-history {
  952. .cockpit-analysis-chart {
  953. height: 128px;
  954. }
  955. .cockpit-history-block {
  956. border-top-color: var(--cockpit-panel-divider);
  957. }
  958. .el-date-editor.el-input__inner {
  959. width: 100%;
  960. max-width: none;
  961. height: 30px;
  962. font-size: 11px;
  963. color: var(--cockpit-panel-text) !important;
  964. background: var(--cockpit-input-bg) !important;
  965. border-color: var(--cockpit-input-border) !important;
  966. }
  967. .el-range-separator,
  968. .el-range-input {
  969. color: var(--cockpit-panel-muted) !important;
  970. }
  971. .el-input__icon {
  972. color: var(--cockpit-kpi-cyan) !important;
  973. }
  974. }
  975. /* 任务统计 KPI(L 角描边) */
  976. .cockpit-panel .cockpit-task-kpi {
  977. gap: 8px;
  978. margin-top: 2px;
  979. }
  980. .cockpit-panel .cockpit-task-kpi .YC02,
  981. .cockpit-panel .cockpit-task-kpi .YC03 {
  982. background-image: none !important;
  983. width: auto !important;
  984. flex: 1;
  985. min-width: 0;
  986. min-height: 76px;
  987. margin-top: 0 !important;
  988. display: flex;
  989. flex-direction: column;
  990. align-items: center;
  991. justify-content: center;
  992. gap: 6px;
  993. cursor: pointer;
  994. position: relative;
  995. background: rgba(0, 22, 42, 0.65) !important;
  996. border: none !important;
  997. border-radius: 2px;
  998. box-shadow: inset 0 0 0 1px rgba(0, 122, 200, 0.55),
  999. inset 0 0 16px rgba(0, 72, 120, 0.3);
  1000. transition: box-shadow 0.2s;
  1001. &::before,
  1002. &::after {
  1003. content: "";
  1004. position: absolute;
  1005. width: 10px;
  1006. height: 10px;
  1007. border-color: rgba(0, 210, 255, 0.8);
  1008. border-style: solid;
  1009. pointer-events: none;
  1010. }
  1011. &::before {
  1012. top: 0;
  1013. left: 0;
  1014. border-width: 1px 0 0 1px;
  1015. }
  1016. &::after {
  1017. bottom: 0;
  1018. right: 0;
  1019. border-width: 0 1px 1px 0;
  1020. }
  1021. &:hover {
  1022. box-shadow: inset 0 0 0 1px rgba(0, 200, 255, 0.5),
  1023. 0 0 14px rgba(0, 160, 255, 0.18);
  1024. }
  1025. strong {
  1026. font-size: 26px;
  1027. line-height: 1;
  1028. color: var(--cockpit-kpi-cyan);
  1029. text-shadow: 0 0 12px rgba(0, 200, 255, 0.35);
  1030. }
  1031. span {
  1032. font-size: 12px;
  1033. color: var(--cockpit-panel-muted);
  1034. }
  1035. .texyellow {
  1036. color: var(--cockpit-status-warn) !important;
  1037. text-shadow: 0 0 10px rgba(238, 203, 95, 0.35);
  1038. }
  1039. .textred {
  1040. color: var(--cockpit-status-danger) !important;
  1041. text-shadow: 0 0 10px rgba(225, 103, 87, 0.35);
  1042. }
  1043. }
  1044. .cockpit-panel .YC01 strong,
  1045. .cockpit-panel .YC02 strong {
  1046. color: #4bffff;
  1047. }
  1048. .cockpit-panel .YC02 span,
  1049. .cockpit-panel .YC01 span {
  1050. color: rgba(183, 223, 245, 0.85);
  1051. }
  1052. .cockpit-panel--health,
  1053. .cockpit-panel--inbound {
  1054. overflow: visible;
  1055. }
  1056. /* 自定义科技蓝 Tab(CockpitTechTabs) */
  1057. .cockpit-tech-tabs {
  1058. margin-bottom: 10px;
  1059. }
  1060. .cockpit-tech-tabs__track {
  1061. display: flex;
  1062. align-items: flex-end;
  1063. gap: 0;
  1064. min-height: 42px;
  1065. padding: 5px 10px 0;
  1066. background: rgba(0, 4, 12, 0.98);
  1067. border: 1px solid rgba(0, 95, 165, 0.45);
  1068. border-radius: 22px;
  1069. box-shadow: inset 0 1px 0 rgba(0, 70, 120, 0.2),
  1070. inset 0 -12px 20px rgba(0, 0, 0, 0.4);
  1071. position: relative;
  1072. overflow: hidden;
  1073. }
  1074. .cockpit-tech-tabs__list {
  1075. flex: 1;
  1076. display: flex;
  1077. align-items: flex-end;
  1078. min-width: 0;
  1079. min-height: 36px;
  1080. position: relative;
  1081. z-index: 1;
  1082. }
  1083. .cockpit-tech-tabs__item {
  1084. flex: 1;
  1085. min-width: 72px;
  1086. height: 34px;
  1087. margin: 0;
  1088. padding: 0 4px;
  1089. border: none;
  1090. background: transparent;
  1091. cursor: pointer;
  1092. position: relative;
  1093. display: flex;
  1094. align-items: center;
  1095. justify-content: center;
  1096. outline: none;
  1097. .cockpit-tech-tabs__label {
  1098. position: relative;
  1099. z-index: 3;
  1100. font-size: 13px;
  1101. line-height: 1;
  1102. color: rgba(170, 205, 230, 0.72);
  1103. transition: color 0.2s;
  1104. pointer-events: none;
  1105. user-select: none;
  1106. }
  1107. &:hover:not(.is-active) .cockpit-tech-tabs__label {
  1108. color: rgba(210, 235, 255, 0.95);
  1109. }
  1110. &.is-active {
  1111. flex: 1.12;
  1112. height: 36px;
  1113. margin-bottom: -1px;
  1114. .cockpit-tech-tabs__label {
  1115. color: #ffffff;
  1116. font-weight: 600;
  1117. text-shadow: 0 0 10px rgba(0, 220, 255, 0.35);
  1118. }
  1119. }
  1120. }
  1121. .cockpit-tech-tabs__shape {
  1122. position: absolute;
  1123. left: 4%;
  1124. right: 4%;
  1125. bottom: 0;
  1126. top: 0;
  1127. width: 92%;
  1128. height: 100%;
  1129. z-index: 1;
  1130. pointer-events: none;
  1131. filter: drop-shadow(0 2px 10px rgba(0, 160, 255, 0.55));
  1132. }
  1133. .cockpit-tech-tabs__baseline {
  1134. position: absolute;
  1135. left: 10px;
  1136. right: 10px;
  1137. bottom: 0;
  1138. height: 2px;
  1139. z-index: 0;
  1140. background: linear-gradient(
  1141. 90deg,
  1142. #00f0ff 0%,
  1143. rgba(0, 190, 255, 0.85) 28%,
  1144. rgba(0, 140, 220, 0.5) 70%,
  1145. rgba(0, 90, 160, 0.25) 100%
  1146. );
  1147. box-shadow: 0 0 12px rgba(0, 230, 255, 0.75), 0 0 4px rgba(0, 255, 255, 0.5);
  1148. }
  1149. .cockpit-tech-tabs__extra {
  1150. flex-shrink: 0;
  1151. display: flex;
  1152. align-items: center;
  1153. gap: 8px;
  1154. padding: 0 4px 8px 8px;
  1155. position: relative;
  1156. z-index: 2;
  1157. }
  1158. .cockpit-tech-tabs__bolt {
  1159. display: none !important;
  1160. }
  1161. .cockpit-tech-tabs__chevron {
  1162. font-size: 14px;
  1163. color: #5ec8ff;
  1164. cursor: pointer;
  1165. text-shadow: 0 0 8px rgba(0, 200, 255, 0.6);
  1166. &:hover {
  1167. color: #9ef8ff;
  1168. }
  1169. }
  1170. /* 右侧统一 Tab:贴顶左对齐(健康 / 入库,图二) */
  1171. .cockpit-panel--health .cockpit-tech-tabs,
  1172. .cockpit-panel--inbound .cockpit-tech-tabs,
  1173. .cockpit-tech-tabs--panel {
  1174. margin-bottom: 6px;
  1175. }
  1176. .cockpit-panel--health .cockpit-tech-tabs--panel,
  1177. .cockpit-panel--inbound .cockpit-tech-tabs--panel,
  1178. .cockpit-tech-tabs--panel {
  1179. .cockpit-tech-tabs__track {
  1180. position: relative;
  1181. min-height: 36px;
  1182. padding: 0 28px 0 0;
  1183. background: transparent;
  1184. border: none;
  1185. border-radius: 0;
  1186. box-shadow: none;
  1187. overflow: visible;
  1188. }
  1189. .cockpit-tech-tabs__list {
  1190. flex: 1;
  1191. justify-content: flex-start;
  1192. gap: 6px;
  1193. min-height: 34px;
  1194. }
  1195. .cockpit-tech-tabs__item {
  1196. flex: 0 0 auto;
  1197. min-width: 64px;
  1198. height: 32px;
  1199. padding: 0 20px;
  1200. &.is-active {
  1201. flex: 0 0 auto;
  1202. height: 34px;
  1203. margin-bottom: 0;
  1204. &::after {
  1205. content: "";
  1206. position: absolute;
  1207. left: 8%;
  1208. right: 8%;
  1209. bottom: 0;
  1210. height: 2px;
  1211. background: #00f0ff;
  1212. box-shadow: 0 0 10px rgba(0, 240, 255, 0.85);
  1213. z-index: 4;
  1214. pointer-events: none;
  1215. }
  1216. }
  1217. &:not(.is-active) .cockpit-tech-tabs__label {
  1218. color: rgba(183, 223, 245, 0.5);
  1219. font-weight: 400;
  1220. }
  1221. }
  1222. .cockpit-tech-tabs__shape {
  1223. left: 0;
  1224. right: 0;
  1225. width: 100%;
  1226. filter: drop-shadow(0 2px 12px rgba(0, 170, 255, 0.5));
  1227. }
  1228. .cockpit-tech-tabs__baseline {
  1229. display: none;
  1230. }
  1231. .cockpit-tech-tabs__extra {
  1232. flex-shrink: 0;
  1233. margin-left: auto;
  1234. padding: 0 0 8px 8px;
  1235. position: static;
  1236. transform: none;
  1237. }
  1238. }
  1239. /* 入库表格:图二深色圆角容器 + 轻斑马纹 */
  1240. .cockpit-panel--inbound .cockpit-inbound-table-wrap {
  1241. border: 1px solid rgba(0, 110, 190, 0.4);
  1242. background: rgba(0, 16, 32, 0.75);
  1243. box-shadow: inset 0 0 16px rgba(0, 40, 80, 0.25);
  1244. }
  1245. .cockpit-panel--inbound .cockpit-inbound-more-link {
  1246. color: rgba(126, 212, 255, 0.95) !important;
  1247. cursor: pointer;
  1248. }
  1249. .cockpit-panel--health .cockpit-health-panel__tab-body {
  1250. height: var(--cockpit-health-pane-h);
  1251. min-height: var(--cockpit-health-pane-h);
  1252. }
  1253. .cockpit-panel--health .cockpit-health-panel__pane--abnormal {
  1254. justify-content: flex-start;
  1255. }
  1256. .cockpit-panel--health
  1257. .cockpit-health-panel__pane--abnormal
  1258. .cockpit-abnormal-panel {
  1259. height: auto;
  1260. flex: 0 0 auto;
  1261. }
  1262. .cockpit-panel--health .cockpit-abnormal-panel__subtitle,
  1263. .cockpit-panel--health .cockpit-abnormal-table__section-head {
  1264. color: #ffffff;
  1265. text-shadow: 0 0 8px rgba(0, 170, 255, 0.2);
  1266. }
  1267. .cockpit-panel--health .cockpit-abnormal-table__section-head {
  1268. background: rgba(0, 52, 96, 0.85);
  1269. border: 1px solid rgba(0, 120, 200, 0.35);
  1270. }
  1271. .cockpit-panel--health .cockpit-abnormal-kpi__card {
  1272. --cockpit-abnormal-kpi-bg: rgba(0, 28, 52, 0.75);
  1273. --cockpit-abnormal-kpi-corner: rgba(0, 210, 255, 0.85);
  1274. }
  1275. .cockpit-panel--health .cockpit-abnormal-kpi__value {
  1276. color: #5ce1ff;
  1277. text-shadow: 0 0 12px rgba(0, 200, 255, 0.35);
  1278. }
  1279. .cockpit-panel--health .cockpit-abnormal-kpi__label {
  1280. color: rgba(190, 215, 235, 0.88);
  1281. }
  1282. .cockpit-health-panel__subtitle,
  1283. .cockpit-inbound-subtitle {
  1284. color: #ffffff;
  1285. font-size: 14px;
  1286. text-shadow: 0 0 8px rgba(0, 170, 255, 0.2);
  1287. }
  1288. .cockpit-panel--health,
  1289. .cockpit-panel--inbound {
  1290. padding-top: 8px;
  1291. }
  1292. .cockpit-panel--health .cockpit-health-panel__subtitle {
  1293. margin-top: 4px;
  1294. padding-right: 4px;
  1295. border-bottom: none;
  1296. }
  1297. .cockpit-panel--inbound .cockpit-inbound-subtitle {
  1298. margin: 6px 0 8px;
  1299. border-bottom: none;
  1300. }
  1301. }
  1302. /* —— 非科技蓝:浅色统一 —— */
  1303. html:not([data-theme="tech-blue"]) .cockpit-dashboard-page {
  1304. --cockpit-page-bg: #eef1f6;
  1305. --cockpit-panel-bg: #ffffff;
  1306. --cockpit-panel-border: #e4e7ed;
  1307. --cockpit-panel-divider: #ebeef5;
  1308. --cockpit-panel-text: #303133;
  1309. --cockpit-panel-title: #303133;
  1310. --cockpit-panel-muted: #909399;
  1311. --cockpit-panel-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  1312. --cockpit-panel-radius: 8px;
  1313. --cockpit-table-header-bg: #f5f7fa;
  1314. --cockpit-table-stripe: #fafafa;
  1315. --cockpit-input-bg: #ffffff;
  1316. --cockpit-input-border: #dcdfe6;
  1317. --cockpit-accent: var(--primary-color, #82780c);
  1318. .cockpit-stats__legend {
  1319. display: none;
  1320. }
  1321. .cockpit-panel__title,
  1322. .cockpit-panel h3 {
  1323. border-bottom-color: #ebeef5;
  1324. }
  1325. .cockpit-tech-tabs__track {
  1326. background: #f0f2f5;
  1327. border: 1px solid #dcdfe6;
  1328. border-radius: 8px;
  1329. box-shadow: none;
  1330. padding: 4px;
  1331. min-height: 36px;
  1332. }
  1333. .cockpit-tech-tabs__baseline,
  1334. .cockpit-tech-tabs__shape {
  1335. display: none;
  1336. }
  1337. .cockpit-tech-tabs__bolt {
  1338. display: none !important;
  1339. }
  1340. .cockpit-tech-tabs__item {
  1341. height: 32px;
  1342. border-radius: 4px;
  1343. .cockpit-tech-tabs__label {
  1344. color: #909399;
  1345. }
  1346. &.is-active {
  1347. background: #ffffff;
  1348. box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  1349. .cockpit-tech-tabs__label {
  1350. color: var(--primary-color, #82780c);
  1351. font-weight: 600;
  1352. text-shadow: none;
  1353. }
  1354. }
  1355. }
  1356. .cockpit-tech-tabs__chevron {
  1357. color: var(--primary-color, #82780c);
  1358. text-shadow: none;
  1359. }
  1360. .cockpit-panel .cockpit-task-kpi .YC02,
  1361. .cockpit-panel .cockpit-task-kpi .YC03 {
  1362. background-image: none !important;
  1363. width: auto !important;
  1364. flex: 1;
  1365. min-height: 64px;
  1366. margin-top: 0 !important;
  1367. border: 1px solid #e4e7ed;
  1368. border-radius: 6px;
  1369. background: #f8fafc !important;
  1370. }
  1371. .cockpit-unified-table-head {
  1372. background: var(--cockpit-table-header-bg) !important;
  1373. color: var(--cockpit-panel-title) !important;
  1374. span {
  1375. color: var(--cockpit-panel-muted) !important;
  1376. }
  1377. }
  1378. .cockpit-unified-table #Tabtab .el-table__body tr:hover > td.el-table__cell {
  1379. background: var(--cockpit-table-stripe) !important;
  1380. }
  1381. }