index.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692
  1. :export {
  2. menuText: #bfcbd9;
  3. menuActiveText: #409EFF;
  4. subMenuActiveText: #f4f4f5;
  5. menuBg: #304156;
  6. menuHover: #263445;
  7. subMenuBg: #1f2d3d;
  8. subMenuHover: #001528;
  9. sideBarWidth: 210px;
  10. }
  11. /* fade */
  12. .fade-enter-active,
  13. .fade-leave-active {
  14. transition: opacity 0.28s;
  15. }
  16. .fade-enter,
  17. .fade-leave-active {
  18. opacity: 0;
  19. }
  20. /* fade-transform */
  21. .fade-transform-leave-active,
  22. .fade-transform-enter-active {
  23. transition: all .5s;
  24. }
  25. .fade-transform-enter {
  26. opacity: 0;
  27. transform: translateX(-30px);
  28. }
  29. .fade-transform-leave-to {
  30. opacity: 0;
  31. transform: translateX(30px);
  32. }
  33. /* breadcrumb transition */
  34. .breadcrumb-enter-active,
  35. .breadcrumb-leave-active {
  36. transition: all .5s;
  37. }
  38. .breadcrumb-enter,
  39. .breadcrumb-leave-active {
  40. opacity: 0;
  41. transform: translateX(20px);
  42. }
  43. .breadcrumb-move {
  44. transition: all .5s;
  45. }
  46. .breadcrumb-leave-active {
  47. position: absolute;
  48. }
  49. .el-breadcrumb__inner,
  50. .el-breadcrumb__inner a {
  51. font-weight: 400 !important;
  52. }
  53. .el-upload input[type="file"] {
  54. display: none !important;
  55. }
  56. .el-upload__input {
  57. display: none;
  58. }
  59. .cell .el-tag {
  60. margin-right: 0px;
  61. }
  62. .small-padding .cell {
  63. padding-left: 5px;
  64. padding-right: 5px;
  65. }
  66. .fixed-width .el-button--mini {
  67. padding: 7px 10px;
  68. min-width: 60px;
  69. }
  70. .status-col .cell {
  71. padding: 0 10px;
  72. text-align: center;
  73. }
  74. .status-col .cell .el-tag {
  75. margin-right: 0px;
  76. }
  77. .el-dialog {
  78. transform: none;
  79. left: 0;
  80. position: relative;
  81. margin: 0 auto;
  82. }
  83. .upload-container .el-upload {
  84. width: 100%;
  85. }
  86. .upload-container .el-upload .el-upload-dragger {
  87. width: 100%;
  88. height: 200px;
  89. }
  90. .el-dropdown-menu a {
  91. display: block;
  92. }
  93. .el-range-editor.el-input__inner {
  94. display: inline-flex !important;
  95. }
  96. .el-range-separator {
  97. box-sizing: content-box;
  98. }
  99. #app .main-container {
  100. min-height: 100%;
  101. transition: margin-left .28s;
  102. margin-left: 210px;
  103. position: relative;
  104. }
  105. #app .sidebar-container {
  106. transition: width 0.28s;
  107. width: 210px !important;
  108. background-color: #304156;
  109. height: 100%;
  110. position: fixed;
  111. font-size: 0px;
  112. top: 0;
  113. bottom: 0;
  114. left: 0;
  115. z-index: 1001;
  116. overflow: hidden;
  117. }
  118. #app .sidebar-container .horizontal-collapse-transition {
  119. transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
  120. }
  121. #app .sidebar-container .scrollbar-wrapper {
  122. overflow-x: hidden !important;
  123. }
  124. #app .sidebar-container .el-scrollbar__bar.is-vertical {
  125. right: 0px;
  126. }
  127. #app .sidebar-container .el-scrollbar {
  128. height: 100%;
  129. }
  130. #app .sidebar-container.has-logo .el-scrollbar {
  131. height: calc(100% - 50px);
  132. }
  133. #app .sidebar-container .is-horizontal {
  134. display: none;
  135. }
  136. #app .sidebar-container a {
  137. display: inline-block;
  138. width: 100%;
  139. overflow: hidden;
  140. }
  141. #app .sidebar-container .svg-icon {
  142. margin-right: 16px;
  143. }
  144. #app .sidebar-container .sub-el-icon {
  145. margin-right: 12px;
  146. margin-left: -2px;
  147. }
  148. #app .sidebar-container .el-menu {
  149. border: none;
  150. height: 100%;
  151. width: 100% !important;
  152. }
  153. #app .sidebar-container .submenu-title-noDropdown:hover,
  154. #app .sidebar-container .el-submenu__title:hover {
  155. background-color: #263445 !important;
  156. }
  157. #app .sidebar-container .is-active > .el-submenu__title {
  158. color: #f4f4f5 !important;
  159. }
  160. #app .sidebar-container .nest-menu .el-submenu > .el-submenu__title,
  161. #app .sidebar-container .el-submenu .el-menu-item {
  162. min-width: 210px !important;
  163. background-color: #1f2d3d !important;
  164. }
  165. #app .sidebar-container .nest-menu .el-submenu > .el-submenu__title:hover,
  166. #app .sidebar-container .el-submenu .el-menu-item:hover {
  167. background-color: #001528 !important;
  168. }
  169. #app .hideSidebar .sidebar-container {
  170. width: 54px !important;
  171. }
  172. #app .hideSidebar .main-container {
  173. margin-left: 54px;
  174. }
  175. #app .hideSidebar .submenu-title-noDropdown {
  176. padding: 0 !important;
  177. position: relative;
  178. }
  179. #app .hideSidebar .submenu-title-noDropdown .el-tooltip {
  180. padding: 0 !important;
  181. }
  182. #app .hideSidebar .submenu-title-noDropdown .el-tooltip .svg-icon {
  183. margin-left: 20px;
  184. }
  185. #app .hideSidebar .submenu-title-noDropdown .el-tooltip .sub-el-icon {
  186. margin-left: 19px;
  187. }
  188. #app .hideSidebar .el-submenu {
  189. overflow: hidden;
  190. }
  191. #app .hideSidebar .el-submenu > .el-submenu__title {
  192. padding: 0 !important;
  193. }
  194. #app .hideSidebar .el-submenu > .el-submenu__title .svg-icon {
  195. margin-left: 20px;
  196. }
  197. #app .hideSidebar .el-submenu > .el-submenu__title .sub-el-icon {
  198. margin-left: 19px;
  199. }
  200. #app .hideSidebar .el-submenu > .el-submenu__title .el-submenu__icon-arrow {
  201. display: none;
  202. }
  203. #app .hideSidebar .el-menu--collapse .el-submenu > .el-submenu__title > span {
  204. height: 0;
  205. width: 0;
  206. overflow: hidden;
  207. visibility: hidden;
  208. display: inline-block;
  209. }
  210. #app .el-menu--collapse .el-menu .el-submenu {
  211. min-width: 210px !important;
  212. }
  213. #app .mobile .main-container {
  214. margin-left: 0px;
  215. }
  216. #app .mobile .sidebar-container {
  217. transition: transform .28s;
  218. width: 210px !important;
  219. }
  220. #app .mobile.hideSidebar .sidebar-container {
  221. pointer-events: none;
  222. transition-duration: 0.3s;
  223. transform: translate3d(-210px, 0, 0);
  224. }
  225. #app .withoutAnimation .main-container,
  226. #app .withoutAnimation .sidebar-container {
  227. transition: none;
  228. }
  229. .el-menu--vertical > .el-menu .svg-icon {
  230. margin-right: 16px;
  231. }
  232. .el-menu--vertical > .el-menu .sub-el-icon {
  233. margin-right: 12px;
  234. margin-left: -2px;
  235. }
  236. .el-menu--vertical .nest-menu .el-submenu > .el-submenu__title:hover,
  237. .el-menu--vertical .el-menu-item:hover {
  238. background-color: #263445 !important;
  239. }
  240. .el-menu--vertical > .el-menu--popup {
  241. max-height: 100vh;
  242. overflow-y: auto;
  243. }
  244. .el-menu--vertical > .el-menu--popup::-webkit-scrollbar-track-piece {
  245. background: #d3dce6;
  246. }
  247. .el-menu--vertical > .el-menu--popup::-webkit-scrollbar {
  248. width: 6px;
  249. }
  250. .el-menu--vertical > .el-menu--popup::-webkit-scrollbar-thumb {
  251. background: #99a9bf;
  252. border-radius: 20px;
  253. }
  254. :export {
  255. menuText: #bfcbd9;
  256. menuActiveText: #409EFF;
  257. subMenuActiveText: #f4f4f5;
  258. menuBg: #304156;
  259. menuHover: #263445;
  260. subMenuBg: #1f2d3d;
  261. subMenuHover: #001528;
  262. sideBarWidth: 210px;
  263. }
  264. .blue-btn {
  265. background: #324157;
  266. }
  267. .blue-btn:hover {
  268. color: #324157;
  269. }
  270. .blue-btn:hover:before, .blue-btn:hover:after {
  271. background: #324157;
  272. }
  273. .light-blue-btn {
  274. background: #3A71A8;
  275. }
  276. .light-blue-btn:hover {
  277. color: #3A71A8;
  278. }
  279. .light-blue-btn:hover:before, .light-blue-btn:hover:after {
  280. background: #3A71A8;
  281. }
  282. .red-btn {
  283. background: #C03639;
  284. }
  285. .red-btn:hover {
  286. color: #C03639;
  287. }
  288. .red-btn:hover:before, .red-btn:hover:after {
  289. background: #C03639;
  290. }
  291. .pink-btn {
  292. background: #E65D6E;
  293. }
  294. .pink-btn:hover {
  295. color: #E65D6E;
  296. }
  297. .pink-btn:hover:before, .pink-btn:hover:after {
  298. background: #E65D6E;
  299. }
  300. .green-btn {
  301. background: #30B08F;
  302. }
  303. .green-btn:hover {
  304. color: #30B08F;
  305. }
  306. .green-btn:hover:before, .green-btn:hover:after {
  307. background: #30B08F;
  308. }
  309. .tiffany-btn {
  310. background: #4AB7BD;
  311. }
  312. .tiffany-btn:hover {
  313. color: #4AB7BD;
  314. }
  315. .tiffany-btn:hover:before, .tiffany-btn:hover:after {
  316. background: #4AB7BD;
  317. }
  318. .yellow-btn {
  319. background: #FEC171;
  320. }
  321. .yellow-btn:hover {
  322. color: #FEC171;
  323. }
  324. .yellow-btn:hover:before, .yellow-btn:hover:after {
  325. background: #FEC171;
  326. }
  327. .pan-btn {
  328. font-size: 14px;
  329. color: #fff;
  330. padding: 14px 36px;
  331. border-radius: 8px;
  332. border: none;
  333. outline: none;
  334. transition: 600ms ease all;
  335. position: relative;
  336. display: inline-block;
  337. }
  338. .pan-btn:hover {
  339. background: #fff;
  340. }
  341. .pan-btn:hover:before, .pan-btn:hover:after {
  342. width: 100%;
  343. transition: 600ms ease all;
  344. }
  345. .pan-btn:before, .pan-btn:after {
  346. content: '';
  347. position: absolute;
  348. top: 0;
  349. right: 0;
  350. height: 2px;
  351. width: 0;
  352. transition: 400ms ease all;
  353. }
  354. .pan-btn::after {
  355. right: inherit;
  356. top: inherit;
  357. left: 0;
  358. bottom: 0;
  359. }
  360. .custom-button {
  361. display: inline-block;
  362. line-height: 1;
  363. white-space: nowrap;
  364. cursor: pointer;
  365. background: #fff;
  366. color: #fff;
  367. -webkit-appearance: none;
  368. text-align: center;
  369. box-sizing: border-box;
  370. outline: 0;
  371. margin: 0;
  372. padding: 10px 15px;
  373. font-size: 14px;
  374. border-radius: 4px;
  375. }
  376. body {
  377. height: 100%;
  378. -moz-osx-font-smoothing: grayscale;
  379. -webkit-font-smoothing: antialiased;
  380. text-rendering: optimizeLegibility;
  381. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  382. }
  383. label {
  384. font-weight: 700;
  385. }
  386. html {
  387. height: 100%;
  388. box-sizing: border-box;
  389. }
  390. #app {
  391. height: 100%;
  392. }
  393. *,
  394. *:before,
  395. *:after {
  396. box-sizing: inherit;
  397. }
  398. .no-padding {
  399. padding: 0px !important;
  400. }
  401. .padding-content {
  402. padding: 4px 0;
  403. }
  404. a:focus,
  405. a:active {
  406. outline: none;
  407. }
  408. a,
  409. a:focus,
  410. a:hover {
  411. cursor: pointer;
  412. color: inherit;
  413. text-decoration: none;
  414. }
  415. div:focus {
  416. outline: none;
  417. }
  418. .fr {
  419. float: right;
  420. }
  421. .fl {
  422. float: left;
  423. }
  424. .pr-5 {
  425. padding-right: 5px;
  426. }
  427. .pl-5 {
  428. padding-left: 5px;
  429. }
  430. .block {
  431. display: block;
  432. }
  433. .pointer {
  434. cursor: pointer;
  435. }
  436. .inlineBlock {
  437. display: block;
  438. }
  439. .clearfix:after {
  440. visibility: hidden;
  441. display: block;
  442. font-size: 0;
  443. content: " ";
  444. clear: both;
  445. height: 0;
  446. }
  447. aside {
  448. background: #eef1f6;
  449. padding: 8px 24px;
  450. margin-bottom: 20px;
  451. border-radius: 2px;
  452. display: block;
  453. line-height: 32px;
  454. font-size: 16px;
  455. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  456. color: #2c3e50;
  457. -webkit-font-smoothing: antialiased;
  458. -moz-osx-font-smoothing: grayscale;
  459. }
  460. aside a {
  461. color: #337ab7;
  462. cursor: pointer;
  463. }
  464. aside a:hover {
  465. color: #20a0ff;
  466. }
  467. .app-container {
  468. padding: 20px;
  469. }
  470. .components-container {
  471. margin: 30px 50px;
  472. position: relative;
  473. }
  474. .pagination-container {
  475. margin-top: 30px;
  476. }
  477. .text-center {
  478. text-align: center;
  479. }
  480. .sub-navbar {
  481. height: 50px;
  482. line-height: 50px;
  483. position: relative;
  484. width: 100%;
  485. text-align: right;
  486. padding-right: 20px;
  487. transition: 600ms ease position;
  488. background: linear-gradient(90deg, #20b6f9 0%, #20b6f9 0%, #2178f1 100%, #2178f1 100%);
  489. }
  490. .sub-navbar .subtitle {
  491. font-size: 20px;
  492. color: #fff;
  493. }
  494. .sub-navbar.draft {
  495. background: #d0d0d0;
  496. }
  497. .sub-navbar.deleted {
  498. background: #d0d0d0;
  499. }
  500. .link-type,
  501. .link-type:focus {
  502. color: #337ab7;
  503. cursor: pointer;
  504. }
  505. .link-type:hover,
  506. .link-type:focus:hover {
  507. color: #20a0ff;
  508. }
  509. .filter-container {
  510. padding-bottom: 10px;
  511. }
  512. .filter-container .filter-item {
  513. display: inline-block;
  514. vertical-align: middle;
  515. margin-bottom: 10px;
  516. }
  517. .multiselect {
  518. line-height: 16px;
  519. }
  520. .multiselect--active {
  521. z-index: 1000 !important;
  522. }
  523. .status.success {
  524. color: #67C23A;
  525. }
  526. .status.danger {
  527. color: #F56C6C;
  528. }
  529. .status.warning {
  530. color: #E6A23C;
  531. }
  532. .hidden .el-upload {
  533. display: none !important;
  534. }
  535. .tableHeader th {
  536. background-color: #f7f7f7 !important;
  537. }
  538. .el-drawer__header {
  539. margin-bottom: 0 !important;
  540. }
  541. .table-cell .cell {
  542. overflow: visible !important;
  543. }
  544. .table-cell .cell .el-badge {
  545. vertical-align: 0;
  546. }
  547. .el-drawer header span {
  548. outline: none;
  549. }
  550. .el-drawer button {
  551. outline: none !important;
  552. }
  553. .reason {
  554. cursor: pointer;
  555. }