index.less 29 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214
  1. 
  2. //我们引入公共样式
  3. @import "common.less";
  4. /*@import "../iconfont/iconfont.less";*/
  5. /*::-webkit-scrollbar {
  6. width: 7px;
  7. position: absolute;
  8. top: 0;
  9. }
  10. ::-webkit-scrollbar-track {
  11. opacity: 0;
  12. }
  13. ::-webkit-scrollbar-thumb {
  14. background-color: #dee2e5;
  15. }
  16. ::-webkit-scrollbar-thumb:hover {
  17. background-color: #dee2e5;
  18. }
  19. ::-webkit-scrollbar-thumb:active {
  20. background-color: rgba(0, 0, 0, 0.1);
  21. }*/
  22. html, body {
  23. //height:100%;
  24. }
  25. html {
  26. *overflow: hidden;
  27. }
  28. a {
  29. color: #222222;
  30. }
  31. /*.icon2{
  32. .icon();
  33. font-size:14px;
  34. font-weight:400 !important;
  35. }*/
  36. .pos100() {
  37. position: absolute;
  38. left: 0;
  39. right: 0;
  40. top: 0;
  41. bottom: 0;
  42. }
  43. i, b {
  44. font-family: FontAwesome;
  45. /*margin-right: 5px;*/
  46. }
  47. //头部样式 主页的logo背景色
  48. .header {
  49. height: 50px;
  50. background-color: #3189d3;/*3aabe3 0099cc 438eb9*/
  51. position: relative;
  52. &.fix {
  53. position: fixed;
  54. z-index: 2;
  55. left: 0;
  56. top: 0;
  57. width: 100%;
  58. }
  59. //底背景
  60. .tleft, .tright {
  61. position: absolute;
  62. height: 100%;
  63. }
  64. .tleft {
  65. left: 0;
  66. width: 290px;
  67. }
  68. .tright {
  69. right: 0;
  70. width: 168px;
  71. }
  72. //logo展示
  73. .logo {
  74. position: relative;
  75. line-height: 50px;
  76. display: inline-block;
  77. margin-left: 10px;
  78. font-size: 20px;
  79. color: #fff;
  80. font-family: 'Microsoft YaHei';
  81. img {
  82. vertical-align: middle;
  83. }
  84. }
  85. #rightDiv {
  86. position: absolute;
  87. right: 0;
  88. top: 0;
  89. margin-right: 15px;
  90. line-height: 50px;
  91. height: 50px;
  92. text-align: right;
  93. font-size: 14px;
  94. margin-right: 40px;
  95. .SimpleIcons {
  96. font-family: Simple-Line-Icons !important;
  97. z-index: 1;
  98. color: #fff;
  99. }
  100. /****下拉菜单***/
  101. .menuUl {
  102. margin: 0;
  103. list-style: none;
  104. width: 100%;
  105. height: 100%;
  106. font-family: "Segoe UI",Helvetica, Arial, sans-serif;
  107. }
  108. .menuUl li {
  109. float: left;
  110. position: relative;
  111. font-weight: bold;
  112. margin-right: 20px;
  113. line-height: 49px;
  114. span {
  115. font-family: FontAwesome;
  116. }
  117. .tit {
  118. font-size: 20px;
  119. }
  120. .topbadge {
  121. height: 10px !important;
  122. line-height: 10px !important;
  123. right: 10px !important;
  124. }
  125. .badge {
  126. position: absolute;
  127. margin-top: 1px;
  128. top: 5px;
  129. right: 3px;
  130. display: inline;
  131. font-size: 11px;
  132. /* font-weight: 300; */
  133. text-shadow: none;
  134. height: 12px;
  135. padding: 3px 6px 3px 5px;
  136. text-align: center;
  137. vertical-align: middle;
  138. -webkit-border-radius: 12px !important;
  139. -moz-border-radius: 12px !important;
  140. border-radius: 12px !important;
  141. line-height: 12px;
  142. color: white;
  143. padding-right: 10px;
  144. }
  145. .badge-danger {
  146. background-color: #ed4e2a !important;
  147. background-image: none !important;
  148. }
  149. .badge-success {
  150. background-color: #3cc051 !important;
  151. background-image: none !important;
  152. }
  153. }
  154. .menuUl:last-child {
  155. line-height: 50px !important;
  156. }
  157. .menuUl li[class='menuUlLi'] {
  158. width: 130px;
  159. padding-right: 22px;
  160. margin-right: 10px;
  161. }
  162. .menuUl li[class='menuUlLi']:hover {
  163. background-color: #3774aa;
  164. }
  165. .menuUl li[class='menuUlLi'] span {
  166. padding-left: 10px;
  167. }
  168. .dropdownmeunUl {
  169. position: absolute;
  170. right: 0;
  171. /*left: 0;*/
  172. top: 56px;
  173. text-shadow: none;
  174. padding: 0px;
  175. margin: 0px;
  176. background-color: #ffffff;
  177. -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
  178. -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
  179. box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
  180. font-size: 14px;
  181. font-family: "Segoe UI",Helvetica, Arial, sans-serif;
  182. border: 1px solid #ddd;
  183. list-style: none;
  184. z-index: 1;
  185. min-width: 130px;
  186. display: none;
  187. }
  188. .dropdownmeunUl li {
  189. color: #3d3d3d;
  190. float: none;
  191. text-align: center;
  192. line-height: 30px;
  193. margin-right: 0;
  194. a {
  195. color: #333;
  196. text-decoration: none;
  197. display: block;
  198. clear: both;
  199. font-weight: normal;
  200. white-space: nowrap;
  201. &:hover {
  202. background-color: #eee;
  203. }
  204. }
  205. i {
  206. margin-right: 5px;
  207. color: #333;
  208. position: absolute;
  209. left: 10px;
  210. top: 7px;
  211. }
  212. }
  213. .dropdownmeunUl li[class='divider'] {
  214. height: 1px;
  215. margin: 5px 0;
  216. overflow: hidden;
  217. background-color: #e5e5e5;
  218. }
  219. .dropdownmeunUl::before {
  220. position: absolute;
  221. top: -7px;
  222. right: 8px;
  223. display: inline-block !important;
  224. border-right: 7px solid transparent;
  225. border-bottom: 7px solid #c3ced5;
  226. border-left: 7px solid transparent;
  227. border-bottom-color: rgba(0, 0, 0, 0.2);
  228. content: '';
  229. }
  230. .dropdownmeunUl::after {
  231. position: absolute;
  232. top: -6px;
  233. right: 9px;
  234. display: inline-block !important;
  235. border-right: 6px solid transparent;
  236. border-bottom: 6px solid #fff;
  237. border-left: 6px solid transparent;
  238. content: '';
  239. }
  240. .menuimg {
  241. position: absolute;
  242. left: 10px;
  243. top: 6px;
  244. }
  245. }
  246. /*ul {
  247. position: relative;
  248. *margin-top: -70px;
  249. li {
  250. margin: 3px 12px 0px 0px;
  251. float: left;
  252. a {
  253. display: block;
  254. width: 56px;
  255. height: 20px;
  256. padding: 5px 7px 0;
  257. text-align: center;
  258. text-decoration: none;
  259. color: #fff;
  260. text-shadow: 0px -1px rgba(0,0,0,0.2);
  261. border: 1px solid transparent;
  262. border-radius: 3px;
  263. overflow: hidden;
  264. &.act, &:hover {
  265. border: 1px solid #0f4e7f;
  266. background-color: #105488;
  267. }
  268. }
  269. span {
  270. display: block;
  271. margin: 0 auto 2px;
  272. width: 32px;
  273. height: 30px;
  274. overflow: hidden;
  275. &.n1 {
  276. background: url(../img/n1.png) no-repeat;
  277. }
  278. &.n2 {
  279. background: url(../img/n2.png) no-repeat;
  280. }
  281. &.n3 {
  282. background: url(../img/n3.png) no-repeat;
  283. }
  284. &.n4 {
  285. background: url(../img/n4.png) no-repeat;
  286. }
  287. }
  288. }
  289. }*/
  290. }
  291. //中间内容样式
  292. .wrapper {
  293. /*position:absolute;
  294. left:0;
  295. right:0;
  296. top:70px;
  297. bottom:0;
  298. overflow:hidden;*/
  299. position: relative;
  300. overflow: hidden;
  301. border-bottom: 1px solid #cccccc; /*c3ced5*/
  302. //菜单左右切换的时候用
  303. &.right {
  304. .sidebar {
  305. border-right: none;
  306. border-left: solid 1px #b7d5df;
  307. float: right;
  308. overflow: hidden;
  309. &.fix {
  310. left: auto;
  311. right: 0;
  312. }
  313. &.side_fold .side_item div ul {
  314. left: auto;
  315. right: 100%;
  316. }
  317. }
  318. .main_content {
  319. margin-left: 0;
  320. margin-right: 200px;
  321. &.fold {
  322. margin-right: 40px;
  323. }
  324. }
  325. }
  326. }
  327. //菜单样式
  328. .sidebar {
  329. @br: #b7d5df;
  330. @bcolor: #f0f9fd;
  331. @bbc: #c9c9c9; /*选项卡边框颜色*/
  332. background-color: #f7f7f7;/*模块模块*/
  333. /*background: -webkit-gradient(linear, left top, left bottom, from(#f7f7f7), to(#f2f2f2));
  334. background: -webkit-linear-gradient(top, #f7f7f7, #f2f2f2);
  335. background: -moz-linear-gradient(top, #f7f7f7, #f2f2f2);
  336. background: -ms-linear-gradient(top, #f7f7f7, #f2f2f2);
  337. background: -o-linear-gradient(top, #f7f7f7, #f2f2f2);
  338. background: linear-gradient(top, #f7f7f7, #f2f2f2);*/
  339. position: static;
  340. float: left;
  341. width: 200px;
  342. overflow: hidden;
  343. color: #222222;
  344. &:before {
  345. content: "";
  346. display: block;
  347. width: inherit;
  348. position: absolute;
  349. top: 0;
  350. bottom: 0;
  351. z-index: -1;
  352. background-color: inherit;
  353. border-style: inherit;
  354. border-color: inherit;
  355. border-width: inherit;
  356. }
  357. //菜单介绍
  358. .side_tip {
  359. height: 36px;
  360. font-size: 14px;
  361. line-height: 35px;
  362. border-bottom: 1px solid @bbc;
  363. border-right: solid 1px @bbc;
  364. height: 35px;
  365. font-weight: bold;
  366. font-size: 14px;
  367. i {
  368. margin-left: 8px;
  369. margin-top: 10px;
  370. margin-right: 8px;
  371. width: 20px;
  372. height: 21px;
  373. float: left;
  374. }
  375. .foldup {
  376. float: right;
  377. *margin-top: -40px;
  378. margin-right: 10px;
  379. font-size: 18px;
  380. font-family: SimSun;
  381. font-weight: bold;
  382. text-indent: 0;
  383. &.fold {
  384. transition: .3s ease;
  385. transform: rotate(180deg);
  386. }
  387. }
  388. }
  389. //菜单容器
  390. .side_menu {
  391. position: relative;
  392. background-color: #f5f5f5; // eeefef
  393. z-index: 2;
  394. overflow: hidden;
  395. width: 200px;
  396. }
  397. //菜单容器
  398. .side_item {
  399. min-height: 100%;
  400. background-color: #f5f5f5; // eeefef
  401. border-right: solid 1px @bbc;
  402. .icon {
  403. margin-right: 5px;
  404. &:empty {
  405. margin-right: 0;
  406. }
  407. }
  408. > a {
  409. line-height: 35px;
  410. /*font-weight: bold;*/
  411. font-size: 13px;
  412. cursor: pointer;
  413. display: block;
  414. border-bottom: 1px solid #e7e7e7; /*模块底线边框色 备份 灰色 e7eaec 绿色b9ddfa*/
  415. border-top: 1px solid #f8f8f8; /*模块底线边框色 备份灰色 fafafa 绿色f6f9fc 暂时注释*/
  416. padding-left: 20px;
  417. > i {
  418. margin-right: 5px;
  419. display:inline-block;
  420. width:20px;
  421. }
  422. }
  423. > div {
  424. border-bottom: 1px solid #e7e7e7; /*模块底线边框色*/
  425. border-top: 1px solid #f8f8f8; /*模块底线边框色 暂时注释*/
  426. > h4 {
  427. line-height: 35px;
  428. /*font-weight: bold;*/
  429. font-size: 13px;
  430. cursor: pointer;
  431. display: block;
  432. padding-left: 20px;
  433. font-family: 'Microsoft YaHei UI','宋体',arial,verdana,sans-serif;
  434. /*background-color:#cedee9;*/ /*添加一级模块背景色*/
  435. > i {
  436. /*margin-right: 5px;*/
  437. display:inline-block;
  438. width:20px;
  439. }
  440. }
  441. }
  442. > div:last-of-type {
  443. /*border-bottom-width: 0px;*/
  444. }
  445. ul {
  446. display: none;
  447. background-color: #fcfcfc; /*展开的背景色ecf5fb f3f3f4 eaedf4*/
  448. }
  449. li {
  450. font-size: 12px;
  451. a {
  452. display: block;
  453. padding-left: 36px;
  454. height: 30px;
  455. line-height: 30px;
  456. position: relative;
  457. .txtell();
  458. border-left: 3px solid transparent;
  459. /*display: table;*/
  460. &:hover {
  461. color: #70a6ce;
  462. background-color: #edeeee;
  463. }
  464. &.act {
  465. background-color: #1b75bb;
  466. border-left-color: #d51c1c;
  467. color: #fff;
  468. overflow: inherit;
  469. &:after {
  470. /*content:"";
  471. position:absolute;
  472. right:0;
  473. top:50%;
  474. width:0;
  475. height:0;
  476. line-height:0;
  477. border:14px solid transparent;
  478. border-right-color:#b7d5df;
  479. margin-top:-14px;*/
  480. content: "";
  481. position: absolute;
  482. right: -1px;
  483. top: 50%;
  484. width: 0;
  485. height: 0;
  486. line-height: 0;
  487. border: 8px solid transparent;
  488. border-right-color: #fff;
  489. margin-top: -8px;
  490. }
  491. }
  492. span {
  493. /*text-align: left;*/
  494. /*position: absolute;
  495. top: 0;
  496. left: 80px;*/
  497. /*display: table-cell;*/
  498. }
  499. i {
  500. display:inline-block;
  501. width:20px;
  502. }
  503. }
  504. h4 {
  505. height: 30px;
  506. line-height: 30px;
  507. padding-left: 36px;
  508. /*font-weight: bold;*/
  509. font-family: 'Microsoft YaHei','宋体',arial,verdana,sans-serif;
  510. i {
  511. display:inline-block;
  512. width:20px;
  513. }
  514. }
  515. li {
  516. a, h4 {
  517. padding-left: 52px;
  518. }
  519. li {
  520. a, h4 {
  521. padding-left: 68px;
  522. }
  523. li {
  524. a, h4 {
  525. padding-left: 84px;
  526. }
  527. }
  528. }
  529. }
  530. }
  531. h4 {
  532. position: relative;
  533. padding-right: 22px;
  534. font-weight: 400;
  535. cursor: pointer;
  536. &:hover {
  537. color: #70a6ce;
  538. background-color: #fff;
  539. }
  540. &.open {
  541. background-color: #e0e0e2; /*模块选中后的背景色e5f2fa*/
  542. border-bottom: 1px solid #dddddd;
  543. font-weight: bold; /**模块选中字体加粗**/
  544. color: #454241; /*选中后的样式*/
  545. &:after {
  546. font-weight: 400 !important;
  547. content: "\f104";
  548. font-size: 18px;
  549. margin: -3px -3px 0 0;
  550. }
  551. }
  552. &:after {
  553. /*.icon2();*/
  554. content: "\f107";
  555. position: absolute;
  556. right: 8px;
  557. font-weight: 700 !important;
  558. font-size: 12px;
  559. font-family: FontAwesome !important;
  560. }
  561. }
  562. }
  563. //菜单收起样式
  564. &.side_fold {
  565. width: 40px;
  566. transition: .5s;
  567. overflow: initial;
  568. .side_tip {
  569. i, span {
  570. display: none;
  571. }
  572. }
  573. .side_menu {
  574. transition: .5s;
  575. width: 40px;
  576. overflow: initial;
  577. }
  578. .side_item {
  579. > a, > div > h4 {
  580. padding-left: 0;
  581. text-align: center;
  582. span {
  583. display: none;
  584. }
  585. i {
  586. margin-right: 0;
  587. }
  588. }
  589. > div {
  590. > h4 {
  591. padding-right: 0;
  592. &:after {
  593. display: none;
  594. }
  595. &.open {
  596. background-color: #373d41;
  597. border-left: 5px solid #d51c1c;
  598. > i {
  599. color: white;
  600. }
  601. }
  602. }
  603. }
  604. div {
  605. position: relative;
  606. h4 {
  607. //overflow:hidden;
  608. //text-indent:-999px;
  609. //line-height:inherit;
  610. &:hover {
  611. background-color: #bcd4e0;
  612. }
  613. }
  614. ul {
  615. position: absolute;
  616. left: 100%;
  617. top: 0;
  618. background-color: #fff;
  619. white-space: nowrap;
  620. border: 1px solid #cccccc; /*c3ced5*/
  621. min-width: 120px;
  622. box-shadow: 2px 2px 3px rgba(0,0,0,.4);
  623. li {
  624. &:hover {
  625. background-color: #b7d5df;
  626. }
  627. a {
  628. padding-left: 20px;
  629. padding-right: 6px;
  630. background-position: 4px 8px;
  631. border-left: none;
  632. &.act {
  633. &:after {
  634. display: none;
  635. }
  636. }
  637. }
  638. h4 {
  639. padding-left: 20px;
  640. }
  641. }
  642. }
  643. div {
  644. background-color: #fff;
  645. h4 {
  646. text-indent: 0;
  647. line-height: 35px;
  648. img {
  649. margin: 0;
  650. float: none;
  651. }
  652. }
  653. }
  654. }
  655. }
  656. }
  657. //固定菜单
  658. &.fix {
  659. position: fixed;
  660. top: 70px;
  661. left: 0;
  662. }
  663. }
  664. //主要内容样式
  665. .main_content {
  666. position: relative;
  667. margin-left: 200px;
  668. //z-index:-1;
  669. //收起样式
  670. &.fold {
  671. margin-left: 40px;
  672. transition: .5s;
  673. }
  674. //顶部打开的菜单
  675. .main_menuwrapper {
  676. position: relative;
  677. height: 36px;
  678. overflow: hidden;
  679. &.item {
  680. padding: 0 25px;
  681. .menu_prev, .menu_next {
  682. position: absolute;
  683. height: 36px;
  684. line-height: 50px;
  685. width: 24px;
  686. text-align: center;
  687. color: #333;
  688. z-index: 2;
  689. font-family: SimSun;
  690. background-color: #cccedb;
  691. font-size: 20px;
  692. font-weight: 700;
  693. display: block;
  694. }
  695. .menu_prev {
  696. left: 0;
  697. /*border: 1px solid #b7d5df;*/
  698. /*border-radius: 15px 0 0 15px;*/
  699. }
  700. .menu_next {
  701. right: 0;
  702. /*border: 1px solid #b7d5df;
  703. border-radius: 0 15px 15px 0;*/
  704. }
  705. }
  706. .menu_prev, .menu_next {
  707. display: none;
  708. }
  709. .main_menulist {
  710. position: relative;
  711. width: 100%;
  712. overflow: hidden;
  713. height: 100%;
  714. }
  715. }
  716. //打开菜单的容器
  717. .main_menu {
  718. position: absolute;
  719. left: 0;
  720. min-width: 100%;
  721. background-color: #f7f7f7; /*选项卡 备份e5f1f8 dbecfa d6e5f0 d7ebf9*/
  722. /*background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f2f2f2));
  723. background: -webkit-linear-gradient(top, #f8f8f8, #f2f2f2);
  724. background: -moz-linear-gradient(top, #f8f8f8, #f2f2f2);
  725. background: -ms-linear-gradient(top, #f8f8f8, #f2f2f2);
  726. background: -o-linear-gradient(top, #f8f8f8, #f2f2f2);
  727. background: linear-gradient(top, #f8f8f8, #f2f2f2);*/
  728. height: 35px;
  729. border-bottom: 1px solid #cccccc;
  730. //padding-left:10px; aed0ea
  731. label {
  732. display: inline-block;
  733. vertical-align: middle;
  734. padding: 6px 10px;
  735. font-size: 14px;
  736. height: 18px;
  737. margin-top: 3px;
  738. border: 1px solid #f7f7f7; /*选项卡 备份e5f1f8 d6e5f0 */
  739. border-bottom: none;
  740. border-radius: 3px 3px 0 0;
  741. margin-left: 5px; /*选项卡之间的距离*/
  742. cursor: pointer;
  743. padding-right: 6px;
  744. &.act, &:hover {
  745. position: relative;
  746. color: #077d83;
  747. background-color: #fff;
  748. border-color: #cccccc; /*c3ced5*/
  749. top: 2px;
  750. line-height: 17px;
  751. }
  752. &.act {
  753. cursor: default;
  754. }
  755. i {
  756. margin-right: 5px;
  757. }
  758. b.close {
  759. /*position:absolute;
  760. right:4px;
  761. top:4px;*/
  762. margin-left: 6px;
  763. text-shadow: 0 0 3px rgba(3,3,3,.4);
  764. font-size: 16px;
  765. font-family: 'Microsoft YaHei';
  766. &:hover {
  767. cursor: pointer;
  768. color: #d51c1c;
  769. text-shadow: 0 0 2px rgba(234, 53, 53, 0.60);
  770. }
  771. }
  772. }
  773. }
  774. //装载iframe的菜单
  775. .main_wrapper {
  776. /*position:absolute;
  777. top:40px;
  778. left:0;
  779. right:0;
  780. bottom:0;*/
  781. //overflow:auto;
  782. //padding:10px;
  783. overflow: hidden;
  784. min-height: 500px;
  785. position: relative;
  786. iframe {
  787. border: none;
  788. width: 100%;
  789. height: 100%;
  790. overflow: auto;
  791. position: absolute;
  792. top: 0;
  793. left: 3px;
  794. right: 0;
  795. bottom: 0;
  796. padding-top: 0px;
  797. padding-left: 1px;
  798. }
  799. }
  800. }
  801. //右键菜单样式
  802. .contextmenu {
  803. position: fixed;
  804. background-color: #fff;
  805. border: 1px solid #dedede;
  806. border-radius: 3px;
  807. box-shadow: 2px 2px 5px rgba(0,0,0,.3);
  808. overflow: hidden;
  809. z-index: 555;
  810. ul {
  811. min-width: 80px;
  812. padding: 2px 0;
  813. //padding-left:30px;
  814. position: relative;
  815. &:after {
  816. content: "";
  817. position: absolute;
  818. left: 29px;
  819. top: 0;
  820. bottom: 0;
  821. width: 1px;
  822. background-color: #dedede;
  823. }
  824. li {
  825. padding: 4px 15px;
  826. cursor: pointer;
  827. padding-left: 36px;
  828. position: relative;
  829. &.br {
  830. &:after {
  831. content: "";
  832. position: absolute;
  833. left: 29px;
  834. right: 0;
  835. bottom: 0;
  836. height: 1px;
  837. background-color: #dedede;
  838. }
  839. }
  840. }
  841. li:hover {
  842. color: #fff;
  843. background-color: #00A4AC;
  844. z-index: 2;
  845. overflow: hidden;
  846. &:after {
  847. background-color: inherit;
  848. }
  849. }
  850. }
  851. }
  852. //弹出的配置样式
  853. .Dconfig {
  854. display: none;
  855. background-color: rgba(0,0,0,.6);
  856. min-width: 260px;
  857. min-height: 100px;
  858. position: absolute;
  859. z-index: 999;
  860. right: 30px;
  861. top: -200px;
  862. border-radius: 4px;
  863. box-shadow: 0 0 4px rgba(0,0,0,.3);
  864. color: #fff;
  865. .full {
  866. cursor: pointer;
  867. padding: 5px 0;
  868. padding-left: 24px;
  869. background: url(../img/Fullscreen.png) no-repeat 2px center;
  870. }
  871. .theme {
  872. span {
  873. cursor: pointer;
  874. display: inline-block;
  875. vertical-align: middle;
  876. height: 30px;
  877. width: 30px;
  878. margin-right: 8px;
  879. background-color: red;
  880. border: 1px solid #888;
  881. &:hover, &.act {
  882. border-color: #fff;
  883. }
  884. &.red {
  885. background-color: red;
  886. }
  887. &.blue {
  888. background-color: blue;
  889. }
  890. &.green {
  891. background-color: green;
  892. }
  893. }
  894. }
  895. .close {
  896. position: absolute;
  897. color: #fff;
  898. right: -10px;
  899. top: -13px;
  900. line-height: 24px;
  901. i {
  902. font-size: 20px;
  903. }
  904. &:hover {
  905. color: #f00;
  906. }
  907. }
  908. > div {
  909. padding: 10px 20px 10px 10px;
  910. border-top: 1px solid #a3a3a3;
  911. width: auto;
  912. &:first-child {
  913. border-top: none;
  914. }
  915. h3 {
  916. margin-bottom: 5px;
  917. }
  918. span {
  919. width: 60px;
  920. display: inline-block;
  921. font-size: 15px;
  922. }
  923. select {
  924. font-family: 'Microsoft YaHei';
  925. width: 120px;
  926. font-size: 14px;
  927. font-weight: normal;
  928. color: #333333;
  929. background-color: white;
  930. border: 1px solid #e5e5e5;
  931. padding: 6px 10px;
  932. }
  933. }
  934. }
  935. //底部样式
  936. .footer {
  937. height: 30px;
  938. line-height: 30px;
  939. background-color: #f5f5f5;
  940. color: #444;
  941. text-align: left;
  942. padding-left: 20px;
  943. .spanCopyright {
  944. float: right;
  945. margin-right: 20px;
  946. }
  947. &.fix {
  948. position: fixed;
  949. z-index: 2;
  950. left: 0;
  951. bottom: 0;
  952. width: 100%;
  953. }
  954. }
  955. //遮罩
  956. .mask {
  957. background-color: #000;
  958. .pos100();
  959. opacity: .5;
  960. filter: alpha(opacity=50);
  961. z-index: 5;
  962. display: none;
  963. }
  964. //引导内容
  965. .guide {
  966. position: absolute;
  967. top: 70px;
  968. left: 200px;
  969. z-index: 6;
  970. background-color: #fff;
  971. padding: 10px;
  972. display: none;
  973. .guide_list {
  974. > div {
  975. display: none;
  976. }
  977. .guide_1 {
  978. img {
  979. width: 80%;
  980. }
  981. }
  982. }
  983. b {
  984. border: 10px solid transparent;
  985. border-right-color: #fff;
  986. position: absolute;
  987. left: -20px;
  988. }
  989. }
  990. //任务样式
  991. .task {
  992. margin-bottom: 5px;
  993. border-radius: 0 !important;
  994. box-sizing: border-box;
  995. font-weight: 300;
  996. line-height: 20px;
  997. white-space: normal;
  998. font-size: 13px;
  999. padding: 10px;
  1000. background-color: #ffffff;
  1001. padding: 7px 10px 5px 10px;
  1002. border-bottom: 1px solid #f4f4f4 !important;
  1003. text-shadow: none;
  1004. color: #222222;
  1005. .desc {
  1006. font-size: 13px;
  1007. font-weight: 300;
  1008. border-radius: 0 !important;
  1009. box-sizing: border-box;
  1010. display: block;
  1011. clear: both;
  1012. font-weight: 300;
  1013. line-height: 20px;
  1014. white-space: normal;
  1015. font-size: 13px;
  1016. padding: 10px;
  1017. background-color: #ffffff;
  1018. border-bottom: 1px solid #f4f4f4 !important;
  1019. text-shadow: none;
  1020. color: #222222;
  1021. }
  1022. .percent {
  1023. font-size: 14px;
  1024. font-weight: 600;
  1025. font-family: 'Open Sans', sans-serif;
  1026. float: right;
  1027. display: inline-block;
  1028. }
  1029. }
  1030. .progress {
  1031. display: block;
  1032. height: 11px;
  1033. margin: 0px;
  1034. border: 0;
  1035. background-image: none;
  1036. filter: none;
  1037. -webkit-box-shadow: none;
  1038. -moz-box-shadow: none;
  1039. box-shadow: none;
  1040. overflow: hidden;
  1041. .progress-bar-danger {
  1042. background-color: #f3565d;
  1043. }
  1044. }
  1045. .progress-bar {
  1046. float: left;
  1047. width: 0;
  1048. height: 100%;
  1049. font-size: 12px;
  1050. line-height: 20px;
  1051. color: #fff;
  1052. text-align: center;
  1053. background-color: #428bca;
  1054. -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
  1055. box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
  1056. -webkit-transition: width .6s ease;
  1057. transition: width .6s ease;
  1058. background-size: 40px 40px;
  1059. }
  1060. .progress-striped {
  1061. .progress-bar-danger {
  1062. background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
  1063. background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
  1064. }
  1065. }