index.less 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758
  1. @import './reset.less';
  2. .container{
  3. height: 100%;
  4. }
  5. .header{
  6. /*position: fixed;*/
  7. width: 100%;
  8. height:@headerHt;
  9. line-height: @headerHt;
  10. font-size: 16px;
  11. border-bottom: 1px #E2E5EF solid;
  12. /*top:0;
  13. background:linear-gradient(123deg,#00A1FF 0%,rgba(126,171,255,1) 100%);;
  14. text-indent: 20px;
  15. color: #fff;*/
  16. .login{
  17. margin-right: 20px;
  18. height: @headerHt;
  19. line-height: @headerHt;
  20. position: relative;
  21. &:after{
  22. content: " ";
  23. display: inline-block;
  24. cursor: pointer;
  25. position: absolute;
  26. right: 0;
  27. top:22px;
  28. width: 10px;
  29. height: 6px;
  30. background: url("../images/icon_down.png") no-repeat;
  31. }
  32. //设置
  33. .userAction {
  34. background-color: #fff;
  35. border-radius: 2px;
  36. display: none;
  37. text-indent: 0;
  38. width: 100px;
  39. position: absolute;
  40. right: -15px;
  41. top:42px;
  42. box-shadow:0px 4px 20px -3px rgba(59,89,126,0.3);
  43. li {
  44. line-height: 36px;
  45. text-align: center;
  46. cursor: pointer;
  47. color: #777777;
  48. a{
  49. color: #777777;
  50. }
  51. &:hover,a:hover{
  52. color: @activeColor;
  53. }
  54. }
  55. }
  56. }
  57. .setting{
  58. display: inline-block;
  59. height:26px;
  60. line-height: 26px;
  61. margin: 12px 0 0 0;
  62. background: url("../images/head.png") no-repeat;
  63. padding:0 22px 0 35px;
  64. /*color: #fff;*/
  65. text-decoration: none;
  66. }
  67. img{
  68. vertical-align: middle;
  69. margin-right: 10px;
  70. }
  71. .title span{
  72. display: inline-block;
  73. height: 20px;
  74. line-height: 20px;
  75. color: #333;
  76. font-weight: bold;
  77. font-size: 15px;
  78. text-indent: 20px;
  79. }
  80. }
  81. .console-cont {
  82. .header {
  83. background: @themeColor;
  84. border-bottom: 1px @themeBorderClr solid;
  85. .title span, .login a {
  86. color: #fff;
  87. }
  88. }
  89. .main-body {
  90. background: @activeBg;
  91. }
  92. }
  93. .main-body{
  94. height: 100%;
  95. /*margin-top:@headerHt;*/
  96. }
  97. .menu{
  98. width: @menuWt;
  99. height: 100%;
  100. background: @themeColor;
  101. border-right: 1px @themeBorderClr solid;
  102. box-sizing: border-box;
  103. overflow-y: auto;
  104. padding-top: 15px;
  105. position: relative;
  106. .logo{
  107. margin-bottom: 44px;
  108. text-indent: 22px;
  109. }
  110. &>a{
  111. position: absolute;
  112. top: 50%;
  113. right: 0;
  114. z-index: 1;
  115. }
  116. &>ul>li{
  117. text-indent: 42px;
  118. background: url("../images/module.png") 16px 12px no-repeat;
  119. margin-bottom: 10px;
  120. }
  121. .YH-KZT,.YH-KZTKS{
  122. background: url("../images/home.png") 16px 10px no-repeat;
  123. &.active{
  124. background: url("../images/home_a.png") @activeBg 16px 10px no-repeat;
  125. }
  126. }
  127. .YH-ZKK,.YH-KSZR{
  128. background: url("../images/data.png") 16px 10px no-repeat;
  129. &.active{
  130. background: url("../images/data_a.png") @activeBg 16px 10px no-repeat;
  131. }
  132. }
  133. .YH-JCSJWH{
  134. background: url("../images/item.png") 16px 13px no-repeat;
  135. &.active{
  136. background: url("../images/item_a.png") @activeBg 16px 13px no-repeat;
  137. }
  138. }
  139. .YH-BLZK{
  140. background: url("../images/ba.png") 16px 10px no-repeat;
  141. &.active{
  142. background: url("../images/ba_a.png") @activeBg 16px 10px no-repeat;
  143. }
  144. }
  145. .YH-QXGL{
  146. background: url("../images/qxgl.png") 16px 11px no-repeat;
  147. &.active{
  148. background: url("../images/qxgl_a.png") @activeBg 16px 11px no-repeat;
  149. }
  150. }
  151. .YH-YCSJJK{
  152. background: url("../images/un.png") 16px 11px no-repeat;
  153. &.active,&.list-1-show{
  154. background: url("../images/un_a.png") @activeBg 16px 11px no-repeat;
  155. }
  156. }
  157. .slide-btn{
  158. display: inline-block;
  159. }
  160. .active{
  161. color: @activeColor;
  162. /*background: @activeBg;
  163. border-right: 3px @activeColor solid;*/
  164. }
  165. .page:hover{
  166. color: @activeColor;
  167. }
  168. .list-1,.list-1-show{
  169. position: relative;
  170. &:after{
  171. content: " ";
  172. display: inline-block;
  173. position: absolute;
  174. left: @menuWt+(-30px);
  175. top:18px;
  176. width: 10px;
  177. height: 6px;
  178. background: url("../images/icon_down.png") no-repeat;
  179. }
  180. p{
  181. color: #fff;
  182. opacity: .9;
  183. }
  184. p:hover {
  185. color: @activeColor;
  186. }
  187. &.slide-up:after{
  188. transform: rotate(180deg);
  189. -webkit-transform: rotate(180deg);
  190. }
  191. ul{
  192. display: none;
  193. li.page{
  194. text-indent: 52px;
  195. color: #fff;
  196. opacity: .6;
  197. &.active{
  198. color: @activeColor;
  199. opacity: 1;
  200. }
  201. }
  202. }
  203. }
  204. .list-1-show{
  205. background-color: @activeBg;
  206. &:after{
  207. transform: rotate(180deg);
  208. -webkit-transform: rotate(180deg);
  209. }
  210. }
  211. li{
  212. line-height: @menuLiHt;
  213. text-indent: 15px;
  214. cursor: pointer;
  215. color: #fff;
  216. }
  217. .copy-right{
  218. position: fixed;
  219. bottom: 0px;
  220. width: @menuWt+(-1px);
  221. text-align: center;
  222. height: 50px;
  223. line-height: 50px;
  224. background: @themeColor;
  225. border-top: 1px @themeBorderClr solid;
  226. border-right: 1px rgba(74, 93, 142, 0.5) solid;
  227. p{
  228. font-size:12px;
  229. opacity: .3;
  230. color: #fff;
  231. }
  232. }
  233. }
  234. .menu-mini{
  235. display: none;
  236. width: 60px;
  237. height: 100%;
  238. background: @themeColor;
  239. position: relative;
  240. &>a{
  241. position: absolute;
  242. top: 50%;
  243. right: 0;
  244. z-index: 1;
  245. }
  246. &>ul>li{
  247. width: 100%;
  248. height: 40px;
  249. line-height: 40px;
  250. margin-bottom: 10px;
  251. background: url("../images/module.png") center no-repeat;
  252. & ul{
  253. display: none;
  254. left: 60px;
  255. position: absolute;
  256. width: 140px;
  257. }
  258. &.YH-KZT{
  259. background: url("../images/home.png") 16px 12px no-repeat;
  260. }
  261. &.YH-ZKK{
  262. background: url("../images/module.png") 16px 12px no-repeat;
  263. }
  264. &.YH-QBYH-JCGN{
  265. background: url("../images/item.png") 16px 12px no-repeat;
  266. }
  267. &.YH-JCSJWH{
  268. background: url("../images/data.png") 16px 10px no-repeat;
  269. }
  270. &.YH-BLZK{
  271. background: url("../images/un.png") 16px 11px no-repeat;
  272. }
  273. &.active{
  274. background-color: #EEF4FF;
  275. border-left: 3px @activeColor solid;
  276. }
  277. }
  278. }
  279. .main{
  280. margin-left:@menuWt;
  281. height: 100%;
  282. overflow-x: auto;
  283. overflow-y: hidden;
  284. /*border: 10px solid #f5f5f5;*/
  285. iframe {
  286. width: 100%;
  287. height: 100%;
  288. }
  289. }
  290. //修改密码
  291. .modalAction {
  292. // padding: 20px;
  293. input {
  294. border: 1px solid #E2E5EF;
  295. width: 300px;
  296. height: 40px;
  297. line-height: 40px;
  298. border-radius: 3px;
  299. margin-bottom: 30px;
  300. padding: 0 10px;
  301. box-sizing: border-box;
  302. }
  303. p {position: relative;}
  304. p span {
  305. width: 90px;
  306. display: inline-block;
  307. text-align: right;
  308. color: #777;
  309. }
  310. .oldWaring {
  311. color: #FF4D4F;
  312. display: inline-block;
  313. position: absolute;
  314. left: 105px;
  315. bottom: 6px;
  316. }
  317. .waring {
  318. text-align: left;
  319. i {
  320. margin-left: 15px;
  321. color: #FF4D4F;
  322. position: relative;
  323. top: -22px;
  324. }
  325. }
  326. }
  327. .moduleMsgBox{
  328. .moduleMsgContent{
  329. position: fixed;
  330. left: 50%;
  331. top: 50%;
  332. width: 400px;
  333. height:208px;
  334. margin: -104px 0 0 -200px;
  335. background: #fff;
  336. border-radius:4px;
  337. }
  338. .moduleMsgTitle{
  339. position: relative;
  340. height: 40px;
  341. padding: 0 0 0 20px;
  342. line-height: 40px;
  343. border-bottom: 1px solid #E2E5EF;
  344. font-size: 14px;
  345. color: #1E1E1E;
  346. }
  347. .iconClose{
  348. width: 40px;
  349. position: absolute;
  350. right: 0;
  351. cursor: pointer;
  352. }
  353. .moduleMsgInfo{
  354. text-align: center;
  355. position: relative;
  356. top: 30px;
  357. }
  358. .moduleMsgBtn{
  359. position: relative;
  360. text-align: center;
  361. top: 81px;
  362. }
  363. .saveModuleEdit{
  364. display: inline-block;
  365. color: #fff;
  366. width:80px;
  367. height:36px;
  368. line-height: 36px;
  369. text-align: center;
  370. background:#00A1FF;
  371. border-radius:4px;
  372. cursor: pointer;
  373. }
  374. }
  375. .midifyMsgBox{
  376. .midifyMsgContent{
  377. position: fixed;
  378. left: 50%;
  379. top: 50%;
  380. width: 400px;
  381. height:256px;
  382. margin: -128px 0 0 -200px;
  383. background: #fff;
  384. border-radius:4px;
  385. }
  386. .midifyMsgTitle{
  387. position: relative;
  388. height: 40px;
  389. padding: 0 0 0 20px;
  390. line-height: 40px;
  391. border-bottom: 1px solid #E2E5EF;
  392. font-size: 14px;
  393. color: #1E1E1E;
  394. }
  395. .itemMsgInfoBox{
  396. line-height: 40px;
  397. margin: 0 0 10px 0;
  398. position: relative;
  399. top: 10px;
  400. }
  401. .itemInfoRight{
  402. display: inline-block;
  403. width: 190px;
  404. input{
  405. width: 100px;
  406. box-sizing: border-box;
  407. border: 1px solid #E2E5EF;
  408. height: 40px;
  409. line-height: 40px;
  410. border-radius: 2px;
  411. padding: 0 10px;
  412. &:focus{
  413. border-color: @activeColor;
  414. }
  415. }
  416. }
  417. .itemMsgLab{
  418. display: inline-block;
  419. width: 180px;
  420. text-align: right;
  421. color: #777;
  422. }
  423. .iconClose{
  424. width: 40px;
  425. position: absolute;
  426. right: 0;
  427. cursor: pointer;
  428. }
  429. .itemMsgInfoTips{
  430. color: red;
  431. font-size: 14px;
  432. text-align: center;
  433. display: none;
  434. position: absolute;
  435. width: 100%;
  436. }
  437. .midifyMsgBtn{
  438. position: relative;
  439. text-align: center;
  440. top: 36px;
  441. }
  442. .midifyEdit{
  443. display: inline-block;
  444. color: #fff;
  445. width:80px;
  446. height:36px;
  447. line-height: 36px;
  448. text-align: center;
  449. background:#00A1FF;
  450. border-radius:4px;
  451. cursor: pointer;
  452. }
  453. }
  454. .itemMsgBox{
  455. .itemMsgContent{
  456. position: fixed;
  457. left: 50%;
  458. top: 50%;
  459. width: 500px;
  460. height:468px;
  461. margin: -234px 0 0 -250px;
  462. background: #fff;
  463. border-radius:4px;
  464. }
  465. .itemMsgTitle{
  466. position: relative;
  467. height: 40px;
  468. padding: 0 0 0 20px;
  469. line-height: 40px;
  470. border-bottom: 1px solid #E2E5EF;
  471. font-size: 14px;
  472. color: #1E1E1E;
  473. }
  474. .iconClose{
  475. width: 40px;
  476. position: absolute;
  477. right: 0;
  478. cursor: pointer;
  479. }
  480. .itemMsgContentBox{
  481. margin: 20px 0 0 0;
  482. }
  483. .itemMsgInfoBox{
  484. line-height: 40px;
  485. margin: 0 0 10px 0;
  486. position: relative;
  487. }
  488. .itemInfoRight{
  489. display: inline-block;
  490. width: 300px;
  491. input{
  492. width: 280px;
  493. box-sizing: border-box;
  494. border: 1px solid #E2E5EF;
  495. height: 40px;
  496. line-height: 40px;
  497. border-radius: 2px;
  498. padding: 0 10px;
  499. &:focus{
  500. border-color: @activeColor;
  501. }
  502. }
  503. }
  504. .itemMsgLab{
  505. display: inline-block;
  506. width: 150px;
  507. text-align: right;
  508. color: #777;
  509. }
  510. .itemMsgInfoTips{
  511. position: absolute;
  512. color: red;
  513. font-size: 14px;
  514. text-align: center;
  515. width: 100%;
  516. height: 14px;
  517. top: 27px;
  518. display: none;
  519. }
  520. .switchImg{
  521. position: relative;
  522. top: 3px;
  523. width: 30px;
  524. }
  525. .imgInfo{
  526. display: inline-block;
  527. margin: 0 0 0 10px;
  528. }
  529. .confirmEditBox{
  530. position: relative;
  531. text-align: center;
  532. top: 30px;
  533. }
  534. .confirmEdit{
  535. display: inline-block;
  536. color: #fff;
  537. width:80px;
  538. height:36px;
  539. line-height: 36px;
  540. text-align: center;
  541. background:#00A1FF;
  542. border-radius:4px;
  543. cursor: pointer;
  544. }
  545. }
  546. .dialogBox{
  547. .dialogBoxMask{
  548. width: 100%;
  549. height: 100%;
  550. position: absolute;
  551. background: #000;
  552. opacity: 0.5;
  553. z-index: 1;
  554. border-radius: 10px;
  555. }
  556. .dialogBoxMsg{
  557. position: absolute;
  558. z-index: 2;
  559. width: 100%;
  560. height: 100%;
  561. color: #fff;
  562. text-align: center;
  563. line-height: 50px;
  564. }
  565. position: fixed;
  566. left: 50%;
  567. top: 50%;
  568. width: 300px;
  569. height: 50px;
  570. margin: -25px 0 0 -150px;
  571. text-align: center;
  572. line-height: 50px;
  573. border-radius: 10px;
  574. }
  575. .mask {
  576. position: fixed;
  577. width: 100%;
  578. height: 100%;
  579. background: #000;
  580. opacity: 0.5;
  581. left: 0;
  582. top: 0;
  583. }
  584. .loadingImg{
  585. position: fixed;
  586. left: 50%;
  587. top: 50%;
  588. width: 60px;
  589. margin: -30px 0 0 -30px;
  590. }
  591. input::-webkit-outer-spin-button,
  592. input::-webkit-inner-spin-button {
  593. -webkit-appearance: none;
  594. }
  595. input[type="number"] {
  596. -moz-appearance: textfield;
  597. }
  598. .itemContentBoxLis {
  599. width: 220px;
  600. height: 365px;
  601. margin: 30px 20px 20px 70px;
  602. border: 1px solid #EFF0F9;
  603. .title {
  604. height: 40px;
  605. line-height: 40px;
  606. background-color: #EFF0F9;
  607. text-align: center;
  608. }
  609. .partPub {
  610. padding-top: 10px;
  611. height: 315px;
  612. overflow: auto;
  613. li {
  614. padding: 8px 20px;
  615. cursor: pointer;
  616. overflow: hidden;
  617. text-overflow:ellipsis;
  618. white-space: nowrap;
  619. }
  620. img {
  621. width: 14px;
  622. height: 14px;
  623. position: relative;
  624. top: 2px;
  625. margin-right: 10px;
  626. }
  627. }
  628. input:focus{
  629. border: 1px solid @activeColor ;
  630. outline: 0;
  631. -webkit-box-shadow:@activeColor 0px 0px 2px;
  632. -moz-box-shadow: @activeColor 0px 0px 2px;
  633. box-shadow: @activeColor 0px 0px 2px;
  634. }
  635. }
  636. .itemContentBoxLisL {
  637. float: left;
  638. }
  639. .itemContentBoxLisR {
  640. margin-left: 20px;
  641. margin-right: 70px;
  642. float: right;
  643. }
  644. .activeGo {
  645. position: absolute;
  646. width: 40px;
  647. height: 60px;
  648. left: 50%;
  649. top: 50%;
  650. margin-left: -20px;
  651. margin-top: -45px;
  652. img {
  653. width: 40px;
  654. height: 22px;
  655. cursor: pointer;
  656. }
  657. .btm {
  658. margin-top: 15px;
  659. }
  660. }
  661. //abnormal
  662. .abnormalStatusLis {
  663. position: absolute;
  664. left: 104px;
  665. top: 35px;
  666. border: 1px solid #E2E5EF;
  667. z-index: 999;
  668. background-color: #fff;
  669. width: 158px;
  670. display: none;
  671. li {
  672. height: 34px;
  673. line-height: 34px;
  674. width: 160px;
  675. padding-left: 10px;
  676. box-sizing: border-box;
  677. width: 160px;
  678. &:hover {
  679. background-color: #EEF4FF;
  680. cursor: pointer;
  681. }
  682. }
  683. input:focus{
  684. border: 1px solid @activeColor ;
  685. outline: 0;
  686. -webkit-box-shadow:@activeColor 0px 0px 2px;
  687. -moz-box-shadow: @activeColor 0px 0px 2px;
  688. box-shadow: @activeColor 0px 0px 2px;
  689. }
  690. }
  691. .abnormalAll {
  692. width: 160px !important;
  693. height: 34px;
  694. line-height: 34px;
  695. border: 1px solid #E2E5EF;
  696. padding: 0 20px 0 10px;
  697. display: inline-block;
  698. box-sizing: border-box;
  699. border-radius:4px;
  700. position: relative;
  701. img {
  702. width: 10px;
  703. float: left;
  704. position: absolute;
  705. top: 14px;
  706. right: 7px;
  707. }
  708. }
  709. .abnormalLeft {
  710. width: 100px !important;
  711. }
  712. .abnormalMark {
  713. vertical-align: top;
  714. position: relative;
  715. top: -12px;
  716. }
  717. .abnormalTxt {
  718. width: 240px;
  719. height: 120px;
  720. border: 1px solid #E2E5EF;
  721. border-radius: 4px;
  722. resize: none;
  723. padding: 10px;
  724. box-sizing: border-box;
  725. }
  726. .midifyMsgContent.abnormal {
  727. height: 320px;
  728. }
  729. .midifyMsgContent.abnormalDel {
  730. height: 280px;
  731. }
  732. .midifyMsgBtn.abnormalBtn {
  733. top: 22px;
  734. }
  735. .midifyEditDel{
  736. color: #fff !important;
  737. border: 1px solid #00A1FF !important;
  738. background-color: #00A1FF !important;
  739. margin-right: 15px;
  740. }
  741. .delTips {
  742. text-align: center;
  743. padding: 40px 0;
  744. }
  745. .midifyMsgBtnDel {
  746. top: 10px !important;
  747. }
  748. .midifyMsgContentDel {
  749. height: 220px !important;
  750. width: 300px !important;
  751. }