home.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. @import 'style';
  2. @import 'base';
  3. $height: 50px;
  4. .el-header{
  5. padding: 0;
  6. height: 111px !important;
  7. }
  8. .header {
  9. background: linear-gradient(180deg, #A1C3E8 0%, #FFFFFF 100%);
  10. color: #0F1F8C;
  11. height: 56px !important;
  12. text-align: center;
  13. font-size-adjust: 20px;
  14. line-height: 56px;
  15. font-weight: bolder;
  16. .logo{
  17. height: 60px;
  18. margin-top: 5px;
  19. }
  20. }
  21. .nav{
  22. background: #0F1F8C;
  23. padding: 0 44px;
  24. a{
  25. display: inline-block;
  26. line-height: 55px;
  27. padding: 0 12px;
  28. color: #fff;
  29. font-size: 14px;
  30. text-decoration: none;
  31. margin-right: 20px;
  32. }
  33. .active{
  34. background: #09166F;
  35. }
  36. .setting{
  37. float: right;
  38. color: #fff;
  39. line-height: 55px;
  40. .el-dropdown{
  41. color: #fff;
  42. margin: 0 20px;
  43. }
  44. }
  45. }
  46. .main {
  47. position: relative;
  48. height: calc(100vh - 111px);
  49. background: #F4F4F4;
  50. // padding-top: 10px;
  51. }
  52. .left-aside {
  53. height: 100%;
  54. overflow-y: auto;
  55. overflow-x: hidden;
  56. background: #fff;
  57. .left-menue {
  58. border: none;
  59. & > .is-active {
  60. background-color: #DCECFF !important;
  61. position: relative;
  62. // border-left: 10px solid #ECF0F5;
  63. transition: all .3s linear;
  64. .iconfont{
  65. color: #3895FE;
  66. }
  67. &>.el-submenu__title{
  68. color: #3895FE !important;
  69. }
  70. .is-active {
  71. background-color: #DCECFF !important;
  72. // border-left: 10px solid #ECF0F5;
  73. transition: all .3s linear;
  74. position: relative;
  75. .iconfont{
  76. color: #3895FE;
  77. }
  78. }
  79. }
  80. .is-opened{
  81. background-color: #fff !important;
  82. border-left: none !important;
  83. &>.el-submenu__title{
  84. color: #fff !important;
  85. }
  86. }
  87. .el-menu-item-group__title{
  88. padding: 0;
  89. }
  90. .child{
  91. padding-left: 60px !important;
  92. }
  93. .el-menu-item, .el-submenu__title{
  94. height: 48px;
  95. line-height: 48px;
  96. font-size: 15px;
  97. }
  98. // .el-menu-item{
  99. // height: 44px;
  100. // line-height: 44px;
  101. // }
  102. }
  103. }
  104. .el-main {
  105. // border: 1px solid red;
  106. padding:20px 20px;
  107. position: relative;
  108. .content{
  109. background: #fff;
  110. padding: 20px;
  111. margin-top: 12px;
  112. min-height: calc(100vh - 190px);
  113. box-shadow:0px 4px 12px 0px rgba(0,0,0,0.12);
  114. }
  115. .title_top{
  116. .add_btn{
  117. width:90px;
  118. height:32px;
  119. background:$mainColor;
  120. border:1px solid rgba(237,237,237,1);
  121. border-radius:4px;
  122. float: right;
  123. text-align: center;
  124. line-height: 32px;
  125. color: #FFF;
  126. }
  127. }
  128. .table_div{
  129. background: #fff;
  130. border: 1px solid #EDEDED;
  131. min-height: calc(100vh - 430px);
  132. }
  133. .edit_btn{
  134. color: #25486A;
  135. }
  136. .info_btn{
  137. background: #ECF0F5;
  138. color: #1F2328;
  139. border-color: #ECF0F5;
  140. }
  141. // 分页
  142. .el-pagination {
  143. // position: absolute;
  144. // left: 0;
  145. // bottom: 15px;
  146. text-align: right;
  147. width: 100%;
  148. margin-top: 20px;
  149. }
  150. }
  151. .el-dialog{
  152. .el-select{display: block;}
  153. }
  154. .main_btn{
  155. background: $mainColor;
  156. border-color: $mainColor;
  157. width: 120px;
  158. font-size: 14px;
  159. }
  160. .cancel_btn{
  161. width: 170px;
  162. font-size: 14px;
  163. color: #6A737B;
  164. }
  165. // 表头
  166. thead{
  167. tr th{
  168. background-color: #F2F2F2 !important;
  169. padding: 8px 0 !important;
  170. }
  171. }
  172. tbody{
  173. tr td{
  174. padding: 4px 0 !important;
  175. }
  176. }
  177. .edit{
  178. // color: #FFB82F;
  179. }
  180. .del{
  181. // color: #F01010;
  182. }
  183. .upload_btn{
  184. position: relative;
  185. input{
  186. position: absolute;
  187. width: 100%;
  188. left: 0;
  189. opacity: 0;
  190. }
  191. }
  192. // 弹框
  193. .el-dialog__footer{
  194. text-align: center;
  195. }