index.less 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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. position: absolute;
  24. right: 0;
  25. top:22px;
  26. width: 10px;
  27. height: 6px;
  28. background: url("../images/icon_wdown.png") no-repeat;
  29. }
  30. //设置
  31. .userAction {
  32. background-color: #fff;
  33. border-radius: 2px;
  34. display: none;
  35. text-indent: 0;
  36. width: 100px;
  37. position: absolute;
  38. right: 0;
  39. top:42px;
  40. box-shadow:0px 4px 20px -3px rgba(59,89,126,0.3);
  41. li {
  42. line-height: 36px;
  43. text-align: center;
  44. cursor: pointer;
  45. color: #777777;
  46. a{
  47. color: #777777;
  48. }
  49. &:hover,a:hover{
  50. color: @activeColor;
  51. }
  52. }
  53. }
  54. }
  55. .setting{
  56. display: inline-block;
  57. height:26px;
  58. line-height: 26px;
  59. margin: 12px 0 0 0;
  60. background: url("../images/head.png") no-repeat;
  61. padding:0 22px 0 15px;
  62. color: #fff;
  63. text-decoration: none;
  64. }
  65. img{
  66. vertical-align: middle;
  67. margin-right: 10px;
  68. }
  69. .title span{
  70. display: inline-block;
  71. border-left: 1px #fff solid;
  72. height: 20px;
  73. line-height: 20px;
  74. color: #fff;
  75. }
  76. }
  77. .main-body{
  78. height: 100%;
  79. margin-top:@headerHt+20px;
  80. }
  81. .menu{
  82. width: @menuWt;
  83. height: 100%;
  84. overflow-y: auto;
  85. .active{
  86. color: @activeColor;
  87. background: @activeBg;
  88. border-right: 3px @activeColor solid;
  89. }
  90. .slide-up{
  91. color: @activeColor;
  92. }
  93. .list-1{
  94. position: relative;
  95. &:after{
  96. content: " ";
  97. display: inline-block;
  98. position: absolute;
  99. left: 270px;
  100. top:18px;
  101. width: 10px;
  102. height: 6px;
  103. background: url("../images/icon_down.png") no-repeat;
  104. }
  105. &.slide-up:after{
  106. transform: rotate(180deg);
  107. -webkit-transform: rotate(180deg);
  108. }
  109. ul{
  110. display: none;
  111. li.page{
  112. text-indent: 30px;
  113. }
  114. }
  115. }
  116. li{
  117. line-height: @menuLiHt;
  118. text-indent: 15px;
  119. cursor: pointer;
  120. }
  121. .copy-right{
  122. position: fixed;
  123. bottom: 0px;
  124. width: @menuWt+(-18px);
  125. text-align: center;
  126. font-size:12px;
  127. color: #aaa;
  128. background: #fff;
  129. padding: 10px 0 20px;
  130. }
  131. }
  132. .main{
  133. margin-left:@menuWt+20px;
  134. height: 100%;
  135. iframe{
  136. width: 100%;
  137. height: 100%;
  138. }
  139. }
  140. //修改密码
  141. .modalAction {
  142. // padding: 20px;
  143. input {
  144. border: 1px solid #E2E5EF;
  145. width: 300px;
  146. height: 40px;
  147. line-height: 40px;
  148. border-radius: 3px;
  149. margin-bottom: 15px;
  150. padding: 0 10px;
  151. box-sizing: border-box;
  152. }
  153. p span {
  154. width: 90px;
  155. display: inline-block;
  156. text-align: right;
  157. }
  158. .waring {
  159. text-align: left;
  160. i {
  161. margin-left: 15px;
  162. color: #FF4D4F;
  163. }
  164. }
  165. }