main.scss 24 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328
  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. // .el-table__body-wrapper {
  405. // tr {
  406. // td {
  407. // .cell {
  408. // .el-button+.el-button {
  409. // margin-left: 0;
  410. // }
  411. // }
  412. // }
  413. // }
  414. // }
  415. // navbar
  416. .aside {
  417. .el-scrollbar {
  418. .el-scrollbar__view {
  419. .el-menu-vertical {
  420. background-color: $bg-aside;
  421. }
  422. .el-menu-item:hover i,
  423. .el-menu-item:hover span {
  424. color: #fff;
  425. }
  426. li {
  427. background-color: $bg-aside;
  428. ul {
  429. .el-menu-item {
  430. background-color: #000408;
  431. height: 44px;
  432. line-height: 44px;
  433. }
  434. .is-active {
  435. background-color: #1890ff;
  436. }
  437. }
  438. }
  439. .el-submenu__title:hover {
  440. background-color: $bg-aside;
  441. }
  442. .el-submenu__title:hover i,
  443. .el-submenu__title:hover span {
  444. color: #fff;
  445. }
  446. .el-menu--inline {
  447. border-left: 5px solid #2c3b41;
  448. }
  449. }
  450. }
  451. }
  452. // layout
  453. .layout-cont {
  454. .main-cont {
  455. position: relative;
  456. &.el-main {
  457. background-color: #ecf0f5;
  458. padding: 0;
  459. }
  460. }
  461. }
  462. .admin-box {
  463. padding: 15px 20px;
  464. .el-button {
  465. padding: 7px 10px;
  466. }
  467. .el-input__inner {
  468. height: 30px;
  469. line-height: 30px;
  470. }
  471. .el-input__icon {
  472. line-height: 30px;
  473. }
  474. }
  475. .button-box {
  476. background: #fff;
  477. border: 1px solid #ebeef5;
  478. border-bottom: none;
  479. }
  480. .search-term {
  481. background: #fff;
  482. padding: 0 15px;
  483. border-left: 1px solid #ebeef5;
  484. border-right: 1px solid #ebeef5;
  485. .demo-form-inline {
  486. margin-bottom: 10px;
  487. }
  488. }
  489. // table
  490. .has-gutter {
  491. tr {
  492. th {
  493. background-color: #fafafa;
  494. }
  495. }
  496. }
  497. .el-table--striped {
  498. .el-table__body {
  499. tr.el-table__row--striped {
  500. td {
  501. background: #fff!important;
  502. }
  503. }
  504. }
  505. }
  506. .el-table th,
  507. .el-table tr {
  508. background-color: #fafafa;
  509. }
  510. .el-pagination {
  511. .btn-prev,
  512. .btn-next {
  513. border: 1px solid #ddd;
  514. border-radius: 4px;
  515. }
  516. .el-pager {
  517. li {
  518. color: #666;
  519. font-size: 12px;
  520. margin: 0 5px;
  521. border: 1px solid #ddd;
  522. border-radius: 4px;
  523. }
  524. }
  525. padding: 20px 0!important;
  526. }
  527. .el-row {
  528. padding: 10px 0;
  529. .el-col>label {
  530. line-height: 30px;
  531. text-align: right;
  532. width: 80%;
  533. padding-right: 15px;
  534. display: inline-block;
  535. }
  536. .line {
  537. line-height: 30px;
  538. text-align: center;
  539. }
  540. }
  541. // edit_container
  542. .edit_container {
  543. background-color: #fff;
  544. padding: 15px;
  545. .el-button {
  546. margin: 15px 0;
  547. }
  548. }
  549. .edit {
  550. background-color: #fff;
  551. padding: 15px;
  552. .el-button {
  553. margin: 15px 0;
  554. }
  555. }
  556. // upload-demo
  557. .upload-demo,
  558. .upload {
  559. background-color: #fff;
  560. padding: 15px;
  561. .el-upload-list__item-status-label {
  562. right: 0;
  563. left: 120px;
  564. }
  565. .el-upload__tip {
  566. margin: 10px 0;
  567. }
  568. }
  569. // system
  570. .system {
  571. padding: 15px;
  572. .el-input__inner {
  573. width: 80%;
  574. }
  575. }
  576. // 导航
  577. #app {
  578. .el-container {
  579. position: relative;
  580. height: 100%;
  581. width: 100%;
  582. }
  583. .el-container.mobile.openside {
  584. position: fixed;
  585. top: 0;
  586. }
  587. .hideside {
  588. .aside {
  589. width: 54px!important;
  590. }
  591. }
  592. .el-aside {
  593. -webkit-transition: width .2s;
  594. transition: width .2s;
  595. width: 220px;
  596. background-color: $bg-aside;
  597. height: 100%;
  598. position: fixed;
  599. font-size: 0;
  600. top: 0;
  601. bottom: 0;
  602. left: 0;
  603. z-index: 1001;
  604. overflow: hidden;
  605. }
  606. .mobile.hideside {
  607. .el-aside {
  608. // pointer-events: none;
  609. -webkit-transition-duration: .2s;
  610. transition-duration: .2s;
  611. -webkit-transform: translate3d(-210px, 0, 0);
  612. transform: translate3d(-220px, 0, 0);
  613. }
  614. }
  615. .mobile {
  616. .el-aside {
  617. -webkit-transition: -webkit-transform .28s;
  618. transition: -webkit-transform .28s;
  619. transition: transform .28s;
  620. transition: transform .28s, -webkit-transform .28s;
  621. width: 210px!important
  622. }
  623. }
  624. .el-container {
  625. position: relative;
  626. height: 100%;
  627. width: 100%;
  628. .el-aside {
  629. // transition: none;
  630. .aside {
  631. background: #000;
  632. .el-menu {
  633. border-right: none;
  634. }
  635. }
  636. }
  637. }
  638. .main-cont.el-main {
  639. min-height: 100%;
  640. -webkit-transition: margin-left .28s;
  641. transition: margin-left .28s;
  642. margin-left: 220px;
  643. position: relative;
  644. }
  645. .hideside {
  646. .main-cont.el-main {
  647. margin-left: 54px;
  648. }
  649. }
  650. .mobile {
  651. .main-cont.el-main {
  652. margin-left: 0px;
  653. }
  654. }
  655. .openside.mobile {
  656. .shadowBg {
  657. background: #000;
  658. opacity: .3;
  659. width: 100%;
  660. top: 0;
  661. height: 100%;
  662. position: absolute;
  663. z-index: 999;
  664. left: 0;
  665. }
  666. }
  667. }
  668. // .el-menu .el-menu--inline {
  669. // background: #2c3b41;
  670. // }
  671. // .el-submenu .el-submenu {
  672. // background-color: #000408 !important;
  673. // }
  674. .aside .el-scrollbar .el-scrollbar__view .el-submenu__title:hover {
  675. background-color: $bg-aside !important;
  676. }
  677. .el-menu--vertical {
  678. .el-menu {
  679. margin-left: -8px;
  680. background-color: rgb(48, 65, 86);
  681. .el-menu-item {
  682. background-color: rgb(48, 65, 86);
  683. }
  684. .el-menu-item:focus,
  685. .el-menu-item:hover {
  686. background-color: #263445;
  687. color: #fff;
  688. }
  689. }
  690. }
  691. // 导航*****
  692. // add 5.13
  693. .el-container {
  694. .admin-box {
  695. padding: 15px;
  696. margin: 115px 15px 20px;
  697. border-radius: 2px;
  698. .button-box {
  699. border: none;
  700. padding: 0 0 10px 0px;
  701. }
  702. .el-table--border {
  703. border-radius: 4px;
  704. margin-bottom: 15px;
  705. }
  706. .el-table {
  707. thead {
  708. color: $color-table-thead;
  709. }
  710. th {
  711. padding: 5px 0;
  712. .cell {
  713. min-height: 34px;
  714. line-height: 34px;
  715. }
  716. }
  717. td {
  718. padding: 8px 0;
  719. }
  720. td,
  721. th.is-leaf {
  722. border-bottom: 1px solid #e8e8e8;
  723. }
  724. }
  725. .search-term {
  726. border-left: none;
  727. border-right: none;
  728. padding: 0 5px;
  729. .el-form-item {
  730. margin-bottom: 10px;
  731. }
  732. }
  733. .el-pagination {
  734. padding: 20px 0 0 0;
  735. }
  736. .upload-demo,
  737. .upload {
  738. padding: 0;
  739. }
  740. .system {
  741. padding: 0;
  742. }
  743. .el-form.el-form--inline {
  744. .el-form-item:last-child {
  745. margin-bottom: 0;
  746. }
  747. }
  748. .edit_container,
  749. .edit {
  750. padding: 0;
  751. }
  752. }
  753. .admin-box:after,
  754. .admin-box:before {
  755. content: "";
  756. display: block;
  757. clear: both;
  758. }
  759. .tips {
  760. margin-top: 10px;
  761. font-size: 14px;
  762. font-weight: 400;
  763. color: #606266;
  764. }
  765. }
  766. .el-container.layout-cont {
  767. // .header-cont,
  768. // .breadcrumb {
  769. // height: 40px !important;
  770. // line-height: 40px !important;
  771. // }
  772. .main-cont.el-main {
  773. background-color: $bg-main;
  774. .menu-total {
  775. font-size: 22px;
  776. color: #838383;
  777. margin-top: 16px;
  778. }
  779. // background-color: #f0f2f5;
  780. }
  781. }
  782. .el-container.layout-cont {
  783. .main-cont {
  784. .router-history {
  785. // box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  786. background: #fff;
  787. padding: 0 6px;
  788. border-top: 1px solid $border-color;
  789. padding: 0;
  790. .el-tabs__header {
  791. margin: 0px 0 0 0;
  792. .el-tabs__item {
  793. height: $height-nav-scroll;
  794. height: $height-nav-scroll;
  795. border: none;
  796. border-left: 1px solid $border-color;
  797. }
  798. .el-tabs__item::before {
  799. content: "";
  800. width: 9px;
  801. height: 9px;
  802. margin-right: 8px;
  803. display: inline-block;
  804. background-color: #ddd;
  805. border-radius: 50%;
  806. transition: background-color .2s;
  807. }
  808. .el-tabs__item.is-active::before {
  809. background-color: #409eff;
  810. }
  811. .el-tabs__item.is-active {
  812. background-color: rgba(64, 158, 255, .08);
  813. }
  814. .el-tabs__nav {
  815. border: none;
  816. }
  817. }
  818. }
  819. }
  820. }
  821. .el-table__row {
  822. .el-button.el-button--text.el-button--small {
  823. position: relative;
  824. }
  825. // .el-button.el-button--text.el-button--small::after {
  826. // content: '';
  827. // position: absolute;
  828. // width: 1px;
  829. // height: 50%;
  830. // top: 5px;
  831. // margin-left: 15px;
  832. // background-color: #e8e8e8;
  833. // }
  834. .cell {
  835. button:last-child::after {
  836. content: ''!important;
  837. position: absolute!important;
  838. width: 0px!important;
  839. }
  840. }
  841. }
  842. .clear:after,
  843. .clear:before {
  844. content: "";
  845. display: block;
  846. clear: both;
  847. }
  848. .el-table--striped .el-table__body tr.el-table__row--level-1 td:first-child {
  849. .cell {
  850. .el-table__indent {
  851. border-right: 1.5px solid #ccc;
  852. margin-left: 6px;
  853. }
  854. .el-table__placeholder {
  855. width: 10px;
  856. }
  857. }
  858. }
  859. .el-table--striped .el-table__body tr.el-table__row--level-2 td:first-child {
  860. .cell {
  861. .el-table__indent {
  862. border-right: 1.5px solid #ccc;
  863. margin-left: 6px;
  864. }
  865. .el-table__placeholder {
  866. width: 10px;
  867. }
  868. }
  869. }
  870. .el-input-number__decrease,
  871. .el-input-number__increase {
  872. position: absolute;
  873. z-index: 1;
  874. top: 6px !important;
  875. width: 42px;
  876. height: 26px;
  877. line-height: 26px;
  878. text-align: center;
  879. background: #F5F7FA;
  880. color: #606266;
  881. cursor: pointer;
  882. font-size: 13px;
  883. }
  884. .table-button {
  885. margin-right: 8px !important;
  886. }
  887. $headerHigh: 52px;
  888. $mainHight: 100vh;
  889. .dropdown-group {
  890. min-width: 100px;
  891. }
  892. .topfix {
  893. position: fixed;
  894. top: 0;
  895. box-sizing: border-box;
  896. z-index: 999;
  897. }
  898. .admin-box {
  899. min-height: calc(100vh - 200px);
  900. background-color: rgb(255, 255, 255);
  901. margin-top: 100px;
  902. }
  903. .el-scrollbar__wrap {
  904. padding-bottom: 17px;
  905. }
  906. .layout-cont {
  907. .right-box {
  908. height: $height-header;
  909. line-height: $height-header;
  910. text-align: center;
  911. vertical-align: middle;
  912. margin-right: 40px;
  913. img {
  914. vertical-align: middle;
  915. border: 1px solid #ccc;
  916. border-radius: 6px;
  917. }
  918. }
  919. .header-cont {
  920. height: $height-header;
  921. background: #fff;
  922. }
  923. .main-cont {
  924. .breadcrumb {
  925. height: $height-header;
  926. line-height: $height-header;
  927. display: inline-block;
  928. background-color: #fff;
  929. padding: 0 24px;
  930. }
  931. .fl-right {
  932. // height: $height-header;
  933. // line-height: $height-header;
  934. }
  935. &.el-main {
  936. overflow: auto;
  937. background: #fff;
  938. }
  939. height: $mainHight !important;
  940. overflow: visible;
  941. position: relative;
  942. .menu-total {
  943. float: left;
  944. margin-top: 10px;
  945. width: 30px;
  946. height: 30px;
  947. line-height: 30px;
  948. font-size: 30px;
  949. }
  950. .aside {
  951. overflow: auto;
  952. // background: #fff;
  953. &::-webkit-scrollbar {
  954. display: none;
  955. }
  956. }
  957. .el-menu-vertical {
  958. height: calc(100vh - 64px) !important;
  959. visibility: auto;
  960. &:not(.el-menu--collapse) {
  961. width: 220px;
  962. }
  963. }
  964. .el-menu--collapse {
  965. width: 54px;
  966. li {
  967. .el-tooltip,
  968. .el-submenu__title {
  969. padding: 0px 15px !important;
  970. }
  971. }
  972. }
  973. &::-webkit-scrollbar {
  974. display: none;
  975. }
  976. &.main-left {
  977. width: auto !important;
  978. }
  979. &.main-right {
  980. .admin-title {
  981. float: left;
  982. font-size: 16px;
  983. vertical-align: middle;
  984. margin-left: 20px;
  985. img {
  986. vertical-align: middle;
  987. }
  988. &.collapse {
  989. width: 53px;
  990. }
  991. }
  992. }
  993. }
  994. }
  995. .tilte {
  996. min-height: 64px;
  997. line-height: 64px;
  998. background: $bg-aside;
  999. text-align: center;
  1000. .logoimg {
  1001. width: 30px;
  1002. height: 30px;
  1003. vertical-align: middle;
  1004. background: #fff;
  1005. border-radius: 50%;
  1006. padding: 3px;
  1007. }
  1008. .tit-text {
  1009. display: inline-block;
  1010. color: #fff;
  1011. font-weight: 600;
  1012. font-size: 20px;
  1013. vertical-align: middle;
  1014. padding-left: 10px;
  1015. }
  1016. }
  1017. .screenfull {
  1018. display: inline-block;
  1019. }
  1020. .header-avatar {
  1021. display: flex;
  1022. justify-content: center;
  1023. align-items: center;
  1024. }
  1025. .search-component {
  1026. display: inline-block;
  1027. overflow: hidden;
  1028. height: 60px;
  1029. width: 40px;
  1030. text-align: center;
  1031. .el-input__inner {
  1032. border: none;
  1033. border-bottom: 1px solid #606266;
  1034. }
  1035. .el-dropdown-link {
  1036. cursor: pointer;
  1037. }
  1038. .search-icon {
  1039. font-size: $icon-size;
  1040. margin-right: 14px;
  1041. display: inline-block;
  1042. vertical-align: middle;
  1043. box-sizing: border-box;
  1044. color: #606266;
  1045. }
  1046. .dropdown-group {
  1047. min-width: 100px;
  1048. }
  1049. }
  1050. .transition-box {
  1051. overflow: hidden;
  1052. width: 40px;
  1053. text-align: center;
  1054. }
  1055. .screenfull {
  1056. overflow: hidden;
  1057. width: 40px;
  1058. text-align: center;
  1059. }
  1060. .el-dropdown {
  1061. overflow: hidden;
  1062. height: 60px;
  1063. }
  1064. .card {
  1065. background-color: #fff;
  1066. padding: 20px;
  1067. border-radius: 4px;
  1068. overflow: hidden;
  1069. .car-left {
  1070. height: 68px;
  1071. width: 70%;
  1072. float: left;
  1073. }
  1074. .car-right {
  1075. height: 68px;
  1076. width: 29%;
  1077. float: left;
  1078. .flow,
  1079. .user-number,
  1080. .feedback {
  1081. width: 24px;
  1082. height: 24px;
  1083. display: inline-block;
  1084. border-radius: 50%;
  1085. line-height: 24px;
  1086. text-align: center;
  1087. font-size: 13px;
  1088. margin-right: 5px;
  1089. }
  1090. .flow {
  1091. background-color: #fff7e8;
  1092. border-color: #feefd0;
  1093. color: #faad14;
  1094. }
  1095. .user-number {
  1096. background-color: #ecf5ff;
  1097. border-color: #d9ecff;
  1098. color: #409eff;
  1099. }
  1100. .feedback {
  1101. background-color: #eef9e8;
  1102. border-color: #dcf3d1;
  1103. color: #52c41a;
  1104. }
  1105. .car-item {
  1106. text-align: right;
  1107. b {
  1108. display: block;
  1109. }
  1110. }
  1111. }
  1112. .card-img {
  1113. width: 68px;
  1114. height: 68px;
  1115. display: inline-block;
  1116. float: left;
  1117. overflow: hidden;
  1118. img {
  1119. width: 100%;
  1120. height: 100%;
  1121. border-radius: 50%;
  1122. }
  1123. }
  1124. .text {
  1125. height: 68px;
  1126. margin-left: 10px;
  1127. float: left;
  1128. margin-top: 14px;
  1129. h4 {
  1130. font-size: 20px;
  1131. color: #262626;
  1132. font-weight: 500;
  1133. white-space: nowrap;
  1134. word-break: break-all;
  1135. text-overflow: ellipsis;
  1136. }
  1137. .tips-text {
  1138. color: #8c8c8c;
  1139. margin-top: 8px;
  1140. }
  1141. }
  1142. }
  1143. .shadow {
  1144. margin: 5px 0;
  1145. .grid-content {
  1146. background-color: #fff;
  1147. border-radius: 4px;
  1148. text-align: center;
  1149. padding: 10px 0;
  1150. cursor: pointer;
  1151. .el-icon {
  1152. width: 30px;
  1153. height: 30px;
  1154. font-size: 30px;
  1155. margin-bottom: 8px;
  1156. }
  1157. }
  1158. }