index.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  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. height: 100vh;
  28. background-color: #eee;
  29. margin: 0;
  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-card,
  134. .el-message {
  135. border-radius: 0 !important;
  136. }
  137. .sortable-ghost {
  138. opacity: .3;
  139. background: #ccc !important;
  140. border-color: transparent !important;
  141. color: transparent !important;
  142. }
  143. .sortable-ghost * {
  144. background: #ccc !important;
  145. border-color: transparent !important;
  146. color: transparent !important;
  147. }
  148. .index {
  149. width: 100%;
  150. display: flex;
  151. height: 100vh;
  152. }
  153. .ms-admin-header {
  154. display: flex;
  155. padding: 0;
  156. background-color: rgba(255,255,255,1);
  157. height: 50px !important;
  158. box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  159. z-index: 1;
  160. }
  161. .ms-admin-header .ms-admin-header-menu {
  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. border-bottom: none !important;
  170. font-size: 1em;
  171. }
  172. /*.ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item > *:hover,
  173. .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item:hover {
  174. color: #fff !important;
  175. }
  176. .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item > *.is-active,
  177. .ms-admin-header .ms-admin-header-menu > .ms-admin-menu-item.is-active {
  178. color: #fff !important;
  179. }*/
  180. .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu {
  181. padding: 0;
  182. user-select: none;
  183. outline: none;
  184. width: 100%;
  185. min-width: 500px;
  186. min-height: 200px;
  187. background-color: #fff !important;
  188. height: auto;
  189. flex-wrap: wrap;
  190. position: absolute;
  191. right: 0;
  192. top: 0;
  193. z-index: 9;
  194. background: #ffffff;
  195. box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
  196. }
  197. .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu > li {
  198. margin: 0;
  199. padding: 0 20px;
  200. text-align: left;
  201. display: -webkit-inline-box;
  202. display: inline-block;
  203. height: 50px;
  204. line-height: 50px;
  205. font-weight: normal;
  206. font-size: 14px;
  207. color: #333;
  208. }
  209. .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu > li:hover {
  210. cursor: pointer;
  211. color: #0099ff;
  212. }
  213. .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu .ms-admin-shortcut-menu-shrink {
  214. position: absolute;
  215. top: 18px;
  216. right: 19px;
  217. font-weight: normal;
  218. font-size: 14px;
  219. color: #333;
  220. }
  221. .ms-admin-header .ms-admin-header-menu .ms-admin-shortcut-menu .ms-admin-shortcut-menu-shrink:hover {
  222. cursor: pointer;
  223. }
  224. .ms-admin-logo {
  225. display: flex;
  226. align-items: center;
  227. overflow: hidden;
  228. }
  229. .ms-admin-logo img {
  230. padding: 14px 0;
  231. width: 50px;
  232. }
  233. .ms-admin-logo > div {
  234. display: flex;
  235. align-items: center;
  236. }
  237. .ms-admin-logo > div span {
  238. margin-top: -6px;
  239. position: absolute;
  240. margin-left: 10px;
  241. font-size: 12px;
  242. }
  243. .ms-admin-logo .iconfont {
  244. color: #fff;
  245. margin-left: auto;
  246. margin-right: 20px;
  247. cursor: pointer;
  248. }
  249. .ms-admin-logo-pack{
  250. width: 64px!important;
  251. }
  252. .ms-admin-mstore {
  253. margin-left: auto;
  254. min-width: 200px;
  255. display: flex;
  256. align-items: center;
  257. justify-content: flex-end;
  258. padding: 0;
  259. line-height: 1;
  260. }
  261. .ms-admin-mstore .ms-admin-people-head {
  262. width: 30px !important;
  263. height: 30px !important;
  264. margin-right: 10px;
  265. border-radius: 50%;
  266. display: flex;
  267. align-items: center;
  268. justify-content: center;
  269. background: #0099ff;
  270. color: #fff;
  271. }
  272. .ms-admin-mstore .ms-admin-mstore-icon {
  273. min-width: 50px;
  274. width: 50px;
  275. height: 50px;
  276. background-color: #0080FF;
  277. display: flex;
  278. justify-content: center;
  279. align-items: center;
  280. cursor: pointer;
  281. }
  282. .ms-admin-mstore .ms-admin-mstore-icon span {
  283. border-radius: 50%;
  284. font-weight: initial;
  285. font-size: 12px;
  286. color: #fff;
  287. background: #f00;
  288. position: absolute;
  289. width: 1.2em;
  290. height: 1.2em;
  291. display: flex;
  292. align-items: center;
  293. justify-content: center;
  294. top: 0.6em;
  295. right: 0.6em;
  296. z-index: 2;
  297. }
  298. .ms-admin-mstore .ms-admin-mstore-icon .iconfont {
  299. color: #fff;
  300. animation: rubberBand 1.4s 1s both infinite;
  301. font-size: 1.5em;
  302. }
  303. .ms-admin-login {
  304. display: flex;
  305. align-items: center;
  306. }
  307. .ms-admin-login > span {
  308. width: 130px;
  309. padding: 0 15px;
  310. height: 50px;
  311. display: flex;
  312. align-items: center;
  313. cursor: pointer;
  314. outline: none;
  315. }
  316. .ms-admin-login > span img {
  317. border-radius: 50%;
  318. width: 20px;
  319. height: 20px;
  320. margin-right: 8px;
  321. }
  322. .ms-admin-login > span span {
  323. color: #333333;
  324. }
  325. .ms-admin-login .active {
  326. background: #fff;
  327. }
  328. .ms-admin-login .active .ms-admin-people-head {
  329. background: #0099ff;
  330. color: #fff;
  331. }
  332. .ms-admin-login .active span {
  333. color: #409EFF;
  334. }
  335. .ms-admin-login-down {
  336. width: 130px;
  337. padding: 0 15px;
  338. border: none;
  339. margin: 0 !important;
  340. padding: 0 !important;
  341. border-radius: 0;
  342. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  343. }
  344. .ms-admin-login-down > .popper__arrow {
  345. display: none;
  346. }
  347. .ms-admin-menu-aside {
  348. width: auto !important;
  349. height: 100%;
  350. position: relative;
  351. overflow: visible;
  352. }
  353. .ms-admin-menu-aside .ms-admin-menu {
  354. width: 200px;
  355. height: 100%;
  356. position: relative;
  357. }
  358. .ms-admin-menu-aside .ms-admin-menu .el-menu--inline .is-active {
  359. border-left: 2px solid #0099ff;
  360. }
  361. .ms-admin-menu-aside .ms-admin-menu .ms-admin-icon {
  362. font-weight: initial;
  363. font-size: 1.5em;
  364. color: #999;
  365. }
  366. .ms-admin-menu-aside .ms-menu-expand {
  367. transform: rotate(270deg);
  368. position: absolute;
  369. right: -34px;
  370. top: 50%;
  371. z-index: 999;
  372. cursor: pointer;
  373. display: flex;
  374. flex-direction: column;
  375. }
  376. .ms-admin-menu-aside .ms-menu-expand i {
  377. font-weight: bolder;
  378. font-size: 14px;
  379. color: #333;
  380. position: absolute;
  381. transform: rotate(90deg);
  382. right: 40%;
  383. }
  384. .ms-admin-menu-aside .ms-menu-expand::before {
  385. border-color: transparent transparent #eee;
  386. border-style: none solid solid;
  387. border-width: 0 30px 22px;
  388. content: "";
  389. display: block;
  390. height: 0;
  391. left: -10px;
  392. width: 30px;
  393. }
  394. .ms-admin-menu-aside .ms-menu-expand {
  395. transition: right .3s;
  396. }
  397. .ms-admin-menu-aside .ms-menu-expand-active {
  398. transform: rotate(90deg);
  399. right: -56px;
  400. }
  401. .ms-admin-menu-aside .ms-admin-menu-active {
  402. width: 60px;
  403. height: 100%;
  404. }
  405. .ms-admin-menu-aside-active {
  406. width: 60px !important;
  407. }
  408. .ms-admin-container {
  409. height:auto;
  410. }
  411. .ms-admin-container > .ms-admin-main {
  412. padding: 0;
  413. background-color: #fff;
  414. z-index: 0;
  415. }
  416. .ms-admin-container > .ms-admin-main .ms-admin-tabs {
  417. height: calc(100vh - 50px);
  418. display: flex;
  419. flex-direction: column;
  420. }
  421. .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__content {
  422. height: 100%;
  423. }
  424. .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__content .el-tab-pane {
  425. height: 100%;
  426. }
  427. .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__header {
  428. background: #fafafa;
  429. margin-bottom: 0;
  430. }
  431. .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__header .el-tabs__nav-scroll .el-tabs__nav {
  432. border-left: none;
  433. border-radius: 0;
  434. }
  435. .ms-admin-container > .ms-admin-main .ms-admin-tabs .ms-admin-refresh {
  436. float: right;
  437. width: 40px;
  438. height: 40px;
  439. text-align: center;
  440. border-left: 1px solid #e6e6e6;
  441. cursor: pointer;
  442. position: relative;
  443. }
  444. .ms-admin-container > .ms-admin-main .ms-admin-tabs .ms-admin-refresh::before {
  445. position: absolute;
  446. left: 34%;
  447. top: 50%;
  448. transform: translateY(-50%);
  449. color: #999;
  450. }
  451. .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__nav-next,
  452. .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__nav-prev {
  453. width: 40px;
  454. height: 40px;
  455. display: flex;
  456. justify-content: center;
  457. align-items: center;
  458. }
  459. .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__nav-next {
  460. border-left: 1px solid #e6e6e6;
  461. }
  462. .ms-admin-container > .ms-admin-main .ms-admin-tabs .el-tabs__nav-prev {
  463. border-right: 1px solid #e6e6e6;
  464. }
  465. .ms-admin-container > .ms-admin-main iframe {
  466. width: 100%;
  467. height: 100%;
  468. border: none !important;
  469. }
  470. @keyframes rubberBand {
  471. 0 {
  472. -webkit-transform: scale3d(1, 1, 1);
  473. transform: scale3d(1, 1, 1);
  474. }
  475. 10% {
  476. -webkit-transform: scale3d(1.25, 0.75, 1);
  477. transform: scale3d(1.25, 0.75, 1);
  478. }
  479. 20% {
  480. -webkit-transform: scale3d(0.75, 1.25, 1);
  481. transform: scale3d(0.75, 1.25, 1);
  482. }
  483. 30% {
  484. -webkit-transform: scale3d(1.15, 0.85, 1);
  485. transform: scale3d(1.15, 0.85, 1);
  486. }
  487. 40% {
  488. -webkit-transform: scale3d(0.95, 1.05, 1);
  489. transform: scale3d(0.95, 1.05, 1);
  490. }
  491. 50% {
  492. -webkit-transform: scale3d(1.05, 0.95, 1);
  493. transform: scale3d(1.05, 0.95, 1);
  494. }
  495. 51% {
  496. -webkit-transform: scale3d(1, 1, 1);
  497. transform: scale3d(1, 1, 1);
  498. }
  499. }
  500. .el-scrollbar__wrap{overflow-x:hidden;}
  501. .el-scrollbar {
  502. position: static;
  503. }
  504. [v-cloak] {
  505. display: none;
  506. }