index.less 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512
  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. top:0;
  11. background:linear-gradient(123deg,rgba(90,142,238,1) 0%,rgba(126,171,255,1) 100%);;
  12. text-indent: 20px;
  13. color: #fff;
  14. font-size: 16px;
  15. .login{
  16. margin-right: 20px;
  17. height: @headerHt;
  18. line-height: @headerHt;
  19. position: relative;
  20. &:after{
  21. content: " ";
  22. display: inline-block;
  23. cursor: pointer;
  24. position: absolute;
  25. right: 0;
  26. top:22px;
  27. width: 10px;
  28. height: 6px;
  29. background: url("../images/icon_wdown.png") no-repeat;
  30. }
  31. //设置
  32. .userAction {
  33. background-color: #fff;
  34. border-radius: 2px;
  35. display: none;
  36. text-indent: 0;
  37. width: 100px;
  38. position: absolute;
  39. right: -15px;
  40. top:42px;
  41. box-shadow:0px 4px 20px -3px rgba(59,89,126,0.3);
  42. li {
  43. line-height: 36px;
  44. text-align: center;
  45. cursor: pointer;
  46. color: #777777;
  47. a{
  48. color: #777777;
  49. }
  50. &:hover,a:hover{
  51. color: @activeColor;
  52. }
  53. }
  54. }
  55. }
  56. .setting{
  57. display: inline-block;
  58. height:26px;
  59. line-height: 26px;
  60. margin: 12px 0 0 0;
  61. background: url("../images/head.png") no-repeat;
  62. padding:0 22px 0 15px;
  63. color: #fff;
  64. text-decoration: none;
  65. }
  66. img{
  67. vertical-align: middle;
  68. margin-right: 10px;
  69. }
  70. .title span{
  71. display: inline-block;
  72. border-left: 1px #fff solid;
  73. height: 20px;
  74. line-height: 20px;
  75. color: #fff;
  76. }
  77. }
  78. .main-body{
  79. height: 100%;
  80. margin-top:@headerHt;
  81. }
  82. .menu{
  83. width: @menuWt;
  84. height: 100%;
  85. overflow-y: auto;
  86. padding-top: 15px;
  87. .active{
  88. color: @activeColor;
  89. background: @activeBg;
  90. border-right: 3px @activeColor solid;
  91. }
  92. .page:hover{
  93. color: @activeColor;
  94. }
  95. .list-1,.list-1-show{
  96. position: relative;
  97. &:after{
  98. content: " ";
  99. display: inline-block;
  100. position: absolute;
  101. left: @menuWt+(-30px);
  102. top:18px;
  103. width: 10px;
  104. height: 6px;
  105. background: url("../images/icon_down.png") no-repeat;
  106. }
  107. p:hover {
  108. color: @activeColor;
  109. }
  110. &.slide-up:after{
  111. transform: rotate(180deg);
  112. -webkit-transform: rotate(180deg);
  113. }
  114. ul{
  115. display: none;
  116. li.page{
  117. text-indent: 30px;
  118. }
  119. }
  120. }
  121. .list-1-show{
  122. &:after{
  123. background: url("../images/icon_up.png") no-repeat;
  124. }
  125. }
  126. li{
  127. line-height: @menuLiHt;
  128. text-indent: 15px;
  129. cursor: pointer;
  130. }
  131. .copy-right{
  132. position: fixed;
  133. bottom: 0px;
  134. width: @menuWt+(-18px);
  135. text-align: center;
  136. font-size:12px;
  137. color: #aaa;
  138. background: #fff;
  139. padding: 10px 0 20px;
  140. }
  141. }
  142. .main{
  143. margin-left:@menuWt;
  144. height: 100%;
  145. border: 10px solid #f5f5f5;
  146. iframe {
  147. width: 100%;
  148. height: 100%;
  149. }
  150. }
  151. //修改密码
  152. .modalAction {
  153. // padding: 20px;
  154. input {
  155. border: 1px solid #E2E5EF;
  156. width: 300px;
  157. height: 40px;
  158. line-height: 40px;
  159. border-radius: 3px;
  160. margin-bottom: 30px;
  161. padding: 0 10px;
  162. box-sizing: border-box;
  163. }
  164. p {position: relative;}
  165. p span {
  166. width: 90px;
  167. display: inline-block;
  168. text-align: right;
  169. color: #777;
  170. }
  171. .oldWaring {
  172. color: #FF4D4F;
  173. display: inline-block;
  174. position: absolute;
  175. left: 105px;
  176. bottom: 6px;
  177. }
  178. .waring {
  179. text-align: left;
  180. i {
  181. margin-left: 15px;
  182. color: #FF4D4F;
  183. position: relative;
  184. top: -22px;
  185. }
  186. }
  187. }
  188. .moduleMsgBox{
  189. .moduleMsgContent{
  190. position: fixed;
  191. left: 50%;
  192. top: 50%;
  193. width: 400px;
  194. height:208px;
  195. margin: -104px 0 0 -200px;
  196. background: #fff;
  197. border-radius:4px;
  198. }
  199. .moduleMsgTitle{
  200. position: relative;
  201. height: 40px;
  202. padding: 0 0 0 20px;
  203. line-height: 40px;
  204. border-bottom: 1px solid #E2E5EF;
  205. font-size: 14px;
  206. color: #1E1E1E;
  207. }
  208. .iconClose{
  209. width: 40px;
  210. position: absolute;
  211. right: 0;
  212. cursor: pointer;
  213. }
  214. .moduleMsgInfo{
  215. text-align: center;
  216. position: relative;
  217. top: 30px;
  218. }
  219. .moduleMsgBtn{
  220. position: relative;
  221. text-align: center;
  222. top: 81px;
  223. }
  224. .saveModuleEdit{
  225. display: inline-block;
  226. color: #fff;
  227. width:80px;
  228. height:36px;
  229. line-height: 36px;
  230. text-align: center;
  231. background:rgba(90,142,238,1);
  232. border-radius:4px;
  233. cursor: pointer;
  234. }
  235. }
  236. .midifyMsgBox{
  237. .midifyMsgContent{
  238. position: fixed;
  239. left: 50%;
  240. top: 50%;
  241. width: 400px;
  242. height:256px;
  243. margin: -128px 0 0 -200px;
  244. background: #fff;
  245. border-radius:4px;
  246. }
  247. .midifyMsgTitle{
  248. position: relative;
  249. height: 40px;
  250. padding: 0 0 0 20px;
  251. line-height: 40px;
  252. border-bottom: 1px solid #E2E5EF;
  253. font-size: 14px;
  254. color: #1E1E1E;
  255. }
  256. .itemMsgInfoBox{
  257. line-height: 40px;
  258. margin: 0 0 10px 0;
  259. position: relative;
  260. top: 10px;
  261. }
  262. .itemInfoRight{
  263. display: inline-block;
  264. width: 190px;
  265. input{
  266. width: 100px;
  267. box-sizing: border-box;
  268. border: 1px solid #E2E5EF;
  269. height: 40px;
  270. line-height: 40px;
  271. border-radius: 2px;
  272. padding: 0 10px;
  273. }
  274. }
  275. .itemMsgLab{
  276. display: inline-block;
  277. width: 180px;
  278. text-align: right;
  279. color: #777;
  280. }
  281. .iconClose{
  282. width: 40px;
  283. position: absolute;
  284. right: 0;
  285. cursor: pointer;
  286. }
  287. .itemMsgInfoTips{
  288. color: red;
  289. font-size: 14px;
  290. text-align: center;
  291. display: none;
  292. position: absolute;
  293. width: 100%;
  294. }
  295. .midifyMsgBtn{
  296. position: relative;
  297. text-align: center;
  298. top: 36px;
  299. }
  300. .midifyEdit{
  301. display: inline-block;
  302. color: #fff;
  303. width:80px;
  304. height:36px;
  305. line-height: 36px;
  306. text-align: center;
  307. background:rgba(90,142,238,1);
  308. border-radius:4px;
  309. cursor: pointer;
  310. }
  311. }
  312. .itemMsgBox{
  313. .itemMsgContent{
  314. position: fixed;
  315. left: 50%;
  316. top: 50%;
  317. width: 500px;
  318. height:468px;
  319. margin: -234px 0 0 -250px;
  320. background: #fff;
  321. border-radius:4px;
  322. }
  323. .itemMsgTitle{
  324. position: relative;
  325. height: 40px;
  326. padding: 0 0 0 20px;
  327. line-height: 40px;
  328. border-bottom: 1px solid #E2E5EF;
  329. font-size: 14px;
  330. color: #1E1E1E;
  331. }
  332. .iconClose{
  333. width: 40px;
  334. position: absolute;
  335. right: 0;
  336. cursor: pointer;
  337. }
  338. .itemMsgContentBox{
  339. margin: 20px 0 0 0;
  340. }
  341. .itemMsgInfoBox{
  342. line-height: 40px;
  343. margin: 0 0 10px 0;
  344. position: relative;
  345. }
  346. .itemInfoRight{
  347. display: inline-block;
  348. width: 300px;
  349. input{
  350. width: 280px;
  351. box-sizing: border-box;
  352. border: 1px solid #E2E5EF;
  353. height: 40px;
  354. line-height: 40px;
  355. border-radius: 2px;
  356. padding: 0 10px;
  357. }
  358. }
  359. .itemMsgLab{
  360. display: inline-block;
  361. width: 150px;
  362. text-align: right;
  363. color: #777;
  364. }
  365. .itemMsgInfoTips{
  366. position: absolute;
  367. color: red;
  368. font-size: 14px;
  369. text-align: center;
  370. width: 100%;
  371. height: 14px;
  372. top: 27px;
  373. display: none;
  374. }
  375. .switchImg{
  376. position: relative;
  377. top: 3px;
  378. width: 30px;
  379. }
  380. .imgInfo{
  381. display: inline-block;
  382. margin: 0 0 0 10px;
  383. }
  384. .confirmEditBox{
  385. position: relative;
  386. text-align: center;
  387. top: 30px;
  388. }
  389. .confirmEdit{
  390. display: inline-block;
  391. color: #fff;
  392. width:80px;
  393. height:36px;
  394. line-height: 36px;
  395. text-align: center;
  396. background:rgba(90,142,238,1);
  397. border-radius:4px;
  398. cursor: pointer;
  399. }
  400. }
  401. .dialogBox{
  402. .dialogBoxMask{
  403. width: 100%;
  404. height: 100%;
  405. position: absolute;
  406. background: #000;
  407. opacity: 0.5;
  408. z-index: 1;
  409. border-radius: 10px;
  410. }
  411. .dialogBoxMsg{
  412. position: absolute;
  413. z-index: 2;
  414. width: 100%;
  415. height: 100%;
  416. color: #fff;
  417. text-align: center;
  418. line-height: 50px;
  419. }
  420. position: fixed;
  421. left: 50%;
  422. top: 50%;
  423. width: 300px;
  424. height: 50px;
  425. margin: -25px 0 0 -150px;
  426. text-align: center;
  427. line-height: 50px;
  428. border-radius: 10px;
  429. }
  430. .mask {
  431. position: fixed;
  432. width: 100%;
  433. height: 100%;
  434. background: #000;
  435. opacity: 0.5;
  436. left: 0;
  437. top: 0;
  438. }
  439. .loadingImg{
  440. position: fixed;
  441. left: 50%;
  442. top: 50%;
  443. width: 60px;
  444. margin: -30px 0 0 -30px;
  445. }
  446. input::-webkit-outer-spin-button,
  447. input::-webkit-inner-spin-button {
  448. -webkit-appearance: none;
  449. }
  450. input[type="number"] {
  451. -moz-appearance: textfield;
  452. }
  453. .itemContentBoxLis {
  454. width: 220px;
  455. height: 365px;
  456. margin: 30px 20px 20px 70px;
  457. border: 1px solid #EFF0F9;
  458. .title {
  459. height: 40px;
  460. line-height: 40px;
  461. background-color: #EFF0F9;
  462. text-align: center;
  463. }
  464. .partPub {
  465. padding-top: 10px;
  466. height: 315px;
  467. overflow: auto;
  468. li {
  469. padding: 8px 20px;
  470. cursor: pointer;
  471. overflow: hidden;
  472. text-overflow:ellipsis;
  473. white-space: nowrap;
  474. }
  475. img {
  476. width: 14px;
  477. height: 14px;
  478. position: relative;
  479. top: 2px;
  480. margin-right: 10px;
  481. }
  482. }
  483. }
  484. .itemContentBoxLisL {
  485. float: left;
  486. }
  487. .itemContentBoxLisR {
  488. margin-left: 20px;
  489. margin-right: 70px;
  490. float: right;
  491. }
  492. .activeGo {
  493. position: absolute;
  494. width: 40px;
  495. height: 60px;
  496. left: 50%;
  497. top: 50%;
  498. margin-left: -20px;
  499. margin-top: -45px;
  500. img {
  501. width: 40px;
  502. height: 22px;
  503. cursor: pointer;
  504. }
  505. .btm {
  506. margin-top: 15px;
  507. }
  508. }