cockpit-dashboard.scss 51 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087
  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: var(
  7. --cockpit-legacy-stripe-odd,
  8. rgba(0, 78, 78, 0.65)
  9. );
  10. --cockpit-table-stripe-even: var(
  11. --cockpit-legacy-stripe-even,
  12. rgba(0, 62, 62, 0.75)
  13. );
  14. --cockpit-table-row-text: #ffffff;
  15. --cockpit-table-visible-rows: 4;
  16. --cockpit-table-body-h: calc(
  17. var(--cockpit-tr-height) * var(--cockpit-table-visible-rows)
  18. );
  19. --cockpit-table-block-h: calc(
  20. var(--cockpit-th-height) + var(--cockpit-table-body-h)
  21. );
  22. /* 健康 Tab:环图 + 表格标题 + 4 行表,避免固定过高留白 */
  23. --cockpit-health-chart-h: 150px;
  24. --cockpit-health-abnormal-kpi-h: 76px;
  25. --cockpit-health-abnormal-pane-h: calc(
  26. 32px + var(--cockpit-health-abnormal-kpi-h) + 12px + 34px +
  27. var(--cockpit-table-block-h)
  28. );
  29. --cockpit-health-pane-h: max(
  30. calc(
  31. 32px + var(--cockpit-health-chart-h) + 8px + 30px +
  32. var(--cockpit-table-block-h)
  33. ),
  34. var(--cockpit-health-abnormal-pane-h)
  35. );
  36. /* 入库 Tab:副标题 + 表头 + 4 行表(缩小底部冗余预留) */
  37. --cockpit-inbound-pane-h: calc(32px + var(--cockpit-table-block-h));
  38. position: relative;
  39. width: 100%;
  40. height: calc(100vh - 60px);
  41. overflow: hidden;
  42. background: var(--cockpit-page-bg, #f0f2f5);
  43. box-sizing: border-box;
  44. *,
  45. *::before,
  46. *::after {
  47. box-sizing: border-box;
  48. }
  49. .cockpit-dashboard__map {
  50. position: absolute;
  51. inset: 0;
  52. z-index: 0;
  53. }
  54. .cockpit-dashboard__overlay {
  55. position: relative;
  56. z-index: 2;
  57. display: flex;
  58. align-items: flex-start;
  59. justify-content: space-between;
  60. height: 100%;
  61. padding: 10px 12px;
  62. gap: 10px;
  63. pointer-events: none;
  64. }
  65. .cockpit-dashboard__left,
  66. .cockpit-dashboard__right {
  67. flex: 0 0 308px;
  68. width: 308px;
  69. max-height: 100%;
  70. overflow-x: hidden;
  71. overflow-y: auto;
  72. display: flex;
  73. flex-direction: column;
  74. gap: 10px;
  75. pointer-events: auto;
  76. scrollbar-width: thin;
  77. scrollbar-color: rgba(0, 140, 200, 0.45) transparent;
  78. }
  79. .cockpit-dashboard__left::-webkit-scrollbar,
  80. .cockpit-dashboard__right::-webkit-scrollbar {
  81. width: 4px;
  82. }
  83. .cockpit-dashboard__left::-webkit-scrollbar-thumb,
  84. .cockpit-dashboard__right::-webkit-scrollbar-thumb {
  85. border-radius: 4px;
  86. background: rgba(0, 150, 220, 0.45);
  87. }
  88. .cockpit-dashboard__center-spacer {
  89. flex: 1 1 auto;
  90. min-width: 0;
  91. pointer-events: none;
  92. }
  93. /* —— 统一面板容器 —— */
  94. .cockpit-panel {
  95. flex-shrink: 0;
  96. border-radius: var(--cockpit-panel-radius, 8px);
  97. padding: 10px 12px 12px;
  98. background: var(--cockpit-panel-bg, #ffffff);
  99. border: 1px solid var(--cockpit-panel-border, #ebeef5);
  100. color: var(--cockpit-panel-text, #303133);
  101. box-shadow: var(--cockpit-panel-shadow, 0 2px 8px rgba(0, 0, 0, 0.06));
  102. &::after {
  103. display: none !important;
  104. content: none !important;
  105. }
  106. }
  107. .cockpit-panel--compact {
  108. padding: 10px 12px;
  109. }
  110. /* 面板内标题(含子组件 h3) */
  111. .cockpit-panel__title,
  112. .cockpit-panel h3,
  113. .cockpit-panel .backbone h3,
  114. .cockpit-panel .BOXYI > h3,
  115. .cockpit-panel .centeredh3 {
  116. margin: 0 0 10px;
  117. padding: 0 0 8px;
  118. font-size: 14px;
  119. font-weight: 600;
  120. line-height: 1.4;
  121. color: var(--cockpit-panel-title, #303133);
  122. border-bottom: 1px solid var(--cockpit-panel-divider, #ebeef5);
  123. display: flex;
  124. align-items: center;
  125. justify-content: space-between;
  126. width: 100%;
  127. }
  128. .cockpit-panel .centeredh3 span {
  129. font-size: 12px;
  130. font-weight: 400;
  131. color: var(--cockpit-accent, var(--primary-color, #82780c));
  132. }
  133. .cockpit-panel--stats {
  134. .cockpit-stats__row {
  135. display: flex;
  136. align-items: center;
  137. justify-content: space-between;
  138. font-size: 13px;
  139. line-height: 28px;
  140. color: var(--cockpit-panel-text, #303133);
  141. .SpText {
  142. color: var(--cockpit-panel-muted, #909399);
  143. }
  144. }
  145. .cockpit-stats__date-row {
  146. margin: 6px 0 4px;
  147. width: 100%;
  148. }
  149. .cockpit-stats__date {
  150. width: 100%;
  151. }
  152. .cockpit-stats__date.el-date-editor.el-input {
  153. width: 100%;
  154. }
  155. .cockpit-stats__switch {
  156. margin-top: 6px;
  157. display: flex;
  158. justify-content: flex-end;
  159. }
  160. .el-select,
  161. .el-input__inner {
  162. width: 100%;
  163. }
  164. }
  165. /* 子组件根:透明,由面板承载外观 */
  166. .cockpit-panel .backbone,
  167. .cockpit-panel .BOXYI,
  168. .cockpit-panel .BOX {
  169. width: 100% !important;
  170. background: transparent !important;
  171. padding: 0 !important;
  172. margin: 0 !important;
  173. border: none !important;
  174. border-radius: 0 !important;
  175. color: inherit !important;
  176. box-shadow: none !important;
  177. }
  178. .cockpit-panel--data-tabs .cockpit-inbound-wrap {
  179. margin-top: 12px;
  180. padding-top: 12px;
  181. border-top: 1px solid var(--cockpit-panel-divider, #ebeef5);
  182. }
  183. /* 表头条(与 el-table thead 同高) */
  184. .cockpit-panel .titleJQ,
  185. .cockpit-panel .titleYC,
  186. .cockpit-panel .cockpit-inbound-table-head {
  187. margin: 0 0 6px;
  188. padding: 0 8px;
  189. min-height: var(--cockpit-th-height);
  190. height: var(--cockpit-th-height);
  191. line-height: var(--cockpit-th-height);
  192. font-size: 12px;
  193. border-radius: 2px;
  194. background: var(--cockpit-table-header-bg, #f5f7fa) !important;
  195. color: var(--cockpit-panel-muted, #909399) !important;
  196. box-sizing: border-box;
  197. }
  198. .cockpit-panel .cockpit-inbound-table-head {
  199. line-height: normal;
  200. display: grid;
  201. align-items: center;
  202. }
  203. /* el-table 表头:含 has-gutter 时高度一致 */
  204. .cockpit-panel .el-table thead th.el-table__cell,
  205. .cockpit-panel .el-table thead.has-gutter th.el-table__cell,
  206. .cockpit-panel .el-table thead th.gutter,
  207. .cockpit-panel .el-table thead.has-gutter th.gutter {
  208. height: var(--cockpit-th-height) !important;
  209. padding: 0 4px !important;
  210. box-sizing: border-box;
  211. }
  212. .cockpit-panel .el-table thead.has-gutter tr {
  213. height: var(--cockpit-th-height) !important;
  214. }
  215. .cockpit-panel .el-table thead th.gutter,
  216. .cockpit-panel .el-table thead.has-gutter th.gutter {
  217. display: table-cell !important;
  218. width: 6px !important;
  219. padding: 0 !important;
  220. vertical-align: middle;
  221. }
  222. .cockpit-panel .el-table thead th .cell {
  223. line-height: var(--cockpit-th-height);
  224. height: var(--cockpit-th-height);
  225. display: flex;
  226. align-items: center;
  227. justify-content: center;
  228. padding: 0 4px;
  229. box-sizing: border-box;
  230. }
  231. .cockpit-panel .el-table thead th.is-left .cell,
  232. .cockpit-panel .el-table thead th.cockpit-health-col-name .cell {
  233. justify-content: flex-start;
  234. }
  235. /* 表体:固定 4 行高度,两表一致 */
  236. .cockpit-panel .cockpit-table-block .el-table__body-wrapper {
  237. max-height: var(--cockpit-table-body-h) !important;
  238. min-height: var(--cockpit-table-body-h) !important;
  239. height: var(--cockpit-table-body-h) !important;
  240. overflow-y: auto !important;
  241. }
  242. /* 自动滚动列表:隐藏滚动条,保留 programmatic scroll */
  243. .cockpit-panel .cockpit-table-block .el-table__body-wrapper,
  244. .cockpit-panel #Tabtab .el-table__body-wrapper,
  245. .cockpit-panel .cockpit-unified-table .el-table__body-wrapper {
  246. scrollbar-width: none !important;
  247. -ms-overflow-style: none !important;
  248. }
  249. .cockpit-panel
  250. .cockpit-table-block
  251. .el-table__body-wrapper::-webkit-scrollbar,
  252. .cockpit-panel #Tabtab .el-table__body-wrapper::-webkit-scrollbar,
  253. .cockpit-panel
  254. .cockpit-unified-table
  255. .el-table__body-wrapper::-webkit-scrollbar {
  256. width: 0 !important;
  257. height: 0 !important;
  258. display: none !important;
  259. }
  260. .cockpit-panel .cockpit-table-block {
  261. min-height: var(--cockpit-table-block-h);
  262. }
  263. .cockpit-panel .cockpit-table-block > .titleYC,
  264. .cockpit-panel .cockpit-table-block > .cockpit-inbound-table-head {
  265. margin-bottom: 0 !important;
  266. }
  267. .cockpit-panel .cockpit-table-block .cockpit-tabroll-table {
  268. flex: 1;
  269. min-height: 0;
  270. }
  271. .cockpit-panel .cockpit-table-block .el-table__body tr {
  272. height: var(--cockpit-tr-height) !important;
  273. }
  274. .cockpit-panel .cockpit-table-block .el-table__body td.el-table__cell {
  275. height: var(--cockpit-tr-height) !important;
  276. padding: 0 !important;
  277. box-sizing: border-box;
  278. border-bottom: none !important;
  279. }
  280. .cockpit-inbound-table-wrap.cockpit-table-block {
  281. display: flex;
  282. flex-direction: column;
  283. }
  284. .cockpit-panel .cockpit-table-block .el-table__body td.el-table__cell .cell {
  285. line-height: var(--cockpit-tr-height);
  286. height: var(--cockpit-tr-height);
  287. display: flex;
  288. align-items: center;
  289. padding: 0 var(--cockpit-td-padding-x) !important;
  290. box-sizing: border-box;
  291. overflow: hidden;
  292. text-overflow: ellipsis;
  293. white-space: nowrap;
  294. }
  295. /* 滚动列表表格 */
  296. .cockpit-panel #Tabtab.el-table,
  297. .cockpit-panel #Tabtab .el-table__cell {
  298. background: transparent !important;
  299. color: var(--cockpit-panel-text, #606266) !important;
  300. font-size: 12px;
  301. border-color: var(--cockpit-panel-divider, #ebeef5) !important;
  302. }
  303. .cockpit-panel #Tabtab th.el-table__cell {
  304. background: var(--cockpit-table-header-bg, #f5f7fa) !important;
  305. color: var(--cockpit-panel-muted, #909399) !important;
  306. }
  307. .cockpit-panel #Tabtab .el-table__row:nth-child(2n) td {
  308. background: var(--cockpit-table-stripe, #fafafa) !important;
  309. }
  310. .cockpit-panel .cockpit-analysis-chart {
  311. width: 100%;
  312. height: 160px;
  313. }
  314. .cockpit-panel--analysis-history .cockpit-analysis-chart {
  315. height: 132px;
  316. margin-top: 4px;
  317. }
  318. .cockpit-panel--analysis-history .cockpit-history-block {
  319. margin-top: 10px;
  320. padding-top: 10px;
  321. border-top: 1px solid var(--cockpit-panel-divider, #ebeef5);
  322. }
  323. .cockpit-panel--analysis-history .cockpit-section-title {
  324. margin-bottom: 8px;
  325. }
  326. .cockpit-scroll-table {
  327. border-radius: 2px;
  328. overflow: hidden;
  329. }
  330. /* 统一列表表(历史 / 健康 / 入库 / 异常) */
  331. .cockpit-unified-table {
  332. background: transparent;
  333. }
  334. .cockpit-unified-table-head {
  335. display: grid !important;
  336. align-items: center;
  337. margin: 0 !important;
  338. padding: 0 var(--cockpit-td-padding-x) !important;
  339. min-height: var(--cockpit-th-height);
  340. height: var(--cockpit-th-height);
  341. line-height: var(--cockpit-th-height);
  342. font-size: 12px;
  343. font-weight: 500;
  344. border: none !important;
  345. border-radius: 0;
  346. box-sizing: border-box;
  347. span {
  348. margin: 0 !important;
  349. padding: 0;
  350. text-align: center;
  351. overflow: hidden;
  352. text-overflow: ellipsis;
  353. white-space: nowrap;
  354. }
  355. span:first-child {
  356. text-align: left !important;
  357. }
  358. &--history {
  359. grid-template-columns: 28% 38% 34%;
  360. }
  361. &--health {
  362. grid-template-columns: 38% 15% 15% 15% 17%;
  363. }
  364. &--inbound-import {
  365. grid-template-columns: 42% 58%;
  366. }
  367. &--inbound-two,
  368. &--abnormal-two {
  369. grid-template-columns: 50% 50%;
  370. }
  371. }
  372. .cockpit-unified-table-head--inbound-import .cockpit-inbound-col-data {
  373. display: flex;
  374. align-items: center;
  375. justify-content: space-between;
  376. gap: 8px;
  377. padding-right: 0;
  378. }
  379. .cockpit-unified-table .cockpit-tabroll-table,
  380. .cockpit-unified-table #Tabtab {
  381. width: 100% !important;
  382. }
  383. .cockpit-unified-table #Tabtab.el-table,
  384. .cockpit-unified-table #Tabtab::before {
  385. background: transparent !important;
  386. }
  387. .cockpit-unified-table #Tabtab .el-table__body,
  388. .cockpit-unified-table #Tabtab .el-table__body-wrapper table {
  389. width: 100% !important;
  390. table-layout: fixed !important;
  391. }
  392. .cockpit-unified-table #Tabtab .el-table__body td.el-table__cell {
  393. border: none !important;
  394. color: var(--cockpit-table-row-text, #ffffff);
  395. vertical-align: middle;
  396. }
  397. .cockpit-unified-table
  398. #Tabtab
  399. .el-table__body
  400. tr:nth-child(odd)
  401. td.el-table__cell {
  402. background: var(--cockpit-table-stripe-odd) !important;
  403. color: var(--cockpit-table-row-text, #ffffff) !important;
  404. }
  405. .cockpit-unified-table
  406. #Tabtab
  407. .el-table__body
  408. tr:nth-child(even)
  409. td.el-table__cell {
  410. background: var(--cockpit-table-stripe-even) !important;
  411. color: var(--cockpit-table-row-text, #ffffff) !important;
  412. }
  413. .cockpit-unified-table #Tabtab .el-table__body tr:hover > td.el-table__cell {
  414. background: var(
  415. --cockpit-table-row-hover-bg,
  416. rgba(0, 0, 0, 0.12)
  417. ) !important;
  418. color: var(--cockpit-table-row-text, #ffffff) !important;
  419. }
  420. .cockpit-unified-table #Tabtab .el-table__body td.el-table__cell .cell {
  421. display: flex !important;
  422. align-items: center !important;
  423. width: 100%;
  424. box-sizing: border-box;
  425. }
  426. /* 表体除第一列外居中 */
  427. .cockpit-unified-table
  428. #Tabtab
  429. .el-table__body
  430. tr
  431. td.el-table__cell:not(:first-child)
  432. .cell {
  433. justify-content: center !important;
  434. text-align: center !important;
  435. }
  436. .cockpit-unified-table
  437. #Tabtab
  438. .el-table__body
  439. tr
  440. td.el-table__cell:nth-child(n + 2)
  441. .cell {
  442. justify-content: center !important;
  443. text-align: center !important;
  444. }
  445. /* 第一列数据强制左对齐 */
  446. .cockpit-unified-table
  447. #Tabtab
  448. .el-table__body
  449. td.el-table__cell:first-child
  450. .cell,
  451. .cockpit-unified-table #Tabtab .el-table__body tr td:first-child .cell {
  452. justify-content: flex-start !important;
  453. text-align: left !important;
  454. }
  455. /* 表头与表体列宽对齐 */
  456. .cockpit-unified-table--history #Tabtab colgroup col:nth-child(1) {
  457. width: 28% !important;
  458. }
  459. .cockpit-unified-table--history #Tabtab colgroup col:nth-child(2) {
  460. width: 38% !important;
  461. }
  462. .cockpit-unified-table--history #Tabtab colgroup col:nth-child(3) {
  463. width: 34% !important;
  464. }
  465. .cockpit-unified-table--health #Tabtab colgroup col:nth-child(1) {
  466. width: 38% !important;
  467. }
  468. .cockpit-unified-table--health #Tabtab colgroup col:nth-child(2),
  469. .cockpit-unified-table--health #Tabtab colgroup col:nth-child(3),
  470. .cockpit-unified-table--health #Tabtab colgroup col:nth-child(4) {
  471. width: 15% !important;
  472. }
  473. .cockpit-unified-table--health #Tabtab colgroup col:nth-child(5) {
  474. width: 17% !important;
  475. }
  476. .cockpit-unified-table--inbound-import #Tabtab colgroup col:nth-child(1) {
  477. width: 42% !important;
  478. }
  479. .cockpit-unified-table--inbound-import #Tabtab colgroup col:nth-child(2) {
  480. width: 58% !important;
  481. }
  482. .cockpit-unified-table--inbound-two #Tabtab colgroup col:nth-child(1),
  483. .cockpit-unified-table--abnormal-two #Tabtab colgroup col:nth-child(1) {
  484. width: 50% !important;
  485. }
  486. .cockpit-unified-table--inbound-two #Tabtab colgroup col:nth-child(2),
  487. .cockpit-unified-table--abnormal-two #Tabtab colgroup col:nth-child(2) {
  488. width: 50% !important;
  489. }
  490. .cockpit-section-title {
  491. margin: 0 0 8px;
  492. padding: 0;
  493. border-bottom: none;
  494. font-size: 14px;
  495. font-weight: 600;
  496. line-height: 1.4;
  497. }
  498. .cockpit-panel--stats .cockpit-stats__row {
  499. line-height: 26px;
  500. }
  501. .cockpit-panel--stats .cockpit-stats__switch {
  502. margin-top: 4px;
  503. }
  504. /* 任务统计数字块 */
  505. .cockpit-panel .BOXsan {
  506. width: 100%;
  507. display: flex;
  508. justify-content: space-between;
  509. gap: 8px;
  510. }
  511. .cockpit-panel .YC01,
  512. .cockpit-panel .YC02,
  513. .cockpit-panel .YC03 {
  514. flex: 1;
  515. min-width: 0;
  516. }
  517. /* Tab 统一样式 */
  518. .cockpit-panel .el-tabs__header {
  519. margin: 0 0 10px;
  520. }
  521. .cockpit-panel .el-tabs__nav-wrap::after {
  522. background-color: var(--cockpit-panel-divider, #ebeef5);
  523. }
  524. .cockpit-panel .el-tabs__item {
  525. height: 32px;
  526. line-height: 32px;
  527. font-size: 13px;
  528. color: var(--cockpit-panel-muted, #909399);
  529. padding: 0 14px;
  530. }
  531. .cockpit-panel .el-tabs__item.is-active {
  532. color: var(--cockpit-accent, var(--primary-color, #82780c));
  533. font-weight: 600;
  534. }
  535. .cockpit-panel .el-tabs__active-bar {
  536. background-color: var(--cockpit-accent, var(--primary-color, #82780c));
  537. }
  538. /* 表单控件 */
  539. .cockpit-panel .el-input__inner,
  540. .cockpit-panel .el-range-editor.el-input__inner,
  541. .cockpit-panel .el-range-input {
  542. background-color: var(--cockpit-input-bg, #ffffff) !important;
  543. border-color: var(--cockpit-input-border, #dcdfe6) !important;
  544. color: var(--cockpit-input-text, #606266) !important;
  545. }
  546. .cockpit-panel .el-date-editor .el-range-separator {
  547. color: var(--cockpit-input-separator, #909399) !important;
  548. }
  549. .cockpit-panel .el-date-editor .el-input__icon {
  550. color: var(--cockpit-input-icon, #c0c4cc) !important;
  551. }
  552. .cockpit-panel .el-switch__label {
  553. color: var(--cockpit-panel-muted, #909399);
  554. }
  555. .cockpit-panel .el-switch__label.is-active {
  556. color: var(--cockpit-accent, var(--primary-color, #82780c)) !important;
  557. }
  558. .cockpit-panel--health .cockpit-health-table__head {
  559. border-bottom: none;
  560. margin-bottom: 8px;
  561. padding-bottom: 0;
  562. }
  563. .cockpit-inbound-panel {
  564. width: 100%;
  565. }
  566. .cockpit-inbound-body {
  567. position: relative;
  568. height: var(--cockpit-inbound-pane-h);
  569. min-height: var(--cockpit-inbound-pane-h);
  570. overflow: hidden;
  571. }
  572. .cockpit-inbound-pane {
  573. position: absolute;
  574. inset: 0;
  575. overflow: hidden;
  576. display: flex;
  577. flex-direction: column;
  578. }
  579. .cockpit-panel--inbound .cockpit-inbound-pane-header {
  580. margin: 2px 0 6px;
  581. }
  582. .cockpit-panel--inbound
  583. .cockpit-inbound-pane-header
  584. .cockpit-inbound-subtitle {
  585. margin: 0;
  586. }
  587. .cockpit-inbound-pane > .cockpit-inbound-subtitle {
  588. margin: 10px 0 12px;
  589. }
  590. .cockpit-inbound-pane .cockpit-inbound-table-wrap {
  591. flex: 1;
  592. min-height: 0;
  593. display: flex;
  594. flex-direction: column;
  595. }
  596. .cockpit-inbound-pane .cockpit-tabroll-table {
  597. flex: 1;
  598. min-height: 0;
  599. }
  600. .cockpit-inbound-pane-header {
  601. display: flex;
  602. justify-content: space-between;
  603. align-items: center;
  604. .cockpit-inbound-col-data {
  605. font-size: 12px;
  606. color: var(--cockpit-panel-muted, #909399);
  607. cursor: pointer;
  608. &:hover {
  609. color: var(--cockpit-accent, #2979ff) !important;
  610. }
  611. }
  612. }
  613. .cockpit-inbound-subtitle {
  614. margin: 8px 0 10px;
  615. font-size: 14px;
  616. font-weight: 600;
  617. line-height: 1.3;
  618. color: var(--cockpit-panel-title, #303133);
  619. }
  620. .cockpit-inbound-table-wrap {
  621. border-radius: 6px;
  622. overflow: hidden;
  623. }
  624. .cockpit-inbound-table-head {
  625. display: grid !important;
  626. align-items: center;
  627. margin: 0 !important;
  628. padding: 0 10px !important;
  629. min-height: var(--cockpit-th-height);
  630. height: var(--cockpit-th-height);
  631. line-height: normal;
  632. width: 100%;
  633. box-sizing: border-box;
  634. span {
  635. margin: 0 !important;
  636. font-size: 12px;
  637. }
  638. &--import {
  639. grid-template-columns: 42% 58%;
  640. }
  641. .cockpit-inbound-col-name {
  642. text-align: left;
  643. white-space: nowrap;
  644. overflow: hidden;
  645. text-overflow: ellipsis;
  646. }
  647. .cockpit-inbound-col-data {
  648. display: flex;
  649. align-items: center;
  650. justify-content: space-between;
  651. gap: 8px;
  652. padding-left: 6px;
  653. box-sizing: border-box;
  654. > span:first-child {
  655. flex: 1;
  656. text-align: right;
  657. white-space: nowrap;
  658. overflow: hidden;
  659. text-overflow: ellipsis;
  660. }
  661. }
  662. &--two {
  663. grid-template-columns: 42% 58%;
  664. }
  665. .cockpit-inbound-col-extra {
  666. text-align: right;
  667. padding-right: 4px;
  668. }
  669. }
  670. .cockpit-inbound-more-link {
  671. flex-shrink: 0;
  672. color: var(--cockpit-accent, #2979ff) !important;
  673. cursor: pointer;
  674. text-align: right !important;
  675. }
  676. .cockpit-inbound-table-wrap .tabroll-wrap,
  677. .cockpit-inbound-table-wrap #Tabtab,
  678. .cockpit-inbound-table-wrap #Tabtab .el-table__body,
  679. .cockpit-inbound-table-wrap #Tabtab .el-table__body-wrapper,
  680. .cockpit-inbound-table-wrap #Tabtab table {
  681. width: 100% !important;
  682. }
  683. .cockpit-inbound-table-wrap #Tabtab table {
  684. table-layout: fixed !important;
  685. }
  686. .cockpit-inbound-table-wrap #Tabtab colgroup col:first-child {
  687. width: 42% !important;
  688. }
  689. .cockpit-inbound-table-wrap #Tabtab colgroup col:last-child {
  690. width: 58% !important;
  691. }
  692. .cockpit-panel--inbound .centeredh3 {
  693. display: none;
  694. }
  695. .cockpit-health-table .el-table th.el-table__cell {
  696. background: var(--cockpit-table-header-bg, #f5f7fa) !important;
  697. color: var(--cockpit-panel-muted, #909399) !important;
  698. font-size: 12px;
  699. }
  700. .cockpit-health-table .el-table td.el-table__cell {
  701. background: transparent !important;
  702. color: var(--cockpit-panel-text, #606266) !important;
  703. font-size: 12px;
  704. }
  705. }
  706. /* —— 科技蓝大屏(参考设计稿) —— */
  707. html[data-theme="tech-blue"] .cockpit-dashboard-page {
  708. --cockpit-page-bg: #020a16;
  709. --cockpit-table-stripe-odd: #1a2a4f;
  710. --cockpit-table-stripe-even: #0f1f3d;
  711. --cockpit-table-row-text: #ffffff;
  712. --cockpit-table-row-hover-bg: #182544;
  713. --cockpit-chart-legend-text: rgba(183, 223, 245, 0.85);
  714. --cockpit-chart-label-text: rgba(183, 223, 245, 0.85);
  715. --cockpit-chart-label-line: rgba(183, 223, 245, 0.45);
  716. --cockpit-panel-border: rgba(0, 90, 140, 0.72);
  717. --cockpit-panel-divider: rgba(0, 120, 200, 0.22);
  718. --cockpit-panel-text: #c8e8f8;
  719. --cockpit-panel-title: #ffffff;
  720. --cockpit-panel-muted: rgba(168, 210, 235, 0.72);
  721. --cockpit-panel-radius: 8px;
  722. --cockpit-table-header-bg: rgba(0, 36, 64, 0.92);
  723. --cockpit-table-row-bg: rgba(0, 18, 36, 0.55);
  724. --cockpit-table-row-bg-alt: rgba(0, 24, 46, 0.72);
  725. --cockpit-input-bg: rgba(0, 16, 32, 0.92);
  726. --cockpit-input-border: rgba(0, 140, 210, 0.45);
  727. --cockpit-input-text: #c8e8f8;
  728. --cockpit-input-separator: rgba(168, 210, 235, 0.72);
  729. --cockpit-input-icon: #5ce1ff;
  730. --cockpit-accent: #00c8ff;
  731. --cockpit-status-ok: #7ecf51;
  732. --cockpit-status-warn: #eecb5f;
  733. --cockpit-status-danger: #e16757;
  734. --cockpit-kpi-cyan: #5ce1ff;
  735. background-color: #020a16;
  736. background-image: radial-gradient(
  737. ellipse 80% 55% at 50% 38%,
  738. rgba(12, 40, 88, 0.45) 0%,
  739. transparent 68%
  740. ),
  741. linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
  742. linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  743. background-size: 100% 100%, 24px 24px, 24px 24px;
  744. .cockpit-dashboard__map {
  745. filter: saturate(1.12) contrast(1.08) brightness(0.9);
  746. }
  747. .cockpit-dashboard__map::before {
  748. content: "";
  749. position: absolute;
  750. inset: 0;
  751. pointer-events: none;
  752. z-index: 1;
  753. background: radial-gradient(
  754. ellipse 70% 48% at 50% 45%,
  755. rgba(20, 86, 165, 0.12) 0%,
  756. rgba(0, 0, 0, 0) 74%
  757. ),
  758. linear-gradient(
  759. 180deg,
  760. rgba(0, 8, 20, 0.26) 0%,
  761. rgba(0, 8, 20, 0) 18%,
  762. rgba(0, 8, 20, 0) 82%,
  763. rgba(0, 8, 20, 0.24) 100%
  764. );
  765. }
  766. .cockpit-dashboard__map::after {
  767. content: "";
  768. position: absolute;
  769. inset: 0;
  770. pointer-events: none;
  771. z-index: 1;
  772. background-image: repeating-linear-gradient(
  773. to bottom,
  774. rgba(0, 235, 255, 0.04) 0,
  775. rgba(0, 235, 255, 0.04) 1px,
  776. transparent 1px,
  777. transparent 4px
  778. );
  779. opacity: 0.45;
  780. }
  781. .cockpit-dashboard__left,
  782. .cockpit-dashboard__right {
  783. scrollbar-width: none;
  784. -ms-overflow-style: none;
  785. &::-webkit-scrollbar {
  786. display: none;
  787. }
  788. }
  789. .cockpit-panel {
  790. position: relative;
  791. overflow: hidden;
  792. background: linear-gradient(
  793. 180deg,
  794. rgba(6, 22, 45, 0.97) 0%,
  795. rgba(4, 16, 32, 0.98) 52%,
  796. rgba(2, 10, 22, 0.99) 100%
  797. ) !important;
  798. border: 1px solid var(--cockpit-panel-border) !important;
  799. border-radius: var(--cockpit-panel-radius) !important;
  800. box-shadow: inset 0 0 28px rgba(0, 130, 220, 0.1),
  801. inset 0 1px 0 rgba(0, 210, 255, 0.12), 0 6px 28px rgba(0, 0, 0, 0.42) !important;
  802. backdrop-filter: blur(12px);
  803. &::before {
  804. content: "";
  805. position: absolute;
  806. top: 0;
  807. left: 6%;
  808. right: 6%;
  809. height: 1px;
  810. background: linear-gradient(
  811. 90deg,
  812. transparent,
  813. rgba(0, 242, 255, 0.65),
  814. transparent
  815. );
  816. pointer-events: none;
  817. z-index: 1;
  818. }
  819. &::after {
  820. content: "";
  821. position: absolute;
  822. inset: 0;
  823. pointer-events: none;
  824. border-radius: inherit;
  825. box-shadow: inset 0 0 0 1px rgba(0, 186, 255, 0.18),
  826. inset 0 0 24px rgba(0, 122, 210, 0.14);
  827. z-index: 1;
  828. }
  829. }
  830. /* section 盒子内部科技填充纹理 */
  831. .cockpit-panel > * {
  832. position: relative;
  833. z-index: 2;
  834. }
  835. .cockpit-panel::before,
  836. .cockpit-panel::after {
  837. border-radius: inherit;
  838. }
  839. .cockpit-panel {
  840. background-image: linear-gradient(
  841. 115deg,
  842. rgba(0, 170, 255, 0.09) 0%,
  843. rgba(0, 170, 255, 0) 34%
  844. ),
  845. linear-gradient(
  846. 180deg,
  847. rgba(0, 255, 255, 0.05) 0%,
  848. rgba(0, 255, 255, 0) 24%
  849. ),
  850. repeating-linear-gradient(
  851. 90deg,
  852. rgba(0, 210, 255, 0.035) 0,
  853. rgba(0, 210, 255, 0.035) 1px,
  854. transparent 1px,
  855. transparent 18px
  856. ),
  857. repeating-linear-gradient(
  858. 0deg,
  859. rgba(0, 170, 220, 0.028) 0,
  860. rgba(0, 170, 220, 0.028) 1px,
  861. transparent 1px,
  862. transparent 18px
  863. ),
  864. linear-gradient(
  865. 180deg,
  866. rgba(6, 22, 45, 0.97) 0%,
  867. rgba(4, 16, 32, 0.98) 52%,
  868. rgba(2, 10, 22, 0.99) 100%
  869. ) !important;
  870. background-blend-mode: screen, screen, normal, normal, normal;
  871. }
  872. .cockpit-panel__title,
  873. .cockpit-panel h3,
  874. .cockpit-panel .backbone h3,
  875. .cockpit-panel .BOXYI > h3,
  876. .cockpit-panel .centeredh3 {
  877. color: #ffffff;
  878. font-size: 14px;
  879. font-weight: 600;
  880. letter-spacing: 0.02em;
  881. border-bottom: 1px solid var(--cockpit-panel-divider);
  882. padding: 0 0 8px;
  883. margin-bottom: 10px;
  884. }
  885. .cockpit-panel .centeredh3 span {
  886. color: #5ec8ff;
  887. text-shadow: 0 0 10px rgba(86, 200, 255, 0.32);
  888. }
  889. .cockpit-panel__title,
  890. .cockpit-panel h3,
  891. .cockpit-panel .backbone h3,
  892. .cockpit-panel .BOXYI > h3,
  893. .cockpit-panel .centeredh3 {
  894. text-shadow: 0 0 10px rgba(0, 170, 255, 0.28);
  895. }
  896. .cockpit-panel:not(.cockpit-panel--health):not(.cockpit-panel--inbound)
  897. .el-tabs__item.is-active {
  898. color: #00d4ff !important;
  899. }
  900. .cockpit-panel .el-tabs__active-bar {
  901. background-color: #00aaff !important;
  902. }
  903. /* 统一列表表(科技蓝) */
  904. .cockpit-unified-table-head {
  905. background: linear-gradient(
  906. 180deg,
  907. rgba(0, 36, 72, 0.72) 0%,
  908. rgba(0, 24, 44, 0.58) 100%
  909. ) !important;
  910. color: #ffffff !important;
  911. box-shadow: inset 0 -1px 0 rgba(0, 190, 255, 0.22);
  912. span {
  913. color: #ffffff !important;
  914. font-weight: 400;
  915. text-shadow: 0 0 8px rgba(0, 168, 255, 0.22);
  916. }
  917. }
  918. .cockpit-unified-table #Tabtab .el-table__empty-text {
  919. color: rgba(200, 228, 245, 0.65) !important;
  920. }
  921. .cockpit-panel .cockpit-section-title {
  922. color: #ffffff;
  923. text-shadow: none;
  924. }
  925. /* 接入统计 */
  926. .cockpit-panel--stats {
  927. .cockpit-stats__row {
  928. color: var(--cockpit-panel-text);
  929. font-size: 13px;
  930. .SpText {
  931. color: var(--cockpit-panel-muted);
  932. }
  933. > span:last-child {
  934. color: #fff;
  935. font-weight: 500;
  936. }
  937. }
  938. .cockpit-stats__legend {
  939. display: flex;
  940. gap: 5px;
  941. margin: 8px 0 6px;
  942. height: 5px;
  943. }
  944. .cockpit-stats__legend-seg {
  945. flex: 1;
  946. border-radius: 2px;
  947. opacity: 0.92;
  948. &--ok {
  949. background: var(--cockpit-status-ok);
  950. box-shadow: 0 0 8px rgba(126, 207, 81, 0.45);
  951. }
  952. &--warn {
  953. background: var(--cockpit-status-warn);
  954. box-shadow: 0 0 8px rgba(238, 203, 95, 0.4);
  955. }
  956. &--danger {
  957. background: var(--cockpit-status-danger);
  958. box-shadow: 0 0 8px rgba(225, 103, 87, 0.4);
  959. }
  960. }
  961. .el-select .el-input__inner {
  962. height: 34px;
  963. line-height: 34px;
  964. font-weight: 600;
  965. color: #fff !important;
  966. background: var(--cockpit-input-bg) !important;
  967. border-color: var(--cockpit-input-border) !important;
  968. box-shadow: inset 0 0 0 1px rgba(0, 150, 220, 0.18),
  969. 0 0 12px rgba(0, 122, 210, 0.08);
  970. }
  971. .cockpit-stats__date-row {
  972. margin: 6px 0 4px;
  973. width: 100%;
  974. }
  975. .cockpit-stats__date.el-date-editor {
  976. width: 100%;
  977. }
  978. .cockpit-stats__date .el-input__prefix {
  979. display: none !important;
  980. }
  981. .cockpit-stats__date.el-input--prefix .el-input__inner {
  982. padding-left: 10px !important;
  983. }
  984. .cockpit-stats__date .el-input__inner {
  985. height: 34px;
  986. line-height: 34px;
  987. padding-right: 28px;
  988. font-weight: 600;
  989. color: #fff !important;
  990. background: var(--cockpit-input-bg) !important;
  991. border-color: var(--cockpit-input-border) !important;
  992. box-shadow: inset 0 0 0 1px rgba(0, 150, 220, 0.18),
  993. 0 0 12px rgba(0, 122, 210, 0.08);
  994. }
  995. .cockpit-stats__date .el-input__icon {
  996. color: var(--cockpit-kpi-cyan, #4bffff) !important;
  997. line-height: 34px;
  998. }
  999. .el-switch__label {
  1000. color: var(--cockpit-panel-muted);
  1001. font-size: 12px;
  1002. &.is-active {
  1003. color: var(--cockpit-kpi-cyan) !important;
  1004. }
  1005. }
  1006. .el-switch__core {
  1007. background: rgba(0, 35, 60, 0.95);
  1008. border-color: rgba(0, 150, 220, 0.5);
  1009. }
  1010. .el-switch.is-checked .el-switch__core {
  1011. border-color: var(--cockpit-accent);
  1012. background-color: rgba(0, 120, 200, 0.85);
  1013. box-shadow: 0 0 14px rgba(0, 190, 255, 0.35);
  1014. }
  1015. }
  1016. /* 分析 + 历史 */
  1017. .cockpit-panel--analysis-history {
  1018. .cockpit-analysis-chart {
  1019. height: 128px;
  1020. }
  1021. .cockpit-history-block {
  1022. border-top-color: var(--cockpit-panel-divider);
  1023. }
  1024. .el-date-editor.el-input__inner {
  1025. width: 100%;
  1026. max-width: none;
  1027. height: 30px;
  1028. font-size: 11px;
  1029. color: var(--cockpit-input-text) !important;
  1030. background: var(--cockpit-input-bg) !important;
  1031. border-color: var(--cockpit-input-border) !important;
  1032. }
  1033. .el-range-separator,
  1034. .el-range-input {
  1035. color: var(
  1036. --cockpit-input-separator,
  1037. var(--cockpit-panel-muted)
  1038. ) !important;
  1039. }
  1040. .el-input__icon {
  1041. color: var(--cockpit-input-icon, var(--cockpit-kpi-cyan)) !important;
  1042. }
  1043. }
  1044. /* 任务统计 KPI(L 角描边) */
  1045. .cockpit-panel .cockpit-task-kpi {
  1046. gap: 8px;
  1047. margin-top: 2px;
  1048. }
  1049. .cockpit-panel .cockpit-task-kpi .YC02,
  1050. .cockpit-panel .cockpit-task-kpi .YC03 {
  1051. background-image: none !important;
  1052. width: auto !important;
  1053. flex: 1;
  1054. min-width: 0;
  1055. min-height: 76px;
  1056. margin-top: 0 !important;
  1057. display: flex;
  1058. flex-direction: column;
  1059. align-items: center;
  1060. justify-content: center;
  1061. gap: 6px;
  1062. cursor: pointer;
  1063. position: relative;
  1064. background: rgba(0, 22, 42, 0.65) !important;
  1065. border: none !important;
  1066. border-radius: 2px;
  1067. box-shadow: inset 0 0 0 1px rgba(0, 122, 200, 0.55),
  1068. inset 0 0 16px rgba(0, 72, 120, 0.3);
  1069. transition: box-shadow 0.2s;
  1070. &::before,
  1071. &::after {
  1072. content: "";
  1073. position: absolute;
  1074. width: 10px;
  1075. height: 10px;
  1076. border-color: rgba(0, 210, 255, 0.8);
  1077. border-style: solid;
  1078. pointer-events: none;
  1079. }
  1080. &::before {
  1081. top: 0;
  1082. left: 0;
  1083. border-width: 1px 0 0 1px;
  1084. }
  1085. &::after {
  1086. bottom: 0;
  1087. right: 0;
  1088. border-width: 0 1px 1px 0;
  1089. }
  1090. &:hover {
  1091. box-shadow: inset 0 0 0 1px rgba(0, 200, 255, 0.5),
  1092. 0 0 14px rgba(0, 160, 255, 0.18);
  1093. }
  1094. strong {
  1095. font-size: 26px;
  1096. line-height: 1;
  1097. color: var(--cockpit-kpi-cyan);
  1098. text-shadow: 0 0 12px rgba(0, 200, 255, 0.35);
  1099. }
  1100. span {
  1101. font-size: 12px;
  1102. color: var(--cockpit-panel-muted);
  1103. }
  1104. .texyellow {
  1105. color: var(--cockpit-status-warn) !important;
  1106. text-shadow: 0 0 10px rgba(238, 203, 95, 0.35);
  1107. }
  1108. .textred {
  1109. color: var(--cockpit-status-danger) !important;
  1110. text-shadow: 0 0 10px rgba(225, 103, 87, 0.35);
  1111. }
  1112. }
  1113. .cockpit-panel .YC01 strong,
  1114. .cockpit-panel .YC02 strong {
  1115. color: #4bffff;
  1116. }
  1117. .cockpit-panel .YC02 span,
  1118. .cockpit-panel .YC01 span {
  1119. color: rgba(183, 223, 245, 0.85);
  1120. }
  1121. .cockpit-panel--health,
  1122. .cockpit-panel--inbound {
  1123. overflow: visible;
  1124. }
  1125. /* 自定义科技蓝 Tab(CockpitTechTabs) */
  1126. .cockpit-tech-tabs {
  1127. margin-bottom: 10px;
  1128. }
  1129. .cockpit-tech-tabs__track {
  1130. display: flex;
  1131. align-items: flex-end;
  1132. gap: 0;
  1133. min-height: 42px;
  1134. padding: 5px 10px 0;
  1135. background: rgba(0, 4, 12, 0.98);
  1136. border: 1px solid rgba(0, 95, 165, 0.45);
  1137. border-radius: 22px;
  1138. box-shadow: inset 0 1px 0 rgba(0, 70, 120, 0.2),
  1139. inset 0 -12px 20px rgba(0, 0, 0, 0.4);
  1140. position: relative;
  1141. overflow: hidden;
  1142. }
  1143. .cockpit-tech-tabs__list {
  1144. flex: 1;
  1145. display: flex;
  1146. align-items: flex-end;
  1147. min-width: 0;
  1148. min-height: 36px;
  1149. position: relative;
  1150. z-index: 1;
  1151. }
  1152. .cockpit-tech-tabs__item {
  1153. flex: 1;
  1154. min-width: 72px;
  1155. height: 34px;
  1156. margin: 0;
  1157. padding: 0 4px;
  1158. border: none;
  1159. background: transparent;
  1160. cursor: pointer;
  1161. position: relative;
  1162. display: flex;
  1163. align-items: center;
  1164. justify-content: center;
  1165. outline: none;
  1166. .cockpit-tech-tabs__label {
  1167. position: relative;
  1168. z-index: 3;
  1169. font-size: 13px;
  1170. line-height: 1;
  1171. color: rgba(170, 205, 230, 0.72);
  1172. transition: color 0.2s;
  1173. pointer-events: none;
  1174. user-select: none;
  1175. }
  1176. &:hover:not(.is-active) .cockpit-tech-tabs__label {
  1177. color: rgba(210, 235, 255, 0.95);
  1178. }
  1179. &.is-active {
  1180. flex: 1.12;
  1181. height: 36px;
  1182. margin-bottom: -1px;
  1183. .cockpit-tech-tabs__label {
  1184. color: #ffffff;
  1185. font-weight: 600;
  1186. text-shadow: 0 0 10px rgba(0, 220, 255, 0.35);
  1187. }
  1188. }
  1189. }
  1190. .cockpit-tech-tabs__shape {
  1191. position: absolute;
  1192. left: 4%;
  1193. right: 4%;
  1194. bottom: 0;
  1195. top: 0;
  1196. width: 92%;
  1197. height: 100%;
  1198. z-index: 1;
  1199. pointer-events: none;
  1200. filter: drop-shadow(0 2px 10px rgba(0, 160, 255, 0.55));
  1201. }
  1202. .cockpit-tech-tabs__baseline {
  1203. position: absolute;
  1204. left: 10px;
  1205. right: 10px;
  1206. bottom: 0;
  1207. height: 2px;
  1208. z-index: 0;
  1209. background: linear-gradient(
  1210. 90deg,
  1211. #00f0ff 0%,
  1212. rgba(0, 190, 255, 0.85) 28%,
  1213. rgba(0, 140, 220, 0.5) 70%,
  1214. rgba(0, 90, 160, 0.25) 100%
  1215. );
  1216. box-shadow: 0 0 12px rgba(0, 230, 255, 0.75), 0 0 4px rgba(0, 255, 255, 0.5);
  1217. }
  1218. .cockpit-tech-tabs__extra {
  1219. flex-shrink: 0;
  1220. display: flex;
  1221. align-items: center;
  1222. gap: 8px;
  1223. padding: 0 4px 8px 8px;
  1224. position: relative;
  1225. z-index: 2;
  1226. }
  1227. .cockpit-tech-tabs__bolt {
  1228. display: none !important;
  1229. }
  1230. .cockpit-tech-tabs__chevron {
  1231. font-size: 14px;
  1232. color: #5ec8ff;
  1233. cursor: pointer;
  1234. text-shadow: 0 0 8px rgba(0, 200, 255, 0.6);
  1235. &:hover {
  1236. color: #9ef8ff;
  1237. }
  1238. }
  1239. /* 右侧统一 Tab:贴顶左对齐(健康 / 入库,图二) */
  1240. .cockpit-panel--health .cockpit-tech-tabs,
  1241. .cockpit-panel--inbound .cockpit-tech-tabs,
  1242. .cockpit-tech-tabs--panel {
  1243. margin-bottom: 6px;
  1244. }
  1245. .cockpit-panel--health .cockpit-tech-tabs--panel,
  1246. .cockpit-panel--inbound .cockpit-tech-tabs--panel,
  1247. .cockpit-tech-tabs--panel {
  1248. .cockpit-tech-tabs__track {
  1249. position: relative;
  1250. min-height: 36px;
  1251. padding: 0 28px 0 0;
  1252. background: transparent;
  1253. border: none;
  1254. border-radius: 0;
  1255. box-shadow: none;
  1256. overflow: visible;
  1257. }
  1258. .cockpit-tech-tabs__list {
  1259. flex: 1;
  1260. justify-content: flex-start;
  1261. gap: 6px;
  1262. min-height: 34px;
  1263. }
  1264. .cockpit-tech-tabs__item {
  1265. flex: 0 0 auto;
  1266. min-width: 64px;
  1267. height: 32px;
  1268. padding: 0 20px;
  1269. &.is-active {
  1270. flex: 0 0 auto;
  1271. height: 34px;
  1272. margin-bottom: 0;
  1273. &::after {
  1274. content: "";
  1275. position: absolute;
  1276. left: 8%;
  1277. right: 8%;
  1278. bottom: 0;
  1279. height: 2px;
  1280. background: #00f0ff;
  1281. box-shadow: 0 0 10px rgba(0, 240, 255, 0.85);
  1282. z-index: 4;
  1283. pointer-events: none;
  1284. }
  1285. }
  1286. &:not(.is-active) .cockpit-tech-tabs__label {
  1287. color: rgba(183, 223, 245, 0.5);
  1288. font-weight: 400;
  1289. }
  1290. }
  1291. .cockpit-tech-tabs__shape {
  1292. left: 0;
  1293. right: 0;
  1294. width: 100%;
  1295. filter: drop-shadow(0 2px 12px rgba(0, 170, 255, 0.5));
  1296. }
  1297. .cockpit-tech-tabs__baseline {
  1298. display: none;
  1299. }
  1300. .cockpit-tech-tabs__extra {
  1301. flex-shrink: 0;
  1302. margin-left: auto;
  1303. padding: 0 0 8px 8px;
  1304. position: static;
  1305. transform: none;
  1306. }
  1307. }
  1308. /* 入库表格:图二深色圆角容器 + 轻斑马纹 */
  1309. .cockpit-panel--inbound .cockpit-inbound-table-wrap {
  1310. border: 1px solid rgba(0, 110, 190, 0.4);
  1311. background: rgba(0, 16, 32, 0.75);
  1312. box-shadow: inset 0 0 16px rgba(0, 40, 80, 0.25);
  1313. }
  1314. .cockpit-panel--inbound .cockpit-inbound-more-link {
  1315. color: rgba(126, 212, 255, 0.95) !important;
  1316. cursor: pointer;
  1317. }
  1318. .cockpit-panel--health .cockpit-health-panel__tab-body {
  1319. height: var(--cockpit-health-pane-h);
  1320. min-height: var(--cockpit-health-pane-h);
  1321. }
  1322. .cockpit-panel--health .cockpit-health-panel__pane--abnormal {
  1323. justify-content: flex-start;
  1324. }
  1325. .cockpit-panel--health
  1326. .cockpit-health-panel__pane--abnormal
  1327. .cockpit-abnormal-panel {
  1328. height: auto;
  1329. flex: 0 0 auto;
  1330. }
  1331. .cockpit-panel--health .cockpit-abnormal-panel__subtitle,
  1332. .cockpit-panel--health .cockpit-abnormal-table__section-head {
  1333. color: #ffffff;
  1334. text-shadow: 0 0 8px rgba(0, 170, 255, 0.2);
  1335. }
  1336. .cockpit-panel--health .cockpit-abnormal-table__section-head {
  1337. background: rgba(0, 52, 96, 0.85);
  1338. border: 1px solid rgba(0, 120, 200, 0.35);
  1339. }
  1340. .cockpit-panel--health .cockpit-abnormal-kpi__card {
  1341. --cockpit-abnormal-kpi-bg: rgba(0, 28, 52, 0.75);
  1342. --cockpit-abnormal-kpi-corner: rgba(0, 210, 255, 0.85);
  1343. }
  1344. .cockpit-panel--health .cockpit-abnormal-kpi__value {
  1345. color: #5ce1ff;
  1346. text-shadow: 0 0 12px rgba(0, 200, 255, 0.35);
  1347. }
  1348. .cockpit-panel--health .cockpit-abnormal-kpi__label {
  1349. color: rgba(190, 215, 235, 0.88);
  1350. }
  1351. .cockpit-health-panel__subtitle,
  1352. .cockpit-inbound-subtitle {
  1353. color: #ffffff;
  1354. font-size: 14px;
  1355. text-shadow: 0 0 8px rgba(0, 170, 255, 0.2);
  1356. }
  1357. .cockpit-panel--health,
  1358. .cockpit-panel--inbound {
  1359. padding-top: 8px;
  1360. }
  1361. .cockpit-panel--health .cockpit-health-panel__subtitle {
  1362. margin-top: 4px;
  1363. padding-right: 4px;
  1364. border-bottom: none;
  1365. }
  1366. .cockpit-panel--inbound
  1367. .cockpit-inbound-pane-header
  1368. .cockpit-inbound-subtitle {
  1369. margin: 0;
  1370. border-bottom: none;
  1371. }
  1372. .cockpit-panel--inbound .cockpit-inbound-pane > .cockpit-inbound-subtitle {
  1373. margin: 10px 0 12px;
  1374. border-bottom: none;
  1375. }
  1376. }
  1377. /* —— 非科技蓝:地图浮层 + 半透明主题色面板(绿/黄/蓝/灰统一布局) —— */
  1378. html:not([data-theme="tech-blue"]) .cockpit-dashboard-page {
  1379. --cockpit-page-bg: transparent;
  1380. --cockpit-panel-bg: var(--cockpit-float-panel-bg, rgba(0, 79, 95, 0.8));
  1381. --cockpit-panel-border: rgba(255, 255, 255, 0.22);
  1382. --cockpit-panel-divider: rgba(255, 255, 255, 0.18);
  1383. --cockpit-panel-text: #ffffff;
  1384. --cockpit-panel-title: #ffffff;
  1385. --cockpit-panel-muted: rgba(255, 255, 255, 0.78);
  1386. --cockpit-panel-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  1387. --cockpit-panel-radius: 6px;
  1388. --cockpit-table-header-bg: var(--cockpit-float-table-header-bg, #004f5f);
  1389. --cockpit-table-row-bg: #ffffff;
  1390. --cockpit-table-stripe-odd: #ffffff;
  1391. --cockpit-table-stripe-even: #ffffff;
  1392. --cockpit-table-row-text: #303133;
  1393. --cockpit-table-row-border: #ebeef5;
  1394. --cockpit-table-row-hover-bg: #f5f7fa;
  1395. --cockpit-input-bg: #ffffff;
  1396. --cockpit-input-border: #dcdfe6;
  1397. --cockpit-input-text: #303133;
  1398. --cockpit-input-separator: #606266;
  1399. --cockpit-input-icon: #909399;
  1400. --cockpit-accent: #ffffff;
  1401. --cockpit-kpi-default: #facd91;
  1402. --cockpit-status-warn: #facd91;
  1403. --cockpit-status-danger: #d9001b;
  1404. --cockpit-chart-legend-text: rgba(255, 255, 255, 0.92);
  1405. --cockpit-chart-label-text: #ffffff;
  1406. --cockpit-chart-label-line: rgba(255, 255, 255, 0.55);
  1407. --cockpit-abnormal-kpi-bg: rgba(255, 255, 255, 0.12);
  1408. --cockpit-abnormal-kpi-corner: rgba(255, 255, 255, 0.65);
  1409. --cockpit-abnormal-kpi-value: #ffffff;
  1410. --cockpit-abnormal-section-head-bg: rgba(0, 0, 0, 0.15);
  1411. background: transparent !important;
  1412. .cockpit-stats__legend {
  1413. display: none;
  1414. }
  1415. .cockpit-panel {
  1416. background: var(--cockpit-panel-bg, rgba(0, 79, 95, 0.8)) !important;
  1417. // backdrop-filter: blur(4px);
  1418. }
  1419. .cockpit-panel__title,
  1420. .cockpit-panel h3,
  1421. .cockpit-panel .cockpit-section-title,
  1422. .cockpit-panel .cockpit-inbound-subtitle,
  1423. .cockpit-panel .cockpit-health-panel__subtitle {
  1424. color: #ffffff !important;
  1425. border-bottom-color: var(--cockpit-panel-divider) !important;
  1426. }
  1427. .cockpit-panel .centeredh3 span,
  1428. .cockpit-inbound-more-link,
  1429. .cockpit-tech-tabs__chevron {
  1430. color: rgba(255, 255, 255, 0.92) !important;
  1431. text-shadow: none;
  1432. }
  1433. /* 健康/异常、入库/接入:贴顶文字 Tab */
  1434. .cockpit-tech-tabs--panel {
  1435. margin-bottom: 6px;
  1436. .cockpit-tech-tabs__track {
  1437. background: transparent !important;
  1438. border: none !important;
  1439. border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important;
  1440. border-radius: 0 !important;
  1441. box-shadow: none !important;
  1442. padding: 0 28px 0 0 !important;
  1443. min-height: 34px !important;
  1444. }
  1445. .cockpit-tech-tabs__list {
  1446. justify-content: flex-start;
  1447. gap: 2px;
  1448. min-height: 34px;
  1449. }
  1450. .cockpit-tech-tabs__item {
  1451. position: relative;
  1452. flex: 0 0 auto !important;
  1453. min-width: 56px;
  1454. height: 34px !important;
  1455. padding: 0 14px !important;
  1456. border-radius: 0 !important;
  1457. .cockpit-tech-tabs__label {
  1458. color: rgba(255, 255, 255, 0.55) !important;
  1459. font-size: 13px;
  1460. font-weight: 400;
  1461. }
  1462. &.is-active {
  1463. background: transparent !important;
  1464. box-shadow: none !important;
  1465. &::after {
  1466. content: "";
  1467. position: absolute;
  1468. left: 10%;
  1469. right: 10%;
  1470. bottom: 0;
  1471. height: 2px;
  1472. background: #ffffff;
  1473. border-radius: 1px;
  1474. z-index: 2;
  1475. }
  1476. .cockpit-tech-tabs__label {
  1477. color: #ffffff !important;
  1478. font-weight: 600;
  1479. }
  1480. }
  1481. }
  1482. .cockpit-tech-tabs__extra {
  1483. padding: 0 0 6px 8px;
  1484. }
  1485. }
  1486. .cockpit-tech-tabs__baseline,
  1487. .cockpit-tech-tabs__shape {
  1488. display: none !important;
  1489. }
  1490. .cockpit-tech-tabs__bolt {
  1491. display: none !important;
  1492. }
  1493. .cockpit-panel .cockpit-task-kpi {
  1494. gap: 10px;
  1495. margin-top: 4px;
  1496. }
  1497. .cockpit-panel .cockpit-task-kpi .YC01,
  1498. .cockpit-panel .cockpit-task-kpi .YC02,
  1499. .cockpit-panel .cockpit-task-kpi .YC03 {
  1500. width: auto !important;
  1501. flex: 1;
  1502. min-width: 0;
  1503. min-height: 64px;
  1504. margin-top: 0 !important;
  1505. padding: 8px 4px;
  1506. border: none !important;
  1507. border-radius: 2px;
  1508. background-color: transparent !important;
  1509. background-image: url("../../../assets/002.png") !important;
  1510. background-size: 100% 100% !important;
  1511. background-repeat: no-repeat !important;
  1512. background-position: center !important;
  1513. box-shadow: none;
  1514. cursor: pointer;
  1515. strong {
  1516. display: block;
  1517. font-size: 26px;
  1518. line-height: 1.1;
  1519. font-weight: 600;
  1520. color: var(--cockpit-kpi-default, #facd91) !important;
  1521. text-shadow: none !important;
  1522. }
  1523. span {
  1524. display: block;
  1525. margin-top: 4px;
  1526. font-size: 12px;
  1527. color: rgba(255, 255, 255, 0.9) !important;
  1528. }
  1529. strong.texyellow {
  1530. color: var(--cockpit-status-warn, #facd91) !important;
  1531. }
  1532. strong.textred {
  1533. color: var(--cockpit-status-danger, #d9001b) !important;
  1534. }
  1535. }
  1536. /* 异常概览 KPI:与任务统计同款角框 */
  1537. .cockpit-panel .cockpit-abnormal-kpi__card {
  1538. border: none !important;
  1539. border-radius: 2px;
  1540. background-color: transparent !important;
  1541. background-image: url("../../../assets/002.png") !important;
  1542. background-size: 100% 100% !important;
  1543. background-repeat: no-repeat !important;
  1544. background-position: center !important;
  1545. box-shadow: none;
  1546. }
  1547. .cockpit-panel .cockpit-abnormal-kpi__corner {
  1548. display: none !important;
  1549. }
  1550. .cockpit-panel .cockpit-abnormal-kpi__value {
  1551. color: #ffffff !important;
  1552. }
  1553. .cockpit-panel
  1554. .cockpit-abnormal-kpi__card--danger
  1555. .cockpit-abnormal-kpi__value {
  1556. color: var(--cockpit-status-danger, #d9001b) !important;
  1557. }
  1558. /* 表格:白底黑字、无斑马线 */
  1559. .cockpit-panel #Tabtab .el-table__row:nth-child(2n) td,
  1560. .cockpit-unified-table
  1561. #Tabtab
  1562. .el-table__body
  1563. tr:nth-child(odd)
  1564. td.el-table__cell,
  1565. .cockpit-unified-table
  1566. #Tabtab
  1567. .el-table__body
  1568. tr:nth-child(even)
  1569. td.el-table__cell {
  1570. background: #ffffff !important;
  1571. color: #303133 !important;
  1572. border-bottom: 1px solid var(--cockpit-table-row-border, #ebeef5) !important;
  1573. }
  1574. .cockpit-unified-table #Tabtab .el-table__body tr:hover > td.el-table__cell,
  1575. .cockpit-panel #Tabtab .el-table__row:hover > td {
  1576. background: var(--cockpit-table-row-hover-bg, #f5f7fa) !important;
  1577. color: #303133 !important;
  1578. }
  1579. .cockpit-panel #Tabtab.el-table,
  1580. .cockpit-panel #Tabtab .el-table__cell {
  1581. color: #303133 !important;
  1582. }
  1583. .cockpit-unified-table #Tabtab .el-table__empty-text {
  1584. color: #909399 !important;
  1585. }
  1586. .cockpit-unified-table-head,
  1587. .cockpit-panel .titleJQ.cockpit-unified-table-head,
  1588. .cockpit-panel .titleYC.cockpit-unified-table-head {
  1589. background: var(--cockpit-table-header-bg) !important;
  1590. color: #ffffff !important;
  1591. border: none !important;
  1592. box-shadow: none !important;
  1593. span {
  1594. color: rgba(255, 255, 255, 0.92) !important;
  1595. }
  1596. }
  1597. .cockpit-panel #Tabtab th.el-table__cell {
  1598. border: none !important;
  1599. }
  1600. .cockpit-panel--inbound .cockpit-inbound-table-wrap,
  1601. .cockpit-panel .cockpit-scroll-table,
  1602. .cockpit-panel .cockpit-table-block {
  1603. border: none !important;
  1604. background: #ffffff !important;
  1605. border-radius: 2px;
  1606. overflow: hidden;
  1607. }
  1608. .cockpit-panel--analysis-history .cockpit-analysis-chart {
  1609. margin-top: 6px;
  1610. }
  1611. .cockpit-health-panel__body {
  1612. padding: 2px 0 4px;
  1613. }
  1614. .cockpit-health-panel__legend-item {
  1615. color: var(
  1616. --cockpit-chart-legend-text,
  1617. rgba(255, 255, 255, 0.92)
  1618. ) !important;
  1619. }
  1620. .cockpit-panel--health .cockpit-health-panel__subtitle,
  1621. .cockpit-panel--inbound .cockpit-inbound-subtitle {
  1622. font-size: 13px;
  1623. font-weight: 600;
  1624. border-bottom: none !important;
  1625. }
  1626. .cockpit-panel--inbound .cockpit-inbound-pane > .cockpit-inbound-subtitle {
  1627. margin: 10px 0 12px;
  1628. }
  1629. .cockpit-panel--task h3 {
  1630. margin-bottom: 8px;
  1631. padding-bottom: 8px;
  1632. border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  1633. }
  1634. .cockpit-panel .el-switch__label.is-active {
  1635. color: #ffffff !important;
  1636. }
  1637. .cockpit-panel .el-switch.is-checked .el-switch__core {
  1638. border-color: rgba(255, 255, 255, 0.65);
  1639. background-color: rgba(255, 255, 255, 0.35);
  1640. }
  1641. .cockpit-abnormal-panel__subtitle,
  1642. .cockpit-abnormal-table__section-head {
  1643. color: #ffffff !important;
  1644. }
  1645. .cockpit-abnormal-kpi__label {
  1646. color: rgba(255, 255, 255, 0.78) !important;
  1647. }
  1648. }
  1649. /* 驾驶舱侧栏内弹窗:必须挂到 body,避免被 308px 面板裁切 */
  1650. .cockpit-task-dialog.el-dialog {
  1651. width: min(720px, 92vw) !important;
  1652. margin-top: 10vh !important;
  1653. }
  1654. .cockpit-storage-dialog.el-dialog {
  1655. width: min(1100px, 94vw) !important;
  1656. margin-top: 8vh !important;
  1657. }
  1658. .cockpit-storage-dialog {
  1659. background-color: #ffffff !important;
  1660. border: 1px solid #ebeef5 !important;
  1661. box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  1662. .el-dialog__header {
  1663. padding: 14px 20px 10px;
  1664. background: var(--primary-color, #008080) !important;
  1665. border-bottom: none;
  1666. }
  1667. .el-dialog__title {
  1668. color: #ffffff !important;
  1669. }
  1670. .el-dialog__headerbtn .el-dialog__close {
  1671. color: #ffffff !important;
  1672. }
  1673. .el-dialog__body {
  1674. padding: 12px 20px 20px;
  1675. background: #ffffff !important;
  1676. color: #303133 !important;
  1677. }
  1678. .cockpit-storage-dialog__table {
  1679. width: 100%;
  1680. margin-top: 12px;
  1681. &.el-table--scrollable-y .el-table__body-wrapper {
  1682. overflow-y: auto !important;
  1683. }
  1684. .el-table__body-wrapper {
  1685. scrollbar-width: thin;
  1686. scrollbar-color: rgba(0, 79, 95, 0.45) #f5f7fa;
  1687. }
  1688. .el-table__body-wrapper::-webkit-scrollbar {
  1689. width: 6px !important;
  1690. display: block !important;
  1691. }
  1692. .el-table__body-wrapper::-webkit-scrollbar-thumb {
  1693. border-radius: 4px;
  1694. background-color: rgba(0, 79, 95, 0.45);
  1695. }
  1696. }
  1697. .el-table th.el-table__cell {
  1698. background: var(--primary-color, #008080) !important;
  1699. color: #ffffff !important;
  1700. }
  1701. .el-table td.el-table__cell {
  1702. background: #ffffff !important;
  1703. color: #303133 !important;
  1704. }
  1705. }
  1706. .cockpit-task-dialog {
  1707. background-color: #ffffff !important;
  1708. .el-dialog__header {
  1709. background: var(--primary-color, #008080) !important;
  1710. }
  1711. .el-dialog__title,
  1712. .el-dialog__headerbtn .el-dialog__close {
  1713. color: #ffffff !important;
  1714. }
  1715. .el-dialog__body {
  1716. background: #ffffff !important;
  1717. color: #303133 !important;
  1718. }
  1719. }
  1720. .cockpit-access-dialog {
  1721. background-color: #ffffff !important;
  1722. .el-dialog__header {
  1723. background: var(--primary-color, #008080) !important;
  1724. }
  1725. .el-dialog__title,
  1726. .el-dialog__headerbtn .el-dialog__close {
  1727. color: #ffffff !important;
  1728. }
  1729. .el-dialog__body {
  1730. background: #ffffff !important;
  1731. color: #303133 !important;
  1732. }
  1733. }
  1734. .cockpit-access-dialog.el-dialog {
  1735. width: min(1340px, 96vw) !important;
  1736. margin-top: 6vh !important;
  1737. }
  1738. .cockpit-stats-date-popper {
  1739. background: var(--cockpit-panel-bg, #0d1930) !important;
  1740. border: 1px solid var(--cockpit-input-border, rgba(0, 242, 255, 0.25)) !important;
  1741. color: var(--cockpit-panel-text, #b7dff5) !important;
  1742. .el-date-picker__header-label,
  1743. .el-date-table th,
  1744. .el-date-table td span {
  1745. color: var(--cockpit-panel-text, #b7dff5) !important;
  1746. }
  1747. .el-date-table td.available:hover span {
  1748. color: var(--cockpit-kpi-cyan, #00f2ff) !important;
  1749. }
  1750. .el-date-table td.current:not(.disabled) span {
  1751. background: var(--cockpit-accent, #1890ff) !important;
  1752. color: #fff !important;
  1753. }
  1754. }
  1755. .cockpit-stats-tree-popper.selecttree-popper {
  1756. background: var(--cockpit-panel-bg, #0d1930) !important;
  1757. border: 1px solid var(--cockpit-input-border, rgba(0, 242, 255, 0.25)) !important;
  1758. .popper__arrow::after {
  1759. border-bottom-color: var(--cockpit-panel-bg, #0d1930) !important;
  1760. }
  1761. .el-select-dropdown__item.hasTree {
  1762. background: var(--cockpit-panel-bg, #0d1930) !important;
  1763. &.hover,
  1764. &:hover,
  1765. &.selected {
  1766. background: var(--cockpit-panel-bg, #0d1930) !important;
  1767. }
  1768. }
  1769. .el-tree {
  1770. background: transparent !important;
  1771. color: var(--cockpit-panel-text, #b7dff5) !important;
  1772. }
  1773. .el-tree-node__label {
  1774. color: var(--cockpit-panel-text, #b7dff5) !important;
  1775. }
  1776. .el-tree-node__content:hover {
  1777. background: rgba(0, 170, 255, 0.15) !important;
  1778. }
  1779. .el-tree-node.is-current > .el-tree-node__content,
  1780. .el-tree--highlight-current
  1781. .el-tree-node.is-current
  1782. > .el-tree-node__content {
  1783. background: var(--cockpit-accent, #1890ff) !important;
  1784. color: #ffffff !important;
  1785. }
  1786. .el-tree-node.is-current > .el-tree-node__content .el-tree-node__label {
  1787. color: #ffffff !important;
  1788. }
  1789. }