common.css 14 KB

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