main.scss 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785
  1. @import "./public-style.scss";
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. }
  7. html,
  8. body,
  9. #app {
  10. width: 100%;
  11. height: 100%;
  12. font-size: 14px;
  13. background: #f4f7f9;
  14. min-width: 1360px;
  15. }
  16. ul li {
  17. list-style: none;
  18. padding: 0px;
  19. margin: 0px;
  20. }
  21. body {
  22. font-family: "PingFang SC", "Microsoft YaHei", "微软雅黑", Microsoft YaHei, "Helvetica Neue", Helvetica,
  23. "Hiragino Sans GB", Arial, sans-serif;
  24. -webkit-font-smoothing: antialiased;
  25. -moz-osx-font-smoothing: grayscale;
  26. margin: 0;
  27. }
  28. textarea,
  29. textarea::-webkit-input-placeholder {
  30. font-family: "PingFang SC", "Microsoft YaHei", "微软雅黑", Microsoft YaHei, "Helvetica Neue", Helvetica,
  31. "Hiragino Sans GB", Arial, sans-serif;
  32. }
  33. .dmp-app {
  34. height: 100%;
  35. width: 100%;
  36. display: flex;
  37. flex-direction: row;
  38. }
  39. a {
  40. text-decoration: none;
  41. }
  42. .el-menu--collapse {
  43. width: 85px;
  44. }
  45. .el-table th {
  46. background-color: #f5f7fa !important;
  47. }
  48. .pagination {
  49. margin: 20px 0;
  50. text-align: right;
  51. }
  52. .el-button + .el-tooltip {
  53. margin-left: 10px;
  54. }
  55. //全局el-table设置
  56. .el-table {
  57. border: 1px solid #e0e1e3;
  58. }
  59. .el-table th {
  60. background: #ffffff !important;
  61. }
  62. .el-table .warning-row {
  63. background: #f8fcff;
  64. }
  65. .el-table tr:hover {
  66. background: #f5f7fa;
  67. }
  68. // 去掉表格单元格边框
  69. .customer-table th {
  70. border: none;
  71. }
  72. .customer-table td,
  73. .customer-table th.is-leaf {
  74. border: none;
  75. }
  76. // 表格最外边框
  77. .el-table--border,
  78. .el-table--group {
  79. border: none;
  80. }
  81. // 表格最外层边框-底部边框
  82. .el-table--border::after,
  83. .el-table--group::after {
  84. width: 0;
  85. }
  86. .customer-table::before {
  87. width: 0;
  88. }
  89. .customer-table .el-table__fixed-right::before,
  90. .el-table__fixed::before {
  91. width: 0;
  92. }
  93. .el-table__header .el-table-column--selection .cell .el-checkbox {
  94. margin-left: 5px;
  95. }
  96. .el-table-column--selection .cell {
  97. padding-left: 10px;
  98. }
  99. .site-tips {
  100. background: #303133;
  101. height: auto;
  102. max-width: 375px;
  103. position: absolute;
  104. top: -25px;
  105. left: 115px;
  106. box-shadow: 0px 4px 26px 0px rgba(206, 206, 206, 0.3);
  107. border-radius: 5px;
  108. color: #fff;
  109. padding: 12px 14px;
  110. z-index: 9999;
  111. transform: translate(-50%, -120%);
  112. word-break: break-all;
  113. &:after {
  114. content: " ";
  115. position: absolute;
  116. bottom: -(vw(9));
  117. left: 50%;
  118. margin-left: -(vw(10));
  119. width: 0;
  120. height: 0;
  121. border-left: vw(10) solid transparent;
  122. border-right: vw(10) solid transparent;
  123. border-top: vw(10) solid #303133;
  124. }
  125. strong {
  126. text-overflow: ellipsis;
  127. overflow: hidden;
  128. display: block;
  129. }
  130. }
  131. .text-tips {
  132. background: #ffffff;
  133. height: auto;
  134. width: auto;
  135. position: absolute;
  136. z-index: 9999;
  137. word-break: break-all;
  138. border: 1px solid #4ea0fa;
  139. font-size: 12px;
  140. padding: 4px 10px;
  141. border-radius: 4px;
  142. }
  143. .text-gray-tips {
  144. height: auto;
  145. width: auto;
  146. position: absolute;
  147. z-index: 9999;
  148. word-break: break-all;
  149. border: 1px solid #4ea0fa;
  150. font-size: 12px;
  151. padding: 4px 10px;
  152. background: #676b77;
  153. border: 1px solid rgba(78, 160, 250, 0.6);
  154. opacity: 0.6;
  155. border-radius: 4px;
  156. }
  157. .no-scrollbar::-webkit-scrollbar {
  158. display: none;
  159. }
  160. .foot {
  161. display: flex;
  162. justify-content: flex-end;
  163. .selectAll {
  164. display: none;
  165. }
  166. }
  167. .move-enter-active,
  168. .move-leave-active {
  169. transition: opacity 0.5s;
  170. }
  171. .move-enter,
  172. .move-leave {
  173. opacity: 0;
  174. }
  175. //消息通知样式
  176. .el-notification {
  177. width: 460px;
  178. padding: 15px 20px;
  179. .el-notification__group {
  180. margin: 0;
  181. }
  182. .el-notification__content {
  183. font-size: 14px;
  184. line-height: 14px;
  185. margin: 0 0 0 0;
  186. color: #606266;
  187. text-align: justify;
  188. }
  189. }
  190. .notice {
  191. display: flex;
  192. align-items: center;
  193. img {
  194. width: 40px;
  195. height: 40px;
  196. }
  197. .notice-content {
  198. box-sizing: border-box;
  199. font-family: Microsoft YaHei;
  200. font-weight: 400;
  201. margin-left: 15px;
  202. border-right: 1px solid #f6f6f6;
  203. .title {
  204. display: block;
  205. height: 14px;
  206. font-size: 14px;
  207. color: #212226;
  208. }
  209. .nowrap {
  210. display: inline-block;
  211. line-height: 20px;
  212. width: 300px;
  213. font-size: 12px;
  214. color: #424656;
  215. text-indent: -0.4em;
  216. padding-right: 8px;
  217. }
  218. }
  219. }
  220. .el-notification__closeBtn {
  221. position: absolute;
  222. top: 40%;
  223. right: 15px;
  224. cursor: pointer;
  225. color: #909399;
  226. font-size: 16px;
  227. }
  228. .notice_icon {
  229. .el-icon-close:before {
  230. content: "关闭";
  231. display: flex;
  232. align-items: center;
  233. justify-content: center;
  234. width: 55px;
  235. font-size: 14px;
  236. font-family: Microsoft YaHei;
  237. font-weight: 400;
  238. color: $mainTextColor;
  239. }
  240. }
  241. // 地图
  242. // 去除地图默认样式
  243. // 去除边框
  244. .esri-view .esri-view-surface--inset-outline:focus::after {
  245. outline: auto 0px Highlight !important;
  246. outline: auto 0px -webkit-focus-ring-color !important;
  247. }
  248. // 去除+ -
  249. .esri-ui-top-left.esri-ui-corner {
  250. display: none;
  251. }
  252. .map-content-div {
  253. width: 100%;
  254. height: 100%;
  255. }
  256. .esri-ui-manual-container > .esri-component {
  257. display: none;
  258. }
  259. // 地图
  260. #viewDiv {
  261. width: 100%;
  262. height: 100%;
  263. }
  264. // 地图弹窗样式
  265. // 地图弹窗样式
  266. .pop-template-info {
  267. position: absolute;
  268. left: 100px;
  269. top: 50px;
  270. width: auto;
  271. height: auto;
  272. padding: 0px 20px 20px 20px;
  273. box-sizing: border-box;
  274. background: rgba(0, 0, 0, 0.5);
  275. border: 1px solid #2ddfff;
  276. box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
  277. // 滚动条去除样式
  278. .el-scrollbar {
  279. .el-scrollbar__wrap {
  280. overflow-x: hidden;
  281. }
  282. }
  283. .devicename {
  284. font-size: 18px;
  285. font-weight: bold;
  286. line-height: 24px;
  287. margin: 16px 0;
  288. color: #ffffff;
  289. align-items: center;
  290. width: 99%;
  291. white-space: nowrap;
  292. overflow: hidden;
  293. text-overflow: ellipsis;
  294. .i-icon1 {
  295. width: 8px;
  296. height: 18px;
  297. background: #2ddfff;
  298. display: inline-block;
  299. }
  300. .i-icon2 {
  301. width: 1px;
  302. height: 18px;
  303. background: #2ddfff;
  304. opacity: 1;
  305. display: inline-block;
  306. margin-left: 3px;
  307. margin-right: 10px;
  308. }
  309. .warn {
  310. background: #fd2d72;
  311. }
  312. .offline {
  313. background: #afafaf;
  314. }
  315. }
  316. hr {
  317. height: 0px;
  318. border: none;
  319. border-top: 0.01rem solid #fffffc;
  320. opacity: 0.5;
  321. margin-bottom: 0.1rem;
  322. }
  323. .ul-scroller {
  324. height: 300px;
  325. li {
  326. display: flex;
  327. justify-content: space-between;
  328. line-height: 24px;
  329. padding-right: 10px;
  330. span {
  331. font-size: 16px;
  332. color: #ffffff;
  333. opacity: 0.8;
  334. }
  335. span:nth-child(1) {
  336. text-align-last: justify;
  337. padding-right: 40px;
  338. }
  339. span:nth-child(2) {
  340. opacity: 1;
  341. }
  342. .warn {
  343. color: #fd2d72;
  344. }
  345. }
  346. }
  347. }
  348. /*Upload*/
  349. .pure-button {
  350. width: 150px;
  351. height: 40px;
  352. line-height: 40px;
  353. text-align: center;
  354. color: #fff;
  355. border-radius: 3px;
  356. }
  357. .g-core-image-corp-container .info-aside {
  358. height: 45px;
  359. }
  360. .el-upload--text {
  361. background-color: #fff;
  362. border: 1px dashed #d9d9d9;
  363. border-radius: 6px;
  364. box-sizing: border-box;
  365. width: 360px;
  366. height: 180px;
  367. text-align: center;
  368. cursor: pointer;
  369. position: relative;
  370. overflow: hidden;
  371. }
  372. .el-upload--text .el-icon-upload {
  373. font-size: 67px;
  374. color: #97a8be;
  375. margin: 40px 0 16px;
  376. line-height: 50px;
  377. }
  378. .el-upload--text {
  379. color: #97a8be;
  380. font-size: 14px;
  381. text-align: center;
  382. }
  383. .el-upload--text em {
  384. font-style: normal;
  385. }
  386. //左右浮动
  387. .el-fl-left {
  388. float: left;
  389. }
  390. .el-fl-right {
  391. float: right;
  392. }
  393. // 搜索栏间隔
  394. .search {
  395. width: 100%;
  396. height: 60px;
  397. margin-bottom: 20px;
  398. background: #fff;
  399. padding: 15px 20px;
  400. box-sizing: border-box;
  401. border-radius: 6px;
  402. .search-btn,
  403. .search-input,
  404. .el-select,
  405. .el-cascader,
  406. .el-date-editor {
  407. margin-right: 20px;
  408. }
  409. .search-label {
  410. margin-right: 10px;
  411. color: #3b4045;
  412. font-size: 14px;
  413. vertical-align: middle;
  414. display: inline-block;
  415. }
  416. .search-input {
  417. width: 240px;
  418. }
  419. .search-btn {
  420. height: 30px;
  421. background: $mainTextColor;
  422. border-radius: 4px;
  423. padding: 9px 8px;
  424. box-sizing: border-box;
  425. line-height: 10px;
  426. i {
  427. font-size: 14px;
  428. display: inline-block;
  429. vertical-align: middle;
  430. }
  431. }
  432. .el-date-editor {
  433. width: 400px;
  434. }
  435. .el-date-editor .el-range-separator {
  436. padding: 0;
  437. }
  438. &:after {
  439. visibility: hidden;
  440. display: block;
  441. font-size: 0;
  442. content: " ";
  443. clear: both;
  444. height: 0;
  445. }
  446. }
  447. //左边菜单栏边框显示
  448. .el-menu {
  449. border: none !important;
  450. width: 220px;
  451. }
  452. .el-menu-item,
  453. .el-submenu.is-active .el-submenu__title,
  454. .el-submenu .el-menu-item,
  455. .el-submenu__title {
  456. height: 50px;
  457. line-height: 50px;
  458. padding: 0 10px;
  459. margin: 0 10px;
  460. background: #2c354a;
  461. border-radius: 32px 0px 0px 32px !important;
  462. color: $mainTextColor;
  463. }
  464. // 折叠菜单栏时出现箭头图标
  465. .sidebar-el-menu {
  466. .el-submenu > .el-submenu__title > .el-submenu__icon-arrow {
  467. display: inline;
  468. }
  469. .el-submenu > .el-submenu__title > .el-submenu__icon-arrow:before {
  470. content: "\e791";
  471. color: #ffffff;
  472. }
  473. .el-submenu.is-active > .el-submenu__title > .el-submenu__icon-arrow:before {
  474. content: "\e791";
  475. color: $mainTextColor;
  476. }
  477. /*菜单关闭*/
  478. .el-submenu > .el-submenu__title .el-submenu__icon-arrow {
  479. -webkit-transform: rotateZ(0deg);
  480. -ms-transform: rotate(0deg);
  481. transform: rotateZ(0deg);
  482. position: absolute;
  483. right: 10px;
  484. }
  485. /*菜单展开*/
  486. .el-submenu.is-opened > .el-submenu__title .el-submenu__icon-arrow {
  487. -webkit-transform: rotateZ(90deg) !important;
  488. -ms-transform: rotate(90deg) !important;
  489. transform: rotateZ(90deg) !important;
  490. }
  491. }
  492. .sidebar-el-menu .el-icon-arrow-down:before {
  493. content: "\e791";
  494. }
  495. /*菜单关闭*/
  496. .el-submenu > .el-submenu__title .el-submenu__icon-arrow {
  497. -webkit-transform: rotateZ(0deg);
  498. -ms-transform: rotate(0deg);
  499. transform: rotateZ(0deg);
  500. }
  501. /*菜单展开*/
  502. .el-submenu.is-opened > .el-submenu__title .el-submenu__icon-arrow {
  503. -webkit-transform: rotateZ(90deg);
  504. -ms-transform: rotate(90deg);
  505. transform: rotateZ(90deg);
  506. }
  507. // 按钮内图标据文字
  508. .el-select-dropdown-dark {
  509. border: none;
  510. background: linear-gradient(0deg, #343d55 0%, #3b455f 100%);
  511. box-shadow: 0px 20px 30px 0px rgba(8, 18, 40, 0.15);
  512. border-radius: 6px;
  513. .popper__arrow {
  514. display: none;
  515. }
  516. .el-select-dropdown__item {
  517. font-size: 14px;
  518. &.hover,
  519. &:hover {
  520. background: none;
  521. color: #ffffff;
  522. }
  523. }
  524. .el-select-dropdown__item.selected {
  525. color: #ffffff;
  526. }
  527. }
  528. // 弹出框
  529. .alert {
  530. background-color: rgba(0, 0, 0, 0.6);
  531. position: fixed;
  532. top: 0;
  533. left: 0;
  534. width: 100%;
  535. height: 100%;
  536. z-index: 1999;
  537. color: #3e3e3e;
  538. }
  539. .message-box {
  540. width: 400px;
  541. background: rgba(255, 255, 255, 1);
  542. border-radius: 6px;
  543. position: absolute;
  544. top: 50%;
  545. left: 50%;
  546. transform: translate(-50%, -50%);
  547. padding: 20px 20px 20px 34px;
  548. font-size: 16px;
  549. animation: alertdown 0.2s forwards;
  550. .row-1 {
  551. color: #424656;
  552. margin-bottom: 10px;
  553. padding-left: 24px;
  554. font-size: 14px;
  555. display: flex;
  556. align-items: center;
  557. word-break: break-all;
  558. position: relative;
  559. .dmp-icon-btn {
  560. color: #ff7171;
  561. font-size: 14px;
  562. width: 14px;
  563. height: 14px;
  564. background-size: 14px;
  565. margin-right: 10px;
  566. position: absolute;
  567. left: 0;
  568. top: 17px;
  569. }
  570. .dmp-icon-btn.icon-error {
  571. background-image: url("../img/icon_error.png");
  572. }
  573. .dmp-icon-btn.icon-warning {
  574. background-image: url("../img/icon-warning.png");
  575. }
  576. .dmp-icon-btn.icon-success {
  577. background-image: url("/static/imgs/icon-success.png");
  578. }
  579. .title {
  580. width: 273px;
  581. line-height: 18px;
  582. margin-top: 15px;
  583. }
  584. .close {
  585. position: absolute;
  586. top: 0;
  587. right: 0;
  588. display: inline-block;
  589. height: 10px;
  590. width: 10px;
  591. cursor: pointer;
  592. background: url("../../assets/img/icon-close-off.png") no-repeat center;
  593. background-size: 10px 10px;
  594. &:hover {
  595. background-image: url("../../assets/img/icon-close-on.png");
  596. }
  597. }
  598. }
  599. .row-2 {
  600. margin-left: 25px;
  601. font-size: 12px;
  602. color: #ff7171;
  603. margin-bottom: 30px;
  604. word-break: break-all;
  605. width: 273px;
  606. &.warning {
  607. color: #f7b500;
  608. }
  609. &.success {
  610. color: #424656;
  611. }
  612. }
  613. .row-3 {
  614. display: flex;
  615. justify-content: flex-end;
  616. .el-button {
  617. font-size: 12px !important;
  618. height: 32px;
  619. min-width: 60px;
  620. margin-left: 15px;
  621. }
  622. }
  623. &.up {
  624. animation: alertup 0.2s forwards;
  625. }
  626. }
  627. //通用表格样式
  628. .el-pagination.is-background .btn-next,
  629. .el-pagination.is-background .btn-prev,
  630. .el-pagination.is-background .el-pager li {
  631. width: 30px;
  632. height: 30px;
  633. background: #ffffff;
  634. border: 1px solid #d8d8d8;
  635. border-radius: 4px;
  636. color: #424656;
  637. font-weight: 400;
  638. }
  639. @font-face {
  640. font-family: "iconfont"; /* Project id 2167017 */
  641. src: url("//at.alicdn.com/t/font_2167017_wrd31fts4a.woff2?t=1623035434172") format("woff2"),
  642. url("//at.alicdn.com/t/font_2167017_wrd31fts4a.woff?t=1623035434172") format("woff"),
  643. url("//at.alicdn.com/t/font_2167017_wrd31fts4a.ttf?t=1623035434172") format("truetype");
  644. }
  645. .zoniot_font {
  646. font-family: "zoniot_font" !important;
  647. color: $mainTextColor;
  648. font-size: 16px;
  649. line-height: 15px;
  650. font-style: normal;
  651. -webkit-font-smoothing: antialiased;
  652. -webkit-text-stroke-width: 0.2px;
  653. -moz-osx-font-smoothing: grayscale;
  654. cursor: pointer;
  655. }
  656. .iconfont {
  657. font-family: "iconfont" !important;
  658. font-size: 14px;
  659. font-style: normal;
  660. -webkit-font-smoothing: antialiased;
  661. -webkit-text-stroke-width: 0.2px;
  662. -moz-osx-font-smoothing: grayscale;
  663. cursor: pointer;
  664. }
  665. @mixin searchTextBotton {
  666. color: $mainTextColor;
  667. font-size: 30px;
  668. }
  669. // table 操作字体颜色
  670. .zz-table .el-table {
  671. table {
  672. i.iconfont {
  673. color: $mainTextColor;
  674. }
  675. }
  676. }
  677. .search .search-icon {
  678. float: right;
  679. i.iconfont {
  680. margin-right: 20px;
  681. @include searchTextBotton;
  682. }
  683. i.zoniot_font {
  684. margin-right: 20px;
  685. line-height: inherit;
  686. @include searchTextBotton;
  687. }
  688. span.iconfont {
  689. margin-right: 20px;
  690. @include searchTextBotton;
  691. }
  692. i:last-child {
  693. margin-right: 0;
  694. }
  695. }
  696. .handle-box,
  697. .search,
  698. .camerabox {
  699. i.fr-fs-fc {
  700. @include searchTextBotton;
  701. }
  702. }
  703. // 异常页面
  704. div.box-40 {
  705. position: absolute;
  706. top: 50%;
  707. left: 50%;
  708. transform: translate(-50%, -50%);
  709. .title {
  710. text-align: center;
  711. margin-top: 40px;
  712. h2 {
  713. color: #424656;
  714. font-size: 24px;
  715. }
  716. .text-title {
  717. color: #aaadba;
  718. margin: 10px 0 20px 0;
  719. }
  720. }
  721. }
  722. .re-uplod-style .avatar-uploader .el-upload--text,
  723. .upload_div .el-upload--text {
  724. display: block;
  725. border: none;
  726. width: inherit;
  727. height: inherit;
  728. background-color: transparent;
  729. color: unset;
  730. font-size: unset;
  731. }
  732. .content {
  733. .content-right {
  734. width: calc(100% - 280px);
  735. float: right;
  736. }
  737. }
  738. .QRImg {
  739. margin: auto;
  740. width: 300px;
  741. height: 300px;
  742. position: relative;
  743. }
  744. .width100 {
  745. width: 100% !important;
  746. }