menu.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. background-color: #eee;
  26. margin: 0;
  27. display: flex;
  28. font-weight: initial !important;
  29. font-size: 14px !important;
  30. color: #333 !important;
  31. }
  32. html *,
  33. body * {
  34. text-decoration: none !important;
  35. font-family: Verdana, Arial, Helvetica, sans-serif;
  36. box-sizing: border-box;
  37. }
  38. .ms-ellipsis {
  39. overflow: hidden;
  40. text-overflow: ellipsis;
  41. white-space: nowrap;
  42. display: block;
  43. }
  44. .ms-align-center {
  45. display: flex;
  46. align-items: center;
  47. }
  48. input::-webkit-input-placeholder,
  49. textarea::-webkit-input-placeholder {
  50. font-weight: initial;
  51. font-size: 12px;
  52. color: #999;
  53. resize: none;
  54. }
  55. *::-webkit-scrollbar {
  56. width: 8px;
  57. height: 8px;
  58. }
  59. /*定义滚动条轨道 内阴影+圆角*/
  60. *::-webkit-scrollbar-track {
  61. border-radius: 10px;
  62. /*滚动条的背景区域的圆角*/
  63. background-color: #eee;
  64. /*滚动条的背景颜色*/
  65. }
  66. /*定义滑块 内阴影+圆角*/
  67. *::-webkit-scrollbar-thumb {
  68. border-radius: 10px;
  69. /*滚动条的圆角*/
  70. background-color: #ddd;
  71. /*滚动条的背景颜色*/
  72. }
  73. .ms-container {
  74. margin: 12px;
  75. height: 100%;
  76. padding: 14px 14px 0 14px;
  77. background: #fff;
  78. }
  79. .ms-header {
  80. padding: 10px;
  81. margin: 0;
  82. border-bottom: 1px solid #ddd;
  83. background: #fff;
  84. height: 50px;
  85. }
  86. .ms-pagination {
  87. padding: 20px 0;
  88. text-align: right;
  89. }
  90. .ms-fr {
  91. float: right;
  92. }
  93. .ms-tr {
  94. text-align: right;
  95. }
  96. .el-button + .el-button {
  97. margin-left: 0;
  98. }
  99. .ms-admin-title {
  100. height: 50px;
  101. display: flex;
  102. align-items: center;
  103. }
  104. .ms-admin-menu {
  105. min-height: calc(100vh - 50px);
  106. background: #fff;
  107. }
  108. .ms-admin-menu-item {
  109. min-width: 100% !important;
  110. }