home.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. @import 'style';
  2. @import 'base';
  3. $height: 50px;
  4. .header {
  5. background: $color;
  6. color: #fff;
  7. height: 60px !important;
  8. padding: 0 48px;
  9. .logo{
  10. height: 50px;
  11. margin-top: 5px;
  12. }
  13. .settings{
  14. float: right;
  15. line-height: 60px;
  16. img{
  17. position: relative;
  18. top: 3px;
  19. }
  20. span{
  21. color: #fff;
  22. font-size: 16px;
  23. padding: 0 10px;
  24. }
  25. }
  26. }
  27. .main {
  28. position: relative;
  29. height: calc(100vh - 60px);
  30. background: #EEEEEE;
  31. padding-top: 15px;
  32. }
  33. .left-aside {
  34. height: 100%;
  35. overflow-y: auto;
  36. overflow-x: hidden;
  37. background: #fff;
  38. .left-menue {
  39. border: none;
  40. & > .is-active {
  41. background-color: #3665FB !important;
  42. position: relative;
  43. .iconfont{
  44. color: $mainColor;
  45. }
  46. .is-active {
  47. background-color: #3665FB !important;
  48. position: relative;
  49. .iconfont{
  50. color: $mainColor;
  51. }
  52. }
  53. }
  54. .is-opened{
  55. background-color: #fff !important;
  56. }
  57. .el-menu-item-group__title{
  58. padding: 0;
  59. }
  60. // .el-menu-item{
  61. // height: 44px;
  62. // line-height: 44px;
  63. // }
  64. }
  65. }
  66. .el-main {
  67. // border: 1px solid red;
  68. padding:10px 20px;
  69. position: relative;
  70. .content{
  71. background: #fff;
  72. padding: 32px;
  73. margin-top: 12px;
  74. box-shadow:0px 4px 12px 0px rgba(0,0,0,0.12);
  75. }
  76. .title_top{
  77. .add_btn{
  78. width:90px;
  79. height:32px;
  80. background:$mainColor;
  81. border:1px solid rgba(237,237,237,1);
  82. border-radius:4px;
  83. float: right;
  84. text-align: center;
  85. line-height: 32px;
  86. color: #FFF;
  87. }
  88. }
  89. .filter{
  90. background: #fff;
  91. padding: 20px 25px 0;
  92. border:1px solid #EDEDED;
  93. border-radius:2px;
  94. margin-bottom: 23px;
  95. form{
  96. .el-input{
  97. max-width: 260px;
  98. }
  99. .el-range-editor--small.el-input__inner{
  100. height: 36px;
  101. }
  102. label{
  103. color: #6A737B;
  104. }
  105. input{
  106. // width: 260px;
  107. height: 34px !important;
  108. line-height: 34px !important;
  109. }
  110. .el-select{
  111. width: 120px;
  112. margin-right: 10px;
  113. }
  114. }
  115. }
  116. .table_div{
  117. background: #fff;
  118. border: 1px solid #EDEDED;
  119. min-height: calc(100vh - 430px);
  120. }
  121. .edit_btn{
  122. color: #25486A;
  123. }
  124. .info_btn{
  125. background: #ECF0F5;
  126. color: #1F2328;
  127. border-color: #ECF0F5;
  128. }
  129. // 分页
  130. .el-pagination {
  131. // position: absolute;
  132. // left: 0;
  133. // bottom: 15px;
  134. text-align: center;
  135. width: 100%;
  136. margin-top: 20px;
  137. }
  138. }
  139. .el-dialog{
  140. .el-select{display: block;}
  141. }
  142. .main_btn{
  143. background: $mainColor;
  144. border-color: $mainColor;
  145. width: 120px;
  146. font-size: 14px;
  147. }
  148. .cancel_btn{
  149. width: 170px;
  150. font-size: 14px;
  151. color: #6A737B;
  152. }
  153. @media (max-width: 750px) {
  154. .left-aside {
  155. position: absolute;
  156. z-index: 9;
  157. height: calc(100vh - 50px);
  158. overflow: auto;
  159. transition: all 0.3s linear;
  160. // left: -220px;
  161. }
  162. .el-main {
  163. padding: 10px;
  164. }
  165. .el-dialog {
  166. width: 98% !important;
  167. }
  168. .header .fa-navicon,
  169. .header .fa-close {
  170. width: 16px;
  171. display: inline-block;
  172. }
  173. .main .mask {
  174. opacity: 0;
  175. transition: opacity 0.3s;
  176. }
  177. .main.show .mask {
  178. opacity: 1;
  179. position: absolute;
  180. z-index: 8;
  181. top: 0;
  182. left: 0;
  183. right: 0;
  184. bottom: 0;
  185. background-color: rgba(0, 0, 0, 0.5);
  186. }
  187. }