main.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. *{margin:0;padding:0;}
  2. html,body,#app,.wrapper{
  3. width:100%;
  4. height:100%;
  5. overflow: hidden;
  6. }
  7. body{
  8. font-family:"Helvetica Neue",Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif;
  9. }
  10. a{text-decoration: none}
  11. .content{
  12. background: none repeat scroll 0 0 #fff;
  13. position: absolute;
  14. left: 220px;
  15. right: 0;
  16. top: 70px;
  17. bottom:0;
  18. width: auto;
  19. padding:40px;
  20. box-sizing: border-box;
  21. overflow-y: scroll;
  22. }
  23. .crumbs{
  24. margin-bottom: 20px;
  25. }
  26. .pagination{
  27. margin: 20px 0;
  28. text-align: right;
  29. }
  30. .widget-box{
  31. max-width: 1200px;
  32. background: none repeat scroll 0 0 #F9F9F9;
  33. border-left: 1px solid #F0F8FF;
  34. border-top: 2px solid #27a9e3;
  35. border-right: 2px solid #cdcdcd;
  36. clear: both;
  37. margin:0 auto 30px;
  38. position: relative;
  39. }
  40. .widget-box:hover{
  41. box-shadow: 0 2px 7px rgba(0,0,0,.15);
  42. }
  43. .widget-title{
  44. background: #efefef;
  45. border-bottom: 1px solid #F0F8FF;
  46. height: 40px;
  47. }
  48. .widget-title h5 {
  49. color: #666;
  50. padding: 12px;
  51. margin: 0;
  52. font-weight: normal;
  53. }
  54. .widget-content {
  55. padding:25px;
  56. border-bottom: 2px solid #cdcdcd;
  57. }
  58. .widget-box .el-select,
  59. .widget-box .el-input,
  60. .widget-box .el-upload,
  61. .widget-box .el-tooltip{
  62. display: inline-block;
  63. }
  64. .el-button+.el-tooltip {
  65. margin-left: 10px;
  66. }
  67. .el-table td,.el-table th{
  68. padding:5px 18px;
  69. }
  70. .el-table tr:hover{
  71. background: #f6faff;
  72. }
  73. .page-box{
  74. margin-top: 20px;
  75. text-align: right;
  76. }
  77. .page-box .el-pagination{
  78. background: #f9f9f9;
  79. }
  80. .mgb20{
  81. margin-bottom: 15px;
  82. }
  83. .mgb5{
  84. margin-bottom: 5px;
  85. }
  86. .dialog{
  87. position: fixed;
  88. top: 0;
  89. right: 0;
  90. bottom: 0;
  91. left: 0;
  92. overflow: auto;
  93. background: rgba(0,0,0,.4);
  94. z-index:-1;
  95. opacity: 0;
  96. transition: all .5s ease;
  97. }
  98. .dialog.dialog-show{
  99. opacity: 1;
  100. z-index: 1000;
  101. }
  102. .dialog .dialog-wrapper{
  103. position: absolute;
  104. left: 50%;
  105. top: 15%;
  106. width: 50%;
  107. transform: translateX(-50%);
  108. background: #fff;
  109. border-radius: 2px;
  110. box-shadow: 0 1px 3px rgba(0,0,0,.3);
  111. box-sizing: border-box;
  112. transition: top .5s ease;
  113. }
  114. .dialog.dialog-show .dialog-wrapper{
  115. top: 17%;
  116. }
  117. .dialog .dialog-header{
  118. padding: 20px 20px 0;
  119. }
  120. .dialog .dialog-content{
  121. padding: 30px 20px;
  122. color: #475669;
  123. font-size: 14px;
  124. }
  125. .dialog .dialog-close{
  126. float: right;
  127. cursor: pointer;
  128. color: #c0ccda;
  129. }
  130. .dialog .dialog-close:hover{
  131. color: #20a0ff;
  132. animation: close-rotate .3s ease;
  133. }
  134. @keyframes close-rotate {
  135. from{
  136. transform: rotate(-360deg);
  137. }
  138. }
  139. .el-upload__files{
  140. display: none;
  141. }
  142. .move-enter-active,.move-leave-active{
  143. transition: opacity .5s;
  144. }
  145. .move-enter,.move-leave{
  146. opacity: 0;
  147. }