index.less 15 KB

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