index.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512
  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: 600px;
  25. min-width: 810px;
  26. width: 100vw;
  27. background-color: #eee;
  28. margin: 0;
  29. display: flex;
  30. font-weight: initial !important;
  31. font-size: 14px !important;
  32. color: #333 !important;
  33. }
  34. html *,
  35. body * {
  36. text-decoration: none !important;
  37. font-family: Verdana, Arial, Helvetica, sans-serif;
  38. box-sizing: border-box;
  39. }
  40. .ms-ellipsis {
  41. overflow: hidden;
  42. text-overflow: ellipsis;
  43. white-space: nowrap;
  44. display: block;
  45. }
  46. .ms-align-center {
  47. display: flex;
  48. align-items: center;
  49. }
  50. input::-webkit-input-placeholder,
  51. textarea::-webkit-input-placeholder {
  52. font-weight: initial;
  53. font-size: 12px;
  54. color: #999;
  55. resize: none;
  56. }
  57. *::-webkit-scrollbar {
  58. width: 8px;
  59. height: 8px;
  60. }
  61. /*定义滚动条轨道 内阴影+圆角*/
  62. *::-webkit-scrollbar-track {
  63. border-radius: 10px;
  64. /*滚动条的背景区域的圆角*/
  65. background-color: #eee;
  66. /*滚动条的背景颜色*/
  67. }
  68. /*定义滑块 内阴影+圆角*/
  69. *::-webkit-scrollbar-thumb {
  70. border-radius: 10px;
  71. /*滚动条的圆角*/
  72. background-color: #e6e6e6;
  73. /*滚动条的背景颜色*/
  74. }
  75. .ms-container {
  76. margin: 12px;
  77. height: calc(100% - 24px);
  78. padding: 14px;
  79. background: #fff;
  80. }
  81. .ms-header {
  82. padding: 10px;
  83. margin: 0;
  84. border-bottom: 1px solid #ddd;
  85. background: #fff;
  86. height: 50px;
  87. }
  88. .ms-header button {
  89. height: 30px;
  90. }
  91. .ms-pagination {
  92. padding: 20px 0;
  93. text-align: right;
  94. }
  95. .ms-fr {
  96. float: right;
  97. }
  98. .ms-tr {
  99. text-align: right;
  100. }
  101. .ms-weixin-content {
  102. width: calc(100% - 140px);
  103. }
  104. .ms-weixin-dialog .el-dialog__header {
  105. height: 55px;
  106. box-sizing: border-box;
  107. padding: 10px 10px 25px 10px;
  108. border-bottom: 1px solid #e6e6e6;
  109. }
  110. .ms-weixin-dialog .el-dialog__header .el-dialog__title {
  111. font-weight: bold;
  112. font-size: 14px;
  113. color: #333;
  114. }
  115. .ms-weixin-dialog .el-dialog__footer {
  116. border-top: 1px solid #e6e6e6;
  117. padding: 15px !important;
  118. }
  119. .ms-hover {
  120. cursor: pointer;
  121. }
  122. .ms-hover:hover {
  123. color: #0099ff;
  124. background: #fff;
  125. border-color: #0099ff;
  126. }
  127. .ms-header-select {
  128. font-size: 0;
  129. }
  130. .ms-header-select > .el-select:nth-of-type(2) {
  131. margin: 0 10px;
  132. }
  133. .el-submenu .el-menu-item.is-active {
  134. border-radius: 4px;
  135. }
  136. .el-card,
  137. .el-message {
  138. border-radius: 0 !important;
  139. }
  140. .sortable-ghost {
  141. opacity: .3;
  142. background: #ccc !important;
  143. border-color: transparent !important;
  144. color: transparent !important;
  145. }
  146. .sortable-ghost * {
  147. background: #ccc !important;
  148. border-color: transparent !important;
  149. color: transparent !important;
  150. }
  151. .index {
  152. width: 100%;
  153. display: flex;
  154. }
  155. .ms-admin-header {
  156. display: flex;
  157. padding: 0;
  158. background-color: #0099ff;
  159. height: 50px !important;
  160. }
  161. .ms-admin-header .ms-admin-header-menu {
  162. background-color: #0099ff;
  163. border-bottom: none;
  164. position: relative;
  165. }
  166. .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item > *,
  167. .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item {
  168. height: 50px !important;
  169. line-height: 50px !important;
  170. background-color: #0099ff !important;
  171. color: rgba(255, 255, 255, 0.65) !important;
  172. border-bottom: none !important;
  173. font-size: 1em;
  174. }
  175. .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item > *:hover,
  176. .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item:hover {
  177. color: #fff !important;
  178. }
  179. .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item > *.is-active,
  180. .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item.is-active {
  181. color: #fff !important;
  182. }
  183. .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu {
  184. padding: 0;
  185. user-select: none;
  186. outline: none;
  187. width: 100%;
  188. min-width: 500px;
  189. min-height: 200px;
  190. background-color: #fff !important;
  191. height: auto;
  192. flex-wrap: wrap;
  193. position: absolute;
  194. right: 0;
  195. top: 0;
  196. z-index: 9;
  197. background: #ffffff;
  198. border: 1px solid #e6e6e6;
  199. box-shadow: 2px 3px 5px 0.1px rgba(0, 0, 0, 0.1);
  200. }
  201. .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu > li {
  202. margin: 0;
  203. padding: 0 20px;
  204. text-align: left;
  205. display: -webkit-inline-box;
  206. display: inline-block;
  207. height: 50px;
  208. line-height: 50px;
  209. font-weight: normal;
  210. font-size: 14px;
  211. color: #333;
  212. }
  213. .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu > li:hover {
  214. cursor: pointer;
  215. color: #0099ff;
  216. }
  217. .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu i {
  218. position: absolute;
  219. top: 18px;
  220. right: 19px;
  221. font-weight: normal;
  222. font-size: 14px;
  223. color: #333;
  224. }
  225. .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu i:hover {
  226. cursor: pointer;
  227. }
  228. .ms-admin-logo {
  229. min-width: 200px;
  230. width: 200px;
  231. display: flex;
  232. align-items: center;
  233. overflow: hidden;
  234. }
  235. .ms-admin-logo > img {
  236. padding: 20px 0 20px 20px;
  237. width: 80px;
  238. }
  239. .ms-admin-logo > div {
  240. display: flex;
  241. align-items: center;
  242. }
  243. .ms-admin-logo > div img {
  244. margin-top: -10px;
  245. margin-left: 3px;
  246. }
  247. .ms-admin-logo > div span {
  248. margin-top: -6px;
  249. position: absolute;
  250. margin-left: 10px;
  251. font-size: 12px;
  252. }
  253. .ms-admin-logo .iconfont {
  254. color: #fff;
  255. margin-left: auto;
  256. margin-right: 20px;
  257. cursor: pointer;
  258. }
  259. .ms-admin-mstore {
  260. margin-left: auto;
  261. min-width: 200px;
  262. display: flex;
  263. align-items: center;
  264. justify-content: flex-end;
  265. padding: 0;
  266. line-height: 1;
  267. }
  268. .ms-admin-mstore .ms-admin-people-head {
  269. width: 30px !important;
  270. height: 30px !important;
  271. margin-right: 10px;
  272. border-radius: 50%;
  273. display: flex;
  274. align-items: center;
  275. justify-content: center;
  276. background: #fff;
  277. color: #0099ff;
  278. }
  279. .ms-admin-mstore .ms-admin-mstore-icon {
  280. min-width: 50px;
  281. width: 50px;
  282. height: 50px;
  283. background-color: #0080FF;
  284. display: flex;
  285. justify-content: center;
  286. cursor: pointer;
  287. }
  288. .ms-admin-mstore .ms-admin-mstore-icon span {
  289. border-radius: 50%;
  290. font-weight: initial;
  291. font-size: 12px;
  292. color: #fff;
  293. background: #f00;
  294. position: absolute;
  295. width: 1.2em;
  296. height: 1.2em;
  297. display: flex;
  298. align-items: center;
  299. justify-content: center;
  300. top: 0.6em;
  301. right: 0.6em;
  302. z-index: 2;
  303. }
  304. .ms-admin-mstore .ms-admin-mstore-icon .iconfont {
  305. color: #fff;
  306. animation: rubberBand 1.4s 1s both infinite;
  307. font-size: 1.5em;
  308. }
  309. .ms-admin-login {
  310. display: flex;
  311. align-items: center;
  312. }
  313. .ms-admin-login > span {
  314. width: 130px;
  315. padding: 0 15px;
  316. height: 50px;
  317. display: flex;
  318. align-items: center;
  319. cursor: pointer;
  320. outline: none;
  321. }
  322. .ms-admin-login > span img {
  323. border-radius: 50%;
  324. width: 20px;
  325. height: 20px;
  326. margin-right: 8px;
  327. }
  328. .ms-admin-login > span span {
  329. color: #fff;
  330. }
  331. .ms-admin-login .active {
  332. background: #fff;
  333. }
  334. .ms-admin-login .active .ms-admin-people-head {
  335. background: #0099ff;
  336. color: #fff;
  337. }
  338. .ms-admin-login .active span {
  339. color: #333;
  340. }
  341. .ms-admin-login-down {
  342. width: 130px;
  343. padding: 0 15px;
  344. border: none;
  345. margin: 0 !important;
  346. padding: 0 !important;
  347. border-radius: 0;
  348. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  349. }
  350. .ms-admin-login-down > .popper__arrow {
  351. display: none;
  352. }
  353. .ms-admin-menu-aside {
  354. width: 200px !important;
  355. height: 100%;
  356. position: relative;
  357. overflow: visible;
  358. }
  359. .ms-admin-menu-aside .ms-admin-menu {
  360. width: 200px;
  361. height: 100%;
  362. position: relative;
  363. }
  364. .ms-admin-menu-aside .ms-admin-menu .el-menu--inline .is-active {
  365. border-left: 2px solid #0099ff;
  366. }
  367. .ms-admin-menu-aside .ms-admin-menu .ms-admin-icon {
  368. font-weight: initial;
  369. font-size: 1.5em;
  370. color: #999;
  371. }
  372. .ms-admin-menu-aside .ms-menu-expand {
  373. transform: rotate(270deg);
  374. position: absolute;
  375. right: -34px;
  376. top: 50%;
  377. z-index: 999;
  378. cursor: pointer;
  379. display: flex;
  380. flex-direction: column;
  381. }
  382. .ms-admin-menu-aside .ms-menu-expand i {
  383. font-weight: bolder;
  384. font-size: 14px;
  385. color: #333;
  386. position: absolute;
  387. transform: rotate(90deg);
  388. right: 40%;
  389. }
  390. .ms-admin-menu-aside .ms-menu-expand::before {
  391. border-color: transparent transparent #eee;
  392. border-style: none solid solid;
  393. border-width: 0 30px 22px;
  394. content: "";
  395. display: block;
  396. height: 0;
  397. left: -10px;
  398. width: 30px;
  399. }
  400. .ms-admin-menu-aside .ms-menu-expand {
  401. transition: right .3s;
  402. }
  403. .ms-admin-menu-aside .ms-menu-expand-active {
  404. transform: rotate(90deg);
  405. right: -56px;
  406. }
  407. .ms-admin-menu-aside .ms-admin-menu-active {
  408. width: 60px;
  409. height: 100%;
  410. }
  411. .ms-admin-menu-aside-active {
  412. width: 60px !important;
  413. }
  414. .ms-admin-container {
  415. height: calc(100vh - 60px);
  416. }
  417. .ms-admin-container > .ms-admin-main {
  418. padding: 0;
  419. background-color: #fff;
  420. }
  421. .ms-admin-container > .ms-admin-main .ms-admin-tabs {
  422. height: 100%;
  423. display: flex;
  424. flex-direction: column;
  425. }
  426. .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__content {
  427. height: 100%;
  428. }
  429. .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__content .el-tab-pane {
  430. height: 100%;
  431. }
  432. .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__header {
  433. background: #fafafa;
  434. margin-bottom: 0;
  435. }
  436. .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__header .el-tabs__nav-scroll .el-tabs__nav {
  437. border-left: none;
  438. border-radius: 0;
  439. }
  440. .ms-admin-container > .ms-admin-main .ms-admin-tabs .ms-admin-refresh {
  441. float: right;
  442. width: 40px;
  443. height: 40px;
  444. text-align: center;
  445. border-left: 1px solid #e6e6e6;
  446. cursor: pointer;
  447. position: relative;
  448. }
  449. .ms-admin-container > .ms-admin-main .ms-admin-tabs .ms-admin-refresh::before {
  450. position: absolute;
  451. left: 34%;
  452. top: 50%;
  453. transform: translateY(-50%);
  454. color: #999;
  455. }
  456. .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__nav-next,
  457. .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__nav-prev {
  458. width: 40px;
  459. height: 40px;
  460. display: flex;
  461. justify-content: center;
  462. align-items: center;
  463. }
  464. .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__nav-next {
  465. border-left: 1px solid #e6e6e6;
  466. }
  467. .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__nav-prev {
  468. border-right: 1px solid #e6e6e6;
  469. }
  470. .ms-admin-container > .ms-admin-main iframe {
  471. width: 100%;
  472. height: 100%;
  473. border: none !important;
  474. }
  475. @keyframes rubberBand {
  476. 0 {
  477. -webkit-transform: scale3d(1, 1, 1);
  478. transform: scale3d(1, 1, 1);
  479. }
  480. 10% {
  481. -webkit-transform: scale3d(1.25, 0.75, 1);
  482. transform: scale3d(1.25, 0.75, 1);
  483. }
  484. 20% {
  485. -webkit-transform: scale3d(0.75, 1.25, 1);
  486. transform: scale3d(0.75, 1.25, 1);
  487. }
  488. 30% {
  489. -webkit-transform: scale3d(1.15, 0.85, 1);
  490. transform: scale3d(1.15, 0.85, 1);
  491. }
  492. 40% {
  493. -webkit-transform: scale3d(0.95, 1.05, 1);
  494. transform: scale3d(0.95, 1.05, 1);
  495. }
  496. 50% {
  497. -webkit-transform: scale3d(1.05, 0.95, 1);
  498. transform: scale3d(1.05, 0.95, 1);
  499. }
  500. 51% {
  501. -webkit-transform: scale3d(1, 1, 1);
  502. transform: scale3d(1, 1, 1);
  503. }
  504. }
  505. .el-scrollbar__wrap{overflow-x:hidden;}
  506. .el-scrollbar {
  507. position: static;
  508. }
  509. [v-cloak] {
  510. display: none;
  511. }