You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1523 lines
26 KiB

4 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
5 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
5 years ago
4 years ago
5 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
4 years ago
5 years ago
5 years ago
4 years ago
4 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
5 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. /* Document
  2. ========================================================================== */
  3. /**
  4. * 1. Correct the line height in all browsers.
  5. * 2. Prevent adjustments of font size after orientation changes in iOS.
  6. */
  7. @import '@/style/basics.scss';
  8. html {
  9. line-height: 1.15;
  10. /* 1 */
  11. -webkit-text-size-adjust: 100%;
  12. /* 2 */
  13. }
  14. /* Sections
  15. ========================================================================== */
  16. /**
  17. * Remove the margin in all browsers.
  18. */
  19. body {
  20. margin: 0;
  21. }
  22. /**
  23. * Render the `main` element consistently in IE.
  24. */
  25. main {
  26. display: block;
  27. }
  28. /**
  29. * Correct the font size and margin on `h1` elements within `section` and
  30. * `article` contexts in Chrome, Firefox, and Safari.
  31. */
  32. h1 {
  33. font-size: 2em;
  34. margin: 0.67em 0;
  35. }
  36. /* Grouping content
  37. ========================================================================== */
  38. /**
  39. * 1. Add the correct box sizing in Firefox.
  40. * 2. Show the overflow in Edge and IE.
  41. */
  42. hr {
  43. box-sizing: content-box;
  44. /* 1 */
  45. height: 0;
  46. /* 1 */
  47. overflow: visible;
  48. /* 2 */
  49. }
  50. /**
  51. * 1. Correct the inheritance and scaling of font size in all browsers.
  52. * 2. Correct the odd `em` font sizing in all browsers.
  53. */
  54. pre {
  55. font-family: monospace, monospace;
  56. /* 1 */
  57. font-size: 1em;
  58. /* 2 */
  59. }
  60. /* Text-level semantics
  61. ========================================================================== */
  62. /**
  63. * Remove the gray background on active links in IE 10.
  64. */
  65. a {
  66. background-color: transparent;
  67. }
  68. /**
  69. * 1. Remove the bottom border in Chrome 57-
  70. * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
  71. */
  72. abbr[title] {
  73. border-bottom: none;
  74. /* 1 */
  75. text-decoration: underline;
  76. /* 2 */
  77. text-decoration: underline dotted;
  78. /* 2 */
  79. }
  80. /**
  81. * Add the correct font weight in Chrome, Edge, and Safari.
  82. */
  83. b,
  84. strong {
  85. font-weight: bolder;
  86. }
  87. /**
  88. * 1. Correct the inheritance and scaling of font size in all browsers.
  89. * 2. Correct the odd `em` font sizing in all browsers.
  90. */
  91. code,
  92. kbd,
  93. samp {
  94. font-family: monospace, monospace;
  95. /* 1 */
  96. font-size: 1em;
  97. /* 2 */
  98. }
  99. /**
  100. * Add the correct font size in all browsers.
  101. */
  102. small {
  103. font-size: 80%;
  104. }
  105. /**
  106. * Prevent `sub` and `sup` elements from affecting the line height in
  107. * all browsers.
  108. */
  109. sub,
  110. sup {
  111. font-size: 75%;
  112. line-height: 0;
  113. position: relative;
  114. vertical-align: baseline;
  115. }
  116. sub {
  117. bottom: -0.25em;
  118. }
  119. sup {
  120. top: -0.5em;
  121. }
  122. /* Embedded content
  123. ========================================================================== */
  124. /**
  125. * Remove the border on images inside links in IE 10.
  126. */
  127. img {
  128. border-style: none;
  129. }
  130. /* Forms
  131. ========================================================================== */
  132. /**
  133. * 1. Change the font styles in all browsers.
  134. * 2. Remove the margin in Firefox and Safari.
  135. */
  136. button,
  137. input,
  138. optgroup,
  139. select,
  140. textarea {
  141. font-family: inherit;
  142. /* 1 */
  143. font-size: 100%;
  144. /* 1 */
  145. line-height: 1.15;
  146. /* 1 */
  147. margin: 0;
  148. /* 2 */
  149. }
  150. /**
  151. * Show the overflow in IE.
  152. * 1. Show the overflow in Edge.
  153. */
  154. button,
  155. input {
  156. /* 1 */
  157. overflow: visible;
  158. }
  159. /**
  160. * Remove the inheritance of text transform in Edge, Firefox, and IE.
  161. * 1. Remove the inheritance of text transform in Firefox.
  162. */
  163. button,
  164. select {
  165. /* 1 */
  166. text-transform: none;
  167. }
  168. /**
  169. * Correct the inability to style clickable types in iOS and Safari.
  170. */
  171. button,
  172. [type="button"],
  173. [type="reset"],
  174. [type="submit"] {
  175. -webkit-appearance: button;
  176. }
  177. /**
  178. * Remove the inner border and padding in Firefox.
  179. */
  180. button::-moz-focus-inner,
  181. [type="button"]::-moz-focus-inner,
  182. [type="reset"]::-moz-focus-inner,
  183. [type="submit"]::-moz-focus-inner {
  184. border-style: none;
  185. padding: 0;
  186. }
  187. /**
  188. * Restore the focus styles unset by the previous rule.
  189. */
  190. button:-moz-focusring,
  191. [type="button"]:-moz-focusring,
  192. [type="reset"]:-moz-focusring,
  193. [type="submit"]:-moz-focusring {
  194. outline: 1px dotted ButtonText;
  195. }
  196. /**
  197. * Correct the padding in Firefox.
  198. */
  199. fieldset {
  200. padding: 0.35em 0.75em 0.625em;
  201. }
  202. /**
  203. * 1. Correct the text wrapping in Edge and IE.
  204. * 2. Correct the color inheritance from `fieldset` elements in IE.
  205. * 3. Remove the padding so developers are not caught out when they zero out
  206. * `fieldset` elements in all browsers.
  207. */
  208. legend {
  209. box-sizing: border-box;
  210. /* 1 */
  211. color: inherit;
  212. /* 2 */
  213. display: table;
  214. /* 1 */
  215. max-width: 100%;
  216. /* 1 */
  217. padding: 0;
  218. /* 3 */
  219. white-space: normal;
  220. /* 1 */
  221. }
  222. /**
  223. * Add the correct vertical alignment in Chrome, Firefox, and Opera.
  224. */
  225. progress {
  226. vertical-align: baseline;
  227. }
  228. /**
  229. * Remove the default vertical scrollbar in IE 10+.
  230. */
  231. textarea {
  232. overflow: auto;
  233. }
  234. /**
  235. * 1. Add the correct box sizing in IE 10.
  236. * 2. Remove the padding in IE 10.
  237. */
  238. [type="checkbox"],
  239. [type="radio"] {
  240. box-sizing: border-box;
  241. /* 1 */
  242. padding: 0;
  243. /* 2 */
  244. }
  245. /**
  246. * Correct the cursor style of increment and decrement buttons in Chrome.
  247. */
  248. [type="number"]::-webkit-inner-spin-button,
  249. [type="number"]::-webkit-outer-spin-button {
  250. height: auto;
  251. }
  252. /**
  253. * 1. Correct the odd appearance in Chrome and Safari.
  254. * 2. Correct the outline style in Safari.
  255. */
  256. [type="search"] {
  257. -webkit-appearance: textfield;
  258. /* 1 */
  259. outline-offset: -2px;
  260. /* 2 */
  261. }
  262. /**
  263. * Remove the inner padding in Chrome and Safari on macOS.
  264. */
  265. [type="search"]::-webkit-search-decoration {
  266. -webkit-appearance: none;
  267. }
  268. /**
  269. * 1. Correct the inability to style clickable types in iOS and Safari.
  270. * 2. Change font properties to `inherit` in Safari.
  271. */
  272. ::-webkit-file-upload-button {
  273. -webkit-appearance: button;
  274. /* 1 */
  275. font: inherit;
  276. /* 2 */
  277. }
  278. /* Interactive
  279. ========================================================================== */
  280. /*
  281. * Add the correct display in Edge, IE 10+, and Firefox.
  282. */
  283. details {
  284. display: block;
  285. }
  286. /*
  287. * Add the correct display in all browsers.
  288. */
  289. summary {
  290. display: list-item;
  291. }
  292. /* Misc
  293. ========================================================================== */
  294. /**
  295. * Add the correct display in IE 10+.
  296. */
  297. template {
  298. display: none;
  299. }
  300. /**
  301. * Add the correct display in IE 10.
  302. */
  303. [hidden] {
  304. display: none;
  305. }
  306. HTML,
  307. body,
  308. div,
  309. h1,
  310. h2,
  311. h3,
  312. h4,
  313. h5,
  314. h6,
  315. ul,
  316. ol,
  317. dl,
  318. li,
  319. dt,
  320. dd,
  321. p,
  322. blockquote,
  323. pre,
  324. form,
  325. fieldset,
  326. table,
  327. th,
  328. td {
  329. border: none;
  330. font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  331. font-size: 14px;
  332. margin: 0px;
  333. padding: 0px;
  334. }
  335. html,
  336. body {
  337. height: 100%;
  338. width: 100%;
  339. }
  340. address,
  341. caption,
  342. cite,
  343. code,
  344. dfn,
  345. em,
  346. strong,
  347. th,
  348. var {
  349. font-style: normal;
  350. font-weight: normal;
  351. }
  352. a {
  353. text-decoration: none;
  354. }
  355. a:link {
  356. color: #fff;
  357. }
  358. a:visited {
  359. color: #fff;
  360. }
  361. a:hover {
  362. color: #fff;
  363. }
  364. a:active {
  365. color: #fff;
  366. }
  367. input::-ms-clear {
  368. display: none;
  369. }
  370. input::-ms-reveal {
  371. display: none;
  372. }
  373. input {
  374. -webkit-appearance: none;
  375. margin: 0;
  376. outline: none;
  377. padding: 0;
  378. }
  379. input::-webkit-input-placeholder {
  380. color: #ccc;
  381. }
  382. input::-ms-input-placeholder {
  383. color: #ccc;
  384. }
  385. input::-moz-placeholder {
  386. color: #ccc;
  387. }
  388. input[type=submit],
  389. input[type=button] {
  390. cursor: pointer;
  391. }
  392. button[disabled],
  393. input[disabled] {
  394. cursor: default;
  395. }
  396. img {
  397. border: none;
  398. }
  399. ul,
  400. ol,
  401. li {
  402. list-style-type: none;
  403. }
  404. // 导航
  405. #app {
  406. .el-container {
  407. position: relative;
  408. height: 100%;
  409. width: 100%;
  410. }
  411. .el-container.mobile.openside {
  412. position: fixed;
  413. top: 0;
  414. }
  415. .el-aside {
  416. -webkit-transition: width .2s;
  417. transition: width .2s;
  418. width: $width-aside;
  419. background-color: $bg-aside;
  420. height: 100%;
  421. position: fixed;
  422. font-size: 0;
  423. top: 0;
  424. bottom: 0;
  425. left: 0;
  426. z-index: 1001;
  427. overflow: hidden;
  428. .el-menu {
  429. border-right: none;
  430. }
  431. .tilte {
  432. min-height: $height-aside-tilte;
  433. line-height: $height-aside-tilte;
  434. background: $bg-aside;
  435. text-align: center;
  436. .logoimg {
  437. width: $width-aside-img;
  438. height: $height-aside-img;
  439. vertical-align: middle;
  440. background: #fff;
  441. border-radius: 50%;
  442. padding: 3px;
  443. }
  444. .tit-text {
  445. display: inline-block;
  446. color: #fff;
  447. font-weight: 600;
  448. font-size: 20px;
  449. vertical-align: middle;
  450. padding-left: 10px;
  451. }
  452. }
  453. }
  454. .aside {
  455. .el-menu-vertical {
  456. background-color: $bg-aside;
  457. }
  458. .el-submenu {
  459. background-color: $bg-aside;
  460. .el-menu {
  461. .el-menu-item {
  462. background-color: #000408;
  463. height: 44px;
  464. line-height: 44px;
  465. }
  466. .is-active {
  467. background-color: #1890ff;
  468. // 关闭三级菜单二级菜单样式
  469. ul{
  470. border:none;
  471. }
  472. }
  473. // 关闭三级菜单二级菜单样式
  474. .is-active.is-opened{
  475. background-color: #191a23;
  476. ul{
  477. border:none;
  478. }
  479. }
  480. }
  481. }
  482. .el-menu-item:focus, .el-menu-item:hover{
  483. background-color: transparent;
  484. }
  485. .el-menu-item:hover i,
  486. .el-menu-item:hover span {
  487. color: #fff;
  488. }
  489. .el-submenu__title:hover {
  490. background-color: $bg-aside;
  491. }
  492. .el-submenu__title:hover i,
  493. .el-submenu__title:hover span {
  494. color: #fff;
  495. }
  496. .el-menu--inline {
  497. border-left: 5px solid #2c3b41;
  498. }
  499. }
  500. .hideside {
  501. .aside {
  502. width: $width-hideside-aside;
  503. }
  504. }
  505. .mobile.hideside {
  506. .el-aside {
  507. -webkit-transition-duration: .2s;
  508. transition-duration: .2s;
  509. -webkit-transform: translate3d(-210px, 0, 0);
  510. transform: translate3d(-220px, 0, 0);
  511. }
  512. }
  513. .mobile {
  514. .el-aside {
  515. -webkit-transition: -webkit-transform .28s;
  516. transition: -webkit-transform .28s;
  517. transition: transform .28s;
  518. transition: transform .28s, -webkit-transform .28s;
  519. width: $width-mobile-aside;
  520. }
  521. }
  522. .main-cont.el-main {
  523. min-height: 100%;
  524. -webkit-transition: margin-left .28s;
  525. transition: margin-left .28s;
  526. margin-left: $width-aside;
  527. position: relative;
  528. }
  529. .hideside {
  530. .main-cont.el-main {
  531. margin-left: 54px;
  532. }
  533. }
  534. .mobile {
  535. .main-cont.el-main {
  536. margin-left: 0px;
  537. }
  538. }
  539. .openside.mobile {
  540. .shadowBg {
  541. background: #000;
  542. opacity: .3;
  543. width: 100%;
  544. top: 0;
  545. height: 100%;
  546. position: absolute;
  547. z-index: 999;
  548. left: 0;
  549. }
  550. }
  551. }
  552. // layout
  553. .layout-cont {
  554. .main-cont {
  555. position: relative;
  556. &.el-main {
  557. background-color: $bg-main;
  558. padding: 0;
  559. }
  560. }
  561. }
  562. .admin-box {
  563. padding: 15px 20px;
  564. .el-button {
  565. padding: 7px 10px;
  566. }
  567. .el-input__inner {
  568. height: 30px;
  569. line-height: 30px;
  570. }
  571. .el-input__icon {
  572. line-height: 30px;
  573. }
  574. }
  575. .admin-box {
  576. min-height: calc(100vh - 200px);
  577. background-color: $white-bg;
  578. padding: 15px;
  579. margin: 115px 15px 20px;
  580. border-radius: 2px;
  581. .el-table--border {
  582. border-radius: 4px;
  583. margin-bottom: 15px;
  584. }
  585. .el-table {
  586. thead {
  587. color: $color-table-thead;
  588. }
  589. th {
  590. padding: 5px 0;
  591. .cell {
  592. min-height: 34px;
  593. line-height: 34px;
  594. }
  595. }
  596. td {
  597. padding: 8px 0;
  598. }
  599. td,
  600. th.is-leaf {
  601. border-bottom: 1px solid #e8e8e8;
  602. }
  603. }
  604. .search-term {
  605. border-left: none;
  606. border-right: none;
  607. padding: 0 5px;
  608. .el-form-item {
  609. margin-bottom: 10px;
  610. }
  611. }
  612. .el-pagination {
  613. padding: 20px 0 0 0;
  614. }
  615. .upload-demo,
  616. .upload {
  617. padding: 0;
  618. }
  619. .system {
  620. padding: 0;
  621. }
  622. .el-form.el-form--inline {
  623. .el-form-item:last-child {
  624. margin-bottom: 0;
  625. }
  626. }
  627. .edit_container,
  628. .edit {
  629. padding: 0;
  630. }
  631. }
  632. .admin-box:after,
  633. .admin-box:before {
  634. content: "";
  635. display: block;
  636. clear: both;
  637. }
  638. .button-box {
  639. background: $white-bg;
  640. border: none;
  641. padding: 0 0 10px 0px;
  642. }
  643. .search-term {
  644. background: $white-bg;
  645. padding: 0 15px;
  646. border-left: 1px solid #ebeef5;
  647. border-right: 1px solid #ebeef5;
  648. .demo-form-inline {
  649. margin-bottom: 10px;
  650. }
  651. }
  652. // table
  653. .has-gutter {
  654. tr {
  655. th {
  656. background-color: #fafafa;
  657. }
  658. }
  659. }
  660. .el-table--striped {
  661. .el-table__body {
  662. tr.el-table__row--striped {
  663. td {
  664. background: #fff !important;
  665. }
  666. }
  667. }
  668. }
  669. .el-table th,
  670. .el-table tr {
  671. background-color: #fafafa;
  672. }
  673. .el-pagination {
  674. .btn-prev,
  675. .btn-next {
  676. border: 1px solid #ddd;
  677. border-radius: 4px;
  678. }
  679. .el-pager {
  680. li {
  681. color: #666;
  682. font-size: 12px;
  683. margin: 0 5px;
  684. border: 1px solid #ddd;
  685. border-radius: 4px;
  686. }
  687. }
  688. padding: 20px 0 !important;
  689. }
  690. .el-row {
  691. padding: 10px 0;
  692. .el-col>label {
  693. line-height: 30px;
  694. text-align: right;
  695. width: 80%;
  696. padding-right: 15px;
  697. display: inline-block;
  698. }
  699. .line {
  700. line-height: 30px;
  701. text-align: center;
  702. }
  703. }
  704. // edit_container
  705. .edit_container {
  706. background-color: $white-bg;
  707. padding: 15px;
  708. .el-button {
  709. margin: 15px 0;
  710. }
  711. }
  712. .edit {
  713. background-color: $white-bg;
  714. padding: 15px;
  715. .el-button {
  716. margin: 15px 0;
  717. }
  718. }
  719. // upload-demo
  720. .upload-demo,
  721. .upload {
  722. background-color: $white-bg;
  723. padding: 15px;
  724. .el-upload-list__item-status-label {
  725. right: 0;
  726. left: 120px;
  727. }
  728. .el-upload__tip {
  729. margin: 10px 0;
  730. }
  731. }
  732. // system
  733. .system {
  734. padding: 15px;
  735. .el-input__inner {
  736. width: 80%;
  737. }
  738. }
  739. // .el-menu .el-menu--inline {
  740. // background: #2c3b41;
  741. // }
  742. // .el-submenu .el-submenu {
  743. // background-color: #000408 !important;
  744. // }
  745. // .aside .el-scrollbar .el-scrollbar__view .el-submenu__title:hover {
  746. // background-color: $bg-aside !important;
  747. // }
  748. // .el-menu--vertical {
  749. // .el-menu {
  750. // margin-left: -8px;
  751. // background-color: rgb(48, 65, 86);
  752. // .el-menu-item {
  753. // background-color: rgb(48, 65, 86);
  754. // }
  755. // .el-menu-item:focus,
  756. // .el-menu-item:hover {
  757. // background-color: #263445;
  758. // color: #fff;
  759. // }
  760. // }
  761. // }
  762. // 导航*****
  763. // add 5.13
  764. .el-container {
  765. // .admin-box {
  766. // padding: 15px;
  767. // margin: 115px 15px 20px;
  768. // border-radius: 2px;
  769. // .button-box {
  770. // border: none;
  771. // padding: 0 0 10px 0px;
  772. // }
  773. // .el-table--border {
  774. // border-radius: 4px;
  775. // margin-bottom: 15px;
  776. // }
  777. // .el-table {
  778. // thead {
  779. // color: $color-table-thead;
  780. // }
  781. // th {
  782. // padding: 5px 0;
  783. // .cell {
  784. // min-height: 34px;
  785. // line-height: 34px;
  786. // }
  787. // }
  788. // td {
  789. // padding: 8px 0;
  790. // }
  791. // td,
  792. // th.is-leaf {
  793. // border-bottom: 1px solid #e8e8e8;
  794. // }
  795. // }
  796. // .search-term {
  797. // border-left: none;
  798. // border-right: none;
  799. // padding: 0 5px;
  800. // .el-form-item {
  801. // margin-bottom: 10px;
  802. // }
  803. // }
  804. // .el-pagination {
  805. // padding: 20px 0 0 0;
  806. // }
  807. // .upload-demo,
  808. // .upload {
  809. // padding: 0;
  810. // }
  811. // .system {
  812. // padding: 0;
  813. // }
  814. // .el-form.el-form--inline {
  815. // .el-form-item:last-child {
  816. // margin-bottom: 0;
  817. // }
  818. // }
  819. // .edit_container,
  820. // .edit {
  821. // padding: 0;
  822. // }
  823. // }
  824. // .admin-box:after,
  825. // .admin-box:before {
  826. // content: "";
  827. // display: block;
  828. // clear: both;
  829. // }
  830. .tips {
  831. margin-top: 10px;
  832. font-size: 14px;
  833. font-weight: 400;
  834. color: #606266;
  835. }
  836. }
  837. .el-container.layout-cont {
  838. // .header-cont,
  839. // .breadcrumb {
  840. // height: 40px !important;
  841. // line-height: 40px !important;
  842. // }
  843. .main-cont.el-main {
  844. background-color: $bg-main;
  845. .menu-total {
  846. font-size: 22px;
  847. color: #838383;
  848. margin-top: 16px;
  849. }
  850. // background-color: #f0f2f5;
  851. }
  852. }
  853. .el-container.layout-cont {
  854. .main-cont {
  855. .router-history {
  856. // box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  857. background: #fff;
  858. padding: 0 6px;
  859. border-top: 1px solid $border-color;
  860. padding: 0;
  861. .el-tabs__header {
  862. margin: 0px 0 0 0;
  863. .el-tabs__item {
  864. height: $height-nav-scroll;
  865. height: $height-nav-scroll;
  866. border: none;
  867. border-left: 1px solid $border-color;
  868. }
  869. .el-tabs__item::before {
  870. content: "";
  871. width: 9px;
  872. height: 9px;
  873. margin-right: 8px;
  874. display: inline-block;
  875. background-color: #ddd;
  876. border-radius: 50%;
  877. transition: background-color .2s;
  878. }
  879. .el-tabs__item.is-active::before {
  880. background-color: #409eff;
  881. }
  882. .el-tabs__item.is-active {
  883. background-color: rgba(64, 158, 255, .08);
  884. }
  885. .el-tabs__nav {
  886. border: none;
  887. }
  888. }
  889. }
  890. }
  891. }
  892. .el-table__row {
  893. .el-button.el-button--text.el-button--small {
  894. position: relative;
  895. }
  896. // .el-button.el-button--text.el-button--small::after {
  897. // content: '';
  898. // position: absolute;
  899. // width: 1px;
  900. // height: 50%;
  901. // top: 5px;
  902. // margin-left: 15px;
  903. // background-color: #e8e8e8;
  904. // }
  905. .cell {
  906. button:last-child::after {
  907. content: '' !important;
  908. position: absolute !important;
  909. width: 0px !important;
  910. }
  911. }
  912. }
  913. .clear:after,
  914. .clear:before {
  915. content: "";
  916. display: block;
  917. clear: both;
  918. }
  919. .el-table--striped .el-table__body tr.el-table__row--level-1 td:first-child {
  920. .cell {
  921. .el-table__indent {
  922. border-right: 1.5px solid #ccc;
  923. margin-left: 6px;
  924. }
  925. .el-table__placeholder {
  926. width: 10px;
  927. }
  928. }
  929. }
  930. .el-table--striped .el-table__body tr.el-table__row--level-2 td:first-child {
  931. .cell {
  932. .el-table__indent {
  933. border-right: 1.5px solid #ccc;
  934. margin-left: 6px;
  935. }
  936. .el-table__placeholder {
  937. width: 10px;
  938. }
  939. }
  940. }
  941. .el-input-number__decrease,
  942. .el-input-number__increase {
  943. position: absolute;
  944. z-index: 1;
  945. top: 6px !important;
  946. width: 42px;
  947. height: 26px;
  948. line-height: 26px;
  949. text-align: center;
  950. background: #F5F7FA;
  951. color: #606266;
  952. cursor: pointer;
  953. font-size: 13px;
  954. }
  955. .table-button+span {
  956. margin-left: 10px !important;
  957. }
  958. $headerHigh: 52px;
  959. $mainHight: 100vh;
  960. .dropdown-group {
  961. min-width: 100px;
  962. }
  963. .topfix {
  964. position: fixed;
  965. top: 0;
  966. box-sizing: border-box;
  967. z-index: 999;
  968. >.el-row{
  969. padding: 0;
  970. .el-col-lg-14{
  971. height: 60px;
  972. }
  973. }
  974. }
  975. .el-scrollbar__wrap {
  976. padding-bottom: 17px;
  977. }
  978. .layout-cont {
  979. .right-box {
  980. height: $height-header;
  981. line-height: $height-header;
  982. text-align: center;
  983. vertical-align: middle;
  984. margin-right: 40px;
  985. img {
  986. vertical-align: middle;
  987. border: 1px solid #ccc;
  988. border-radius: 6px;
  989. }
  990. }
  991. .header-cont {
  992. height: $height-header;
  993. background: #fff;
  994. }
  995. .main-cont {
  996. .breadcrumb {
  997. height: $height-header;
  998. line-height: $height-header;
  999. display: inline-block;
  1000. background-color: #fff;
  1001. padding: 0 24px;
  1002. }
  1003. .fl-right {
  1004. // height: $height-header;
  1005. // line-height: $height-header;
  1006. }
  1007. &.el-main {
  1008. overflow: auto;
  1009. background: #fff;
  1010. }
  1011. height: $mainHight !important;
  1012. overflow: visible;
  1013. position: relative;
  1014. .menu-total {
  1015. float: left;
  1016. margin-top: 10px;
  1017. width: 30px;
  1018. height: 30px;
  1019. line-height: 30px;
  1020. font-size: 30px;
  1021. }
  1022. .aside {
  1023. overflow: auto;
  1024. // background: #fff;
  1025. &::-webkit-scrollbar {
  1026. display: none;
  1027. }
  1028. }
  1029. .el-menu-vertical {
  1030. height: calc(100vh - 64px) !important;
  1031. visibility: auto;
  1032. &:not(.el-menu--collapse) {
  1033. width: 220px;
  1034. }
  1035. }
  1036. .el-menu--collapse {
  1037. width: 54px;
  1038. li {
  1039. .el-tooltip,
  1040. .el-submenu__title {
  1041. padding: 0px 15px !important;
  1042. }
  1043. }
  1044. }
  1045. &::-webkit-scrollbar {
  1046. display: none;
  1047. }
  1048. &.main-left {
  1049. width: auto !important;
  1050. }
  1051. &.main-right {
  1052. .admin-title {
  1053. float: left;
  1054. font-size: 16px;
  1055. vertical-align: middle;
  1056. margin-left: 20px;
  1057. img {
  1058. vertical-align: middle;
  1059. }
  1060. &.collapse {
  1061. width: 53px;
  1062. }
  1063. }
  1064. }
  1065. }
  1066. }
  1067. .screenfull {
  1068. display: inline-block;
  1069. }
  1070. .header-avatar {
  1071. display: flex;
  1072. justify-content: center;
  1073. align-items: center;
  1074. }
  1075. .search-component {
  1076. display: inline-block;
  1077. overflow: hidden;
  1078. height: 60px;
  1079. width: 120px;
  1080. text-align: center;
  1081. .el-input__inner {
  1082. border: none;
  1083. border-bottom: 1px solid #606266;
  1084. }
  1085. .el-dropdown-link {
  1086. cursor: pointer;
  1087. }
  1088. .search-icon {
  1089. font-size: $icon-size;
  1090. margin-right: 14px;
  1091. display: inline-block;
  1092. vertical-align: middle;
  1093. box-sizing: border-box;
  1094. color: #606266;
  1095. }
  1096. .dropdown-group {
  1097. min-width: 100px;
  1098. }
  1099. }
  1100. .transition-box {
  1101. overflow: hidden;
  1102. width: 120px;
  1103. text-align: center;
  1104. }
  1105. .screenfull {
  1106. overflow: hidden;
  1107. width: 40px;
  1108. text-align: center;
  1109. }
  1110. .el-dropdown {
  1111. overflow: hidden;
  1112. height: 60px;
  1113. }
  1114. // dashboard
  1115. .card {
  1116. background-color: $white-bg;
  1117. padding: 20px;
  1118. border-radius: 4px;
  1119. overflow: hidden;
  1120. .car-left {
  1121. height: $height-car;
  1122. // width: 70%;
  1123. // float: left;
  1124. }
  1125. .car-right {
  1126. height: $height-car;
  1127. // width: 29%;
  1128. // float: left;
  1129. .flow,
  1130. .user-number,
  1131. .feedback {
  1132. width: $el-icon-mini;
  1133. height: $el-icon-mini;
  1134. display: inline-block;
  1135. border-radius: 50%;
  1136. line-height: $el-icon-mini;
  1137. text-align: center;
  1138. font-size: 13px;
  1139. margin-right: 5px;
  1140. }
  1141. .flow {
  1142. background-color: #fff7e8;
  1143. border-color: #feefd0;
  1144. color: #faad14;
  1145. }
  1146. .user-number {
  1147. background-color: #ecf5ff;
  1148. border-color: #d9ecff;
  1149. color: #409eff;
  1150. }
  1151. .feedback {
  1152. background-color: #eef9e8;
  1153. border-color: #dcf3d1;
  1154. color: #52c41a;
  1155. }
  1156. .car-item {
  1157. text-align: right;
  1158. b {
  1159. display: block;
  1160. }
  1161. }
  1162. }
  1163. .card-img {
  1164. width: $height-car;
  1165. height: $height-car;
  1166. display: inline-block;
  1167. float: left;
  1168. overflow: hidden;
  1169. img {
  1170. width: 100%;
  1171. height: 100%;
  1172. border-radius: 50%;
  1173. }
  1174. }
  1175. .text {
  1176. height: $height-car;
  1177. margin-left: 10px;
  1178. float: left;
  1179. margin-top: 14px;
  1180. h4 {
  1181. font-size: 20px;
  1182. color: #262626;
  1183. font-weight: 500;
  1184. white-space: nowrap;
  1185. word-break: break-all;
  1186. text-overflow: ellipsis;
  1187. }
  1188. .tips-text {
  1189. color: #8c8c8c;
  1190. margin-top: 8px;
  1191. .el-icon{
  1192. margin-right: 8px;
  1193. display:inline-block;
  1194. }
  1195. }
  1196. }
  1197. }
  1198. .shadow {
  1199. margin: 5px 0;
  1200. .grid-content {
  1201. background-color: $white-bg;
  1202. border-radius: 4px;
  1203. text-align: center;
  1204. padding: 10px 0;
  1205. cursor: pointer;
  1206. .el-icon {
  1207. width: $el-icon-small;
  1208. height: $el-icon-small;
  1209. font-size: $el-icon-small;
  1210. margin-bottom: 8px;
  1211. }
  1212. }
  1213. }
  1214. ::-webkit-scrollbar-track-piece {
  1215. background-color: #f8f8f8;
  1216. }
  1217. ::-webkit-scrollbar {
  1218. width: 9px;
  1219. height: 9px;
  1220. }
  1221. ::-webkit-scrollbar-thumb {
  1222. background-color: #dddddd;
  1223. background-clip: padding-box;
  1224. min-height: 28px;
  1225. border-radius: 4px;
  1226. }
  1227. ::-webkit-scrollbar-thumb:hover {
  1228. background-color: #bbb;
  1229. }