common.css 14 KB

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