app.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. html, body {
  2. min-height: 100vh;
  3. width: 100vw;
  4. background-color: #eee;
  5. margin: 0;
  6. padding: 0;
  7. font-weight: initial !important;
  8. font-size: 14px !important;
  9. color: #333 !important;
  10. overflow: hidden;
  11. }
  12. html *, body * {
  13. text-decoration: none !important;
  14. font-family: Verdana, Arial, Helvetica, sans-serif;
  15. box-sizing: border-box;
  16. }
  17. /**
  18. *框架样式
  19. */
  20. .ms-ellipsis {
  21. overflow: hidden;
  22. text-overflow: ellipsis;
  23. white-space: nowrap;
  24. display: block;
  25. }
  26. .ms-align-center {
  27. display: flex;
  28. align-items: center;
  29. }
  30. .ms-index{
  31. display: flex;
  32. flex-direction: column;
  33. height: 100vh;
  34. }
  35. .ms-container {
  36. height: 100%;
  37. display: flex;
  38. flex-direction: column;
  39. padding: 14px ;
  40. background: #fff;
  41. }
  42. .ms-header {
  43. padding: 10px;
  44. margin: 0;
  45. border-bottom: 1px solid #ebeef5;
  46. background: #fff;
  47. height: 50px
  48. }
  49. .ms-pagination {
  50. padding: 14px 0 0 0;
  51. text-align: right;
  52. }
  53. .ms-fr {
  54. float: right;
  55. }
  56. .ms-tr {
  57. text-align: right;
  58. }
  59. .ms-loading {background:url('/static/images/loading.gif') no-repeat center;}
  60. /*表单提示*/
  61. .ms-form-tip,.ms-form-tip-err {
  62. color: #909399;
  63. font-size: 12px;
  64. line-height: 18px;
  65. padding: 4px 0;
  66. }
  67. .ms-form-tip-err{
  68. color:#f56c6c
  69. }
  70. .ms-alert-tip{
  71. margin-bottom: 10px;
  72. flex-shrink: 0;
  73. }
  74. .ms-select{
  75. display: block;
  76. }
  77. /*搜索*/
  78. .ms-search{
  79. background: #fff;
  80. padding: 10px 14px 0 14px;
  81. border-bottom: 1px dashed #ebeef5;
  82. }
  83. .ms-search .ms-search-footer{
  84. line-height: 60px;
  85. text-align: center;
  86. }
  87. .ms-datetimerange{
  88. width: 100% !important;
  89. }
  90. .ms-table-pagination {
  91. height: calc(100% - 75px);
  92. }
  93. /*滚动条*/
  94. .ms-scrollbar .el-scrollbar__bar.is-vertical{
  95. width: 6px !important;
  96. }
  97. .ms-scrollbar .el-scrollbar__view{
  98. padding-right: 17px;
  99. }
  100. /*后台管理界面的el-menu通用样式*/
  101. .ms-index .el-menu {
  102. border-right: none;
  103. background-color: unset;
  104. }
  105. .ms-index .el-menu-item {
  106. white-space: nowrap;
  107. text-overflow: ellipsis;
  108. overflow: hidden;
  109. word-break: break-all;
  110. }
  111. #form .ms-container{
  112. height:calc(100vh - 38px);
  113. }
  114. a:link,a:visited,a:active{text-decoration: none; color:#409EFF;}
  115. /*样式重写*/
  116. input::-webkit-input-placeholder,
  117. textarea::-webkit-input-placeholder {
  118. font-weight: initial;
  119. font-size: 12px;
  120. color: #999;
  121. resize: none;
  122. }
  123. .el-button+.el-button {
  124. margin-left: 0
  125. }
  126. .el-button .iconfont{
  127. font-size: 12px;
  128. margin-right: 5px;
  129. line-height: 1px!important;
  130. }
  131. [v-cloak]{
  132. display: none;
  133. }
  134. /* 滚动条样式重写*/
  135. .el-table__body-wrapper::-webkit-scrollbar{
  136. width:6px;
  137. height: 6px;
  138. }
  139. .el-table__body-wrapper::-webkit-scrollbar-thumb {
  140. border-radius: 10px;
  141. background-color: rgba(144,147,153,.5);
  142. }
  143. /*饿了么滚动样式*/
  144. .el-scrollbar__wrap{
  145. margin-bottom: unset !important;
  146. overflow-x: hidden!important;
  147. }