common.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. /* body, h1, h2, h3, h4, h5, h6, hr, p,blockquote, dl, dt, dd, ul, ol, li,pre,
  7. form, fieldset, legend, button, input, textarea,
  8. th, td,
  9. img{border:medium none;margin: 0;padding: 0;list-style-type: none;} */
  10. li {
  11. list-style: none
  12. }
  13. a {
  14. text-decoration: none;
  15. }
  16. input,
  17. select {
  18. outline: none
  19. }
  20. table {
  21. border-spacing: 0;
  22. }
  23. textarea {
  24. resize: none;
  25. }
  26. .flex {
  27. display: flex
  28. }
  29. .flex1 {
  30. flex: 1
  31. }
  32. .flex2 {
  33. flex: 1.94
  34. }
  35. .flex8 {
  36. flex: 8
  37. }
  38. .flex10 {
  39. flex: 10
  40. }
  41. .flex3 {
  42. flex: 3
  43. }
  44. .flex9 {
  45. flex: 9
  46. }
  47. .align-top {
  48. vertical-align: top;
  49. }
  50. .align-left {
  51. text-align: left;
  52. }
  53. .align-right {
  54. text-align: right;
  55. }
  56. .left {
  57. float: left;
  58. }
  59. .right {
  60. float: right;
  61. }
  62. @font-face {
  63. font-family: electronicFont;
  64. src: url(../font/DS-DIGIT.TTF)
  65. }
  66. body {
  67. font-family: Arial, Helvetica, sans-serif;
  68. margin: 0;
  69. padding: 0;
  70. background: url(../images/bg.png) no-repeat #000;
  71. background-size: 100% auto;
  72. line-height: 1.15;
  73. font-size: 0.2rem!important;
  74. height: 100vh;
  75. }
  76. .color-green {
  77. color: #37FF01!important
  78. }
  79. .color-blue {
  80. color: #6F99FA!important
  81. }
  82. .color-red {
  83. color: #FF5801!important
  84. }
  85. .color-yellow {
  86. color: #EAF665!important
  87. }
  88. .color-orange {
  89. color: #DE8C54!important
  90. }
  91. .unprocess {
  92. color: #FF5801;
  93. }
  94. .processed {
  95. color: #37FF01
  96. }
  97. .necessary {
  98. color: red
  99. }
  100. .relative {
  101. position: relative;
  102. }
  103. .unshow {
  104. opacity: 0;
  105. cursor: default!important;
  106. }
  107. a.button {
  108. padding: 0 0.3125rem;
  109. display: inline-block;
  110. color: #1BE9FF;
  111. border: 1px solid #31E9FF;
  112. border-radius: 5px;
  113. line-height: 0.35rem;
  114. text-align: center;
  115. background: #031252;
  116. cursor: pointer;
  117. font-size: 0.2rem;
  118. }
  119. @media screen and (max-width:1024px) {
  120. html {
  121. font-size: 42px !important
  122. }
  123. body {
  124. /* background-size: contain; */
  125. }
  126. }
  127. @media screen and (min-width:1920) {
  128. html {
  129. font-size: 80px !important
  130. }
  131. }
  132. /* loading */
  133. /* #loading {
  134. position: absolute;
  135. top: 0;
  136. left: 0;
  137. bottom: 0;
  138. right: 0;
  139. display: flex;
  140. text-align: center;
  141. align-items: center;
  142. justify-content: center
  143. }
  144. #loading img {
  145. width: 1.25rem
  146. } */
  147. .loadingdata {
  148. position: relative;
  149. width: 100%;
  150. height: 100%
  151. }
  152. .preloader {
  153. position: absolute;
  154. left: 0px;
  155. top: 0px;
  156. width: 100%;
  157. height: 100%;
  158. z-index: 999999999999999;
  159. background-color: #fff;
  160. background-position: center center;
  161. background-repeat: no-repeat;
  162. background-image: url(../images/preloader.svg);
  163. }
  164. /* 组件树插件 */
  165. .treebox {
  166. height: 8.25rem;
  167. overflow-y: scroll;
  168. /* overflow-y: scroll; */
  169. scrollbar-color: transparent transparent;
  170. scrollbar-track-color: transparent;
  171. -ms-scrollbar-track-color: transparent;
  172. }
  173. .tree {
  174. font-size: 0.2rem;
  175. color: #fff;
  176. min-height: 0.25rem;
  177. /* margin: 0.275rem 0; */
  178. /* margin-bottom: 0.25rem; */
  179. position: relative;
  180. /* height:8.25rem; */
  181. /* overflow-y:scroll */
  182. /* border:1px solid pink; */
  183. /* -webkit-border-radius:4px;
  184. -moz-border-radius:4px;
  185. border-radius:4px; */
  186. /* border-right: 4px solid rgba(0, 0, 0, 0) */
  187. }
  188. .tree .maintree {
  189. background: linear-gradient(#031648 0%, #08416b 100%);
  190. }
  191. li.parent_li ul li ul li {
  192. display: none
  193. }
  194. .tree ul.child-two>li>span {
  195. padding-left: 0.5rem
  196. }
  197. .tree ul.child-three>li>span {
  198. padding-left: 0.8125rem
  199. }
  200. .tree li {
  201. list-style-type: none;
  202. line-height: 0.5rem;
  203. margin: 0;
  204. position: relative;
  205. /* padding-inline-start: 40px; */
  206. }
  207. .treeDepartment.selected,
  208. .treeDepartment.selected img {
  209. color: #0082FF
  210. }
  211. .treeCompany.selected,
  212. .treeCompany.selected img {
  213. color: #0082FF
  214. }
  215. .treeRole.selected {
  216. color: #0082FF
  217. }
  218. .tree li::before,
  219. .tree li::after {
  220. content: '';
  221. left: 0.3rem;
  222. position: absolute;
  223. right: auto;
  224. z-index: 99999999
  225. }
  226. .tree ul.child-three>li::before,
  227. .tree ul.child-three>::after {
  228. left: 0.6rem;
  229. }
  230. .tree li::before {
  231. border-left: 1px dotted #999;
  232. bottom: 0.625rem;
  233. height: 100%;
  234. top: -0.1125rem;
  235. width: 1px
  236. }
  237. .tree li::after {
  238. border-top: 1px dotted #999;
  239. height: 0.25rem;
  240. top: 0.275rem;
  241. width: 0.1625rem
  242. }
  243. .tree li span {
  244. background: #083C67;
  245. margin-bottom: 2px;
  246. /* -moz-border-radius:5px;
  247. -webkit-border-radius:5px;
  248. border-radius:5px; */
  249. font-size: 0.2rem;
  250. display: block;
  251. padding: 0.0175rem 0.1rem;
  252. text-decoration: none;
  253. }
  254. .tree li span img {
  255. height: 0.225rem;
  256. position: relative;
  257. top: -1px;
  258. margin-right: 0.0375rem
  259. }
  260. /* .tree li.parent_li>span {
  261. cursor:pointer
  262. } */
  263. .tree li span {
  264. cursor: pointer;
  265. }
  266. .tree>ul>li::before,
  267. .tree>ul>li::after {
  268. border: 0
  269. }
  270. .tree li:last-child::before {
  271. /* height: 0.4rem */
  272. }
  273. /* .tree li.parent_li>span:hover, .tree li.parent_li>span:hover+ul li span {
  274. background:#eee;
  275. border:1px solid #94a0b4;
  276. color:#000
  277. } */
  278. /* 弹框 */
  279. .verticalAlign {
  280. vertical-align: middle;
  281. display: inline-block;
  282. height: 100%;
  283. margin-left: -1px;
  284. }
  285. /* .xcConfirm .popBox {
  286. background-color: #002c59;
  287. z-index: 2147000001;
  288. width: 400px;
  289. height: 299px;
  290. border-radius: 5px;
  291. font-weight: bold;
  292. color: #fff;
  293. } */
  294. .popBox select {
  295. /*Chrome和Firefox里面的边框是不一样的,所以复写了一下*/
  296. border: solid 1px #000;
  297. /*很关键:将默认的select选择框样式清除*/
  298. appearance: none;
  299. -moz-appearance: none;
  300. -webkit-appearance: none;
  301. /*在选择框的最右侧中间显示小箭头图片*/
  302. background: url("../images/trigger.gif") no-repeat scroll right center transparent;
  303. background-position: 176px -3px;
  304. /*为下拉小箭头留出一点位置,避免被文字覆盖*/
  305. padding-right: 14px;
  306. }
  307. .xcConfirm .popBox .ttBox {
  308. padding: 5px;
  309. cursor: move;
  310. /* border: 1px solid pink */
  311. }
  312. .xcConfirm .popBox .ttBox .tt {
  313. font-size: 14px;
  314. display: block;
  315. }
  316. .xcConfirm .popBox .ttBox .clsBtn,
  317. .xcConfirm .popBox .ttBox .clsBtn2 {
  318. display: block;
  319. cursor: pointer;
  320. width: 12px;
  321. height: 12px;
  322. position: absolute;
  323. top: 4px;
  324. right: 8px;
  325. background: url(../images/tool-sprites.gif) no-repeat;
  326. }
  327. .xcConfirm .popBox .txtBox {
  328. padding: 20px 60px 23px 20px;
  329. /* background:pink; */
  330. }
  331. .txtBox span {
  332. display: inline-block;
  333. width: 114px;
  334. font-weight: 400;
  335. font-size: 14px;
  336. vertical-align: top;
  337. }
  338. .txtBox span.choose-file {
  339. display: inline-block;
  340. position: absolute;
  341. text-align: center;
  342. width: 56px;
  343. line-height: 20px;
  344. background: #616F8C;
  345. right: 0;
  346. top: 0;
  347. cursor: pointer;
  348. }
  349. .choose-file input {
  350. width: 56px;
  351. right: 0;
  352. top: 0;
  353. overflow: hidden;
  354. position: absolute;
  355. opacity: 0;
  356. cursor: pointer;
  357. }
  358. .txtBox>div {
  359. margin-bottom: 12px
  360. }
  361. .txtBox select,
  362. .txtBox input,
  363. .txtBox option,
  364. .userCheckBox {
  365. width: 194px;
  366. background-color: #34383f;
  367. /* color:#fff; */
  368. color: #aaa;
  369. border: none;
  370. line-height: 18px;
  371. padding: 0 10px 0 5px;
  372. font-size: 14px;
  373. }
  374. .txtBox textarea {
  375. background-color: #34383f;
  376. /* color:#fff; */
  377. color: #aaa;
  378. border: none;
  379. padding: 5px;
  380. width: 190px;
  381. font-size: 14px;
  382. }
  383. .xcConfirm .popBox .txtBox .bigIcon {
  384. float: left;
  385. margin-right: 20px;
  386. width: 48px;
  387. height: 48px;
  388. background-image: url(../img/icons.png);
  389. background-repeat: no-repeat;
  390. background-position: 48px 0;
  391. }
  392. .xcConfirm .popBox .txtBox p {
  393. /* height: 84px;
  394. margin-top: 16px;
  395. line-height: 26px; */
  396. overflow-x: hidden;
  397. overflow-y: auto;
  398. }
  399. .xcConfirm .popBox .txtBox p input {
  400. font-size: 18px;
  401. margin-top: 6px;
  402. }
  403. .xcConfirm .popBox .btnArea {
  404. position: absolute;
  405. bottom: 0;
  406. width: 100%;
  407. text-align: right
  408. }
  409. .xcConfirm .popBox .btnGroup {
  410. padding: 5px;
  411. background: #1f2833;
  412. }
  413. .xcConfirm .popBox .btnGroup img {
  414. position: absolute;
  415. left: 5px;
  416. top: 5px;
  417. }
  418. .xcConfirm .popBox .btnGroup .sgBtn {
  419. margin-left: 10px;
  420. }
  421. .xcConfirm .popBox .sgBtn {
  422. display: inline-block;
  423. cursor: pointer;
  424. width: 75px;
  425. line-height: 20px;
  426. text-align: center;
  427. color: #FFFFFF;
  428. border-radius: 5px;
  429. }
  430. .xcConfirm .popBox .sgBtn.ok,
  431. .xcConfirm .popBox .sgBtn.cancel,
  432. .xcConfirm .popBox .sgBtn.cancel2 {
  433. position: relative;
  434. background-image: -webkit-linear-gradient(top, #2a3142, #252c3b 48%, #13171f 52%, #171b25);
  435. color: #26c5ff;
  436. border-radius: 3px;
  437. padding: 2px;
  438. font-size: 14px;
  439. }
  440. /* 分页样式 */
  441. .pager {
  442. padding: 0 0.25rem;
  443. color: #fff;
  444. position: absolute;
  445. left: 0;
  446. bottom: .4rem;
  447. /* bottom: 0; */
  448. width: 100%;
  449. line-height: 22px
  450. }
  451. .pager-right {
  452. font-family: tahoma, arial, verdana, sans-serif;
  453. font-size: 0.2rem;
  454. }
  455. .pager-left li {
  456. display: inline-block;
  457. line-height: 0.275rem;
  458. text-align: center
  459. }
  460. .pager-left ul {
  461. align-items: center;
  462. display: flex;
  463. }
  464. .pager-left li:not(.pg-des) {
  465. width: 22px;
  466. /* height: 18px; */
  467. background-repeat: no-repeat;
  468. background-position: center center;
  469. }
  470. .pager-left li:not(.pg-des):hover {
  471. /* border: 1px solid rgb(5, 74, 143); */
  472. background-color: rgb(90, 143, 197);
  473. cursor: pointer;
  474. }
  475. .pager-left li.disabled:hover {
  476. border-color: rgba(0, 0, 0, 0);
  477. background-color: rgba(0, 0, 0, 0);
  478. cursor: default;
  479. }
  480. .pager-left li.pg-des {
  481. margin: 0 7px;
  482. padding: 0 18px;
  483. line-height: 14px;
  484. border-left: 1px solid #ccc;
  485. border-right: 1px solid #ccc;
  486. font-size: .2rem;
  487. }
  488. .pg-des input {
  489. color: #fff;
  490. text-align: center;
  491. background: #2f3c49;
  492. margin: 0 5px;
  493. outline: none;
  494. border: none;
  495. width: 40px;
  496. font-size: .2rem
  497. }
  498. .pg-first {
  499. background: url(../images/page-first.gif);
  500. height: .275rem;
  501. }
  502. .pg-first.disabled {
  503. background: url(../images/page-first-disabled.gif);
  504. pointer-events: none
  505. }
  506. .pg-prev {
  507. height: .275rem;
  508. background: url(../images/page-prev.gif);
  509. }
  510. .pg-prev.disabled {
  511. background: url(../images/page-prev-disabled.gif);
  512. pointer-events: none
  513. }
  514. .pg-next {
  515. height: 22px;
  516. background: url(../images/page-next.gif);
  517. }
  518. .pg-next.disabled {
  519. background: url(../images/page-next-disabled.gif);
  520. pointer-events: none;
  521. height: .275rem
  522. }
  523. .pg-last {
  524. background: url(../images/page-last.gif);
  525. height: 22px;
  526. }
  527. .pg-last.disabled {
  528. background: url(../images/page-last-disabled.gif);
  529. pointer-events: none;
  530. height: 22px
  531. }
  532. .pg-refresh {
  533. background: url(../images/refresh.gif);
  534. }
  535. .pg-refresh a {
  536. display: inline-block;
  537. width: 100%;
  538. height: 100%
  539. }
  540. /* layer弹窗 */
  541. .layui-layer.layui-layer-page {
  542. background-color: #002c59;
  543. border-radius: 5px;
  544. color: #fff;
  545. }
  546. .deviceCheckAdd-wrapper {
  547. padding: 0 16px
  548. }
  549. /* 弹框标题样式 */
  550. /* .popBox .layui-layer-title {
  551. padding: 0;
  552. height: 30px;
  553. line-height: 30px;
  554. border-bottom: 1px solid rgba(0, 0, 0, 0);
  555. font-size: auto;
  556. color: #fff;
  557. overflow: hidden;
  558. text-overflow: ellipsis;
  559. white-space: nowrap;
  560. background-color: rgba(0, 0, 0, 0);
  561. border-radius: none;
  562. } */
  563. /* 弹框标题 */
  564. .deviceCheckAdd .ttBox {
  565. margin: 8px 0;
  566. cursor: move;
  567. /* border: 1px solid pink */
  568. }
  569. .deviceCheckAdd .ttBox .tt {
  570. font-size: 14px;
  571. display: block;
  572. }
  573. .deviceCheckAdd .ttBox .clsBtn {
  574. display: block;
  575. cursor: pointer;
  576. width: 12px;
  577. height: 12px;
  578. position: absolute;
  579. top: 4px;
  580. right: 16px;
  581. background: url(../images/tool-sprites.gif) no-repeat;
  582. }
  583. /* 弹框底部 */
  584. .deviceCheckAdd .btnArea {
  585. position: absolute;
  586. bottom: 0;
  587. width: 100%;
  588. text-align: right
  589. }
  590. .deviceCheckAdd .btnGroup {
  591. padding: 5px;
  592. background: #1f2833;
  593. }
  594. .deviceCheckAdd .btnGroup img {
  595. position: absolute;
  596. left: 5px;
  597. top: 5px;
  598. }
  599. .deviceCheckAdd .btnGroup .sgBtn {
  600. margin-left: 10px;
  601. }
  602. .deviceCheckAdd .sgBtn {
  603. display: inline-block;
  604. cursor: pointer;
  605. width: 75px;
  606. line-height: 20px;
  607. text-align: center;
  608. color: #FFFFFF;
  609. border-radius: 5px;
  610. }
  611. .deviceCheckAdd .sgBtn.ok,
  612. .deviceCheckAdd .sgBtn.cancel {
  613. position: relative;
  614. background-image: -webkit-linear-gradient(top, #2a3142, #252c3b 48%, #13171f 52%, #171b25);
  615. color: #26c5ff;
  616. border-radius: 3px;
  617. padding: 2px;
  618. font-size: 14px;
  619. }
  620. /* 搜索区域 */
  621. .chooseArea {
  622. margin: 22px 0;
  623. /* border:1px solid pink */
  624. }
  625. .chooseArea span {
  626. display: inline-block;
  627. font-weight: 400;
  628. width: 80px;
  629. font-size: 14px;
  630. margin-right: 10px;
  631. text-align: right
  632. }
  633. .chooseArea select,
  634. .chooseArea input,
  635. .chooseArea option {
  636. width: 201px;
  637. background-color: #34383f;
  638. color: #fff;
  639. border: none;
  640. line-height: 24px;
  641. height: 24px;
  642. padding: 0 10px 0 5px;
  643. font-size: 14px
  644. }
  645. #test12 {
  646. background: #44474A;
  647. color: #fff;
  648. /* height:414px; */
  649. /* height:100px; */
  650. overflow-y: scroll
  651. }
  652. .tree-tit {
  653. width: 100%;
  654. height: 30px;
  655. line-height: 30px;
  656. background: linear-gradient(#2f333f 0%, #353b4b 49%, #464d60 51%, #565e75 100%);
  657. border: 1px solid #1f2933;
  658. font-size: 14px;
  659. padding-left: 7px
  660. }
  661. .layui-tree-icon .layui-icon {
  662. color: #fff
  663. }
  664. .layui-tree-txt {
  665. color: #fff;
  666. font-size: 14px
  667. }
  668. .layui-form-checkbox i {
  669. background: #b8b8b8;
  670. border: 1px solid #ffffff;
  671. }
  672. .layui-form-checked[lay-skin="primary"] i {
  673. border-color: #1BE9FE !important;
  674. background-color: #1BE9FE;
  675. color: #fff;
  676. }
  677. /* .layui-form-checkbox[lay-skin="primary"] i{
  678. background: #b8b8b8;
  679. border: 1px solid #ffffff;
  680. } */
  681. /* .checkAdd-content{
  682. margin:16px;
  683. border:1px solid red;
  684. height:300px
  685. } */
  686. /* 溢出滚动样式 */
  687. .departlist-box ::-webkit-scrollbar {
  688. height: 5px !important;
  689. width: 5px !important;
  690. }
  691. /*定义了滚动条滑块的样式*/
  692. .departlist-box ::-webkit-scrollbar-thumb {
  693. border-radius: 0;
  694. border-style: dashed;
  695. background-color: #aaa;
  696. border-color: #e2242400;
  697. border-width: 1.5px;
  698. background-clip: padding-box;
  699. }
  700. .disabled {
  701. pointer-events: none
  702. }
  703. .queryCompanyList .pure-table-inner tr th:first-child,
  704. .queryCompanyList .pure-table-inner tr td:first-child {
  705. width: 24px
  706. }
  707. .queryCompanyList .pure-table-inner tr th:nth-child(2),
  708. .queryCompanyList .pure-table-inner tr td:nth-child(2) {
  709. width: 25%
  710. }
  711. .queryCompanyList .pure-table-inner tr th:nth-child(3),
  712. .queryCompanyList .pure-table-inner tr td:nth-child(3) {
  713. width: 25%
  714. }
  715. .queryCompanyList .pure-table-inner tr th:nth-child(4),
  716. .queryCompanyList .pure-table-inner tr td:nth-child(4) {
  717. width: 15%
  718. }
  719. .queryCompanyList .pure-table-inner tr th:nth-child(5),
  720. .queryCompanyList .pure-table-inner tr td:nth-child(5) {
  721. width: 16%
  722. }
  723. /* 占满屏幕 start */
  724. /* body {
  725. height: 100%;
  726. width: 100%;
  727. overflow: hidden;
  728. min-height: 723px;
  729. }
  730. .content-box {
  731. width: 100%;
  732. height: calc(100% - .72rem);
  733. overflow: hidden;
  734. }
  735. .content-box .column3 {
  736. width: 100%;
  737. height: 100%;
  738. overflow: hidden;
  739. } */
  740. /* 占满屏幕 end */