index.scss 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548
  1. .work-layout{
  2. /* 清除滑条样式 */
  3. &::-webkit-scrollbar,*::-webkit-scrollbar {
  4. width: 0;
  5. height: 0;
  6. background: none;
  7. }
  8. /*chrome--------------------------------------------start*/
  9. &::-webkit-scrollbar,*::-webkit-scrollbar {
  10. width: 6px;
  11. height: 6px;
  12. }
  13. /* Track */
  14. &::-webkit-scrollbar-track,*::-webkit-scrollbar-track {
  15. background: rgba(255, 255, 255, 0);
  16. border-radius: 6px;
  17. }
  18. /* Handle */
  19. &::-webkit-scrollbar-thumb,*::-webkit-scrollbar-thumb{
  20. background: #394154;
  21. border-radius: 6px;
  22. }
  23. &::-webkit-scrollbar-corner,*::-webkit-scrollbar-corner{
  24. display: none;
  25. }
  26. /* Handle on hover */
  27. &::-webkit-scrollbar-thumb:hover,*::-webkit-scrollbar-thumb:hover {
  28. background: #394154;
  29. }
  30. /*chrome--------------------------------------------end*/
  31. /*IE--------------------------------------------start*/
  32. * {
  33. /*三角箭头的颜色*/
  34. scrollbar-arrow-color: #c0c4cc;
  35. /*滚动条滑块按钮的颜色*/
  36. scrollbar-face-color: #A2A2A3;
  37. /*滚动条整体颜色*/
  38. scrollbar-highlight-color: #A2A2A3;
  39. /*滚动条阴影*/
  40. scrollbar-shadow-color: #A2A2A3;
  41. /*滚动条轨道颜色*/
  42. scrollbar-track-color: #f4f4f5;
  43. /*滚动条3d亮色阴影边框的外观颜色——左边和上边的阴影色*/
  44. scrollbar-3dlight-color: #A2A2A3;
  45. /*滚动条3d暗色阴影边框的外观颜色——右边和下边的阴影色*/
  46. scrollbar-darkshadow-color: #A2A2A3;
  47. /*滚动条基准颜色*/
  48. scrollbar-base-color: #f4f4f5;
  49. }
  50. /*IE--------------------------------------------end*/
  51. }
  52. .el-dialog__body,.el-drawer__body,.el-popper{
  53. /* 清除滑条样式 */
  54. &::-webkit-scrollbar,*::-webkit-scrollbar {
  55. width: 0;
  56. height: 0;
  57. background: none;
  58. }
  59. /*chrome--------------------------------------------start*/
  60. &::-webkit-scrollbar,*::-webkit-scrollbar {
  61. width: 6px;
  62. height: 6px;
  63. }
  64. /* Track */
  65. &::-webkit-scrollbar-track,*::-webkit-scrollbar-track {
  66. background: rgba(255, 255, 255, 0);
  67. border-radius: 6px;
  68. }
  69. /* Handle */
  70. &::-webkit-scrollbar-thumb,*::-webkit-scrollbar-thumb{
  71. background: #394154;
  72. border-radius: 6px;
  73. }
  74. &::-webkit-scrollbar-corner,*::-webkit-scrollbar-corner{
  75. display: none;
  76. }
  77. /* Handle on hover */
  78. &::-webkit-scrollbar-thumb:hover,*::-webkit-scrollbar-thumb:hover {
  79. background: #394154;
  80. }
  81. /*chrome--------------------------------------------end*/
  82. /*IE--------------------------------------------start*/
  83. * {
  84. /*三角箭头的颜色*/
  85. scrollbar-arrow-color: #c0c4cc;
  86. /*滚动条滑块按钮的颜色*/
  87. scrollbar-face-color: #A2A2A3;
  88. /*滚动条整体颜色*/
  89. scrollbar-highlight-color: #A2A2A3;
  90. /*滚动条阴影*/
  91. scrollbar-shadow-color: #A2A2A3;
  92. /*滚动条轨道颜色*/
  93. scrollbar-track-color: #f4f4f5;
  94. /*滚动条3d亮色阴影边框的外观颜色——左边和上边的阴影色*/
  95. scrollbar-3dlight-color: #A2A2A3;
  96. /*滚动条3d暗色阴影边框的外观颜色——右边和下边的阴影色*/
  97. scrollbar-darkshadow-color: #A2A2A3;
  98. /*滚动条基准颜色*/
  99. scrollbar-base-color: #f4f4f5;
  100. }
  101. /*IE--------------------------------------------end*/
  102. }
  103. .hui-ellipsis {
  104. overflow: hidden;
  105. white-space: nowrap;
  106. text-overflow: ellipsis;
  107. }
  108. .el-switch {
  109. .el-switch__core {
  110. background: rgba(255, 255, 255, 0.2);
  111. border-color: rgba(255, 255, 255, 0.2);
  112. }
  113. }
  114. .el-switch.is-checked .el-switch__core {
  115. background: $--color-primary;
  116. }
  117. .hui-no-tips{
  118. display: flex;
  119. align-items: center;
  120. justify-content: center;
  121. }
  122. .hui-flex {
  123. width: 100%;
  124. height: 100%;
  125. display: flex;
  126. flex-direction: column;
  127. .hui-flex-box {
  128. flex: 1;
  129. height: 0;
  130. overflow-y: auto;
  131. }
  132. .hui-dialog-submit {
  133. text-align: right;
  134. padding: 0 20px 20px 20px;
  135. }
  136. }
  137. .hui-dialog {
  138. .hui-dialog-content {
  139. padding: 20px;
  140. overflow-y: auto;
  141. }
  142. }
  143. .hui-content {
  144. .hui-content-title {
  145. display: flex;
  146. height: 48px;
  147. border-bottom: 1px solid #374156;
  148. padding: 0 20px;
  149. .hui-title-item {
  150. padding: 0 14px;
  151. cursor: pointer;
  152. position: relative;
  153. height: 48px;
  154. line-height: 48px;
  155. }
  156. .hui-title-item.active,
  157. .hui-title-item:hover {
  158. color: $--color-primary;
  159. }
  160. .hui-title-item.active::before,
  161. .hui-title-item:hover::before {
  162. content: '';
  163. background: $--color-primary;
  164. height: 2px;
  165. left: 14px;
  166. right: 14px;
  167. bottom: 0;
  168. position: absolute;
  169. }
  170. }
  171. .hui-nav{
  172. height: 48px;
  173. border-bottom: 1px solid #374156;
  174. padding: 0 20px;
  175. display: flex;
  176. justify-content: space-between;
  177. align-items: center;
  178. .el-page-header__content{
  179. color: $--color-common;
  180. font-size: 16px;
  181. }
  182. }
  183. .hui-content-insert {
  184. padding-bottom: 12px;
  185. }
  186. .hui-content-select{
  187. display: flex;
  188. padding-bottom: 10px;
  189. .select-item{
  190. display: flex;
  191. flex: 1;
  192. }
  193. .select-input{
  194. width: 240px;
  195. }
  196. }
  197. .hui-table {
  198. padding: 12px 20px;
  199. .cell{
  200. overflow: hidden;
  201. white-space: nowrap;
  202. text-overflow: ellipsis;
  203. }
  204. .tr-center{
  205. display: flex;
  206. align-items: center;
  207. .label{
  208. margin-right: 8px;
  209. }
  210. }
  211. .hui-table-operation {
  212. .table-operation {
  213. padding-left: 10px;
  214. }
  215. .table-operation:first-child {
  216. padding-left: 0;
  217. }
  218. }
  219. .hui-table-tag {
  220. display: flex;
  221. align-items: center;
  222. }
  223. .hui-table-user {
  224. display: flex;
  225. align-items: center;
  226. .hui-table-avatar {
  227. width: 32px;
  228. height: 32px;
  229. overflow: hidden;
  230. border-radius: 50%;
  231. margin-right: 8px;
  232. }
  233. }
  234. .el-table__expand-icon {
  235. .el-icon-arrow-right {
  236. font-family: 'iconfont' !important;
  237. color: $--color-common;
  238. font-size: 8px;
  239. position: relative;
  240. top: -2px;
  241. }
  242. .el-icon-arrow-right::before {
  243. content: '\e738';
  244. }
  245. }
  246. }
  247. .hui-content-pagination {
  248. padding-top: 12px;
  249. text-align: right;
  250. }
  251. .hui-table-box-foot {
  252. display: flex;
  253. padding-top: 12px;
  254. justify-content: space-between;
  255. align-items: flex-start;
  256. .tips {
  257. font-size: 12px;
  258. }
  259. }
  260. .el-pagination__sizes .el-input .el-input__inner{
  261. height: 32px;
  262. line-height: 32px;
  263. }
  264. }
  265. .no-tips-box{
  266. text-align: center;
  267. }
  268. .no-tips {
  269. opacity: 0.4;
  270. }
  271. .no-empty {
  272. width: 100%;
  273. height: 100%;
  274. display: flex;
  275. align-items: center;
  276. justify-content: center;
  277. }
  278. .hui-detail {
  279. padding: 20px;
  280. .hui-detail-title {
  281. margin-bottom: 8px;
  282. font-weight: 500;
  283. }
  284. .hui-detail-content {
  285. background: rgba(50, 56, 68, 0.2);
  286. border-radius: 8px;
  287. margin-bottom: 20px;
  288. padding: 8px 0;
  289. .hui-detail-item {
  290. display: flex;
  291. padding: 8px 16px;
  292. align-items: center;
  293. .hui-detail-label {
  294. opacity: 0.4;
  295. width: 56px;
  296. margin-right: 14px;
  297. }
  298. .hui-detail-value {
  299. flex: 1;
  300. width: 0;
  301. min-height: 20px;
  302. line-height: 20px;
  303. }
  304. &.hui-detail-item-top{
  305. align-items: start;
  306. }
  307. }
  308. }
  309. .hui-detail-image {
  310. padding: 12px;
  311. }
  312. .hui-detail-document {
  313. padding: 12px;
  314. }
  315. .hui-detail-cc {
  316. padding: 16px;
  317. .hui-detail-item {
  318. padding: 0;
  319. }
  320. .hui-detail-label {
  321. line-height: 28px;
  322. width: 42px !important;
  323. }
  324. }
  325. }
  326. .hui-drawer-submit {
  327. border-top: 1px solid rgba(55, 65, 86, 0.6);
  328. text-align: right;
  329. padding: 12px 24px;
  330. }
  331. .el-form {
  332. .hui-textarea {
  333. width: 100% !important;
  334. padding: 0 !important;
  335. }
  336. .hui-document {
  337. padding: 0 !important;
  338. }
  339. }
  340. .el-tree {
  341. background: transparent !important;
  342. .el-tree-node__content {
  343. height: 32px;
  344. color: $--color-common;
  345. overflow: hidden;
  346. }
  347. .el-tree-node__content:hover,
  348. .el-tree-node:focus>.el-tree-node__content {
  349. background: rgba(255, 255, 255, 0.05);
  350. }
  351. .el-tree-node__label {
  352. font-size: 12px;
  353. position: relative;
  354. left: -10px;
  355. }
  356. .el-icon-caret-right {
  357. font-family: 'iconfont' !important;
  358. font-size: 8px;
  359. margin: 0;
  360. }
  361. .el-icon-caret-right::before {
  362. content: '\e738';
  363. }
  364. .el-tree-node__content>.el-tree-node__expand-icon {
  365. padding: 16px;
  366. }
  367. .tree-node {
  368. display: flex;
  369. align-items: center;
  370. justify-content: space-between;
  371. width: 100%;
  372. position: relative;
  373. left: -10px;
  374. .tree-node-label {
  375. font-size: 12px;
  376. }
  377. .btn .el-button {
  378. padding: 5px 10px;
  379. }
  380. }
  381. }
  382. .input-message.el-message-box {
  383. .el-message-box__content {
  384. padding-bottom: 6px;
  385. }
  386. }
  387. .el-picker-panel.el-date-picker.el-popper {
  388. background: $--color-background;
  389. box-shadow: none;
  390. border: none;
  391. color: $--color-common;
  392. .el-scrollbar__wrap {
  393. overflow-y: auto;
  394. }
  395. .el-scrollbar__bar {
  396. display: none !important;
  397. }
  398. .el-date-picker__header-label,
  399. .el-picker-panel__icon-btn,
  400. .el-date-table th {
  401. color: $--color-common;
  402. border-color: $--color-border;
  403. }
  404. }
  405. .el-picker-panel.time-select {
  406. background: $--color-background;
  407. border: none;
  408. .time-select-item {
  409. color: $--color-common;
  410. }
  411. .el-picker-panel__content.el-scrollbar__wrap {
  412. overflow-y: auto;
  413. }
  414. .el-scrollbar__bar {
  415. display: none !important;
  416. }
  417. .time-select-item:hover {
  418. background: $--color-background-hover;
  419. color: $--color-common;
  420. font-weight: 400;
  421. }
  422. .time-select-item.selected {
  423. color: $--color-primary;
  424. font-weight: 400;
  425. }
  426. }
  427. .el-picker-panel{
  428. .el-picker-panel__footer{
  429. background: $--color-background;
  430. border-color: $--color-border;
  431. }
  432. .el-date-picker__time-header{
  433. border-color: $--color-border;
  434. }
  435. .el-time-panel.el-popper{
  436. background: $--color-background;
  437. border-color: $--color-border;
  438. }
  439. .el-time-spinner__item{
  440. color: $--color-common;
  441. }
  442. .el-time-spinner__item.active:not(.disabled),.el-time-panel__btn{
  443. color: $--color-primary;
  444. }
  445. .el-time-spinner__item:hover:not(.disabled):not(.active){
  446. background: $--color-background-hover;
  447. }
  448. .el-time-panel__content::after, .el-time-panel__content::before,.el-time-panel__footer{
  449. border-color: #636363;
  450. }
  451. .el-button.is-plain:hover, .el-button.is-plain:focus{
  452. background: transparent;
  453. }
  454. }
  455. .hui-state {
  456. display: flex;
  457. align-items: center;
  458. .hui-state-bage {
  459. width: 8px;
  460. height: 8px;
  461. border-radius: 50%;
  462. margin-right: 6px;
  463. }
  464. .hui-state-label {
  465. color: rgba(255, 255, 255, 0.65);
  466. }
  467. .hui-state-success {
  468. background: $--color-green;
  469. }
  470. .hui-state-error {
  471. background: $--color-red;
  472. }
  473. .hui-state-info {
  474. background: $--color-orange;
  475. }
  476. .hui-state-primary {
  477. background: $--color-primary;
  478. }
  479. .hui-state-common{
  480. background: #FFC073;
  481. }
  482. .hui-state-major{
  483. background: #F04243;
  484. }
  485. .hui-state-urgent{
  486. background: #A20001;
  487. }
  488. }
  489. .hui-switch {
  490. position: relative;
  491. display: inline-block;
  492. width: 40px;
  493. height: 20px;
  494. input {
  495. opacity: 0;
  496. width: 0;
  497. height: 0;
  498. }
  499. .slider {
  500. position: absolute;
  501. cursor: pointer;
  502. top: 0;
  503. left: 0;
  504. right: 0;
  505. bottom: 0;
  506. background-color: rgba(255, 255, 255, 0.2);
  507. -webkit-transition: .4s;
  508. transition: .4s;
  509. border: 1px solid #DCDFE6;
  510. }
  511. .slider:before {
  512. position: absolute;
  513. content: "";
  514. height: 16px;
  515. width: 16px;
  516. left: 1px;
  517. bottom: 1px;
  518. background-color: white;
  519. -webkit-transition: .4s;
  520. transition: .4s;
  521. }
  522. input:checked+.slider {
  523. background-color: rgb(19, 206, 102);
  524. }
  525. input:checked+.slider:before {
  526. -webkit-transform: translateX(20px);
  527. -ms-transform: translateX(20px);
  528. transform: translateX(20px);
  529. }
  530. .slider.round {
  531. border-radius: 20px;
  532. }
  533. .slider.round:before {
  534. border-radius: 50%;
  535. }
  536. }
  537. .box-background {
  538. background: $--box-background;
  539. }
  540. .yui-tree-box {
  541. display: flex;
  542. background: $--background;
  543. width: 100%;
  544. height: 100%;
  545. .hui-left-tree {
  546. width: 250px;
  547. box-sizing: border-box;
  548. height: 100%;
  549. display: flex;
  550. flex-direction: column;
  551. background: $--box-background;
  552. .hui-left-tree-title {
  553. height: 42px;
  554. border-radius: 2px;
  555. display: flex;
  556. align-items: center;
  557. padding: 0 12px;
  558. border-bottom: 1px solid $--color-border;
  559. }
  560. .hui-left-tree-content {
  561. flex: 1;
  562. height: 0;
  563. overflow-y: auto;
  564. .collapse-title {
  565. flex: 1;
  566. width: 0;
  567. display: flex;
  568. align-items: center;
  569. }
  570. }
  571. .hui-left-tree-sub {
  572. font-weight: 600;
  573. margin-left: 8px;
  574. flex: 1;
  575. width: 0;
  576. }
  577. }
  578. .project-list {
  579. .project-list-item {
  580. height: 32px;
  581. display: flex;
  582. align-items: center;
  583. padding: 0 15px;
  584. cursor: pointer;
  585. border-bottom: 1px solid rgba(65, 71, 87, 0.8);
  586. box-sizing: border-box;
  587. .huifont-shuzhuangcaidantubiao {
  588. font-size: 22px;
  589. }
  590. .project-item-name {
  591. margin-left: 2px;
  592. font-size: 12px;
  593. }
  594. }
  595. .project-list-item:hover,
  596. .project-list-item.active {
  597. background: #262C38;
  598. }
  599. }
  600. .hui-tree-content {
  601. width: 0;
  602. flex: 1;
  603. height: 100%;
  604. padding-left: 10px;
  605. }
  606. .el-collapse {
  607. border: none;
  608. .el-collapse-item__header {
  609. background: #1E2430;
  610. color: $--color-common !important;
  611. border-color: $--color-border;
  612. height: 32px;
  613. line-height: 32px;
  614. font-size: 12px;
  615. padding: 0 14px;
  616. .el-collapse-name {
  617. flex: 1;
  618. width: 0;
  619. overflow: hidden;
  620. }
  621. .iconfont {
  622. color: $--color-common !important;
  623. margin-right: 6px;
  624. }
  625. .huifont-bumen {
  626. font-size: 16px;
  627. }
  628. .huifont-shuzhuangcaidantubiao,
  629. .huifont-moxingguanli {
  630. font-size: 18px;
  631. }
  632. }
  633. .el-collapse-item__wrap {
  634. background: #151c26;
  635. border: none;
  636. }
  637. .el-collapse-item__header.is-active,
  638. .el-collapse-item__header:hover,
  639. .el-collapse-item__header:focus {
  640. color: $--color-common;
  641. background: #262C38;
  642. }
  643. .el-icon-arrow-right {
  644. font-family: 'iconfont' !important;
  645. font-size: 9px;
  646. margin: 0;
  647. }
  648. .el-icon-arrow-right::before {
  649. content: '\e738';
  650. }
  651. .el-collapse-item__content {
  652. padding-bottom: 0;
  653. color: $--color-common;
  654. font-size: 12px;
  655. }
  656. }
  657. }
  658. .el-color-dropdown.el-color-picker__panel {
  659. background: $--color-background;
  660. border: none;
  661. .el-button.is-plain:hover,
  662. .el-button.is-plain:focus {
  663. background: transparent;
  664. }
  665. .el-color-dropdown__btns {
  666. height: 28px;
  667. line-height: 28px;
  668. }
  669. }
  670. .el-color-picker {
  671. .el-color-picker__trigger {
  672. border-color: $--input-border
  673. }
  674. }
  675. .el-select-dropdown.is-multiple .el-select-dropdown__item.selected {
  676. background-color: $--color-background-hover !important;
  677. }
  678. .el-dropdown-menu.el-popper {
  679. padding: 8px;
  680. background: $--color-background;
  681. border: none;
  682. .el-dropdown-menu__item {
  683. color: $--color-common;
  684. padding: 6px 40px 6px 16px;
  685. line-height: normal;
  686. border-radius: 4px;
  687. }
  688. .el-dropdown-menu__item:not(.is-disabled):hover,
  689. .el-dropdown-menu__item:focus {
  690. background: $--color-background-hover;
  691. color: $--color-common;
  692. }
  693. }
  694. .el-tabs--top .el-tabs__item.is-top:nth-child(2),
  695. .el-tabs--top .el-tabs__item.is-bottom:nth-child(2),
  696. .el-tabs--bottom .el-tabs__item.is-top:nth-child(2),
  697. .el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2) {
  698. padding-left: 0;
  699. }
  700. .el-tabs {
  701. .el-tabs__header {
  702. margin-bottom: 22px;
  703. }
  704. .el-tabs__item {
  705. color: $--color-common;
  706. box-shadow: none;
  707. height: 36px;
  708. line-height: 36px;
  709. transition: none;
  710. padding: 0 14px;
  711. }
  712. .el-tabs__item.is-active {
  713. color: $--color-primary;
  714. }
  715. .el-tabs__active-bar,
  716. .el-tabs__nav-wrap::after {
  717. height: 1px;
  718. }
  719. .el-tabs__nav-wrap::after {
  720. background-color: $--color-border;
  721. }
  722. }
  723. .hui-tag {
  724. display: inline-block;
  725. border: 1px solid $--color-primary;
  726. padding: 0 5px;
  727. border-radius: 2px;
  728. color: $--color-primary;
  729. overflow: hidden;
  730. position: relative;
  731. font-size: 12px;
  732. line-height: 18px;
  733. box-sizing: border-box;
  734. }
  735. .hui-tag::before {
  736. content: '';
  737. width: 100%;
  738. height: 100%;
  739. background: $--color-primary;
  740. opacity: 0.1;
  741. position: absolute;
  742. left: 0;
  743. top: 0;
  744. }
  745. .hui-tag.hui-tag-success {
  746. border-color: $--color-green;
  747. color: $--color-green;
  748. }
  749. .hui-tag.hui-tag-success::before {
  750. background: $--color-green;
  751. }
  752. .hui-tag.hui-tag-warning {
  753. border-color: $--color-orange;
  754. color: $--color-orange;
  755. }
  756. .hui-tag.hui-tag-warning::before {
  757. background: $--color-orange;
  758. }
  759. .hui-tag.hui-tag-error {
  760. border-color: $--color-red;
  761. color: $--color-red;
  762. }
  763. .hui-tag.hui-tag-error::before {
  764. background: $--color-red;
  765. }
  766. .hui-tag.hui-tag-info {
  767. border-color: $--color-common;
  768. color: $--color-common;
  769. }
  770. .hui-tag.hui-tag-info::before {
  771. background: $--color-common;
  772. }
  773. .hui-alert {
  774. width: 100%;
  775. .hui-alert-box {
  776. width: 275px;
  777. height: 26px;
  778. border-radius: 2px;
  779. border: 1px solid rgba(51, 113, 255, 0.4);
  780. position: relative;
  781. overflow: hidden;
  782. display: flex;
  783. align-items: center;
  784. color: $--color-primary;
  785. font-size: 12px;
  786. padding: 0 10px;
  787. margin: 0 auto;
  788. span {
  789. margin-left: 5px;
  790. flex: 1;
  791. width: 0;
  792. overflow: hidden;
  793. }
  794. }
  795. .hui-alert-box::before {
  796. content: '';
  797. position: absolute;
  798. background: $--color-primary;
  799. opacity: 0.11;
  800. left: 0;
  801. right: 0;
  802. top: 0;
  803. bottom: 0;
  804. }
  805. }
  806. .hui-chart-title {
  807. background-image: url(./assets/image/common/chart-title.png);
  808. background-size: contain;
  809. background-repeat: no-repeat;
  810. line-height: 32px;
  811. font-weight: 600;
  812. padding-left: 15px;
  813. color: #D2E4FF;
  814. display: flex;
  815. align-items: center;
  816. justify-content: space-between;
  817. font-size: 14px;
  818. .select{
  819. width: 96px;
  820. }
  821. .year-picker{
  822. width: 170px;
  823. }
  824. }
  825. .hui-chart-tip {
  826. width: 100px;
  827. font-size: 12px;
  828. .hui-tip-title {
  829. font-size: 20px;
  830. font-family: 'YouSheBiaoTiHei';
  831. color: #FFFFFF;
  832. line-height: 26px;
  833. text-shadow: 0px 0px 8px rgba(51, 113, 255, 0.6);
  834. margin-bottom: 10px;
  835. }
  836. .hui-tip-box {
  837. width: 100%;
  838. padding: 8px 14px;
  839. background: linear-gradient(270deg, rgba(0, 4, 10, 0) 0%, rgba(0, 4, 10, 0.18) 100%);
  840. border-left: 2px solid rgba(97, 133, 214, 0.48);
  841. }
  842. .hui-tip-item {
  843. display: flex;
  844. align-items: center;
  845. line-height: 17px;
  846. padding: 8px 0;
  847. }
  848. .hui-tip-dage {
  849. width: 8px;
  850. height: 8px;
  851. margin-right: 5px;
  852. border-radius: 8px;
  853. }
  854. .hui-tip-name {
  855. flex: 1;
  856. width: 0;
  857. overflow: hidden;
  858. }
  859. .cyan {
  860. background: $--color-cyan;
  861. }
  862. .blue {
  863. background: $--color-blue2;
  864. }
  865. .red {
  866. background: $--color-red;
  867. }
  868. .orange {
  869. background: $--color-orange1;
  870. }
  871. .gray {
  872. background: $--color-gray;
  873. }
  874. }
  875. .alarm-table-box {
  876. .alarm-title {
  877. padding: 20px 20px 0 20px;
  878. }
  879. .alarm-table {
  880. padding: 0 20px;
  881. margin-bottom: 20px;
  882. .alarm-tr {
  883. background-color: rgba(97, 133, 214, 0.05);
  884. margin-bottom: 4px;
  885. }
  886. .alarm-tr:last-child {
  887. margin-bottom: 0;
  888. }
  889. }
  890. .alarm-tr {
  891. height: 36px;
  892. display: flex;
  893. align-items: center;
  894. font-size: 12px;
  895. padding: 0 12px;
  896. .tr-100 {
  897. width: 100px;
  898. }
  899. .tr-flex {
  900. flex: 1;
  901. width: 0;
  902. }
  903. .tr-130 {
  904. width: 130px;
  905. }
  906. .tr-50 {
  907. width: 50px;
  908. }
  909. .tr-80 {
  910. width: 80px;
  911. }
  912. .tr-center{
  913. text-align: center;
  914. }
  915. .tr-150 {
  916. width: 150px;
  917. }
  918. }
  919. .alarm-tr>span{
  920. overflow: hidden;
  921. white-space: nowrap;
  922. text-overflow: ellipsis;
  923. }
  924. }
  925. .hui-test-alarm {
  926. width: 100%;
  927. height: 306px;
  928. display: flex;
  929. .test-box {
  930. width: 280px;
  931. .test-item {
  932. height: 94px;
  933. background: #141A24;
  934. display: flex;
  935. align-items: center;
  936. padding-left: 24px;
  937. color: #D2E4FF;
  938. margin-bottom: 12px;
  939. }
  940. .test-item:last-child {
  941. margin-bottom: 0;
  942. }
  943. .test-label {
  944. flex: 1;
  945. width: 0;
  946. overflow: hidden;
  947. }
  948. .test-value {
  949. font-size: 24px;
  950. margin-top: 5px;
  951. }
  952. .test-icon {
  953. width: 56px;
  954. height: 56px;
  955. background: #3371FF;
  956. border-radius: 20px;
  957. display: flex;
  958. align-items: center;
  959. justify-content: center;
  960. margin-right: 16px;
  961. i {
  962. font-size: 32px;
  963. color: #e6e6e6;
  964. }
  965. }
  966. .green {
  967. background: $--color-green;
  968. }
  969. .gray {
  970. background: #AFB9CC;
  971. }
  972. .purple {
  973. background: #9D60FB;
  974. }
  975. .red {
  976. background: $--color-red;
  977. }
  978. }
  979. .alarm-table-box{
  980. flex: 1;
  981. width: 0;
  982. background: #141A24;
  983. height: 100%;
  984. margin-left: 12px;
  985. }
  986. }
  987. .color-primary {
  988. color: $--color-primary;
  989. }
  990. .color-cyan{
  991. color: $--color-cyan;
  992. }
  993. .color-green{
  994. color: $--color-green;
  995. }
  996. .color-purple {
  997. color: #9D60FB;
  998. }
  999. .color-red {
  1000. color: $--color-red;
  1001. }
  1002. .color-gray {
  1003. color: $--color-gray;
  1004. }
  1005. .color-blue {
  1006. color: $--color-blue2;
  1007. }
  1008. .color-orange {
  1009. color: $--color-orange1;
  1010. }
  1011. .color-yellow {
  1012. color: $--color-yellow;
  1013. }
  1014. .color-font{
  1015. color: $--color-font;
  1016. }
  1017. .color-common{
  1018. color: $--color-common;
  1019. }
  1020. .color-orange1{
  1021. color:#FFC073;
  1022. }
  1023. .legend-box {
  1024. display: flex;
  1025. align-items: center;
  1026. justify-content: center;
  1027. position: absolute;
  1028. .legend-item {
  1029. display: flex;
  1030. align-items: center;
  1031. margin-right: 20px;
  1032. }
  1033. .legend-page {
  1034. width: 8px;
  1035. height: 8px;
  1036. margin-right: 4px;
  1037. }
  1038. .legend-name {
  1039. font-size: 12px;
  1040. }
  1041. }
  1042. .hui-operation {
  1043. width: 100%;
  1044. display: flex;
  1045. .operation-item {
  1046. flex: 1;
  1047. height: 88px;
  1048. background: #1E2430;
  1049. border-radius: 8px;
  1050. padding: 20px 15px;
  1051. margin-right: 10px;
  1052. }
  1053. .operation-test {
  1054. width: 100%;
  1055. height: 6px;
  1056. background: #283040;
  1057. border-radius: 6px;
  1058. position: relative;
  1059. z-index: 9;
  1060. }
  1061. .test-number {
  1062. position: absolute;
  1063. top: 0;
  1064. left: 0;
  1065. bottom: 0;
  1066. border-radius: 6px;
  1067. }
  1068. .operation-label {
  1069. display: flex;
  1070. justify-content: space-between;
  1071. margin-bottom: 14px;
  1072. .label {
  1073. opacity: 0.7;
  1074. }
  1075. .number {
  1076. font-size: 20px;
  1077. }
  1078. }
  1079. }
  1080. .tank-label {
  1081. display: flex;
  1082. align-items: center;
  1083. padding: 16px 20px;
  1084. background: #1E2430;
  1085. border-radius: 8px;
  1086. margin-top: 16px;
  1087. .tank-icon {
  1088. width: 36px;
  1089. height: 36px;
  1090. background: #37B6BA;
  1091. border-radius: 12px;
  1092. text-align: center;
  1093. line-height: 36px;
  1094. margin-right: 8px;
  1095. i {
  1096. font-size: 20px;
  1097. color: #fff;
  1098. }
  1099. }
  1100. .label {
  1101. flex: 1;
  1102. width: 0;
  1103. }
  1104. .number {
  1105. font-size: 20px;
  1106. margin-right: 6px;
  1107. }
  1108. .unit {
  1109. opacity: 0.6;
  1110. }
  1111. }
  1112. .bim-box {
  1113. flex: 1;
  1114. height: 0;
  1115. background: rgba(0, 4, 10, 0.3);
  1116. margin-top: 12px;
  1117. }
  1118. .combination-select{
  1119. display: flex;
  1120. align-items: center;
  1121. .el-select{
  1122. width: 96px;
  1123. margin-right: 8px;
  1124. }
  1125. .el-range-editor--mini.el-input__inner {
  1126. height: 21px;
  1127. padding: 0 7px;
  1128. width: 210px;
  1129. .el-range-input{
  1130. width: 70px;
  1131. color:$--color-common;
  1132. text-align: center;
  1133. }
  1134. .el-range__close-icon{
  1135. width: 20px;
  1136. }
  1137. }
  1138. .el-range-editor--mini.el-input__inner .el-range-separator {
  1139. color: #607182;
  1140. width: 22px;
  1141. line-height: 18px;
  1142. }
  1143. .el-range-editor--mini .el-range-input::placeholder {
  1144. color: #607182;
  1145. }
  1146. }
  1147. .el-picker-panel.el-date-range-picker.el-popper {
  1148. color: $--color-common;
  1149. border: none;
  1150. background: $--color-background;
  1151. .el-date-range-picker__content.is-left,
  1152. .el-date-table th {
  1153. border-color: $--color-border;
  1154. }
  1155. .el-date-table td.in-range div,
  1156. .el-date-table td.in-range div:hover,
  1157. .el-date-table.is-week-mode .el-date-table__row.current div,
  1158. .el-date-table.is-week-mode .el-date-table__row:hover div {
  1159. background: $--color-background-hover;
  1160. }
  1161. .el-date-table td.next-month,
  1162. .el-date-table td.prev-month {
  1163. color: #636363;
  1164. }
  1165. }
  1166. //dialog
  1167. .document-dialog{
  1168. .pdf-iframe {
  1169. border: none;
  1170. padding: 0;
  1171. margin: 0;
  1172. }
  1173. .el-dialog {
  1174. background: #fff !important;
  1175. height: 80vh;
  1176. margin-top: 10vh !important;
  1177. display: flex;
  1178. flex-direction: column;
  1179. .el-dialog__header {
  1180. padding: 15px 20px;
  1181. border-bottom: 1px solid #CECFD3;
  1182. .el-icon-close {
  1183. font-family: "iconfont" !important;
  1184. font-size: 18px;
  1185. color: #CACACA;
  1186. }
  1187. .el-icon-close::before {
  1188. content: "\e72f";
  1189. }
  1190. }
  1191. .el-dialog__title {
  1192. color: #222222;
  1193. font-size: 16px;
  1194. font-weight: 500;
  1195. }
  1196. .el-dialog__body {
  1197. padding: 0;
  1198. flex: 1;
  1199. height: 0;
  1200. color: #222222;
  1201. }
  1202. .el-button--medium{
  1203. padding: 8px 16px;
  1204. }
  1205. .el-button--default{
  1206. color: #666666;
  1207. border: 1px solid rgba(0,0,0,0.15);
  1208. }
  1209. .hui-dialog-submit{
  1210. border-top: 1px solid #CECFD3;
  1211. padding: 15px 20px;
  1212. }
  1213. }
  1214. }
  1215. .el-alert.is-light {
  1216. background-color: #141C27 !important;
  1217. border: none !important;
  1218. border-radius: 2px;
  1219. .el-alert__icon {
  1220. margin-right: 8px;
  1221. font-family: "iconfont" !important;
  1222. font-size: 16px;
  1223. }
  1224. .el-alert__content {
  1225. color: $--color-common !important;
  1226. line-height: 22px;
  1227. }
  1228. }
  1229. .el-alert--success {
  1230. .el-icon-success {
  1231. color: $--color-green;
  1232. }
  1233. .el-icon-success::before {
  1234. content: '\e73c';
  1235. }
  1236. }
  1237. .el-alert--success {
  1238. .el-icon-success {
  1239. color: $--color-green;
  1240. }
  1241. .el-icon-success::before {
  1242. content: '\e73c';
  1243. }
  1244. }
  1245. .el-alert--error {
  1246. .el-icon-error {
  1247. color: $--color-red;
  1248. margin-top: 2px;
  1249. }
  1250. .el-icon-error::before {
  1251. content: '\e73a';
  1252. }
  1253. }
  1254. .el-alert--warning {
  1255. .el-icon-warning {
  1256. color: $--color-orange;
  1257. margin-top: 1px;
  1258. }
  1259. .el-icon-warning::before {
  1260. content: '\e73b';
  1261. }
  1262. }
  1263. .custom-tree-node{
  1264. width: 100%;
  1265. display: flex;
  1266. align-items: center;
  1267. padding-right: 10px;
  1268. .label{
  1269. flex: 1;
  1270. width: 0;
  1271. overflow: hidden;
  1272. font-size: 12px;
  1273. }
  1274. .iconfont{
  1275. font-size: 19px;
  1276. }
  1277. .el-icon-place{
  1278. font-size: 16px;
  1279. }
  1280. .el-icon-more{
  1281. color: $--color-common;
  1282. }
  1283. .active{
  1284. color: $--color-primary;
  1285. }
  1286. }
  1287. .el-notification{
  1288. background: #3b3f49 !important;
  1289. border: none !important;
  1290. .el-notification__title,
  1291. .el-notification__content{
  1292. color: $--color-common;
  1293. }
  1294. }