index.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674
  1. @import "./variables.scss";
  2. @import "./mixin.scss";
  3. @import "./transition.scss";
  4. @import "./element-ui.scss";
  5. @import "./sidebar.scss";
  6. @import "./btn.scss";
  7. .pagePadding{
  8. padding: 8px 20px 20px 20px;
  9. }
  10. body {
  11. height: 100%;
  12. -moz-osx-font-smoothing: grayscale;
  13. -webkit-font-smoothing: antialiased;
  14. text-rendering: optimizeLegibility;
  15. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
  16. Microsoft YaHei, Arial, sans-serif;
  17. }
  18. #add-more {
  19. font-family: "Microsoft Yahei", Arial, 黑体, 宋体, sans-serif;
  20. font-size: 14px;
  21. color: rgb(132, 146, 166);
  22. padding: 0 20px;
  23. height: 30px;
  24. line-height: 30px;
  25. margin-bottom: -5px;
  26. &:hover {
  27. cursor: pointer;
  28. }
  29. }
  30. label {
  31. font-weight: 700;
  32. }
  33. .hasHover{
  34. &:hover{
  35. cursor: pointer!important;
  36. }
  37. }
  38. html {
  39. height: 100%;
  40. box-sizing: border-box;
  41. }
  42. .mini-link{
  43. padding:0 4px;
  44. span{
  45. display: inline-block;
  46. height: 23px;
  47. font-size: 12px;
  48. }
  49. }
  50. #app {
  51. height: 100%;
  52. }
  53. *,
  54. *:before,
  55. *:after {
  56. box-sizing: inherit;
  57. }
  58. .no-padding {
  59. padding: 0px !important;
  60. }
  61. .padding-content {
  62. padding: 4px 0;
  63. }
  64. a:focus,
  65. a:active {
  66. outline: none;
  67. }
  68. .hover-tag{
  69. &:hover{
  70. cursor: pointer!important;
  71. }
  72. }
  73. a,
  74. a:focus,
  75. a:hover {
  76. cursor: pointer;
  77. color: inherit;
  78. text-decoration: none;
  79. }
  80. .el-checkbox{
  81. margin: 0 20px 5px 0;
  82. }
  83. .el-radio{
  84. margin: 6px 20px 6px 0;
  85. }
  86. div:focus {
  87. outline: none;
  88. }
  89. .fr {
  90. float: right;
  91. }
  92. .fl {
  93. float: left;
  94. }
  95. .pr-5 {
  96. padding-right: 5px;
  97. }
  98. .pl-5 {
  99. padding-left: 5px;
  100. }
  101. .block {
  102. display: block;
  103. }
  104. .pointer {
  105. cursor: pointer;
  106. }
  107. .inlineBlock {
  108. display: block;
  109. }
  110. .clearfix {
  111. &:after {
  112. visibility: hidden;
  113. display: block;
  114. font-size: 0;
  115. content: " ";
  116. clear: both;
  117. height: 0;
  118. }
  119. }
  120. .el-list-select-input{
  121. li{
  122. float: left;
  123. &:first-child{
  124. width: 115px;
  125. background: #F5F7FA;
  126. .el-input{
  127. input{
  128. border-top-right-radius: 0;
  129. border-bottom-right-radius: 0;
  130. background: #F5F7FA;
  131. border-right: 0;
  132. }
  133. }
  134. }
  135. &:last-child{
  136. width: calc(100% - 115px);
  137. .el-input{
  138. input{
  139. border-top-left-radius: 0;
  140. border-bottom-left-radius: 0;
  141. }
  142. }
  143. }
  144. }
  145. }
  146. .right{
  147. .ladder-body{
  148. ul{
  149. li{
  150. .el-input-number{
  151. .el-input{
  152. input.el-input_inner{
  153. border-radius: 0!important;
  154. }
  155. }
  156. }
  157. }
  158. }
  159. }
  160. }
  161. #el-cor-full-style{
  162. width: calc( 100% - 316px)!important;
  163. padding: 0 0 0 10px!important;
  164. }
  165. #tl-number{
  166. .el-input{
  167. input{
  168. text-align: left;
  169. }
  170. }
  171. }
  172. .el-tree-node__content{
  173. height: 35px;
  174. }
  175. .el-tree-node__content>#custom-tree-node {
  176. flex: 1;
  177. display: flex;
  178. align-items: center;
  179. justify-content: space-between;
  180. font-size: 14px;
  181. border-bottom: 1px solid #eaeefb;
  182. padding-right: 8px;
  183. >div{
  184. span{
  185. display: inline-block;
  186. padding:8px 0;
  187. &.el-tag.el-tag--warning{
  188. padding:0 5px;
  189. }
  190. }
  191. }
  192. }
  193. aside {
  194. background: #eef1f6;
  195. padding: 8px 24px;
  196. margin-bottom: 20px;
  197. border-radius: 2px;
  198. display: block;
  199. line-height: 32px;
  200. font-size: 16px;
  201. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
  202. Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  203. color: #2c3e50;
  204. -webkit-font-smoothing: antialiased;
  205. -moz-osx-font-smoothing: grayscale;
  206. a {
  207. color: #337ab7;
  208. cursor: pointer;
  209. &:hover {
  210. color: rgb(32, 160, 255);
  211. }
  212. }
  213. }
  214. .tl {
  215. text-align: left;
  216. }
  217. .tc {
  218. text-align: center;
  219. }
  220. .tr {
  221. text-align: right;
  222. }
  223. //main-container全局样式
  224. .clear::after,
  225. .clear::before {
  226. // content: "";
  227. // height: 0px;
  228. // display: block;
  229. clear: both;
  230. }
  231. // .el-steps--simple {
  232. // background: transparent;
  233. // }
  234. .code-main {
  235. float: left;
  236. width: 100%;
  237. list-style-type: none;
  238. padding: 0;
  239. margin: 0;
  240. vertical-align: top;
  241. li {
  242. float: left;
  243. list-style-type: none;
  244. height: 40px;
  245. padding: 0;
  246. margin: 0;
  247. &:first-child {
  248. width: calc(100% - 90px);
  249. .el-input__inner {
  250. border-top-right-radius: 0;
  251. border-bottom-right-radius: 0;
  252. border-right: 0;
  253. }
  254. .el-input {
  255. border-top-right-radius: 0;
  256. border-bottom-right-radius: 0;
  257. }
  258. }
  259. }
  260. }
  261. .app-container {
  262. padding: 20px;
  263. }
  264. .components-container {
  265. margin: 30px 50px;
  266. position: relative;
  267. }
  268. .pagination-container {
  269. margin-top: 30px;
  270. }
  271. .text-center {
  272. text-align: center;
  273. }
  274. .sub-navbar {
  275. height: 50px;
  276. line-height: 50px;
  277. position: relative;
  278. width: 100%;
  279. text-align: right;
  280. padding-right: 20px;
  281. transition: 600ms ease position;
  282. background: linear-gradient(
  283. 90deg,
  284. rgba(32, 182, 249, 1) 0%,
  285. rgba(32, 182, 249, 1) 0%,
  286. rgba(33, 120, 241, 1) 100%,
  287. rgba(33, 120, 241, 1) 100%
  288. );
  289. .subtitle {
  290. font-size: 20px;
  291. color: #fff;
  292. }
  293. &.draft {
  294. background: #d0d0d0;
  295. }
  296. &.deleted {
  297. background: #d0d0d0;
  298. }
  299. }
  300. .link-type,
  301. .link-type:focus {
  302. color: #337ab7;
  303. cursor: pointer;
  304. &:hover {
  305. color: rgb(32, 160, 255);
  306. }
  307. }
  308. .filter-container {
  309. padding-bottom: 10px;
  310. .filter-item {
  311. display: inline-block;
  312. vertical-align: middle;
  313. margin-bottom: 10px;
  314. }
  315. }
  316. .demo-goods-ruleForm{
  317. .el-form-item{
  318. margin: 0!important;
  319. }
  320. }
  321. //refine vue-multiselect plugin
  322. .multiselect {
  323. line-height: 16px;
  324. }
  325. .multiselect--active {
  326. z-index: 1000 !important;
  327. }
  328. #yewuInput.el-input-number .el-input__inner input {
  329. text-align: left;
  330. }
  331. .el-form-item--mini .el-form-item__label {
  332. // line-height: 15px;
  333. }
  334. .tb-icon,.tb-download {
  335. margin: 0 6px;
  336. font-size: 17px;
  337. width: 17px;
  338. height: 17px;
  339. vertical-align: top;
  340. cursor: pointer;
  341. &.el-icon-s-check{
  342. line-height: 19px;
  343. font-size: 18px;;
  344. }
  345. &:hover {
  346. color: 3888e5;
  347. }
  348. }
  349. .el-step__title{
  350. // font-size: 14px!important;
  351. }
  352. .el-carousel__indicators--outside{
  353. display: none;
  354. }
  355. .el-input.is-disabled.errorInput{
  356. input.el-input__inner{
  357. border:1px solid #ff8888!important;
  358. color: #ff8888!important;
  359. }
  360. }
  361. .el-form-item.errorForm{
  362. label.el-form-item__label{
  363. color: #ff8888!important;
  364. }
  365. .el-form-item__content{
  366. // .is-disabled
  367. .el-input{
  368. input.el-input__inner{
  369. border:1px solid #ff8888!important;
  370. color: #ff8888!important;
  371. }
  372. }
  373. }
  374. }
  375. .dropzone .dz-message{
  376. margin: 8em 0!important;
  377. }
  378. .dropzone .dz-preview.dz-image-preview{
  379. background: transparent!important;
  380. }
  381. // .el-collapse-item__wrap{
  382. // overflow-y: scroll!important;
  383. // max-height: 500px!important;
  384. // }
  385. .el-collapse-item__content{
  386. padding:0!important;
  387. }
  388. .el-table__expanded-cell[class*=cell] {
  389. // padding: 20px 20px 20px 50px!important;
  390. }
  391. .notAnniu.el-input-number.el-input-number--mini.is-controls-right{
  392. span.el-input-number__decrease{
  393. display: none!important;
  394. }
  395. span.el-input-number__increase{
  396. display: none!important;
  397. }
  398. .el-input.el-input--mini{
  399. .el-input__inner{
  400. padding-right: 15px!important;
  401. text-align: left;
  402. }
  403. }
  404. }
  405. .el-form-item.el-form-item--feedback.el-form-item--mini.noMargin{
  406. .el-form-item__content
  407. {
  408. margin: 0!important;
  409. }
  410. }
  411. .my-el-alert.el-alert.is-light{
  412. &.el-alert--success{
  413. color: #63cbe7!important;
  414. background: #effafd!important;
  415. border-color: #c1eaf5!important;
  416. }
  417. .el-alert__content>.el-alert__title{
  418. vertical-align: top!important;
  419. display: inline-block!important;
  420. font-size: 17px!important;
  421. line-height: 30px!important;
  422. }
  423. .el-alert__icon{
  424. display: inline-block!important;
  425. vertical-align: top!important;
  426. width: 30px!important;
  427. height: 30px!important;
  428. font-size: 26px!important;
  429. line-height: 30px!important;
  430. text-align: center!important;
  431. }
  432. }
  433. .fl-col{
  434. position: relative;
  435. .fl-tag{
  436. position: absolute;
  437. z-index: 4;
  438. top:0;
  439. left:0;
  440. }
  441. }
  442. .my-el-divider.el-divider.el-divider--horizontal{
  443. margin: 12px 0!important;
  444. .el-divider__text.is-center{
  445. padding:0 10px!important;
  446. color: #63cbe7!important;
  447. }
  448. }
  449. .el-table__fixed-right {
  450. height: 100% !important;
  451. }
  452. .el-table__fixed-left {
  453. height: 100% !important;
  454. }
  455. .el-table .warning-row {
  456. background: #f5f7fa !important;
  457. // background: oldlace !important;
  458. }
  459. .el-table .success-row {
  460. background: #f0f9eb !important;
  461. }
  462. .projectDetail,.zxDiffOrderDetail,.zxReturnDetail {
  463. .modal-form-style {
  464. #demo-sitem.el-form {
  465. .el-row {
  466. border-left: 1px solid #ebeef5 !important;
  467. border-top : 1px solid #ebeef5 !important;
  468. .el-col {
  469. border-bottom: 1px solid #ebeef5 !important;
  470. border-right: 1px solid #ebeef5 !important;
  471. .el-form-item {
  472. margin: 0 !important;
  473. // >.el-form-item__label {
  474. // border-right: 1px solid #ebeef5 !important;
  475. // }
  476. }
  477. label.el-form-item__label {
  478. background: #fafafa !important;
  479. font-weight: 400!important;
  480. color: #909399!important;
  481. border-right: 1px solid #ebeef5 !important;
  482. }
  483. .el-form-item__content{
  484. padding:0 0 0 12px!important;
  485. color: #606266!important;
  486. }
  487. }
  488. }
  489. }
  490. }
  491. }
  492. .processTimeLine {
  493. .el-step__head.is-finish {
  494. color: #e8e8e8 !important;
  495. border-color: #e8e8e8 !important;
  496. .el-step__line{
  497. background: #e8e8e8!important;
  498. }
  499. .el-step__line-inner{
  500. background: #e8e8e8!important;
  501. }
  502. .el-step__icon.is-icon {
  503. color: #30b08f !important;
  504. border-color: #30b08f !important;
  505. }
  506. // background: #e8e8e8!important;
  507. }
  508. .el-step__main{
  509. .el-step__title.is-finish{
  510. color: rgba(0,0,0,.85)!important;
  511. font-size: 16px!important;
  512. }
  513. .el-step__description.is-finish{
  514. .name,.item,.time{
  515. line-height: 23px!important;
  516. color: rgba(0,0,0,.85)!important;
  517. }
  518. .time{
  519. color: rgba(0,0,0,.45)!important;
  520. }
  521. }
  522. }
  523. }
  524. .detail-page-title{
  525. line-height: 28px!important;
  526. height: 28px!important;
  527. // font-size: 16px!important;
  528. padding:0!important;
  529. margin: 20px 0 30px 0!important;
  530. // span.title{
  531. // line-height: 50px!important;
  532. // font-size: 16px!important;
  533. // margin: 0 20px 0 0;
  534. // }
  535. }
  536. .exam-content{
  537. line-height: 28px!important;
  538. height: 28px!important;
  539. // font-size: 16px!important;
  540. padding:0!important;
  541. margin: 0 0 20px 0!important;
  542. &::after,&::before{
  543. content: "";
  544. display: block;
  545. clear: both;
  546. }
  547. }
  548. .activity-upload {
  549. position: relative;
  550. .btnupload {
  551. float: left;
  552. border: 1px solid rgb(220, 223, 230);
  553. box-sizing: border-box;
  554. width: 102px;
  555. height: 102px;
  556. line-height: 102px;
  557. text-align: center;
  558. }
  559. .Upload {
  560. width: 102px;
  561. height: 102px;
  562. line-height: 102px;
  563. text-align: center;
  564. position: absolute;
  565. line-height: 0px;
  566. top: 0;
  567. left: 0;
  568. line-height: 102px;
  569. }
  570. .fileUp {
  571. vertical-align: top;
  572. }
  573. .avatar {
  574. width: 102px;
  575. height: 102px;
  576. line-height: 102px;
  577. text-align: center;
  578. }
  579. .avatar-uploader .el-upload:hover {
  580. border-color: #409eff;
  581. }
  582. .avatar-uploader-icon {
  583. font-size: 28px;
  584. color: #8c939d;
  585. width: 50px;
  586. height: 50px;
  587. line-height: 50px;
  588. text-align: center;
  589. }
  590. .avatar {
  591. width: 100%;
  592. height: 100%;
  593. display: block;
  594. }
  595. .txt-tips {
  596. display: inline-block;
  597. font-size: 12px;
  598. color: #606266;
  599. padding: 9px 0 0 15px;
  600. p {
  601. margin: 0;
  602. line-height: 28px;
  603. }
  604. }
  605. .avatar-uploader .el-upload {
  606. border: 1px dashed #DCDFE6;
  607. border-radius: 6px;
  608. cursor: pointer;
  609. position: relative;
  610. overflow: hidden;
  611. }
  612. }
  613. .hover{
  614. &:hover{
  615. cursor: pointer!important;
  616. }
  617. }