custom-menu.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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: #e6e6e6;
  72. /*滚动条的背景颜色*/
  73. }
  74. .ms-container {
  75. margin: 12px;
  76. height: calc(100% - 24px);
  77. padding: 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-header button {
  88. height: 30px;
  89. }
  90. .ms-pagination {
  91. padding: 20px 0;
  92. text-align: right;
  93. }
  94. .ms-fr {
  95. float: right;
  96. }
  97. .ms-tr {
  98. text-align: right;
  99. }
  100. .ms-weixin-content {
  101. width: calc(100% - 140px);
  102. }
  103. .ms-weixin-dialog .el-dialog__header {
  104. height: 55px;
  105. box-sizing: border-box;
  106. padding: 10px 10px 25px 10px;
  107. border-bottom: 1px solid #e6e6e6;
  108. }
  109. .ms-weixin-dialog .el-dialog__header .el-dialog__title {
  110. font-weight: bold;
  111. font-size: 14px;
  112. color: #333;
  113. }
  114. .ms-weixin-dialog .el-dialog__footer {
  115. border-top: 1px solid #e6e6e6;
  116. padding: 15px !important;
  117. }
  118. .ms-hover {
  119. cursor: pointer;
  120. }
  121. .ms-hover:hover {
  122. color: #0099ff;
  123. background: #fff;
  124. border-color: #0099ff;
  125. }
  126. .ms-custom-menu {
  127. color: #f2f2f6;
  128. }
  129. .ms-custom-menu .ms-custom-container {
  130. display: flex;
  131. justify-content: space-between;
  132. }
  133. .ms-custom-menu .ms-custom-container > .ms-container {
  134. padding: 0;
  135. background: transparent;
  136. }
  137. .ms-custom-menu .ms-custom-container .el-aside {
  138. background: #fff;
  139. width: 280px !important;
  140. height: 470px !important;
  141. }
  142. .ms-custom-menu .ms-custom-container .el-aside .el-container .el-header {
  143. height: 40px !important;
  144. line-height: 40px !important;
  145. font-weight: initial;
  146. font-size: 16px;
  147. color: #fff;
  148. text-align: center;
  149. background: #323232;
  150. }
  151. .ms-custom-menu .ms-custom-container .el-aside .el-container .el-main {
  152. padding: 0;
  153. width: 280px !important;
  154. height: 379px !important;
  155. }
  156. .ms-custom-menu .ms-custom-container .el-aside .el-container .el-footer {
  157. white-space: nowrap;
  158. padding: 0;
  159. font-size: 0;
  160. background-color: #FAFAFA;
  161. width: 280px !important;
  162. height: 50px !important;
  163. display: flex;
  164. justify-content: flex-start;
  165. border-top: 1px solid #e6e6e6 !important;
  166. }
  167. .ms-custom-menu .ms-custom-container .el-aside .el-container .el-footer > .el-button {
  168. width: 40px !important;
  169. height: 50px !important;
  170. padding: 0 !important;
  171. border: none !important;
  172. border-right: 1px solid #e6e6e6 !important;
  173. }
  174. .ms-custom-menu .ms-custom-container .el-aside .el-container .el-footer .el-button {
  175. border-radius: 0 !important;
  176. height: 50px !important;
  177. background: transparent !important;
  178. }
  179. .ms-custom-menu .ms-custom-container .el-aside .el-container .el-footer .ms-create-menu {
  180. flex: 1;
  181. font-size: 0;
  182. display: flex;
  183. justify-content: space-between;
  184. }
  185. .ms-custom-menu .ms-custom-container .el-aside .el-container .el-footer .ms-create-menu .el-button {
  186. flex: 1;
  187. border: none !important;
  188. background: transparent !important;
  189. }
  190. .ms-custom-menu .ms-custom-container .el-aside .el-container .el-footer .ms-create-menu .el-button span {
  191. color: #333;
  192. }
  193. .ms-custom-menu .ms-custom-container .el-aside .el-container .el-footer .ms-create-menu .ms-create-sub-menu {
  194. flex: 1;
  195. position: relative;
  196. }
  197. .ms-custom-menu .ms-custom-container .el-aside .el-container .el-footer .ms-create-menu .ms-create-sub-menu > .el-button:first-child {
  198. width: 100%;
  199. }
  200. .ms-custom-menu .ms-custom-container .el-aside .el-container .el-footer .ms-create-menu .ms-create-sub-menu > .el-button:last-child {
  201. position: absolute;
  202. top: -60px;
  203. left: 0;
  204. border: 1px solid #e6e6e6 !important;
  205. width: 100%;
  206. }
  207. .ms-custom-menu .ms-custom-container .el-aside .el-container .el-footer .ms-create-menu .el-button--default {
  208. border-left: 1px solid #e6e6e6 !important;
  209. padding: 0 !important;
  210. flex: 1;
  211. }
  212. .ms-custom-menu .ms-custom-container .el-main {
  213. padding: 0;
  214. padding-left: 20px;
  215. flex: 1;
  216. height: 470px;
  217. }
  218. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card {
  219. height: 100%;
  220. }
  221. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-name .el-form-item__content,
  222. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-content .el-form-item__content {
  223. display: flex;
  224. justify-content: flex-start;
  225. }
  226. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-name .el-form-item__content .el-input,
  227. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-content .el-form-item__content .el-input {
  228. width: 153px !important;
  229. height: 30px !important;
  230. }
  231. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-name .el-form-item__content span,
  232. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-content .el-form-item__content span {
  233. margin-left: 10px;
  234. font-weight: initial;
  235. font-size: 12px;
  236. color: #999;
  237. }
  238. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-content .el-form-item__content .el-input {
  239. width: 306px !important;
  240. height: 30px !important;
  241. }
  242. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-content .el-tabs {
  243. border: 1px solid #e6e6e6;
  244. }
  245. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-content .el-tabs .el-tabs__header {
  246. background: #f2f2f6;
  247. border-radius: 4px 4px 0 0 !important;
  248. margin: 0 !important;
  249. }
  250. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-content .el-tabs .el-tabs__header .el-tabs__nav-scroll {
  251. padding: 0 20px;
  252. }
  253. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-content .el-tabs .el-tabs__header .el-tabs__nav-scroll i {
  254. margin-right: 8px;
  255. }
  256. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-content .el-tabs .el-tab-pane {
  257. padding: 20px;
  258. width: 100%;
  259. height: 220px;
  260. display: flex;
  261. justify-content: space-between;
  262. }
  263. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-content .el-tabs .el-tab-pane > div {
  264. flex: 1;
  265. border: 1px dashed #e6e6e6;
  266. display: flex;
  267. justify-content: center;
  268. align-items: center;
  269. flex-direction: column;
  270. }
  271. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-content .el-tabs .el-tab-pane > div i {
  272. font-weight: bolder;
  273. font-size: 20px;
  274. color: #0099ff;
  275. }
  276. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-content .el-tabs .el-tab-pane > div span {
  277. margin-top: 8px;
  278. line-height: 1;
  279. }
  280. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-content .el-tabs .el-tab-pane > div:hover {
  281. cursor: pointer;
  282. }
  283. .ms-custom-menu .ms-custom-container .el-main .custom-menu-card .ms-custom-menu-content .el-tabs .el-tab-pane > div:last-child {
  284. margin-left: 20px;
  285. }