main.scss 26 KB

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