物管理前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3224 lines
64 KiB

  1. //============================================================base.less 开始=============================================//
  2. //定义基础色
  3. //主色
  4. body {
  5. --color-primary: #409eff;
  6. --color-primary-light: rgb(64 158 255 / 8%);
  7. }
  8. input[type='number']::-webkit-inner-spin-button,
  9. input[type='number']::-webkit-outer-spin-button {
  10. -webkit-appearance: none;
  11. margin: 0;
  12. }
  13. @--color-primary: ~'var(--color-primary)';
  14. @--color-primary-light: ~'var(--color-primary-light)';
  15. @--text-regular-color: ~'var(--el-text-color-regular)';
  16. @text: #595959;
  17. @text-2: #8c8c8c;
  18. @tree-text-color: #ffffff;
  19. //导航菜单
  20. @dark-text: rgb(255 255 255 / 66%);
  21. @dark-text-active: #eee;
  22. @dark-bg: rgb(24, 24, 28);
  23. @dark-bg-2: #101014;
  24. @menu-bg-normal: rgb(24, 24, 28);
  25. @light-text: @text;
  26. @light-text-active: @--color-primary;
  27. @light-bg: @text-regular-color;
  28. @text-regular-color: @text-regular-color;
  29. @light-bg-active: @--color-primary-light;
  30. @primary-text: rgb(255 255 255 / 66%);
  31. @primary-text-2: rgb(255 255 255 / 65%);
  32. @primary-text-active: @text-regular-color;
  33. @primary-bg: @--color-primary;
  34. @primary-bg-light: @--color-primary-light;
  35. @primary-bg-active: @--color-primary-light;
  36. // 按钮文字颜色始终为白色
  37. .el-button--primary {
  38. //color: #ffffff;
  39. // background-color: var(--color-primary) !important;
  40. //border-color: var(--color-primary) !important;
  41. }
  42. @text-regular-color: #fff;
  43. @input-bg-color: #0c2852;
  44. @border-color: #274778;
  45. @tr-bg-color: rgb(23, 37, 70);
  46. @tr-hover-bg-color: rgba(64, 66, 71, 0.5);
  47. @text-color: #d7d7d7;
  48. @selected-bg-color: rgba(0, 39, 137, 0.5);
  49. @check-box-background-color: #274778;
  50. @check-box-checked-background-color: #274778;
  51. //@check-box-border-color: #0B6CA3;
  52. @check-box-border-color: #0594d9;
  53. @block-bg-color: #172546;
  54. @block-active-bg-color: '#162E5A';
  55. @view-ctx-bg-color: #121d3d;
  56. @rr-view-tab-bg: #193567;
  57. @el-tabs-item-color: rgba(255, 255, 255, 0.9);
  58. @el-tabs-item-isActive-color: rgba(255, 255, 255, 0.9);
  59. @el-tabs-item-isActive-bg: #182652;
  60. @select-dropdown-hover-bg: rgb(23, 37, 70);
  61. @tr-hightlight-row-bg: 'rgba(0, 39, 137, 0.5)';
  62. @el-date-table-td-disabled: #232e3f;
  63. @el-radio-button__inner: transparent;
  64. @monitor-usage-chart-border-color: '#274778';
  65. @iot-relation-view-bg: #293e6b;
  66. @list-item-detail-table-td: #182246;
  67. @list-item-detail-table-td-odd: #242e50;
  68. @device-board-setting-bg: #112043;
  69. @el-tree-node-hover-bg-color: #172546;
  70. @hightlight-title-color: #0ee9e9;
  71. .rr-view-ctx {
  72. background: @dark-bg-2;
  73. height: calc(100% - 39px);
  74. .rr-view-ctx-card {
  75. position: relative;
  76. height: 100%;
  77. background: @block-bg-color;
  78. overflow: auto;
  79. }
  80. ::v-deep .el-card__body {
  81. position: relative;
  82. height: 100%;
  83. }
  84. }
  85. .el-input {
  86. input.el-input__inner {
  87. //background: @input-bg-color !important;
  88. //border: 1px solid #DCDFE6;
  89. //color: @text-color !important;
  90. &::placeholder {
  91. // color: @text-2;
  92. }
  93. }
  94. .el-input__wrapper {
  95. //padding: 0 !important;
  96. }
  97. // --el-disabled-text-color: @text-2 !important;
  98. //--el-input-border-color: @border-color !important;
  99. // --el-disabled-border-color: @border-color !important;
  100. }
  101. .el-input-number {
  102. // --el-bg-color: @input-bg-color !important;
  103. //--el-border-base: var(--el-border-width-base) var(--el-border-style-base) @border-color !important;
  104. // --el-text-color-regular: @text-regular-color !important;
  105. }
  106. .el-select-v2__wrapper {
  107. //background: @input-bg-color !important;
  108. //border-color: @border-color !important;
  109. // --el-text-color-placeholder: @text-2 !important;
  110. }
  111. .el-select-dropdown__option-item {
  112. //color: @text-color !important;
  113. //--el-bg-color: @tr-bg-color !important;
  114. // font-size: var(--el-font-size-base) !important;
  115. }
  116. //.el-date-editor {
  117. // input.el-range-input {
  118. // background: @input-bg-color !important;
  119. // //border: 1px solid #DCDFE6;
  120. // color: @text-color !important;
  121. //
  122. // &::placeholder {
  123. // color: @text-2;
  124. // }
  125. // }
  126. //
  127. // .el-range-separator {
  128. // color: @text-2 !important;
  129. // }
  130. //
  131. // --el-input-bg-color: @input-bg-color !important;
  132. // --el-disabled-text-color: @text-2 !important;
  133. // --el-input-border-color: @border-color !important;
  134. // --el-disabled-border-color: @border-color !important;
  135. //}
  136. //
  137. //.el-date-table td.disabled .el-date-table-cell {
  138. // background: @el-date-table-td-disabled !important;
  139. //}
  140. //
  141. //div.el-date-picker {
  142. // --el-datepicker-text-color: @text-color !important;
  143. // --el-datepicker-hover-text-color: var(--el-color-primary) !important;
  144. //}
  145. //
  146. //.el-date-picker__header-label {
  147. // color: @text-color !important;
  148. //}
  149. //
  150. //textarea.el-textarea__inner {
  151. // --el-input-bg-color: @input-bg-color !important;
  152. // color: @text-regular-color !important;
  153. //
  154. // &::placeholder {
  155. // color: @text-2;
  156. // }
  157. //
  158. // --el-input-border-color: @border-color !important;
  159. // --el-disabled-bg-color: @input-bg-color !important;
  160. //
  161. //}
  162. //
  163. //
  164. //.el-select__popper .el-popper__arrow::before {
  165. // background: @input-bg-color !important;
  166. // border-color: @border-color !important;
  167. //}
  168. //
  169. //.el-popper.is-light .el-popper__arrow::before {
  170. // background: @input-bg-color !important;
  171. //}
  172. //
  173. //.el-select-dropdown__item {
  174. // color: @text-color !important;
  175. //
  176. // &:hover {
  177. // background: @select-dropdown-hover-bg !important;
  178. // }
  179. //
  180. // --el-bg-color: @tr-bg-color !important;
  181. //
  182. // &.selected {
  183. // background: @tr-bg-color !important;
  184. //
  185. // }
  186. //}
  187. //
  188. //.el-steps {
  189. // --el-bg-color: @tr-bg-color !important;
  190. //
  191. // .el-step__title.is-process, .el-step__head.is-process {
  192. // --el-text-color-primary: var(--el-color-primary);
  193. // }
  194. //
  195. //}
  196. @el-table-thead-th-bg: #1f3059;
  197. @el-table-cell-hover-bg: #24355e;
  198. @el-table-row-striped-cell-bg: #1e2c4f;
  199. @fixColumn-hover-bg: rgba(0, 39, 137, 1);
  200. //.el-table {
  201. // border-radius: 6px;
  202. //
  203. // thead th {
  204. // background: @el-table-thead-th-bg !important;
  205. // color: @text-color !important;
  206. // font-size: 16px;
  207. // }
  208. //
  209. // .td.el-table__cell{
  210. // &:hover {
  211. // background: @el-table-cell-hover-bg !important;
  212. // //background: rgba(30, 44, 79, 1) !important;
  213. // }
  214. // }
  215. //
  216. // tr.el-table__row--striped td.el-table__cell {
  217. // background: @el-table-row-striped-cell-bg !important;
  218. //
  219. // }
  220. //
  221. // tr td.el-table-fixed-column--right {
  222. // background: @tr-bg-color !important;
  223. //
  224. // &:hover {
  225. // background: @fixColumn-hover-bg !important;
  226. // }
  227. // }
  228. //
  229. // .el-table__expand-icon {
  230. // color: var(--el-text-color-placeholder) !important;
  231. // }
  232. //
  233. // .el-table-column--selection {
  234. // label.el-checkbox {
  235. // .el-checkbox__inner {
  236. // background: @check-box-checked-background-color !important;
  237. // border-color: @check-box-border-color !important;
  238. // }
  239. // }
  240. // label.el-checkbox.is-checked {
  241. // .el-checkbox__inner {
  242. // background: @check-box-checked-background-color !important;
  243. // border-color: @check-box-border-color !important;
  244. // }
  245. // }
  246. // }
  247. //
  248. //
  249. // --el-table-text-color: @text-color !important;
  250. // --el-table-border-color: @border-color !important;
  251. // --el-table-border: 1px solid @border-color !important;
  252. // --el-table-tr-bg-color: @tr-bg-color !important;
  253. // --el-table-bg-color: @tr-bg-color !important;
  254. // --el-table-row-hover-bg-color: @selected-bg-color !important;
  255. // --el-table-current-row-bg-color: @selected-bg-color !important;
  256. // --el-table-expanded-cell-bg-color: @tr-bg-color !important;
  257. //}
  258. @pager-active-color: #3b99f0;
  259. //.el-pagination {
  260. // color: @text-color !important;
  261. //
  262. // .btn-prev, .btn-next {
  263. // border: 1px solid @border-color;
  264. // border-radius: 4px;
  265. // }
  266. //
  267. // .btn-prev {
  268. // margin-right: 5px;
  269. // }
  270. //
  271. // ul.el-pager {
  272. // li {
  273. // border: 1px solid @border-color;
  274. // border-radius: 4px;
  275. //
  276. // &:not(last-child) {
  277. // margin-right: 5px;
  278. // }
  279. //
  280. // &:first-child {
  281. // margin-left: 5px;
  282. // }
  283. //
  284. // &.active {
  285. // border-color: @pager-active-color;
  286. // color: @pager-active-color;
  287. // }
  288. // }
  289. //
  290. // li.active + li {
  291. // border: 1px solid @border-color;
  292. // }
  293. // }
  294. //
  295. // --el-pagination-bg-color: @tr-bg-color !important;
  296. // --el-text-color-regular: @text-color !important;
  297. // --el-pagination-button-color: @border-color !important;
  298. // --el-pagination-button-disabled-bg-color: @tr-bg-color !important;
  299. //}
  300. //.el-loading-mask {
  301. // background: @tr-bg-color !important;
  302. //}
  303. @dialog-bg-color: #162e5a;
  304. @dialog-header-bg: #234daf;
  305. @dialog-footer-border-top: 1px solid @--text-regular-color;
  306. @dialog-el-input-border: 1px solid rgba(#1d3d77, 0.1);
  307. .el-dialog {
  308. //--el-dialog-bg-color: @dialog-bg-color !important;
  309. .el-dialog__header {
  310. text-align: center;
  311. //background: @dialog-header-bg;
  312. margin: 0 !important;
  313. padding: 16px 0;
  314. //border-bottom: 1px solid var(--el-border-color);
  315. }
  316. .el-dialog__title {
  317. //color: @text-color;
  318. }
  319. .el-dialog__footer {
  320. border-top: 1px solid var(--el-border-color);
  321. }
  322. .el-dialog__headerbtn {
  323. top: 0;
  324. .el-dialog__close {
  325. // color: @text-regular-color !important;
  326. &:hover {
  327. // color: @check-box-border-color !important;
  328. }
  329. }
  330. }
  331. .el-input {
  332. //border: @dialog-el-input-border !important;
  333. }
  334. }
  335. .el-form-item__label {
  336. //color: @text-color !important;
  337. }
  338. .el-radio {
  339. //--el-radio-text-color: @text-color !important;
  340. }
  341. .el-input-group__append {
  342. //--el-bg-color: @tr-bg-color !important;
  343. }
  344. .el-upload--picture-card,
  345. .el-upload-list__item {
  346. // background: @input-bg-color !important;
  347. //border-color: @border-color !important;
  348. display: flex;
  349. align-items: center;
  350. justify-content: center;
  351. }
  352. .el-tabs--border-card {
  353. // background: @tr-bg-color !important;
  354. //--el-border-color-base: @border-color !important;
  355. .el-tabs__item {
  356. // background: @tr-bg-color !important;
  357. // border-color: @border-color !important;
  358. }
  359. }
  360. .el-tabs__nav {
  361. //border-color: @border-color !important;
  362. }
  363. .el-tabs__header {
  364. //border-color: @border-color !important;
  365. }
  366. .el-tabs__item {
  367. // border-left-color: @border-color !important;
  368. &.is-active {
  369. // border-color: @border-color !important;
  370. }
  371. // --el-text-color-primary: @text-color !important;
  372. }
  373. .el-button--text {
  374. // --el-color-primary: @text-color;
  375. }
  376. .el-button {
  377. &.is-text {
  378. // color: @text-color !important;
  379. &:hover {
  380. // color: @--color-primary !important;
  381. }
  382. }
  383. }
  384. .el-tree {
  385. background: transparent !important;
  386. //--el-tree-node-hover-bg-color: @el-tree-node-hover-bg-color !important;
  387. //--el-tree-text-color: @text-color !important;
  388. .el-tree-node.is-current > .el-tree-node__content {
  389. color: @--color-primary;
  390. }
  391. .el-tree-node.is-current > .el-tree-node__content {
  392. // background: @el-tree-node-hover-bg-color !important;
  393. }
  394. }
  395. hr {
  396. //border-color: @border-color !important;
  397. }
  398. //.el-date-range-picker{
  399. // input.el-input__inner {
  400. // background: @text-regular-color !important;
  401. // color: var(--color-primary)!important;
  402. // }
  403. //}
  404. //.el-popper.is-light {
  405. // background: @input-bg-color !important;
  406. // border-color: @border-color !important;
  407. //}
  408. //
  409. //.el-dropdown__popper.el-popper[role=tooltip] {
  410. // .el-dropdown-menu {
  411. // background: @input-bg-color !important;
  412. //
  413. // .el-dropdown-menu__item {
  414. // --el-text-color-regular: @text-color !important;
  415. //
  416. // :not(.is-disabled):focus {
  417. // // background: @tr-bg-color !important;
  418. // }
  419. // }
  420. // }
  421. //}
  422. @as-same-bg-color-as-right: #213361;
  423. @content-bg-color: #172647;
  424. //.el-collapse {
  425. // --el-collapse-border-color: @as-same-bg-color-as-right !important;
  426. // background: @as-same-bg-color-as-right !important;
  427. // --el-collapse-header-bg-color: @as-same-bg-color-as-right !important;
  428. // --el-collapse-content-bg-color: @content-bg-color !important;
  429. // --el-collapse-header-text-color: @text-color !important;
  430. // --el-collapse-content-text-color: @text-color !important;
  431. // border-color: @as-same-bg-color-as-right !important;
  432. //}
  433. @el-datepicker-inrange-bg-color: #1f3a63;
  434. @el-datepicker-inrange-hover-bg-color: #4e71c4;
  435. //.el-picker-panel {
  436. // background: @tr-bg-color !important;
  437. // color: @text-color !important;
  438. //
  439. // .el-picker-panel__footer {
  440. // background: @tr-bg-color !important;
  441. // }
  442. //
  443. // //.el-date-range-picker__content,.el-date-range-picker__time-header,.el-picker-panel__footer{
  444. // // border-color: @border-color !important;
  445. // //}
  446. // --el-datepicker-inner-border-color: @border-color !important;
  447. // --el-datepicker-border-color: @border-color !important;
  448. // --el-datepicker-off-text-color: @text-2 !important;
  449. // --el-datepicker-header-text-color: @text-regular-color !important;
  450. // --el-datepicker-icon-color: @text-color !important;
  451. // --el-datepicker-inrange-bg-color: @el-datepicker-inrange-bg-color !important;
  452. // --el-datepicker-inrange-hover-bg-color: @el-datepicker-inrange-hover-bg-color !important;
  453. // --el-datepicker-hover-text-color: @text-regular-color !important;
  454. //}
  455. //
  456. //.el-drawer {
  457. // --el-drawer-bg-color: @dialog-bg-color !important;
  458. //
  459. // .el-drawer__header {
  460. // color: @text-color !important;
  461. // border-color: @border-color;
  462. // }
  463. //}
  464. //
  465. //.el-checkbox {
  466. // --el-checkbox-text-color: @text-color !important;
  467. //}
  468. //
  469. //.el-color-picker__trigger {
  470. // border-color: @border-color !important;
  471. //}
  472. //
  473. //.el-color-picker__mask {
  474. // background: transparent !important;
  475. //}
  476. //
  477. //.el-radio-group {
  478. // .el-radio-button {
  479. // .el-radio-button__inner {
  480. // background: @el-radio-button__inner !important;
  481. // border-color: @border-color !important;
  482. // color: @text-color !important;
  483. // }
  484. //
  485. // &.is-active {
  486. // .el-radio-button__inner {
  487. // color: #ffffff !important
  488. // }
  489. // }
  490. //
  491. // .el-radio-button__original-radio:checked + .el-radio-button__inner {
  492. // background: var(--el-color-primary) !important;
  493. // }
  494. // }
  495. //}
  496. //
  497. //.el-button--text {
  498. // background: transparent !important;
  499. // border: none !important;
  500. //}
  501. @drawer-header-bg: #2f5ecc;
  502. @drawer-body-bg: #132e60;
  503. @drawer-footer-bg: #132e60;
  504. @drawer-body-border-bottom: 1px solid #234685;
  505. .drawerOuter {
  506. //inset: 50px 0 0 48% !important;
  507. .el-drawer__body {
  508. display: flex;
  509. flex-direction: column;
  510. //background-color: @drawer-body-bg;
  511. border-bottom: @--color-primary;
  512. }
  513. .el-drawer__header {
  514. // background-color: @drawer-header-bg;
  515. margin-bottom: 0px;
  516. padding-bottom: 20px;
  517. color: @--text-regular-color;
  518. }
  519. .el-drawer__footer {
  520. // background-color: @drawer-footer-bg;
  521. }
  522. }
  523. .drawerOuter.noInset {
  524. inset: 50px 0 0 0 !important;
  525. }
  526. .el-select-v2__placeholder {
  527. //color: @text-regular-color !important;
  528. }
  529. .el-select-v2__placeholder.is-transparent {
  530. //color: var(--el-text-color-placeholder) !important;
  531. }
  532. .el-select-v2__wrapper .el-select-v2__input-wrapper input {
  533. // color: @text-color;
  534. }
  535. .el-select-dropdown__option-item {
  536. &.is-selected {
  537. background-color: var(--el-bg-color) !important;
  538. }
  539. }
  540. //============================================================base.less 结束=============================================//
  541. //============================================================app.less 开始 =============================================//
  542. *,
  543. :after,
  544. :before {
  545. box-sizing: border-box;
  546. }
  547. html,
  548. body {
  549. margin: 0;
  550. padding: 0;
  551. color: #595959;
  552. font-size: 14px;
  553. font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
  554. '微软雅黑', Arial, sans-serif;
  555. color: #595959;
  556. background: #f0f2f5;
  557. //字体
  558. .text {
  559. &-2 {
  560. color: #8c8c8c;
  561. }
  562. }
  563. .text-center {
  564. text-align: center;
  565. }
  566. a {
  567. // color: @--color-primary;
  568. color: @--text-regular-color;
  569. text-decoration: none;
  570. &:focus,
  571. &:hover {
  572. color: @--color-primary;
  573. }
  574. }
  575. }
  576. .rr-setting-title {
  577. color: @text-regular-color;
  578. }
  579. //.el-space__item span {
  580. // color: @text-regular-color;
  581. //}
  582. .iconfont {
  583. cursor: pointer;
  584. font-style: normal;
  585. font-weight: 400;
  586. font-variant: normal;
  587. text-transform: none;
  588. line-height: 1;
  589. vertical-align: text-bottom;
  590. display: inline-block;
  591. fill: currentColor;
  592. width: 17px;
  593. height: 17px;
  594. }
  595. .icon-svg {
  596. width: 1em;
  597. height: 1em;
  598. fill: currentColor;
  599. vertical-align: middle;
  600. }
  601. .el-badge__content {
  602. height: 16px;
  603. line-height: 16px;
  604. padding: 0 5px;
  605. border: none;
  606. //background: #ff4d4f !important;
  607. }
  608. .ele-badge-static {
  609. line-height: 0;
  610. }
  611. .ele-badge-static .el-badge__content {
  612. position: static;
  613. transform: none;
  614. }
  615. //alert
  616. .ele-alert-border.is-light.el-alert--warning {
  617. border: 1px solid #faad144d !important;
  618. }
  619. .el-alert--warning.is-light {
  620. background-color: #fff7e8 !important;
  621. //color: #faad14 !important;
  622. }
  623. .ele-alert-border.is-light .el-alert__title {
  624. //color: #262626 !important;
  625. font-size: 14px !important;
  626. }
  627. .el-alert__content {
  628. padding: 0;
  629. }
  630. //menu
  631. .el-menu-item a,
  632. .el-menu-item span,
  633. .el-sub-menu > .el-sub-menu__title a,
  634. .el-sub-menu > .el-sub-menu__title span {
  635. //color: @dark-text;
  636. text-decoration: none;
  637. margin-left: 5px;
  638. display: inline-flex;
  639. width: 100%;
  640. }
  641. .rr-sidebar-menu.el-menu--horizontal > .el-menu-item {
  642. padding: 0 12px;
  643. height: 50px;
  644. line-height: 50px;
  645. }
  646. .rr-sidebar-menu-pop-dark,
  647. .rr-sidebar-menu-pop-light {
  648. box-shadow: none !important;
  649. border-width: 0 !important;
  650. }
  651. .el-sub-menu__icon-arrow {
  652. font-weight: bold;
  653. }
  654. //pop
  655. .custom-table-cell-popper {
  656. max-width: 500px;
  657. }
  658. .el-popper.is-dark a {
  659. color: #fff;
  660. text-decoration: none;
  661. }
  662. .el-popover.el-popper {
  663. //max-height: 300px;
  664. //overflow: auto;
  665. }
  666. //表格
  667. .el-table thead {
  668. //color: #303133 !important;
  669. th {
  670. // background-color: #f5f7fa !important;
  671. }
  672. th.el-table__cell {
  673. background-color: #f7f7f7;
  674. }
  675. th.el-table-fixed-column--right {
  676. background-color: #f7f7f7 !important;
  677. }
  678. th.el-table-fixed-column--left {
  679. background-color: #f7f7f7 !important;
  680. }
  681. }
  682. html.dark {
  683. .el-table thead {
  684. th.el-table__cell {
  685. background-color: var(--el-table-header-bg-color);
  686. }
  687. th.el-table-fixed-column--right {
  688. background-color: var(--el-table-header-bg-color) !important;
  689. }
  690. th.el-table-fixed-column--left {
  691. background-color: var(--el-table-header-bg-color) !important;
  692. }
  693. th.el-table__cell {
  694. background: var(--el-table-header-bg-color) !important;
  695. }
  696. }
  697. .switchStyle {
  698. .el-table__body .el-table__row td:first-child {
  699. background: var(--el-table-header-bg-color) !important;
  700. }
  701. }
  702. }
  703. .el-table__fixed-right::before {
  704. background: transparent !important; //element-plus表格高度动态计算bug,强制下划线不显示颜色
  705. }
  706. .el-form--inline .el-form-item {
  707. margin-right: 16px !important;
  708. }
  709. //分页
  710. .el-pagination {
  711. margin-top: 15px !important;
  712. justify-content: right;
  713. }
  714. //tinymce
  715. .tox-tinymce-aux {
  716. z-index: 3000 !important;
  717. }
  718. //弹窗popover
  719. .popover-pop {
  720. padding: 10px 0 5px 5px !important;
  721. &-body {
  722. max-height: 255px;
  723. overflow: auto;
  724. }
  725. }
  726. //弹窗
  727. .rr-dialog {
  728. min-width: 600px;
  729. }
  730. .rr {
  731. display: flex;
  732. flex-direction: column;
  733. width: 100vw;
  734. height: 100vh;
  735. overflow: hidden;
  736. &-loading {
  737. z-index: 9999;
  738. }
  739. //全屏页面渲染
  740. &-fullscreen {
  741. width: 100vw;
  742. &.new-pop-window > div {
  743. padding: 15px;
  744. margin: 15px;
  745. background: #fff;
  746. border-radius: 4px;
  747. }
  748. }
  749. &-error {
  750. display: flex;
  751. justify-content: center;
  752. align-items: center;
  753. position: absolute;
  754. top: 0;
  755. left: 0;
  756. width: 100%;
  757. height: 100%;
  758. background: #fff;
  759. z-index: 1200;
  760. }
  761. &-drawer {
  762. .el-drawer__header {
  763. font-size: 15px;
  764. margin-bottom: 0;
  765. padding: 13px 16px;
  766. //border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  767. }
  768. .el-drawer__body {
  769. padding: 15px;
  770. overflow: auto;
  771. }
  772. }
  773. //顶部
  774. &-header {
  775. padding: 0 !important;
  776. position: fixed;
  777. top: 0;
  778. left: 0;
  779. width: 100%;
  780. z-index: 200;
  781. &-ctx {
  782. display: flex;
  783. height: 50px;
  784. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  785. &-logo {
  786. display: flex;
  787. color: #ffffffe6;
  788. font-size: 16px;
  789. letter-spacing: 1.5px;
  790. width: 200px;
  791. height: 100%;
  792. overflow: hidden;
  793. white-space: nowrap;
  794. justify-content: center;
  795. font-family: Avenir, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue,
  796. Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol,
  797. Noto Color Emoji;
  798. align-items: center;
  799. position: relative;
  800. transition: width 0.3s;
  801. padding: 0 15px;
  802. &-img {
  803. width: 32px;
  804. height: 32px;
  805. display: inline-block;
  806. flex-shrink: 0;
  807. &-wrap {
  808. display: flex;
  809. &.enabled-logo {
  810. &-false {
  811. display: none;
  812. }
  813. }
  814. }
  815. }
  816. &-line {
  817. display: inline-block;
  818. width: 10px;
  819. height: 1px;
  820. }
  821. &-text {
  822. display: inline-block;
  823. line-height: 1;
  824. overflow: hidden;
  825. text-transform: uppercase;
  826. font-weight: 700;
  827. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei,
  828. '微软雅黑', Arial, sans-serif;
  829. }
  830. }
  831. }
  832. }
  833. &-body {
  834. flex: 1;
  835. display: flex;
  836. overflow: hidden;
  837. }
  838. //左侧侧边栏
  839. &-sidebar {
  840. margin-top: 50px;
  841. width: 200px !important;
  842. min-height: calc(100vh - 50px);
  843. overflow-x: hidden !important;
  844. transition: width 0.3s;
  845. z-index: 120;
  846. scrollbar-width: none;
  847. &-menu {
  848. transition: width 0.3s;
  849. overflow: hidden;
  850. &.el-menu--horizontal {
  851. border-bottom: none !important;
  852. }
  853. .el-menu-item {
  854. transition: none !important;
  855. }
  856. }
  857. &::-webkit-scrollbar {
  858. display: none;
  859. }
  860. .el-menu {
  861. width: 200px !important;
  862. border-right: 0 !important;
  863. &-item {
  864. height: 45px;
  865. line-height: 45px;
  866. margin: 2px 0;
  867. }
  868. &-item,
  869. .el-sub-menu__title {
  870. background: transparent !important;
  871. &:focus {
  872. background: transparent !important;
  873. }
  874. }
  875. &-item,
  876. .el-sub-menu__title,
  877. &-item-group__title {
  878. font-size: 14px;
  879. }
  880. .el-sub-menu {
  881. .el-sub-menu__title {
  882. i {
  883. // color: inherit !important;
  884. }
  885. }
  886. }
  887. .el-menu-item,
  888. .el-sub-menu .el-sub-menu__title {
  889. margin: 0;
  890. height: 48px;
  891. line-height: 48px;
  892. }
  893. .el-sub-menu {
  894. .el-menu-item {
  895. height: 45px;
  896. line-height: 45px;
  897. margin: 2px 0;
  898. }
  899. }
  900. .el-menu-item [class^='el-icon'],
  901. .el-sub-menu > .el-sub-menu__title [class^='el-icon'] {
  902. font-size: 17px;
  903. margin-right: 0;
  904. width: auto;
  905. }
  906. .el-menu-item a,
  907. .el-menu-item span,
  908. .el-sub-menu > .el-sub-menu__title a,
  909. .el-sub-menu > .el-sub-menu__title span {
  910. margin-left: 10px;
  911. > a {
  912. margin-left: 0;
  913. }
  914. }
  915. }
  916. }
  917. .rr-setting-wrap {
  918. color: @--text-regular-color !important;
  919. }
  920. //页面内容区域外层
  921. &-view {
  922. flex: 1;
  923. display: flex !important;
  924. flex-direction: column;
  925. padding: 0 !important;
  926. //border-top: 1px solid #f4f4f4 !important;
  927. &-container {
  928. margin-top: 50px;
  929. background: @dark-bg-2;
  930. }
  931. &-wrap {
  932. display: flex;
  933. flex-direction: column;
  934. }
  935. &-ctx {
  936. margin-top: 39px;
  937. padding: 15px;
  938. flex: 1;
  939. //页面内容区域
  940. &-card {
  941. min-height: calc(100% - 5px);
  942. border-width: 0 !important;
  943. }
  944. }
  945. //页面内容顶部tab标签栏
  946. &-tab {
  947. width: 100%;
  948. height: 39px;
  949. box-sizing: border-box;
  950. position: relative;
  951. overflow: hidden;
  952. &__header {
  953. &:hover {
  954. background: inherit !important;
  955. }
  956. }
  957. &-wrap {
  958. position: fixed;
  959. top: 50px;
  960. left: 200px;
  961. right: 0;
  962. display: flex;
  963. background: @dark-bg;
  964. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  965. z-index: 100;
  966. transition: left 0.3s;
  967. border-top: 1px rgba(255, 255, 255, 0.2) solid;
  968. }
  969. &-ops {
  970. width: 40px;
  971. flex-shrink: 0;
  972. //background: #fff;
  973. display: flex !important;
  974. align-items: center;
  975. justify-content: center;
  976. //border-left: 1px solid #f4f4f4;
  977. cursor: pointer;
  978. text-align: center;
  979. color: #8c8c8c !important;
  980. font-weight: 400 !important;
  981. font-size: 16px !important;
  982. margin-right: 5px; //element-plus el-dropdown自动定位bug bottom-end指令不生效,临时采用偏移5px
  983. // background: @rr-view-tab-bg;
  984. //border-left: 1px solid @text-2;
  985. }
  986. .el-tabs__active-bar {
  987. height: 0;
  988. }
  989. .el-tabs__nav {
  990. &-prev,
  991. &-next {
  992. .el-icon {
  993. display: none;
  994. }
  995. }
  996. .el-tabs__item {
  997. padding: 0 15px !important;
  998. //border-right: 1px solid #f4f4f4;
  999. user-select: none;
  1000. color: #8c8c8c;
  1001. &:hover {
  1002. // color: #262626;
  1003. background-color: rgba(0, 0, 0, 0.02);
  1004. }
  1005. .is-icon-close {
  1006. transition: none !important;
  1007. &:hover {
  1008. color: #fff;
  1009. background-color: #ff4d4f;
  1010. }
  1011. }
  1012. &::before {
  1013. content: '';
  1014. width: 9px;
  1015. height: 9px;
  1016. margin-right: 8px;
  1017. display: inline-block;
  1018. background-color: #ddd;
  1019. border-radius: 50%;
  1020. }
  1021. //&.is-active {
  1022. // color: @primary-bg-light;
  1023. // background-color: @primary-bg-light !important;
  1024. //
  1025. // &:before {
  1026. // background-color: @primary-bg-light;
  1027. // }
  1028. //}
  1029. &:nth-child(2) {
  1030. &::before {
  1031. content: none;
  1032. }
  1033. }
  1034. }
  1035. }
  1036. .el-tabs__nav-wrap {
  1037. padding: 0px 39px 0 40px !important;
  1038. &::before,
  1039. &::after {
  1040. width: 40px;
  1041. height: 40px;
  1042. line-height: 44px;
  1043. text-align: center;
  1044. box-sizing: border-box;
  1045. font-size: 16px;
  1046. color: #8c8c8c;
  1047. transition: background-color 0.2s;
  1048. position: absolute;
  1049. top: 0;
  1050. left: 0;
  1051. font-family: element-icons !important;
  1052. font-style: normal;
  1053. font-weight: 400;
  1054. font-variant: normal;
  1055. text-transform: none;
  1056. -webkit-font-smoothing: antialiased;
  1057. -moz-osx-font-smoothing: grayscale;
  1058. cursor: not-allowed;
  1059. }
  1060. &::before {
  1061. content: url('data:image/svg+xml;charset=utf-8,<svg width="16" height="16" color="rgb(140 140 140)" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" data-v-042ca774=""><path fill="currentColor" d="M609.408 149.376L277.76 489.6a32 32 0 000 44.672l331.648 340.352a29.12 29.12 0 0041.728 0 30.592 30.592 0 000-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 000-42.688 29.12 29.12 0 00-41.728 0z"></path></svg>');
  1062. //border-right: 1px solid #f4f4f4;
  1063. //border-right: 1px solid @text-2;
  1064. }
  1065. &::after {
  1066. content: url('data:image/svg+xml;charset=utf-8,<svg width="16" height="16" color="rgb(140 140 140)" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" data-v-042ca774=""><path fill="currentColor" d="M340.864 149.312a30.592 30.592 0 000 42.752L652.736 512 340.864 831.872a30.592 30.592 0 000 42.752 29.12 29.12 0 0041.728 0L714.24 534.336a32 32 0 000-44.672L382.592 149.376a29.12 29.12 0 00-41.728 0z"></path></svg>');
  1067. right: 0;
  1068. left: auto;
  1069. bottom: auto;
  1070. height: auto;
  1071. background-color: transparent;
  1072. // border-left: 1px solid #f4f4f4;
  1073. //border-left: 1px solid @text-2;
  1074. }
  1075. }
  1076. .el-tabs__nav-next,
  1077. .el-tabs__nav-prev {
  1078. width: 40px;
  1079. height: 40px;
  1080. line-height: 40px;
  1081. text-align: center;
  1082. box-sizing: border-box;
  1083. font-size: 16px;
  1084. color: #8c8c8c;
  1085. transition: background-color 0.2s;
  1086. z-index: 10;
  1087. i {
  1088. vertical-align: middle;
  1089. margin-top: -4px;
  1090. }
  1091. &:hover {
  1092. background: rgba(0, 0, 0, 0.02);
  1093. }
  1094. }
  1095. .el-tabs__nav-prev {
  1096. // border-right: 1px solid #8c8c8c;
  1097. }
  1098. }
  1099. }
  1100. //页面按钮样式
  1101. //两个子的按钮
  1102. .btn-size {
  1103. width: 70px;
  1104. // height: 28px;
  1105. }
  1106. //用于四个字的按钮
  1107. .btn-midSize {
  1108. width: 90px;
  1109. // height: 28px;
  1110. }
  1111. //五个字按钮
  1112. .btn-largeSize {
  1113. width: 104px;
  1114. // height: 28px;
  1115. }
  1116. //下拉按钮
  1117. .btn-dropdown-size {
  1118. margin-left: 12px;
  1119. .el-button {
  1120. // height: 28px;
  1121. }
  1122. }
  1123. //启用
  1124. .btn-strUse {
  1125. background: #3aa77f !important;
  1126. border: none;
  1127. }
  1128. //新增 批量新增
  1129. .btn-add {
  1130. background: #169eac !important;
  1131. border: none;
  1132. }
  1133. //删除
  1134. .btn-delete {
  1135. background: #f66c6c !important;
  1136. border: none;
  1137. }
  1138. //停用
  1139. .btn-stop {
  1140. background: #e0553f !important;
  1141. border: none;
  1142. }
  1143. //查询
  1144. .btn-search {
  1145. background: #4271e2 !important;
  1146. border: none;
  1147. }
  1148. //预览
  1149. .btn-preview {
  1150. background: #4271e2 !important;
  1151. border: none;
  1152. }
  1153. //导出
  1154. .btn-export {
  1155. background: #8aa9da !important;
  1156. border: none;
  1157. }
  1158. //导入
  1159. .btn-import {
  1160. background: #0068b7 !important;
  1161. border: none;
  1162. }
  1163. //模板下载
  1164. .btn-dowmLoad {
  1165. background: #546fb4 !important;
  1166. border: none;
  1167. }
  1168. //生成报告
  1169. .btn-report,
  1170. .btn-reset {
  1171. background: #12b5b0 !important;
  1172. border: none;
  1173. }
  1174. //分配企业 分配数据源
  1175. .btn-disButionCom {
  1176. background: #4b96e9 !important;
  1177. border: none;
  1178. }
  1179. //同步
  1180. .btn-together {
  1181. background: #12b5b0 !important;
  1182. border: none;
  1183. }
  1184. //权限
  1185. .btn-limit {
  1186. background: #1890ff !important;
  1187. border: none;
  1188. }
  1189. //重新计算
  1190. .btn-recount {
  1191. background: #438bcb !important;
  1192. border: none;
  1193. }
  1194. }
  1195. //============================================================app.less 结束 =============================================//
  1196. //=========================================================== 自定义全局样式开始 ===========================================================//
  1197. .el-menu--vertical.rr-sidebar-menu-pop-light,
  1198. .el-menu--vertical.rr-sidebar-menu-pop-dark {
  1199. border-radius: 4px !important;
  1200. box-shadow: none !important;
  1201. .el-menu.el-menu--popup {
  1202. min-width: 160px;
  1203. border-radius: 4px !important;
  1204. }
  1205. .el-menu-item,
  1206. .el-sub-menu__title {
  1207. height: 45px;
  1208. line-height: 45px;
  1209. }
  1210. .is-active {
  1211. &.el-menu-item {
  1212. border: 0 !important;
  1213. }
  1214. }
  1215. }
  1216. //深色侧边栏
  1217. .ui-sidebar-dark .rr-sidebar,
  1218. .rr-sidebar-menu-pop-dark {
  1219. background: @menu-bg-normal !important;
  1220. box-shadow: 0 4px 4px rgba(0, 21, 41, 0.35);
  1221. .el-menu {
  1222. background: @menu-bg-normal !important;
  1223. .el-menu-item,
  1224. .el-sub-menu__title {
  1225. &:hover {
  1226. i,
  1227. a {
  1228. //color: @dark-text-active !important;
  1229. }
  1230. }
  1231. i,
  1232. a {
  1233. // color: @dark-text !important;
  1234. }
  1235. &:not(.is-active):hover {
  1236. // background: inherit !important;
  1237. }
  1238. }
  1239. .is-active {
  1240. &.el-menu-item {
  1241. border-right: none !important;
  1242. background: @primary-bg !important;
  1243. }
  1244. &.el-menu-item,
  1245. > .el-sub-menu__title:first-child {
  1246. i,
  1247. a {
  1248. color: @dark-text-active !important;
  1249. }
  1250. }
  1251. }
  1252. }
  1253. }
  1254. //浅色侧边栏
  1255. .ui-sidebar-light .rr-sidebar,
  1256. .rr-sidebar-menu-pop-light {
  1257. //background: @light-bg !important;
  1258. box-shadow: 0 4px 4px rgba(0, 21, 41, 0.25);
  1259. .el-menu {
  1260. // background: @light-bg !important;
  1261. .el-menu-item,
  1262. .el-sub-menu__title {
  1263. &:hover {
  1264. i,
  1265. a {
  1266. // color: @light-text-active !important;
  1267. }
  1268. }
  1269. i,
  1270. a {
  1271. // color: @light-text !important;
  1272. }
  1273. &:not(.is-active):hover {
  1274. //background: inherit !important;
  1275. }
  1276. }
  1277. .is-active {
  1278. &.el-menu-item {
  1279. border-right: 2px solid @light-text-active !important;
  1280. // background: @light-bg-active !important;
  1281. }
  1282. &.el-menu-item,
  1283. > .el-sub-menu__title:first-child {
  1284. i,
  1285. a {
  1286. color: @light-text-active !important;
  1287. }
  1288. }
  1289. }
  1290. }
  1291. }
  1292. //================================
  1293. .el-menu--horizontal.rr-sidebar-menu-pop-light,
  1294. .el-menu--horizontal.rr-sidebar-menu-pop-dark {
  1295. border-radius: 4px !important;
  1296. box-shadow: none !important;
  1297. // background-color: @light-bg !important;
  1298. border: none !important;
  1299. margin-top: -5px;
  1300. margin-left: 0;
  1301. .el-popper {
  1302. border: 0 !important;
  1303. }
  1304. .el-menu--horizontal {
  1305. margin-left: -5px;
  1306. }
  1307. .el-menu.el-menu--popup {
  1308. min-width: 160px;
  1309. box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2) !important;
  1310. }
  1311. .el-menu-item,
  1312. .el-sub-menu__title {
  1313. height: 45px;
  1314. line-height: 45px;
  1315. }
  1316. .is-active {
  1317. &.el-menu-item {
  1318. border: 0 !important;
  1319. }
  1320. }
  1321. }
  1322. //浅色顶栏
  1323. .ui-topHeader-light {
  1324. .rr-header-ctx {
  1325. box-shadow: 0 1px 1px #f1f1f1;
  1326. &-logo {
  1327. // background: @light-bg !important;
  1328. color: #000000bf;
  1329. }
  1330. }
  1331. &.ui-sidebar-dark {
  1332. .rr-header-ctx {
  1333. box-shadow: 0 1px 3px rgb(0 0 0 / 8%);
  1334. }
  1335. }
  1336. .rr-header-right {
  1337. // background: @dark-bg !important;
  1338. // color: @--text-regular-color !important;
  1339. .rr-header-right-items {
  1340. * {
  1341. // color: @light-text !important;
  1342. }
  1343. > div {
  1344. &:hover {
  1345. // color: #262626 !important;
  1346. // background: rgba(0, 0, 0, 0.1) !important;
  1347. }
  1348. }
  1349. .el-badge__content {
  1350. // color: #fff !important;
  1351. }
  1352. }
  1353. .rr-sidebar-menu {
  1354. &.el-menu {
  1355. // background: @light-bg !important;
  1356. .el-menu-item,
  1357. .el-sub-menu__title {
  1358. &:hover {
  1359. background: rgba(0, 0, 0, 0.1) !important;
  1360. i,
  1361. a {
  1362. // color: @light-text-active !important;
  1363. }
  1364. }
  1365. i,
  1366. a {
  1367. // color: @light-text !important;
  1368. }
  1369. i:not(.el-sub-menu__icon-arrow) {
  1370. width: 17px !important;
  1371. height: 17px !important;
  1372. margin-right: 0 !important;
  1373. margin-top: -4px;
  1374. line-height: 17px;
  1375. }
  1376. span {
  1377. margin-right: 0;
  1378. }
  1379. }
  1380. .is-active {
  1381. &.el-menu-item {
  1382. // border-bottom: 2px solid @light-text-active !important;
  1383. //background: @light-bg !important;
  1384. }
  1385. &.el-menu-item,
  1386. .el-sub-menu__title {
  1387. i,
  1388. a {
  1389. // color: @light-text-active !important;
  1390. }
  1391. &:hover {
  1392. background: rgba(0, 0, 0, 0.1) !important;
  1393. }
  1394. }
  1395. &.isLink {
  1396. border-bottom: 0 !important;
  1397. i,
  1398. a {
  1399. // color: @light-text !important;
  1400. }
  1401. }
  1402. }
  1403. }
  1404. }
  1405. }
  1406. }
  1407. //深色顶栏
  1408. .ui-topHeader-dark {
  1409. .rr-header-ctx {
  1410. &-logo {
  1411. background: @dark-bg !important;
  1412. }
  1413. }
  1414. .rr-header-right {
  1415. background: @dark-bg !important;
  1416. .rr-header-right-items {
  1417. * {
  1418. color: @dark-text !important;
  1419. &:hover {
  1420. color: @dark-text-active !important;
  1421. }
  1422. }
  1423. .el-badge__content {
  1424. color: #fff !important;
  1425. }
  1426. }
  1427. .rr-sidebar-menu {
  1428. &.el-menu {
  1429. background: @menu-bg-normal !important;
  1430. .el-menu-item,
  1431. .el-sub-menu__title {
  1432. &:hover {
  1433. background: @menu-bg-normal !important;
  1434. i,
  1435. a {
  1436. // color: @dark-text-active !important;
  1437. }
  1438. }
  1439. i,
  1440. a {
  1441. //color: @dark-text !important;
  1442. }
  1443. &:not(.is-active):hover {
  1444. //background: inherit !important;
  1445. }
  1446. i:not(.el-sub-menu__icon-arrow) {
  1447. width: 17px !important;
  1448. height: 17px !important;
  1449. margin-right: 0 !important;
  1450. margin-top: -4px;
  1451. line-height: 17px;
  1452. }
  1453. span {
  1454. margin-right: 0;
  1455. }
  1456. }
  1457. .is-active {
  1458. &.el-menu-item {
  1459. border-bottom: 2px solid @dark-text-active !important;
  1460. background: @dark-bg !important;
  1461. }
  1462. &.el-menu-item,
  1463. .el-sub-menu__title {
  1464. // border-bottom: 2px solid @dark-text-active !important;
  1465. i,
  1466. a {
  1467. // color: @dark-text-active !important;
  1468. }
  1469. }
  1470. &.isLink {
  1471. border-bottom: 0 !important;
  1472. i,
  1473. a {
  1474. // color: @dark-text !important;
  1475. }
  1476. }
  1477. }
  1478. }
  1479. }
  1480. }
  1481. }
  1482. //主题色
  1483. .ui-topHeader-primary {
  1484. .rr-header-ctx {
  1485. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  1486. position: relative;
  1487. z-index: 102;
  1488. }
  1489. .rr-header-ctx-logo {
  1490. background: @menu-bg-normal !important;
  1491. }
  1492. .rr-header-right {
  1493. background: @dark-bg !important;
  1494. .rr-header-right-items,
  1495. .rr-header-right-left-br {
  1496. div,
  1497. span,
  1498. svg,
  1499. i {
  1500. color: @--text-regular-color !important;
  1501. &:hover {
  1502. color: @--color-primary !important;
  1503. }
  1504. }
  1505. }
  1506. .rr-sidebar-menu {
  1507. &.el-menu {
  1508. // background: @dark-bg !important;
  1509. .el-menu-item,
  1510. .el-sub-menu__title {
  1511. &:hover,
  1512. &:focus {
  1513. background: rgba(0, 0, 0, 0.1) !important;
  1514. i.el-icon {
  1515. svg {
  1516. color: @--color-primary !important;
  1517. }
  1518. }
  1519. i,
  1520. a {
  1521. // color: @primary-text-active !important;
  1522. }
  1523. }
  1524. i,
  1525. a {
  1526. //color: @primary-text !important;
  1527. }
  1528. i:not(.el-sub-menu__icon-arrow) {
  1529. width: 17px !important;
  1530. height: 17px !important;
  1531. margin-right: 0 !important;
  1532. margin-top: -4px;
  1533. line-height: 17px;
  1534. }
  1535. span {
  1536. margin-right: 0;
  1537. }
  1538. }
  1539. .is-active {
  1540. &.el-menu-item {
  1541. i.el-icon {
  1542. svg {
  1543. color: @--color-primary !important;
  1544. }
  1545. }
  1546. // border-bottom: 2px solid @primary-text-active !important;
  1547. }
  1548. &.el-menu-item,
  1549. .el-sub-menu__title {
  1550. // border-bottom: 2px solid @primary-text-active !important;
  1551. i,
  1552. a {
  1553. // color: @primary-text-active !important;
  1554. }
  1555. &:hover {
  1556. background: rgba(0, 0, 0, 0.1) !important;
  1557. }
  1558. }
  1559. &.isLink {
  1560. border-bottom: 0 !important;
  1561. i,
  1562. a {
  1563. // color: @primary-text !important;
  1564. }
  1565. }
  1566. }
  1567. }
  1568. }
  1569. }
  1570. }
  1571. .list-page-slot {
  1572. > header {
  1573. .el-form-item__content > .el-input,
  1574. .el-form-item__content > .el-select,
  1575. .el-form-item__content > .search-multi-select,
  1576. .el-form-item__content > .el-select-v2 {
  1577. width: 150px;
  1578. }
  1579. }
  1580. }
  1581. .ui-navLayout-left {
  1582. .el-sub-menu__title,
  1583. .el-menu-item {
  1584. a,
  1585. i {
  1586. color: #fff;
  1587. }
  1588. }
  1589. }
  1590. .ui-navLayout-top {
  1591. .rr-header-ctx-logo {
  1592. background: @dark-bg !important;
  1593. color: @--text-regular-color !important;
  1594. }
  1595. .rr-sidebar-menu {
  1596. //&.el-menu {
  1597. //
  1598. // .el-menu-item,
  1599. // .el-sub-menu__title {
  1600. // &:hover {
  1601. // background: @menu-bg-normal !important;
  1602. //
  1603. // i,
  1604. // a {
  1605. // color: @dark-text-active !important;
  1606. // }
  1607. // }
  1608. //
  1609. // i,
  1610. // a {
  1611. // color: @dark-text !important;
  1612. // }
  1613. //
  1614. // }
  1615. //}
  1616. background: @dark-bg !important;
  1617. .el-sub-menu__title {
  1618. a,
  1619. i {
  1620. color: @--text-regular-color !important;
  1621. }
  1622. }
  1623. }
  1624. }
  1625. .ui-navLayout-mix {
  1626. aside {
  1627. .el-menu {
  1628. .el-menu-item {
  1629. a,
  1630. i {
  1631. color: #fff;
  1632. }
  1633. }
  1634. }
  1635. }
  1636. .el-menu {
  1637. .el-sub-menu__title {
  1638. a,
  1639. i {
  1640. color: @--text-regular-color !important;
  1641. }
  1642. }
  1643. }
  1644. }
  1645. //=============
  1646. //导航模式
  1647. .ui-navLayout-left {
  1648. &.ui-sidebar-light {
  1649. .rr-sidebar {
  1650. box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.08);
  1651. z-index: 101;
  1652. }
  1653. }
  1654. }
  1655. .ui-navLayout-top {
  1656. &.ui-topHeader-light {
  1657. .rr-header-right {
  1658. border-bottom: none !important;
  1659. }
  1660. }
  1661. .rr-header-ctx-logo {
  1662. max-width: inherit !important;
  1663. &-text {
  1664. max-width: inherit !important;
  1665. overflow: inherit !important;
  1666. }
  1667. }
  1668. .rr-view-tab-wrap {
  1669. left: 0 !important;
  1670. }
  1671. }
  1672. .ui-navLayout-mix {
  1673. .rr-header-ctx-logo {
  1674. max-width: inherit !important;
  1675. &-text {
  1676. max-width: inherit !important;
  1677. overflow: inherit !important;
  1678. }
  1679. }
  1680. &.ui-sidebar-light {
  1681. .rr-sidebar {
  1682. box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.08);
  1683. z-index: 101;
  1684. }
  1685. }
  1686. .rr-sidebar {
  1687. box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.08);
  1688. z-index: 101;
  1689. }
  1690. .rr-header-right-left-br {
  1691. padding: 0 !important;
  1692. }
  1693. }
  1694. //========
  1695. //内容不铺满
  1696. .ui-contentFull-false {
  1697. .rr-view-ctx {
  1698. width: 1200px !important;
  1699. margin-left: auto;
  1700. margin-right: auto;
  1701. }
  1702. }
  1703. //=======
  1704. //tab标签栏开关
  1705. .ui-openTabsPage {
  1706. &-false {
  1707. .rr-view-ctx {
  1708. margin-top: 0;
  1709. }
  1710. }
  1711. }
  1712. //=======
  1713. //logo自动
  1714. //导航模式在顶部时logo自动要取消
  1715. .ui-logoAuto-true,
  1716. .ui-navLayout-top {
  1717. .rr-header-ctx-logo {
  1718. width: inherit !important;
  1719. padding: 0 15px 0 20px;
  1720. box-shadow: none !important;
  1721. }
  1722. &.ui-topHeader-primary .rr-header-ctx-logo {
  1723. // background: @dark-bg !important;
  1724. //color: #ffffffd9 !important;
  1725. }
  1726. &.ui-topHeader-dark .rr-header-ctx-logo {
  1727. //background: @dark-bg !important;
  1728. //color: #ffffffd9 !important;
  1729. }
  1730. &.ui-topHeader-light .rr-header-ctx-logo {
  1731. // background: @light-bg !important;
  1732. color: #000000bf;
  1733. box-shadow: 1px 0 3px rgba(0, 0, 0, 0.08);
  1734. }
  1735. }
  1736. //侧边栏多彩图标
  1737. .ui-colorIcon-true {
  1738. .rr-sidebar {
  1739. .el-menu {
  1740. .el-sub-menu__title,
  1741. .el-menu-item,
  1742. .isLink {
  1743. margin-left: -5px !important;
  1744. }
  1745. li {
  1746. [class^='el-icon'] {
  1747. &:first-child {
  1748. flex-shrink: 0;
  1749. width: 28px;
  1750. height: 28px;
  1751. line-height: 28px;
  1752. font-size: 14px;
  1753. background-color: rgb(97, 178, 252);
  1754. border-radius: 50%;
  1755. text-align: center;
  1756. color: rgb(255, 255, 255) !important;
  1757. .iconfont {
  1758. width: 14px;
  1759. height: 14px;
  1760. }
  1761. }
  1762. }
  1763. &:nth-child(2n) {
  1764. [class^='el-icon'] {
  1765. &:first-child {
  1766. background-color: rgb(125, 215, 51);
  1767. }
  1768. }
  1769. }
  1770. &:nth-child(3) {
  1771. [class^='el-icon'] {
  1772. &:first-child {
  1773. background-color: rgb(50, 162, 212);
  1774. }
  1775. }
  1776. }
  1777. &:nth-child(4) {
  1778. [class^='el-icon'] {
  1779. &:first-child {
  1780. background-color: rgb(115, 131, 207);
  1781. }
  1782. }
  1783. }
  1784. &:nth-child(5) {
  1785. [class^='el-icon'] {
  1786. &:first-child {
  1787. background-color: rgb(245, 104, 111);
  1788. }
  1789. }
  1790. }
  1791. &:nth-child(6) {
  1792. [class^='el-icon'] {
  1793. &:first-child {
  1794. background-color: rgb(43, 204, 206);
  1795. }
  1796. }
  1797. }
  1798. &:nth-child(7) {
  1799. [class^='el-icon'] {
  1800. &:first-child {
  1801. background-color: rgb(125, 215, 51);
  1802. }
  1803. }
  1804. }
  1805. &:nth-child(8) {
  1806. [class^='el-icon'] {
  1807. &:first-child {
  1808. background-color: rgb(250, 173, 20);
  1809. }
  1810. }
  1811. }
  1812. }
  1813. //--
  1814. .el-sub-menu {
  1815. .el-menu {
  1816. li,
  1817. .el-sub-menu__title {
  1818. [class^='el-icon'] {
  1819. &:first-child:not(.el-sub-menu__icon-arrow) {
  1820. width: 8px;
  1821. height: 8px;
  1822. line-height: 8px;
  1823. font-size: 30px;
  1824. overflow: hidden;
  1825. border-radius: 50%;
  1826. margin: 0 0 0 10px;
  1827. background: @dark-text !important;
  1828. color: @dark-text !important;
  1829. &:before {
  1830. content: '';
  1831. margin-left: -11px;
  1832. font-family: element-icons !important;
  1833. }
  1834. }
  1835. }
  1836. }
  1837. }
  1838. }
  1839. .el-menu-item,
  1840. .el-sub-menu.is-active .el-sub-menu__title {
  1841. i:first-child {
  1842. color: #fff !important;
  1843. }
  1844. }
  1845. }
  1846. }
  1847. &.ui-sidebar-light {
  1848. .rr-sidebar {
  1849. .el-sub-menu .el-menu {
  1850. .el-sub-menu {
  1851. .el-sub-menu__title {
  1852. [class^='el-icon'] {
  1853. &:first-child:not(.el-sub-menu__icon-arrow) {
  1854. color: @light-text !important;
  1855. opacity: 0.25;
  1856. }
  1857. }
  1858. &:hover {
  1859. [class^='el-icon'] {
  1860. &:first-child:not(.el-sub-menu__icon-arrow) {
  1861. color: @light-text-active !important;
  1862. opacity: 0.25;
  1863. }
  1864. }
  1865. }
  1866. }
  1867. &.is-active .el-sub-menu__title [class^='el-icon'] {
  1868. &:first-child:not(.el-sub-menu__icon-arrow) {
  1869. color: @light-text-active !important;
  1870. opacity: 1;
  1871. }
  1872. }
  1873. }
  1874. .el-menu-item {
  1875. [class^='el-icon'] {
  1876. &:first-child:not(.el-sub-menu__icon-arrow) {
  1877. background: @light-text !important;
  1878. color: @light-text !important;
  1879. opacity: 0.25;
  1880. }
  1881. }
  1882. &.is-active,
  1883. &:hover {
  1884. [class^='el-icon'] {
  1885. &:first-child:not(.el-sub-menu__icon-arrow) {
  1886. background: @light-text-active !important;
  1887. color: @light-text-active !important;
  1888. opacity: 1;
  1889. }
  1890. }
  1891. }
  1892. &:hover:not(.is-active) {
  1893. [class^='el-icon'] {
  1894. &:first-child:not(.el-sub-menu__icon-arrow) {
  1895. opacity: 0.2;
  1896. }
  1897. }
  1898. }
  1899. }
  1900. }
  1901. }
  1902. }
  1903. &.ui-sidebar-dark {
  1904. .rr-sidebar {
  1905. .el-sub-menu {
  1906. .el-sub-menu.is-opened {
  1907. &.is-active {
  1908. .el-sub-menu__title {
  1909. [class^='el-icon'] {
  1910. &:first-child:not(.el-sub-menu__icon-arrow) {
  1911. background: @dark-text-active !important;
  1912. color: @dark-text-active !important;
  1913. opacity: 1;
  1914. }
  1915. }
  1916. }
  1917. }
  1918. }
  1919. .el-menu .el-menu-item,
  1920. .el-sub-menu.is-opened .el-sub-menu__title {
  1921. [class^='el-icon'] {
  1922. &:first-child:not(.el-sub-menu__icon-arrow) {
  1923. background: @dark-text !important;
  1924. color: @dark-text !important;
  1925. opacity: 0.85;
  1926. }
  1927. }
  1928. &.is-active,
  1929. &:hover {
  1930. [class^='el-icon'] {
  1931. &:first-child:not(.el-sub-menu__icon-arrow) {
  1932. background: @dark-text-active !important;
  1933. color: @dark-text-active !important;
  1934. opacity: 1;
  1935. }
  1936. }
  1937. }
  1938. &:hover:not(.is-active) {
  1939. [class^='el-icon'] {
  1940. &:first-child:not(.el-sub-menu__icon-arrow) {
  1941. opacity: 1;
  1942. }
  1943. }
  1944. }
  1945. }
  1946. }
  1947. }
  1948. }
  1949. }
  1950. .rr-header-ctx-logo-expand {
  1951. display: inline-flex;
  1952. align-items: center;
  1953. &-img {
  1954. width: 32px;
  1955. height: 32px;
  1956. margin-right: 8px;
  1957. }
  1958. }
  1959. //侧边栏收缩状态
  1960. .rr.ui-sidebarCollapse {
  1961. &-true {
  1962. .rr-view-tab-wrap {
  1963. left: 60px;
  1964. }
  1965. .rr-header-ctx-logo-line {
  1966. width: 0;
  1967. }
  1968. .enabled-logo-false {
  1969. display: flex;
  1970. }
  1971. .enabled-logo-false {
  1972. display: flex;
  1973. align-items: center;
  1974. }
  1975. &.ui-logoAuto {
  1976. &-false {
  1977. .rr-header-ctx-logo {
  1978. width: 60px !important;
  1979. &-text {
  1980. display: none;
  1981. }
  1982. }
  1983. }
  1984. &-true {
  1985. .enabled-logo-false {
  1986. display: none;
  1987. }
  1988. .rr-header-ctx-logo-line {
  1989. width: 10px;
  1990. }
  1991. }
  1992. }
  1993. &.ui-navLayout-top {
  1994. //导航模式为顶部时自动展开logo状态
  1995. .rr-header-ctx-logo {
  1996. width: inherit !important;
  1997. padding: 0 15px 0 20px;
  1998. box-shadow: none !important;
  1999. &-text {
  2000. display: block;
  2001. }
  2002. }
  2003. .enabled-logo-false {
  2004. display: none;
  2005. }
  2006. }
  2007. .rr-sidebar:not(.rr-sidebar-mobile) {
  2008. width: 60px !important;
  2009. .el-menu {
  2010. width: 60px !important;
  2011. }
  2012. // 收起效果
  2013. .rr-sidebar-menu {
  2014. .el-menu-item,
  2015. .el-sub-menu__title,
  2016. .el-sub-menu {
  2017. a,
  2018. .el-menu {
  2019. display: none;
  2020. }
  2021. }
  2022. }
  2023. }
  2024. }
  2025. &-false {
  2026. .rr-header-ctx-logo {
  2027. &-text {
  2028. display: block;
  2029. overflow: hidden;
  2030. }
  2031. }
  2032. }
  2033. }
  2034. .el-tabs {
  2035. .el-tabs__active-bar {
  2036. background-color: @--color-primary;
  2037. }
  2038. .el-tabs__item {
  2039. &.is-active {
  2040. color: @--color-primary;
  2041. }
  2042. }
  2043. }
  2044. //tabStyle
  2045. .ui-tabStyle-default {
  2046. .rr-view-tab {
  2047. //background: @rr-view-tab-bg;
  2048. .el-tabs__item {
  2049. border-right: none !important;
  2050. padding: 0 15px 0 !important;
  2051. &.is-active {
  2052. color: @--color-primary !important;
  2053. //color: @text-regular-color !important;
  2054. }
  2055. &:before {
  2056. content: none;
  2057. }
  2058. &:after {
  2059. content: '';
  2060. height: 3px;
  2061. width: 0;
  2062. background-color: @--color-primary !important;
  2063. position: absolute;
  2064. bottom: 0;
  2065. left: 0;
  2066. }
  2067. &.is-active:after,
  2068. &:hover:after {
  2069. width: 100%;
  2070. }
  2071. }
  2072. .el-tabs__nav-wrap {
  2073. &:before,
  2074. &:after,
  2075. .el-tabs__nav-next,
  2076. .el-tabs__nav-prev {
  2077. height: 40px;
  2078. line-height: 44px;
  2079. }
  2080. }
  2081. }
  2082. }
  2083. .ui-tabStyle-dot {
  2084. .rr-view-tab-wrap {
  2085. .rr-view-tab {
  2086. .el-tabs__item {
  2087. &.is-active {
  2088. color: @--color-primary !important;
  2089. &:before {
  2090. background-color: @--color-primary !important;
  2091. }
  2092. }
  2093. }
  2094. }
  2095. }
  2096. }
  2097. .ui-tabStyle-card {
  2098. .rr-view-tab-wrap {
  2099. background: transparent !important;
  2100. box-shadow: none !important;
  2101. padding-top: 10px;
  2102. .rr-view-tab {
  2103. height: 30px;
  2104. background: transparent !important;
  2105. &-ops {
  2106. border-radius: 4px;
  2107. height: 30px;
  2108. line-height: 30px;
  2109. width: 30px;
  2110. background-color: #fff;
  2111. margin-right: 10px;
  2112. .el-icon--right {
  2113. margin-left: 0;
  2114. }
  2115. }
  2116. .el-tabs__item {
  2117. margin-left: 8px;
  2118. padding: 0 15px 0 !important;
  2119. border-radius: 4px;
  2120. height: 30px;
  2121. line-height: 30px;
  2122. background-color: #fff;
  2123. &:nth-child(2) {
  2124. margin-left: 0;
  2125. padding: 0 15px !important;
  2126. }
  2127. &.is-active {
  2128. background-color: @--color-primary !important;
  2129. color: #fff;
  2130. }
  2131. &:before {
  2132. content: none;
  2133. }
  2134. &:after {
  2135. content: none;
  2136. }
  2137. }
  2138. .el-tabs__nav-wrap {
  2139. &:before,
  2140. &:after,
  2141. .el-tabs__nav-next,
  2142. .el-tabs__nav-prev {
  2143. height: 30px;
  2144. line-height: 30px;
  2145. background: #eff2f5 !important;
  2146. }
  2147. .el-tabs__nav-next,
  2148. .el-tabs__nav-prev {
  2149. &:hover {
  2150. background: transparent !important;
  2151. }
  2152. }
  2153. }
  2154. }
  2155. }
  2156. }
  2157. //外链
  2158. .rr-sidebar-menu.el-menu .el-menu-item.is-active.isLink {
  2159. background: inherit !important;
  2160. }
  2161. //不同语言下的差异
  2162. [lang='en-US'] {
  2163. .rr-header-ctx-logo-text {
  2164. letter-spacing: 0px !important;
  2165. }
  2166. }
  2167. @media screen and (min-width: 768px) {
  2168. :not(html):not(body)::-webkit-scrollbar {
  2169. width: 8px;
  2170. height: 8px;
  2171. background: transparent;
  2172. }
  2173. :not(html):not(body)::-webkit-scrollbar-track {
  2174. background: transparent;
  2175. }
  2176. :not(html):not(body)::-webkit-scrollbar-thumb {
  2177. border-radius: 4px;
  2178. background-color: hsla(0, 0%, 54.9%, 0.3);
  2179. }
  2180. :not(html):not(body)::-webkit-scrollbar-thumb:hover {
  2181. background-color: hsla(0, 0%, 54.9%, 0.5);
  2182. }
  2183. .ele-scrollbar-mini::-webkit-scrollbar {
  2184. width: 6px;
  2185. height: 6px;
  2186. }
  2187. .ele-scrollbar-mini::-webkit-scrollbar-thumb {
  2188. border-radius: 3px;
  2189. }
  2190. .ele-scrollbar-hide::-webkit-scrollbar {
  2191. width: 0;
  2192. height: 0;
  2193. }
  2194. }
  2195. //=========================================================== 自定义全局样式结束 ===========================================================//
  2196. .list-page-slot {
  2197. > header,
  2198. > .container {
  2199. background: @dark-bg;
  2200. }
  2201. }
  2202. .normal-bg {
  2203. background: @dark-bg;
  2204. }
  2205. .padding-16 {
  2206. padding: 16px;
  2207. }
  2208. .iot-dictionary,
  2209. .iot-relation {
  2210. &-left {
  2211. background: @dark-bg;
  2212. }
  2213. }
  2214. .el-range-editor.el-input__inner {
  2215. height: 100%;
  2216. background-color: @dark-bg;
  2217. }
  2218. //===========================================自定义业务样式开始=====================================================================//
  2219. .el-card.rr-view-ctx-card .el-card__body {
  2220. height: 100%;
  2221. }
  2222. // views/iot/iot-thing-grouping-left
  2223. .iot-thing-grouping-left {
  2224. width: 250px;
  2225. .el-radio-group {
  2226. display: flex;
  2227. flex-direction: column;
  2228. align-items: start;
  2229. }
  2230. .el-select {
  2231. width: 100%;
  2232. }
  2233. > .wrapper {
  2234. > .block {
  2235. color: @--text-regular-color;
  2236. border: var(--el-border);
  2237. background: @dark-bg;
  2238. padding: 8px;
  2239. border-radius: 4px;
  2240. cursor: pointer;
  2241. opacity: 0.6;
  2242. overflow: hidden;
  2243. > div {
  2244. line-height: 1.8em;
  2245. }
  2246. > .name {
  2247. font-weight: bold;
  2248. }
  2249. > .date {
  2250. color: @text-2;
  2251. }
  2252. > .desc {
  2253. overflow: hidden;
  2254. white-space: nowrap;
  2255. text-overflow: ellipsis;
  2256. }
  2257. &:not(last-child) {
  2258. margin-bottom: 10px;
  2259. }
  2260. }
  2261. > .active {
  2262. opacity: 1;
  2263. }
  2264. }
  2265. }
  2266. // views/iot-entity
  2267. .el-table tr.el-table__row--striped.highlight-row td.el-table__cell {
  2268. background-color: @--color-primary-light !important;
  2269. }
  2270. tr.highlight-row td {
  2271. background-color: @--color-primary-light !important;
  2272. }
  2273. // src/components/cron/src/index
  2274. #changeContab {
  2275. .el-tabs__nav-scroll {
  2276. // background: @tr-bg-color !important;
  2277. }
  2278. .language {
  2279. // background: @tr-bg-color;
  2280. position: absolute;
  2281. right: 25px;
  2282. z-index: 1;
  2283. }
  2284. .el-tabs {
  2285. box-shadow: none;
  2286. }
  2287. .tabBody {
  2288. .el-row {
  2289. margin: 10px 0;
  2290. .long {
  2291. .el-select {
  2292. width: 350px;
  2293. }
  2294. }
  2295. .el-input-number {
  2296. width: 110px;
  2297. }
  2298. }
  2299. }
  2300. .bottom {
  2301. width: 100%;
  2302. text-align: center;
  2303. margin-top: 5px;
  2304. position: relative;
  2305. .value {
  2306. font-size: 18px;
  2307. vertical-align: middle;
  2308. color: @text-regular-color;
  2309. }
  2310. }
  2311. }
  2312. // src/components/map/src/get-position-by-map
  2313. #get-position-by-map {
  2314. position: relative;
  2315. height: 100%;
  2316. h4 {
  2317. color: @--text-regular-color;
  2318. }
  2319. .search {
  2320. background: @dark-bg;
  2321. }
  2322. .input-container {
  2323. position: absolute;
  2324. right: 20px;
  2325. bottom: 20px;
  2326. display: flex;
  2327. align-items: center;
  2328. background: @dark-bg;
  2329. color: @--text-regular-color;
  2330. border-radius: 2px;
  2331. padding: 8px 16px;
  2332. z-index: 2;
  2333. }
  2334. }
  2335. // src/components/sidetree/index
  2336. .side-tree-wrap .tree-wrap {
  2337. background: @dark-bg;
  2338. }
  2339. // src/components/upload/uploadfile
  2340. .upload-file {
  2341. .el-upload {
  2342. display: flex;
  2343. justify-content: center;
  2344. align-items: center;
  2345. flex-direction: column;
  2346. }
  2347. .el-upload__tip {
  2348. text-align: center;
  2349. color: @--text-regular-color;
  2350. }
  2351. .el-upload-list__item-name {
  2352. display: flex;
  2353. align-items: center;
  2354. color: @--text-regular-color;
  2355. }
  2356. .el-upload-list__item-file-name {
  2357. color: @--text-regular-color;
  2358. }
  2359. .el-icon--close {
  2360. // color: @text-regular-color !important;
  2361. }
  2362. .el-upload-dragger {
  2363. .el-icon--upload {
  2364. margin: 0;
  2365. }
  2366. }
  2367. }
  2368. // views/alarm/record-detail
  2369. .record-detail .container .el-row .el-col-1 .el-divider {
  2370. border-color: @border-color;
  2371. }
  2372. // views/cache/cache-search/search-multi-select
  2373. .all-c:hover {
  2374. // background-color: @tr-bg-color
  2375. }
  2376. // views/data-analysic/monotor-day-month-year, views/data-analysic/usage
  2377. .usage-chart-table {
  2378. background-color: @block-bg-color;
  2379. }
  2380. // views/data-analysic/monotor-real-time , views/data-analysic/monotor
  2381. .usage-chart-table,
  2382. .monitor-chart-table {
  2383. background-color: @dark-bg;
  2384. }
  2385. // views/device/components/basic-table
  2386. .list-item-detail-basic-table .table table {
  2387. border-color: @border-color;
  2388. }
  2389. // views/device/components/list-item-detail-device-attribute
  2390. .list-item-detail-device-attribute .block-item {
  2391. border: var(--el-border);
  2392. }
  2393. // views/iot/relation/component/left-modal
  2394. .left-modal-comp {
  2395. //background: @content-bg-color;
  2396. background: @dark-bg;
  2397. > .collapse {
  2398. //background: @content-bg-color;
  2399. .el-collapse .el-collapse-item__content {
  2400. > .rect {
  2401. //border: 1px solid @border-color;
  2402. }
  2403. }
  2404. }
  2405. }
  2406. // views/iot/relation/component/view
  2407. .iot-relation-view {
  2408. color: @text-regular-color;
  2409. }
  2410. // src/views/tenant
  2411. .corporate-grouping-form {
  2412. p {
  2413. color: @text-color;
  2414. }
  2415. }
  2416. .corporate-manage-admin-corporate-form {
  2417. > .left,
  2418. .right {
  2419. p {
  2420. color: @text-color;
  2421. }
  2422. }
  2423. }
  2424. .corporate-manage-admin-thing-form {
  2425. > .left,
  2426. .right {
  2427. p {
  2428. color: @text-color;
  2429. }
  2430. }
  2431. }
  2432. // views/iot/dictListWrapper
  2433. .dictListWrapper {
  2434. .dict-list .dict-list-item:hover {
  2435. background-color: var(--el-fill-color-light);
  2436. }
  2437. }
  2438. // sidetree
  2439. .side-tree-wrap .tree-wrap .tree-content .el-tree {
  2440. color: @--text-regular-color;
  2441. }
  2442. .expandFoldIcon {
  2443. width: 20px;
  2444. height: 20px;
  2445. color: @text-color;
  2446. }
  2447. // data-analysis/monitor.vue, usage.vue, attributes.vue
  2448. .attributes,
  2449. .preview-form {
  2450. border: var(--el-border);
  2451. }
  2452. .attributeGroups .caret {
  2453. color: @text-regular-color;
  2454. }
  2455. .monitor .chartWrap,
  2456. .usage .chartWrap {
  2457. border: var(--el-border);
  2458. }
  2459. // push/push-main-add-or-update
  2460. .config-params-form {
  2461. border: var(--el-border);
  2462. }
  2463. // dataset/tingGroup.vue
  2464. .thing-group {
  2465. border: var(--el-border);
  2466. }
  2467. .thing-group .item,
  2468. .dataset-selected-conditions {
  2469. background-color: var(--el-fill-color-lighter);
  2470. }
  2471. // communication/index.vue
  2472. .dataset .avatar-icon {
  2473. background-color: @dark-bg;
  2474. border: 1px solid @border-color;
  2475. }
  2476. // device-control/add-or-update.vue
  2477. .editor-tooltip-text-color,
  2478. .normal-text-color {
  2479. color: var(--el-text-color-regular);
  2480. }
  2481. // calculaton-module/rule-editor.vue
  2482. .ruleEditor {
  2483. border: var(--el-border);
  2484. }
  2485. // calculaton-module/jsRuleTest.vue
  2486. .editor-title,
  2487. .format-and-fullscreen {
  2488. color: @text-color;
  2489. }
  2490. // device/list-item-detail.vue
  2491. .list-item-detail {
  2492. color: @--text-regular-color;
  2493. }
  2494. .list-item-detail > .main > .wrapper .el-tabs .el-tabs__content {
  2495. //background: @input-bg-color;
  2496. }
  2497. .list-item-detail-basic-table > .table > table tr td {
  2498. // background: @list-item-detail-table-td;
  2499. }
  2500. .list-item-detail-basic-table > .table > table tr td.odd {
  2501. //background: @list-item-detail-table-td-odd;
  2502. }
  2503. // iot/iot-device-extend.vue
  2504. .device-status {
  2505. color: @--text-regular-color;
  2506. }
  2507. // device-board-setting/view.vue, edit.vue
  2508. .device-board-setting .setting-wrapper {
  2509. background: @device-board-setting-bg;
  2510. }
  2511. // monitor-analysis-setting/components/data-treating
  2512. //.data-treating .editor-wrap .label {
  2513. // color: @text-color;
  2514. //}
  2515. // sideTree/index.vue
  2516. .tree-dialog-icon {
  2517. //color: @text-color;
  2518. }
  2519. .layout-toggle-button {
  2520. color: #fff;
  2521. background-color: @--color-primary;
  2522. }
  2523. .text-color-white-or-black {
  2524. color: @--text-regular-color;
  2525. }
  2526. // device-board-setting/device-configration/index.vue
  2527. .hightlight-title-color {
  2528. color: @hightlight-title-color;
  2529. }
  2530. .el-table thead.is-group th.el-table__cell {
  2531. background: var(--el-fill-color-light);
  2532. }
  2533. // /device-board-setting/view
  2534. .dark-and-light-bg-toggle {
  2535. background-color: @dark-bg;
  2536. }
  2537. // 分割面板样式开始
  2538. @css-prefix: eleU-;
  2539. @split-prefix-cls: ~'@{css-prefix}split';
  2540. @box-shadow: 0 0 4px 0 rgba(28, 36, 56, 0.4);
  2541. @trigger-bar-background: @text-color;
  2542. @trigger-background: @dark-bg;
  2543. @trigger-width: 12px;
  2544. @trigger-bar-width: 10px;
  2545. @trigger-bar-offset: (@trigger-width - @trigger-bar-width) / 2;
  2546. @trigger-bar-interval: 3px;
  2547. @trigger-bar-weight: 1px;
  2548. @trigger-bar-con-height: (@trigger-bar-weight + @trigger-bar-interval) * 8;
  2549. .@{split-prefix-cls} {
  2550. &-wrapper {
  2551. position: relative;
  2552. width: 100%;
  2553. height: 100%;
  2554. }
  2555. &-pane {
  2556. position: absolute;
  2557. &.left-pane,
  2558. &.right-pane {
  2559. top: 0;
  2560. bottom: 0;
  2561. }
  2562. &.left-pane {
  2563. left: 0;
  2564. }
  2565. &.right-pane {
  2566. right: 0;
  2567. }
  2568. &.top-pane,
  2569. &.bottom-pane {
  2570. left: 0;
  2571. right: 0;
  2572. }
  2573. &.top-pane {
  2574. top: 0;
  2575. }
  2576. &.bottom-pane {
  2577. bottom: 0;
  2578. }
  2579. &-moving {
  2580. -webkit-user-select: none;
  2581. -moz-user-select: none;
  2582. -ms-user-select: none;
  2583. user-select: none;
  2584. }
  2585. }
  2586. &-trigger {
  2587. border: var(--el-border);
  2588. &-con {
  2589. position: absolute;
  2590. transform: translate(-50%, -50%);
  2591. z-index: 10;
  2592. }
  2593. &-bar-con {
  2594. position: absolute;
  2595. overflow: hidden;
  2596. &.vertical {
  2597. left: @trigger-bar-offset;
  2598. top: 50%;
  2599. height: @trigger-bar-con-height;
  2600. transform: translate(0, -50%);
  2601. }
  2602. &.horizontal {
  2603. left: 50%;
  2604. top: @trigger-bar-offset;
  2605. width: @trigger-bar-con-height;
  2606. transform: translate(-50%, 0);
  2607. }
  2608. }
  2609. &-vertical {
  2610. width: @trigger-width;
  2611. height: 100%;
  2612. background: @trigger-background;
  2613. border-top: none;
  2614. border-bottom: none;
  2615. cursor: col-resize;
  2616. .@{split-prefix-cls}-trigger-bar {
  2617. width: @trigger-bar-width;
  2618. height: 1px;
  2619. background: @trigger-bar-background;
  2620. float: left;
  2621. margin-top: @trigger-bar-interval;
  2622. }
  2623. }
  2624. &-horizontal {
  2625. height: @trigger-width;
  2626. width: 100%;
  2627. background: @trigger-background;
  2628. border-left: none;
  2629. border-right: none;
  2630. cursor: row-resize;
  2631. .@{split-prefix-cls}-trigger-bar {
  2632. height: @trigger-bar-width;
  2633. width: 1px;
  2634. background: @trigger-bar-background;
  2635. float: left;
  2636. margin-right: @trigger-bar-interval;
  2637. }
  2638. }
  2639. }
  2640. &-horizontal {
  2641. > .@{split-prefix-cls}-trigger-con {
  2642. top: 50%;
  2643. height: 100%;
  2644. width: 0;
  2645. }
  2646. }
  2647. &-vertical {
  2648. > .@{split-prefix-cls}-trigger-con {
  2649. left: 50%;
  2650. height: 0;
  2651. width: 100%;
  2652. }
  2653. }
  2654. .no-select {
  2655. -webkit-touch-callout: none;
  2656. -webkit-user-select: none;
  2657. -moz-user-select: none;
  2658. -ms-user-select: none;
  2659. user-select: none;
  2660. }
  2661. }
  2662. .dashboard-design,
  2663. .dashboard-preview {
  2664. .dashboard-left {
  2665. background: rgba(@dark-bg, 0.6);
  2666. height: 100%;
  2667. padding: 8px;
  2668. border-radius: 4px;
  2669. user-select: none;
  2670. display: flex;
  2671. flex-direction: column;
  2672. ::-webkit-scrollbar {
  2673. display: none;
  2674. }
  2675. .list {
  2676. flex: 1;
  2677. overflow-y: auto;
  2678. }
  2679. .el-card {
  2680. margin-bottom: 20px;
  2681. opacity: 0.7;
  2682. cursor: pointer;
  2683. .el-card__body {
  2684. > div {
  2685. display: flex;
  2686. align-items: center;
  2687. word-break: break-all;
  2688. padding: 14px;
  2689. > b {
  2690. flex: 1;
  2691. }
  2692. }
  2693. }
  2694. button {
  2695. width: 22px;
  2696. height: 22px;
  2697. border-radius: 100%;
  2698. cursor: pointer;
  2699. padding: 0 !important;
  2700. }
  2701. &.active {
  2702. opacity: 1;
  2703. }
  2704. }
  2705. img {
  2706. width: 100%;
  2707. height: 91.94px;
  2708. object-fit: cover;
  2709. }
  2710. }
  2711. div.active {
  2712. border: 1px solid @--color-primary;
  2713. }
  2714. }
  2715. .el-table {
  2716. .table-header {
  2717. display: flex;
  2718. align-items: center;
  2719. justify-content: center;
  2720. > span {
  2721. margin-right: 8px;
  2722. }
  2723. }
  2724. }
  2725. .el-drawer__header {
  2726. color: @--text-regular-color;
  2727. .el-drawer__title {
  2728. font-size: var(--el-font-size-large);
  2729. }
  2730. }
  2731. .firstlook-style-form {
  2732. .style-select-container {
  2733. .block {
  2734. //background: @dark-bg-2;
  2735. }
  2736. }
  2737. }
  2738. .theme-bg {
  2739. background: @dark-bg;
  2740. }
  2741. .normal-radius {
  2742. border-radius: 4px;
  2743. }
  2744. .store-select-dialog {
  2745. background: @dark-bg-2;
  2746. }
  2747. .test-new {
  2748. background: @dark-bg;
  2749. }
  2750. .side-tree-container {
  2751. .el-loading-mask,
  2752. .side-tree-main {
  2753. background: @dark-bg;
  2754. }
  2755. }