commonality.scss 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365
  1. @import './color';
  2. /*************************右侧内容窗口样式*************************/
  3. .app-container{
  4. flex:1;
  5. display: flex;
  6. flex-direction: column;
  7. background: $acquiesceThemeColorE;
  8. border-radius:10px;
  9. overflow: hidden;
  10. padding:0;
  11. margin:5px 20px 20px 10px;
  12. box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.1);
  13. .page-container{
  14. flex:1;
  15. display:flex;
  16. flex-direction: column;
  17. overflow: hidden;
  18. }
  19. }
  20. //===========================右侧内容窗口页面公共样式===========================
  21. //普通查询条件
  22. .page-form-title-box{
  23. height:80px;
  24. border-bottom:1px solid #dedede;
  25. padding:20px 20px 0 20px;
  26. }
  27. //高级查询条件
  28. .page-advanced-form-title-box{
  29. height:140px;
  30. padding:20px 10px 0 20px;
  31. }
  32. .page-content-box{
  33. flex: 1;
  34. display: flex;
  35. flex-direction: column;
  36. padding:20px;
  37. overflow: hidden;
  38. }
  39. /*************************表单表格样式*************************/
  40. .el-form-item{
  41. margin-bottom:20px;
  42. }
  43. .el-form-item--medium .el-form-item__label{
  44. color:#333;
  45. font-weight:500;
  46. }
  47. .pt5 {
  48. padding-top: 5px;
  49. }
  50. .pr5 {
  51. padding-right: 5px;
  52. }
  53. .pb5 {
  54. padding-bottom: 5px;
  55. }
  56. .mt5 {
  57. margin-top: 5px;
  58. }
  59. .mr5 {
  60. margin-right: 5px;
  61. }
  62. .mb5 {
  63. margin-bottom: 5px;
  64. }
  65. .mb8 {
  66. margin-bottom: 8px;
  67. }
  68. .ml5 {
  69. margin-left: 5px;
  70. }
  71. .mt10 {
  72. margin-top: 10px;
  73. }
  74. .mr10 {
  75. margin-right: 10px;
  76. }
  77. .mb10 {
  78. margin-bottom: 10px;
  79. }
  80. .ml0 {
  81. margin-left: 10px;
  82. }
  83. .mt20 {
  84. margin-top: 20px;
  85. }
  86. .mr20 {
  87. margin-right: 20px;
  88. }
  89. .mb20 {
  90. margin-bottom: 20px;
  91. }
  92. .m20 {
  93. margin-left: 20px;
  94. }
  95. .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  96. font-family: inherit;
  97. font-weight: 500;
  98. line-height: 1.1;
  99. color: inherit;
  100. }
  101. .el-dialog:not(.is-fullscreen){
  102. margin-top: 6vh !important;
  103. }
  104. //table 过长文本浮层样式
  105. .el-tooltip__popper.is-dark{
  106. max-width:60%!important;
  107. }
  108. //*****************************表格*****************************
  109. //el-table 表头/内容文字对齐方向
  110. .table-box{
  111. border-right:1px solid $acquiesceThemeTableB;
  112. background-color: $acquiesceThemeColorF;
  113. //表头
  114. th{
  115. background-color: #f5f5f5;
  116. .cell{
  117. color:#333;
  118. font-size:14px;
  119. font-weight:700;
  120. text-align: center;
  121. }
  122. }
  123. td{
  124. .cell{
  125. padding:0 10px 0 12px;
  126. }
  127. div{
  128. font-size:14px;
  129. font-weight:500;
  130. }
  131. //勾选框
  132. .el-checkbox{
  133. display: block;
  134. height:22px;
  135. width:14px;
  136. margin: 6px auto;
  137. overflow: hidden;
  138. span{
  139. display: block;
  140. height: 24px;
  141. width: 14px;
  142. overflow: hidden;
  143. span{
  144. height: 14px;
  145. width: 14px;
  146. margin: 0 auto;
  147. }
  148. }
  149. }
  150. }
  151. //默认对齐方向
  152. .cell{
  153. text-align: left;
  154. height:27px;
  155. line-height:27px;
  156. }
  157. //向左对齐方向
  158. .is-table-left{
  159. .cell{
  160. text-align: left;
  161. }
  162. }
  163. //居中对齐方向
  164. .is-table-center{
  165. .cell{
  166. text-align: center;
  167. }
  168. }
  169. //向右对齐方向
  170. .is-table-right{
  171. .cell{
  172. text-align: right;
  173. }
  174. }
  175. .caret-wrapper{
  176. height:20px;
  177. }
  178. .sort-caret.ascending{
  179. top:-3px;
  180. }
  181. .sort-caret.descending{
  182. bottom:-1px;
  183. }
  184. .el-table__header-wrapper{
  185. width: calc(100% - 9px);
  186. border-right:1px solid $acquiesceThemeTableA;
  187. height:40px;
  188. th, td{
  189. padding:6px 0;
  190. }
  191. }
  192. .el-table__header-wrapper, .el-table__fixed-header-wrapper {
  193. th {
  194. word-break: break-word;
  195. background-color: $acquiesceThemeTableD;
  196. color: $acquiesceThemeTableE;
  197. height: 40px;
  198. }
  199. }
  200. .el-table__header-wrapper th, .el-table__fixed-header-wrapper th{
  201. color:$acquiesceThemeTableF;
  202. background-color:$acquiesceThemeTableA;
  203. line-height:20px;
  204. }
  205. .el-table__body-wrapper {
  206. background-color: $acquiesceThemeTableC;
  207. flex: 1;
  208. overflow-y: scroll!important;
  209. th, td{
  210. padding:6px 0;
  211. }
  212. .el-button [class*="el-icon-"] + span {
  213. margin-left: 1px;
  214. }
  215. }
  216. //表格内switch按钮样式
  217. .el-switch{
  218. height:26px;
  219. line-height: 26px;
  220. }
  221. .switch .el-switch__label {
  222. position: absolute;
  223. display: none;
  224. color: #fff !important;
  225. }
  226. .switch .el-switch__label--right {
  227. z-index: 1;
  228. }
  229. .switch .el-switch__label--right span{
  230. margin-left: 10px;
  231. }
  232. .switch .el-switch__label--left {
  233. z-index: 1;
  234. }
  235. .switch .el-switch__label--left span{
  236. margin-left: 24px;
  237. }
  238. .switch .el-switch__label.is-active {
  239. display: block;
  240. }
  241. .switch.el-switch .el-switch__core,
  242. .el-switch .el-switch__label {
  243. width: 64px !important;
  244. margin: 0;
  245. height:26px;
  246. line-height: 26px;
  247. border-radius:14px;
  248. }
  249. .el-switch__core:after{
  250. top: 4px;
  251. left: 4px;
  252. }
  253. .el-switch.is-checked .el-switch__core::after{
  254. margin-left:-20px;
  255. }
  256. }
  257. //*****************************无高度限制表格*****************************
  258. .table-box-no-height{
  259. border-right:1px solid $acquiesceThemeTableB;
  260. background-color: $acquiesceThemeColorF;
  261. //表头
  262. th{
  263. background-color: #f5f5f5;
  264. .cell{
  265. color:#333;
  266. font-size:14px;
  267. font-weight:700;
  268. text-align: center;
  269. }
  270. }
  271. td{
  272. .cell{
  273. padding:0 10px 0 12px;
  274. }
  275. div{
  276. font-size:14px;
  277. font-weight:500;
  278. }
  279. //勾选框
  280. .el-checkbox{
  281. display: block;
  282. height:22px;
  283. width:14px;
  284. margin: 6px auto;
  285. overflow: hidden;
  286. span{
  287. display: block;
  288. height: 24px;
  289. width: 14px;
  290. overflow: hidden;
  291. span{
  292. height: 14px;
  293. width: 14px;
  294. margin: 0 auto;
  295. }
  296. }
  297. }
  298. }
  299. //默认对齐方向
  300. .cell{
  301. text-align: left;
  302. }
  303. //向左对齐方向
  304. .is-table-left{
  305. .cell{
  306. text-align: left;
  307. }
  308. }
  309. //居中对齐方向
  310. .is-table-center{
  311. .cell{
  312. text-align: center;
  313. }
  314. }
  315. //向右对齐方向
  316. .is-table-right{
  317. .cell{
  318. text-align: right;
  319. }
  320. }
  321. .caret-wrapper{
  322. height:20px;
  323. }
  324. .sort-caret.ascending{
  325. top:-3px;
  326. }
  327. .sort-caret.descending{
  328. bottom:-1px;
  329. }
  330. .el-table__header-wrapper{
  331. width: calc(100% - 9px);
  332. border-right:1px solid $acquiesceThemeTableA;
  333. height:40px;
  334. th, td{
  335. padding:6px 0;
  336. }
  337. }
  338. .el-table__header-wrapper, .el-table__fixed-header-wrapper {
  339. th {
  340. word-break: break-word;
  341. background-color: $acquiesceThemeTableD;
  342. color: $acquiesceThemeTableE;
  343. height: 40px;
  344. }
  345. }
  346. .el-table__header-wrapper th, .el-table__fixed-header-wrapper th{
  347. color:$acquiesceThemeTableF;
  348. background-color:$acquiesceThemeTableA;
  349. line-height:20px;
  350. }
  351. .el-table__body-wrapper {
  352. background-color: $acquiesceThemeTableC;
  353. flex: 1;
  354. overflow-y: scroll!important;
  355. th, td{
  356. padding:6px 0;
  357. }
  358. .el-button [class*="el-icon-"] + span {
  359. margin-left: 1px;
  360. }
  361. }
  362. //表格内switch按钮样式
  363. .el-switch{
  364. height:26px;
  365. line-height: 26px;
  366. }
  367. .switch .el-switch__label {
  368. position: absolute;
  369. display: none;
  370. color: #fff !important;
  371. }
  372. .switch .el-switch__label--right {
  373. z-index: 1;
  374. }
  375. .switch .el-switch__label--right span{
  376. margin-left: 10px;
  377. }
  378. .switch .el-switch__label--left {
  379. z-index: 1;
  380. }
  381. .switch .el-switch__label--left span{
  382. margin-left: 24px;
  383. }
  384. .switch .el-switch__label.is-active {
  385. display: block;
  386. }
  387. .switch.el-switch .el-switch__core,
  388. .el-switch .el-switch__label {
  389. width: 64px !important;
  390. margin: 0;
  391. height:26px;
  392. line-height: 26px;
  393. border-radius:14px;
  394. }
  395. .el-switch__core:after{
  396. top: 4px;
  397. left: 4px;
  398. }
  399. .el-switch.is-checked .el-switch__core::after{
  400. margin-left:-20px;
  401. }
  402. }
  403. .table-null-img-10{
  404. .el-table__empty-text{
  405. background-size: 10%!important;
  406. }
  407. }
  408. .table-null-img-15{
  409. .el-table__empty-text{
  410. background-size: 15%!important;
  411. }
  412. }
  413. .table-null-img-20{
  414. .el-table__empty-text{
  415. background-size: 20%!important;
  416. }
  417. }
  418. .table-null-img-30{
  419. .el-table__empty-text{
  420. background-size: 30%!important;;
  421. }
  422. }
  423. .table-null-img-40{
  424. .el-table__empty-text{
  425. background-size: 40%!important;;
  426. }
  427. }
  428. .table-null-img-50{
  429. .el-table__empty-text{
  430. background-size: 50%!important;;
  431. }
  432. }
  433. .table-null-img-60{
  434. .el-table__empty-text{
  435. background-size: 60%!important;;
  436. }
  437. }
  438. //表格滚动条样式
  439. .el-table__body-wrapper::-webkit-scrollbar{
  440. width: 6px; /*高宽分别对应横竖滚动条的尺寸*/
  441. height: 6px;
  442. }
  443. .el-table__body-wrapper::-webkit-scrollbar-thumb{
  444. border-radius: 5px;
  445. background: $acquiesceThemeScrollbarB;
  446. }
  447. .el-table__body-wrapper::-webkit-scrollbar-track{
  448. -webkit-box-shadow: inset 0 0 5px $acquiesceThemeScrollbarA;
  449. border-radius: 0;
  450. background: $acquiesceThemeScrollbarA;
  451. }
  452. //表格缺省样式
  453. .el-table__empty-text{
  454. font-size:0;
  455. color:rgba(0,0,0,0);
  456. width:100%;
  457. height:100%;
  458. background: url("../ZDimages/basicsModules/null-data-1.png") no-repeat 50% 50%;
  459. background-color: $acquiesceThemeTableC;
  460. background-size: 10%;
  461. }
  462. .el-table--group::after, .el-table--border::after{
  463. width:0;
  464. }
  465. .el-table--fit{
  466. flex: 1;
  467. display: flex;
  468. flex-direction: column;
  469. }
  470. .el-table__row{
  471. color:$acquiesceThemeTableF;
  472. }
  473. .el-table__fixed {
  474. height: calc(100% - 8px)!important;
  475. }
  476. .el-table__fixed, .el-table__fixed-right{
  477. top:0;
  478. left:0;
  479. }
  480. .el-table__fixed::before, .el-table__fixed-right::before{
  481. background-color: rgba(255,255,255,0);
  482. }
  483. .el-table__fixed-body-wrapper{
  484. height: calc(100% - 48px);
  485. overflow-y: auto;
  486. }
  487. .el-table--medium th, .el-table--medium td {
  488. padding: 6px 0;
  489. border-right: 0 solid #dfe6ec;
  490. border-left: 1px solid #dfe6ec;
  491. }
  492. .el-table--medium{
  493. th:nth-child(1){
  494. border-left: 0px solid #dfe6ec !important;
  495. }
  496. td:nth-child(1){
  497. border-left: 0px solid #dfe6ec !important;
  498. }
  499. }
  500. //表头
  501. .el-table__fixed-header-wrapper{
  502. th, td{
  503. padding:6px 0;
  504. }
  505. .el-table--medium th, .el-table--medium td{
  506. padding:12px 0!important;
  507. border-top: 1px solid $acquiesceThemeTableB !important;
  508. }
  509. }
  510. // 表格更多操作下拉样式
  511. .el-table .el-dropdown-link {
  512. cursor: pointer;
  513. color: $acquiesceThemeTableH;
  514. margin-left: 5px;
  515. }
  516. .el-table .el-dropdown, .el-icon-arrow-down {
  517. font-size: 12px;
  518. }
  519. /****************************表单布局****************************/
  520. .form-header {
  521. font-size:15px;
  522. color:#6379bb;
  523. border-bottom:1px solid #dddddd;
  524. margin:8px 10px 25px 10px;
  525. padding-bottom:5px
  526. }
  527. /* tree border */
  528. .tree-border {
  529. margin-top: 5px;
  530. border: 1px solid #e5e6e7;
  531. background: #fff none;
  532. border-radius:4px;
  533. }
  534. .el-table .fixed-width .el-button--mini {
  535. padding-left: 0;
  536. padding-right: 0;
  537. width: inherit;
  538. }
  539. .el-tree-node__content > .el-checkbox {
  540. margin-right: 8px;
  541. }
  542. .list-group-striped > .list-group-item {
  543. border-left: 0;
  544. border-right: 0;
  545. border-radius: 0;
  546. padding-left: 0;
  547. padding-right: 0;
  548. }
  549. .list-group {
  550. padding-left: 0;
  551. list-style: none;
  552. }
  553. .list-group-item {
  554. border-bottom: 1px solid #e7eaec;
  555. border-top: 1px solid #e7eaec;
  556. margin-bottom: -1px;
  557. padding: 11px 0;
  558. font-size: 13px;
  559. }
  560. .pull-right {
  561. float: right !important;
  562. }
  563. .el-card__header {
  564. padding: 14px 15px 7px;
  565. min-height: 40px;
  566. }
  567. .el-card__body {
  568. padding: 15px 20px 20px 20px;
  569. }
  570. .card-box {
  571. padding-right: 15px;
  572. padding-left: 15px;
  573. margin-bottom: 10px;
  574. }
  575. /* button color */
  576. .el-button--cyan.is-active,
  577. .el-button--cyan:active {
  578. background: #20B2AA;
  579. border-color: #20B2AA;
  580. color: #FFFFFF;
  581. }
  582. .el-button--cyan:focus,
  583. .el-button--cyan:hover {
  584. background: #48D1CC;
  585. border-color: #48D1CC;
  586. color: #FFFFFF;
  587. }
  588. .el-button--cyan {
  589. background-color: #20B2AA;
  590. border-color: #20B2AA;
  591. color: #FFFFFF;
  592. }
  593. /* text color */
  594. .text-navy {
  595. color: #1ab394;
  596. }
  597. .text-primary {
  598. color: inherit;
  599. }
  600. .text-success {
  601. color: #1c84c6;
  602. }
  603. .text-info {
  604. color: #23c6c8;
  605. }
  606. .text-warning {
  607. color: #f8ac59;
  608. }
  609. .text-danger {
  610. color: #ed5565;
  611. }
  612. .text-muted {
  613. color: #888888;
  614. }
  615. /* image */
  616. .img-circle {
  617. border-radius: 50%;
  618. }
  619. .img-lg {
  620. width: 120px;
  621. height: 120px;
  622. }
  623. .avatar-upload-preview {
  624. position: absolute;
  625. top: 50%;
  626. transform: translate(50%, -50%);
  627. width: 200px;
  628. height: 200px;
  629. border-radius: 50%;
  630. box-shadow: 0 0 4px #ccc;
  631. overflow: hidden;
  632. }
  633. /* 拖拽列样式 */
  634. .sortable-ghost{
  635. opacity: .8;
  636. color: #fff!important;
  637. background: #42b983!important;
  638. }
  639. .top-right-btn {
  640. position: relative;
  641. float: right;
  642. }
  643. /*************************表格翻页样式*************************/
  644. .el-pagination.is-background .btn-next, .el-pagination.is-background .btn-prev, .el-pagination.is-background .el-pager li{
  645. background-color: $acquiesceThemeColorE;
  646. color: $acquiesceThemeColorG;
  647. font-weight:700;
  648. }
  649. .el-pagination.is-background .el-pager li:not(.disabled).active{
  650. background-color: $acquiesceThemeColorE;
  651. color: $acquiesceThemeColorC;
  652. }
  653. .pagination-container{
  654. padding:20px 0 0 0!important;
  655. .el-pagination__sizes{
  656. width: 120px !important;
  657. overflow: hidden!important;
  658. .teacher .el-select{
  659. width: 120px !important;
  660. }
  661. input{
  662. border:none;
  663. }
  664. }
  665. .el-pagination{
  666. display: flex;
  667. width:100%;
  668. }
  669. }
  670. .el-pagination__total{
  671. flex:1;
  672. text-align: right;
  673. }
  674. @media ( max-width : 768px) {
  675. .pagination-container .el-pagination > .el-pagination__jump {
  676. display: none !important;
  677. }
  678. .pagination-container .el-pagination > .el-pagination__sizes {
  679. display: none !important;
  680. }
  681. }
  682. /*************************顶部导航样式*************************/
  683. /*顶部按钮滚动条*/
  684. .tags-view-container{
  685. padding:0!important;
  686. margin:0!important;
  687. overflow: hidden;
  688. .scroll-container{
  689. padding:0!important;
  690. margin:0!important;
  691. overflow: hidden;
  692. .el-scrollbar__wrap{
  693. padding:0!important;
  694. margin:0!important;
  695. overflow: hidden;
  696. .el-scrollbar__view{
  697. margin-top:16px;
  698. height:50px;
  699. overflow-x: scroll;
  700. overflow-y: hidden;
  701. }
  702. //滚动条样式
  703. .el-scrollbar__view::-webkit-scrollbar{
  704. width: 6px; /*高宽分别对应横竖滚动条的尺寸*/
  705. height: 6px;
  706. }
  707. .el-scrollbar__view::-webkit-scrollbar-thumb{
  708. border-radius: 5px;
  709. -webkit-box-shadow: inset 0 0 5px $acquiesceThemeScrollbarB;
  710. background: $acquiesceThemeScrollbarA
  711. }
  712. .el-scrollbar__view::-webkit-scrollbar-track{
  713. -webkit-box-shadow: inset 0 0 5px rgba(255,255,255,0);
  714. border-radius: 0;
  715. background: rgba(255,255,255,0);
  716. }
  717. }
  718. }
  719. }
  720. .el-dropdown-menu{
  721. .el-dropdown-menu__item{
  722. min-width:80px;
  723. text-align: center;
  724. min-height:30px;
  725. line-height:30px;
  726. }
  727. }
  728. .el-dropdown-menu .popper__arrow{
  729. left:65px!important;
  730. }
  731. //*************************顶部导航-更多下啦列表*************************
  732. .el-menu--horizontal{
  733. .el-menu{
  734. padding:10px 0;
  735. margin:0;
  736. border-bottom-left-radius: 6px;
  737. border-bottom-right-radius: 6px;
  738. overflow: hidden;
  739. background: $acquiesceThemeColorF!important;
  740. box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.2);
  741. }
  742. }
  743. .all-menu{
  744. font-size:16px;
  745. font-weight:500;
  746. margin:5px 10px;
  747. background: $acquiesceThemeColorF!important;
  748. color:$acquiesceThemeColorD!important;
  749. border-radius:10px;
  750. }
  751. .all-menu:hover{
  752. background: $acquiesceThemeColorA!important;
  753. color:$acquiesceThemeColorE!important;
  754. border-radius:10px;
  755. }
  756. .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus{
  757. background: $acquiesceThemeColorB !important;
  758. }
  759. //框架样式
  760. #app {
  761. .main-container {
  762. flex:1;
  763. margin-left:300px;
  764. background: $acquiesceThemeColorE;
  765. display: flex;
  766. flex-direction: column;
  767. transition: margin-left .28s;
  768. position: relative;
  769. overflow: hidden;
  770. }
  771. /*************************顶部导航样式*************************/
  772. .top-submenu{
  773. background: $acquiesceThemeColorA;
  774. border:0!important;
  775. //顶部导航选中
  776. .is-active{
  777. background: $acquiesceThemeColorB;
  778. --theme: $acquiesceThemeColorB;
  779. }
  780. //顶部导航按钮
  781. .el-menu-item{
  782. padding:0 20px!important;
  783. margin:0!important;
  784. font-size:16px;
  785. font-weight:500;
  786. }
  787. //顶部导航悬浮
  788. .el-menu-item:hover{
  789. background: $acquiesceThemeColorB;
  790. }
  791. //顶部导航-更多按钮
  792. .el-submenu__title{
  793. color:$acquiesceThemeColorE!important;
  794. height:80px!important;
  795. line-height:80px!important;
  796. margin:0!important;
  797. padding:0 20px!important;
  798. font-size:16px;
  799. font-weight:500;
  800. .el-submenu__icon-arrow{
  801. margin-top:-2px!important;
  802. }
  803. }
  804. //顶部导航-更多悬浮
  805. .el-submenu__title:hover{
  806. background: $acquiesceThemeColorB;
  807. }
  808. }
  809. /*************************左侧导航样式*************************/
  810. .sidebar-container {
  811. width:300px;
  812. -webkit-transition: width .28s;
  813. transition: width 0.28s;
  814. background-color: $acquiesceThemeColorE;
  815. height: 100%;
  816. font-size: 0;
  817. top: 0;
  818. bottom: 0;
  819. left: 0;
  820. z-index: 11;
  821. -webkit-box-shadow: 2px 0 6px rgba(0,21,41,.35);
  822. overflow: hidden;
  823. padding:0 20px;
  824. box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.1);
  825. //logo栏
  826. .sidebar-logo-container{
  827. background:$acquiesceThemeColorE;
  828. }
  829. .theme-dark{
  830. .nest-menu{
  831. svg{
  832. display: none;
  833. }
  834. span{
  835. margin-left:30px;
  836. font-size:14px;
  837. }
  838. }
  839. }
  840. .horizontal-collapse-transition {
  841. transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
  842. }
  843. .scrollbar-wrapper {
  844. overflow-x: hidden !important;
  845. //padding-right:17px;
  846. }
  847. .scrollbar-wrapper::-webkit-scrollbar{
  848. display: none;
  849. }
  850. .el-scrollbar__bar.is-vertical {
  851. right: 0;
  852. display: none;
  853. }
  854. .el-scrollbar {
  855. height: 100%;
  856. }
  857. &.has-logo {
  858. .el-scrollbar {
  859. height: calc(100% - 50px);
  860. }
  861. }
  862. .is-horizontal {
  863. display: none;
  864. }
  865. .svg-icon {
  866. margin-right: 16px;
  867. }
  868. .el-menu {
  869. background: $acquiesceThemeColorE;
  870. font-family: Microsoft YaHei;
  871. font-weight: bold;
  872. border: none;
  873. height: 100%;
  874. width:260px;
  875. span{
  876. font-weight: 700;
  877. }
  878. }
  879. //左侧菜单
  880. .el-menu-item,
  881. .submenu-title-noDropdown,
  882. .el-submenu__title {
  883. overflow: hidden;
  884. text-overflow: ellipsis;
  885. white-space: nowrap;
  886. background:$acquiesceThemeColorE!important;
  887. color:$acquiesceThemeColorD!important;
  888. font-size:16px;
  889. font-weight:700;
  890. margin:10px 0 0 0;
  891. border-radius:10px;
  892. height:40px;
  893. line-height:40px;
  894. svg{
  895. color:$acquiesceThemeColorA!important;
  896. }
  897. span{
  898. display: inline-block;
  899. margin-top:-3px;
  900. }
  901. i{
  902. display: inline-block;
  903. }
  904. }
  905. //左侧菜单-悬浮/选中
  906. .el-menu-item:hover,
  907. .submenu-title-noDropdown:hover,
  908. .el-submenu__title:hover{
  909. background:$acquiesceThemeColorA!important;
  910. color:$acquiesceThemeColorE!important;
  911. span{
  912. color:$acquiesceThemeColorE!important;
  913. }
  914. i{
  915. color:$acquiesceThemeColorE!important;
  916. }
  917. svg{
  918. color:$acquiesceThemeColorE!important;
  919. }
  920. }
  921. .check-menu-box {
  922. display: inline-block;
  923. width:260px;
  924. overflow: hidden;
  925. //左侧选中样式
  926. .is-active{
  927. background:$acquiesceThemeColorA!important;
  928. color:$acquiesceThemeColorE!important;
  929. span{
  930. color:$acquiesceThemeColorE!important;
  931. }
  932. i{
  933. color:$acquiesceThemeColorE!important;
  934. }
  935. svg{
  936. color:$acquiesceThemeColorE!important;
  937. }
  938. }
  939. }
  940. a {
  941. display: inline-block;
  942. width: 100%;
  943. overflow: hidden;
  944. //左侧选中样式
  945. .is-active{
  946. background:$acquiesceThemeColorA!important;
  947. color:$acquiesceThemeColorE!important;
  948. span{
  949. color:$acquiesceThemeColorE!important;
  950. }
  951. i{
  952. color:$acquiesceThemeColorE!important;
  953. }
  954. svg{
  955. color:$acquiesceThemeColorE!important;
  956. }
  957. }
  958. }
  959. }
  960. .hideSidebar {
  961. .sidebar-container {
  962. width: 54px !important;//屏幕适配
  963. }
  964. .main-container {
  965. margin-left: 54px;
  966. }
  967. .submenu-title-noDropdown {
  968. padding: 0 !important;
  969. position: relative;
  970. .el-tooltip {
  971. padding: 0 !important;
  972. .svg-icon {
  973. margin-left: 20px;
  974. }
  975. }
  976. }
  977. .el-submenu {
  978. overflow: hidden;
  979. &>.el-submenu__title {
  980. padding: 0 !important;
  981. .svg-icon {
  982. margin-left: 20px;
  983. }
  984. }
  985. }
  986. .el-menu--collapse {
  987. .el-submenu {
  988. &>.el-submenu__title {
  989. &>span {
  990. height: 0;
  991. width: 0;
  992. overflow: hidden;
  993. visibility: hidden;
  994. display: inline-block;
  995. }
  996. }
  997. }
  998. }
  999. }
  1000. // mobile responsive
  1001. .mobile {
  1002. .main-container {
  1003. margin-left: 0;
  1004. }
  1005. .sidebar-container {
  1006. transition: transform .28s;
  1007. width: 200px !important;
  1008. }
  1009. &.hideSidebar {
  1010. .sidebar-container {
  1011. pointer-events: none;
  1012. transition-duration: 0.3s;
  1013. transform: translate3d(-200px, 0, 0);
  1014. }
  1015. }
  1016. }
  1017. .withoutAnimation {
  1018. .main-container,
  1019. .sidebar-container {
  1020. transition: none;
  1021. }
  1022. }
  1023. }
  1024. // when menu collapsed
  1025. .el-menu--vertical {
  1026. &>.el-menu {
  1027. .svg-icon {
  1028. margin-right: 16px;
  1029. }
  1030. }
  1031. .nest-menu .el-submenu>.el-submenu__title,
  1032. .el-menu-item {
  1033. &:hover {
  1034. background-color: rgba(0, 0, 0, 0.06) !important;
  1035. }
  1036. }
  1037. >.el-menu--popup {
  1038. max-height: 100vh;
  1039. overflow-y: auto;
  1040. &::-webkit-scrollbar-track-piece {
  1041. background: $acquiesceThemeScrollbarC;
  1042. }
  1043. &::-webkit-scrollbar {
  1044. width: 6px;
  1045. }
  1046. &::-webkit-scrollbar-thumb {
  1047. background: $acquiesceThemeScrollbarC;
  1048. border-radius: 20px;
  1049. }
  1050. }
  1051. }
  1052. //右侧小图标-菜单关闭
  1053. .el-submenu>.el-submenu__title .el-submenu__icon-arrow{
  1054. -webkit-transform: rotateZ(-90deg);
  1055. -ms-transform: rotate(-90deg);
  1056. transform: rotateZ(-90deg);
  1057. margin-top: -10px;
  1058. }
  1059. //右侧小图标-菜单展开
  1060. .el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow{
  1061. -webkit-transform: rotateZ(0deg);
  1062. -ms-transform: rotate(0deg);
  1063. transform: rotateZ(0deg);
  1064. margin-top: -10px;
  1065. }
  1066. //右侧小图标-样式
  1067. .el-submenu>.el-submenu__title .el-submenu__icon-arrow::before{
  1068. font-size:20px;
  1069. }
  1070. /*************************btn*************************/
  1071. @mixin colorBtn($color) {
  1072. background: $color;
  1073. &:hover {
  1074. color: $color;
  1075. &:before,
  1076. &:after {
  1077. background: $color;
  1078. }
  1079. }
  1080. }
  1081. .blue-btn {
  1082. @include colorBtn($blue)
  1083. }
  1084. .light-blue-btn {
  1085. @include colorBtn($light-blue)
  1086. }
  1087. .red-btn {
  1088. @include colorBtn($red)
  1089. }
  1090. .pink-btn {
  1091. @include colorBtn($pink)
  1092. }
  1093. .green-btn {
  1094. @include colorBtn($green)
  1095. }
  1096. .tiffany-btn {
  1097. @include colorBtn($tiffany)
  1098. }
  1099. .yellow-btn {
  1100. @include colorBtn($yellow)
  1101. }
  1102. .pan-btn {
  1103. font-size: 14px;
  1104. color: #fff;
  1105. padding: 14px 36px;
  1106. border-radius: 8px;
  1107. border: none;
  1108. outline: none;
  1109. transition: 600ms ease all;
  1110. position: relative;
  1111. display: inline-block;
  1112. &:hover {
  1113. background: #fff;
  1114. &:before,
  1115. &:after {
  1116. width: 100%;
  1117. transition: 600ms ease all;
  1118. }
  1119. }
  1120. &:before,
  1121. &:after {
  1122. content: '';
  1123. position: absolute;
  1124. top: 0;
  1125. right: 0;
  1126. height: 2px;
  1127. width: 0;
  1128. transition: 400ms ease all;
  1129. }
  1130. &::after {
  1131. right: inherit;
  1132. top: inherit;
  1133. left: 0;
  1134. bottom: 0;
  1135. }
  1136. }
  1137. .custom-button {
  1138. display: inline-block;
  1139. line-height: 1;
  1140. white-space: nowrap;
  1141. cursor: pointer;
  1142. background: #fff;
  1143. color: #fff;
  1144. -webkit-appearance: none;
  1145. text-align: center;
  1146. box-sizing: border-box;
  1147. outline: 0;
  1148. margin: 0;
  1149. padding: 10px 15px;
  1150. font-size: 14px;
  1151. border-radius: 4px;
  1152. }
  1153. /*************************mixin*************************/
  1154. @mixin clearfix {
  1155. &:after {
  1156. content: "";
  1157. display: table;
  1158. clear: both;
  1159. }
  1160. }
  1161. @mixin scrollBar {
  1162. &::-webkit-scrollbar-track-piece {
  1163. background: #d3dce6;
  1164. }
  1165. &::-webkit-scrollbar {
  1166. width: 6px;
  1167. }
  1168. &::-webkit-scrollbar-thumb {
  1169. background: #99a9bf;
  1170. border-radius: 20px;
  1171. }
  1172. }
  1173. @mixin relative {
  1174. position: relative;
  1175. width: 100%;
  1176. height: 100%;
  1177. }
  1178. @mixin pct($pct) {
  1179. width: #{$pct};
  1180. position: relative;
  1181. margin: 0 auto;
  1182. }
  1183. @mixin triangle($width, $height, $color, $direction) {
  1184. $width: $width/2;
  1185. $color-border-style: $height solid $color;
  1186. $transparent-border-style: $width solid transparent;
  1187. height: 0;
  1188. width: 0;
  1189. @if $direction==up {
  1190. border-bottom: $color-border-style;
  1191. border-left: $transparent-border-style;
  1192. border-right: $transparent-border-style;
  1193. }
  1194. @else if $direction==right {
  1195. border-left: $color-border-style;
  1196. border-top: $transparent-border-style;
  1197. border-bottom: $transparent-border-style;
  1198. }
  1199. @else if $direction==down {
  1200. border-top: $color-border-style;
  1201. border-left: $transparent-border-style;
  1202. border-right: $transparent-border-style;
  1203. }
  1204. @else if $direction==left {
  1205. border-right: $color-border-style;
  1206. border-top: $transparent-border-style;
  1207. border-bottom: $transparent-border-style;
  1208. }
  1209. }
  1210. /*************************transition*************************/
  1211. // global transition css
  1212. /* fade */
  1213. .fade-enter-active,
  1214. .fade-leave-active {
  1215. transition: opacity 0.28s;
  1216. }
  1217. .fade-enter,
  1218. .fade-leave-active {
  1219. opacity: 0;
  1220. }
  1221. /* fade-transform */
  1222. .fade-transform-leave-active,
  1223. .fade-transform-enter-active {
  1224. transition: all .5s;
  1225. }
  1226. .fade-transform-enter {
  1227. opacity: 0;
  1228. transform: translateX(-30px);
  1229. }
  1230. .fade-transform-leave-to {
  1231. opacity: 0;
  1232. transform: translateX(30px);
  1233. }
  1234. /* breadcrumb transition */
  1235. .breadcrumb-enter-active,
  1236. .breadcrumb-leave-active {
  1237. transition: all .5s;
  1238. }
  1239. .breadcrumb-enter,
  1240. .breadcrumb-leave-active {
  1241. opacity: 0;
  1242. transform: translateX(20px);
  1243. }
  1244. .breadcrumb-move {
  1245. transition: all .5s;
  1246. }
  1247. .breadcrumb-leave-active {
  1248. position: absolute;
  1249. }
  1250. /************* 页面switch样式 **************/
  1251. .page-switch{
  1252. .el-switch{
  1253. margin-top:2px;
  1254. }
  1255. .el-switch__label {
  1256. position: absolute;
  1257. display: none;
  1258. color: #fff !important;
  1259. }
  1260. .el-switch__label--right {
  1261. z-index: 1;
  1262. }
  1263. .el-switch__label--right span{
  1264. margin-left: 14px;
  1265. }
  1266. .el-switch__label--left {
  1267. z-index: 1;
  1268. }
  1269. .el-switch__label--left span{
  1270. margin-left: 29px;
  1271. }
  1272. .el-switch__label.is-active {
  1273. display: block;
  1274. }
  1275. .el-switch .el-switch__core,
  1276. .el-switch .el-switch__label {
  1277. width: 70px !important;
  1278. margin: 0;
  1279. height: 30px;
  1280. line-height: 30px;
  1281. border-radius:15px;
  1282. }
  1283. .el-switch__core:after{
  1284. top: 6px;
  1285. left: 6px;
  1286. }
  1287. .el-switch.is-checked .el-switch__core::after{
  1288. margin-left:-21px;
  1289. }
  1290. }
  1291. /************* el-input-number 操作按钮样式修复 **************/
  1292. .el-input-number--medium .el-input-number__increase, .el-input-number--medium .el-input-number__decrease{
  1293. height:38px;
  1294. line-height:38px;
  1295. }
  1296. /************* 新子组件头部标题与按钮样式 ****************/
  1297. .page-container-top-max-big-box {
  1298. height: 60px;
  1299. display: flex;
  1300. overflow: hidden;
  1301. padding: 0 20px;
  1302. border-bottom: 1px solid #dedede;
  1303. align-items: center;
  1304. .top-1-p {
  1305. flex: 1;
  1306. font-size: 16px;
  1307. }
  1308. .top-2-p {
  1309. height: 35px;
  1310. line-height: 33px;
  1311. margin-left: 20px;
  1312. padding: 0 20px;
  1313. border-radius: 4px;
  1314. background-color: #fff;
  1315. border: 1px solid #999;
  1316. color: #999;
  1317. cursor: pointer;
  1318. }
  1319. .top-3-p {
  1320. height: 35px;
  1321. line-height: 33px;
  1322. margin-left: 20px;
  1323. padding: 0 20px;
  1324. border-radius: 4px;
  1325. background-color: #dedede;
  1326. border: 1px solid #dedede;
  1327. color: #333;
  1328. cursor: pointer;
  1329. }
  1330. .top-4-p {
  1331. height: 35px;
  1332. line-height: 33px;
  1333. margin-left: 20px;
  1334. padding: 0 20px;
  1335. border-radius: 4px;
  1336. background-color: #0183fa;
  1337. border: 1px solid #0183fa;
  1338. color: #fff;
  1339. cursor: pointer;
  1340. }
  1341. }
  1342. /************* 单选按钮 位置修复 ****************/
  1343. .el-radio{
  1344. margin-top:5px;
  1345. }
  1346. .el-cascader-panel{
  1347. .el-radio{
  1348. margin-top:2px;
  1349. }
  1350. }