menu.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /*
  2. *这里的值严格按照UI设计图标注值来进行设置
  3. */
  4. /*
  5. *颜色
  6. */
  7. /*
  8. *页面的边距
  9. */
  10. /*
  11. *字体
  12. */
  13. /*
  14. *头像
  15. */
  16. /*
  17. * 按钮
  18. */
  19. /*
  20. *对常见的多行样式进行了方法封装,方便调用,加快开发效率
  21. */
  22. html,
  23. body {
  24. min-height: 100vh;
  25. width: 100vw;
  26. background-color: #eee;
  27. margin: 0;
  28. display: flex;
  29. font-weight: initial !important;
  30. font-size: 14px !important;
  31. color: #333 !important;
  32. }
  33. html *,
  34. body * {
  35. text-decoration: none !important;
  36. font-family: Verdana, Arial, Helvetica, sans-serif;
  37. box-sizing: border-box;
  38. }
  39. .ms-ellipsis {
  40. overflow: hidden;
  41. text-overflow: ellipsis;
  42. white-space: nowrap;
  43. display: block;
  44. }
  45. .ms-align-center {
  46. display: flex;
  47. align-items: center;
  48. }
  49. input::-webkit-input-placeholder,
  50. textarea::-webkit-input-placeholder {
  51. font-weight: initial;
  52. font-size: 12px;
  53. color: #999;
  54. resize: none;
  55. }
  56. *::-webkit-scrollbar {
  57. width: 8px;
  58. height: 8px;
  59. }
  60. /*定义滚动条轨道 内阴影+圆角*/
  61. *::-webkit-scrollbar-track {
  62. border-radius: 10px;
  63. /*滚动条的背景区域的圆角*/
  64. background-color: #eee;
  65. /*滚动条的背景颜色*/
  66. }
  67. /*定义滑块 内阴影+圆角*/
  68. *::-webkit-scrollbar-thumb {
  69. border-radius: 10px;
  70. /*滚动条的圆角*/
  71. background-color: #ddd;
  72. /*滚动条的背景颜色*/
  73. }
  74. .ms-container {
  75. margin: 12px;
  76. height: calc(100% - 24px);
  77. padding: 14px 14px 0 14px;
  78. background: #fff;
  79. }
  80. .ms-header {
  81. padding: 10px;
  82. margin: 0;
  83. border-bottom: 1px solid #ddd;
  84. background: #fff;
  85. height: 50px;
  86. }
  87. .ms-pagination {
  88. padding: 20px 0;
  89. text-align: right;
  90. }
  91. .ms-fr {
  92. float: right;
  93. }
  94. .ms-tr {
  95. text-align: right;
  96. }
  97. .el-button + .el-button {
  98. margin-left: 0;
  99. }
  100. .ms-weixin-content {
  101. width: calc(100% - 140px);
  102. }
  103. .ms-admin-menu {
  104. min-height: 100vh;
  105. min-width: 140px;
  106. }
  107. .ms-admin-menu .ms-header {
  108. border-right: solid 1px #e6e6e6;
  109. }
  110. .ms-admin-menu .ms-header div {
  111. height: 100%;
  112. display: flex;
  113. align-items: center;
  114. }
  115. .ms-admin-menu .ms-header div i {
  116. display: inline-block;
  117. text-align: center;
  118. line-height: 1.4em;
  119. width: 1.4em;
  120. height: 1.4em;
  121. border-radius: 4px;
  122. color: #fff;
  123. font-size: 1.4em;
  124. background: #02CF5D;
  125. }
  126. .ms-admin-menu .ms-header div span {
  127. margin: auto;
  128. }
  129. .ms-admin-menu .el-main {
  130. padding: 0;
  131. }
  132. .ms-admin-menu .el-main .ms-admin-menu-menu {
  133. min-height: calc(100vh - 50px);
  134. background: #fff;
  135. }
  136. .ms-admin-menu .el-main .ms-admin-material-item {
  137. min-width: 100% !important;
  138. }