app.css 2.5 KB

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