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: 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-header-select {
  127. font-size: 0;
  128. }
  129. .ms-header-select > .el-select:nth-of-type(2) {
  130. margin: 0 10px;
  131. }
  132. .el-submenu .el-menu-item.is-active {
  133. border-radius: 4px;
  134. }
  135. .el-card,
  136. .el-message {
  137. border-radius: 0 !important;
  138. }
  139. .sortable-ghost {
  140. opacity: .3;
  141. background: #ccc !important;
  142. border-color: transparent !important;
  143. color: transparent !important;
  144. }
  145. .sortable-ghost * {
  146. background: #ccc !important;
  147. border-color: transparent !important;
  148. color: transparent !important;
  149. }
  150. .index {
  151. width: 100%;
  152. display: flex;
  153. }
  154. .ms-admin-header {
  155. display: flex;
  156. padding: 0;
  157. background-color: #0099ff;
  158. height: 50px !important;
  159. }
  160. .ms-admin-header .ms-admin-header-menu {
  161. background-color: #0099ff;
  162. border-bottom: none;
  163. position: relative;
  164. }
  165. .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item > *,
  166. .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item {
  167. height: 50px !important;
  168. line-height: 50px !important;
  169. background-color: #0099ff !important;
  170. color: rgba(255, 255, 255, 0.65) !important;
  171. border-bottom: none !important;
  172. font-size: 1em;
  173. }
  174. .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item > *:hover,
  175. .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item:hover {
  176. color: #fff !important;
  177. }
  178. .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item > *.is-active,
  179. .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item.is-active {
  180. color: #fff !important;
  181. }
  182. .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu {
  183. padding: 0;
  184. user-select: none;
  185. outline: none;
  186. width: 100%;
  187. min-width: 500px;
  188. min-height: 200px;
  189. background-color: #fff !important;
  190. height: auto;
  191. flex-wrap: wrap;
  192. position: absolute;
  193. right: 0;
  194. top: 0;
  195. z-index: 9;
  196. background: #ffffff;
  197. border: 1px solid #e6e6e6;
  198. box-shadow: 2px 3px 5px 0.1px rgba(0, 0, 0, 0.1);
  199. }
  200. .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu > li {
  201. margin: 0;
  202. padding: 0 20px;
  203. text-align: left;
  204. display: -webkit-inline-box;
  205. display: inline-block;
  206. height: 50px;
  207. line-height: 50px;
  208. font-weight: normal;
  209. font-size: 14px;
  210. color: #333;
  211. }
  212. .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu > li:hover {
  213. cursor: pointer;
  214. color: #0099ff;
  215. }
  216. .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu i {
  217. position: absolute;
  218. top: 18px;
  219. right: 19px;
  220. font-weight: normal;
  221. font-size: 14px;
  222. color: #333;
  223. }
  224. .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu i:hover {
  225. cursor: pointer;
  226. }
  227. .ms-admin-logo {
  228. min-width: 200px;
  229. width: 200px;
  230. display: flex;
  231. align-items: center;
  232. overflow: hidden;
  233. }
  234. .ms-admin-logo > img {
  235. padding: 20px 0 20px 20px;
  236. width: 80px;
  237. }
  238. .ms-admin-logo > div {
  239. display: flex;
  240. align-items: center;
  241. }
  242. .ms-admin-logo > div img {
  243. margin-top: -10px;
  244. margin-left: 3px;
  245. }
  246. .ms-admin-logo > div span {
  247. margin-top: -7px;
  248. position: absolute;
  249. margin-left: 6px;
  250. font-size: 12px;
  251. }
  252. .ms-admin-logo .iconfont {
  253. color: #fff;
  254. margin-left: auto;
  255. margin-right: 20px;
  256. cursor: pointer;
  257. }
  258. .ms-admin-mstore {
  259. margin-left: auto;
  260. min-width: 200px;
  261. display: flex;
  262. align-items: center;
  263. justify-content: flex-end;
  264. padding: 0;
  265. line-height: 1;
  266. }
  267. .ms-admin-mstore .ms-admin-people-head {
  268. width: 30px !important;
  269. height: 30px !important;
  270. margin-right: 10px;
  271. border-radius: 50%;
  272. display: flex;
  273. align-items: center;
  274. justify-content: center;
  275. background: #fff;
  276. color: #0099ff;
  277. }
  278. .ms-admin-mstore .ms-admin-mstore-icon {
  279. min-width: 50px;
  280. width: 50px;
  281. height: 50px;
  282. background-color: #0080FF;
  283. display: flex;
  284. justify-content: center;
  285. cursor: pointer;
  286. }
  287. .ms-admin-mstore .ms-admin-mstore-icon span {
  288. border-radius: 50%;
  289. font-weight: initial;
  290. font-size: 12px;
  291. color: #fff;
  292. background: #f00;
  293. position: absolute;
  294. width: 1.2em;
  295. height: 1.2em;
  296. display: flex;
  297. align-items: center;
  298. justify-content: center;
  299. top: 0.6em;
  300. right: 0.6em;
  301. z-index: 2;
  302. }
  303. .ms-admin-mstore .ms-admin-mstore-icon .iconfont {
  304. color: #fff;
  305. animation: rubberBand 1.4s 1s both infinite;
  306. font-size: 1.5em;
  307. }
  308. .ms-admin-login {
  309. display: flex;
  310. align-items: center;
  311. }
  312. .ms-admin-login > span {
  313. width: 130px;
  314. padding: 0 15px;
  315. height: 50px;
  316. display: flex;
  317. align-items: center;
  318. cursor: pointer;
  319. outline: none;
  320. }
  321. .ms-admin-login > span img {
  322. border-radius: 50%;
  323. width: 20px;
  324. height: 20px;
  325. margin-right: 8px;
  326. }
  327. .ms-admin-login > span span {
  328. color: #fff;
  329. }
  330. .ms-admin-login .active {
  331. background: #fff;
  332. }
  333. .ms-admin-login .active .ms-admin-people-head {
  334. background: #0099ff;
  335. color: #fff;
  336. }
  337. .ms-admin-login .active span {
  338. color: #333;
  339. }
  340. .ms-admin-login-down {
  341. width: 130px;
  342. padding: 0 15px;
  343. border: none;
  344. margin: 0 !important;
  345. padding: 0 !important;
  346. border-radius: 0;
  347. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  348. }
  349. .ms-admin-login-down > .popper__arrow {
  350. display: none;
  351. }
  352. .ms-admin-menu-aside {
  353. width: 200px !important;
  354. height: 100%;
  355. position: relative;
  356. overflow: visible;
  357. }
  358. .ms-admin-menu-aside .ms-admin-menu {
  359. width: 200px;
  360. height: 100%;
  361. position: relative;
  362. }
  363. .ms-admin-menu-aside .ms-admin-menu .el-menu--inline .is-active {
  364. border-left: 2px solid #0099ff;
  365. }
  366. .ms-admin-menu-aside .ms-admin-menu .ms-admin-icon {
  367. font-weight: initial;
  368. font-size: 1.5em;
  369. color: #999;
  370. }
  371. .ms-admin-menu-aside .ms-menu-expand {
  372. transform: rotate(270deg);
  373. position: absolute;
  374. right: -34px;
  375. top: 50%;
  376. z-index: 999;
  377. cursor: pointer;
  378. display: flex;
  379. flex-direction: column;
  380. }
  381. .ms-admin-menu-aside .ms-menu-expand i {
  382. font-weight: initial;
  383. font-size: 14px;
  384. color: #333;
  385. position: absolute;
  386. transform: rotate(90deg);
  387. top: 5px;
  388. right: 43%;
  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. }