public.scss 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595
  1. @import "../icon/fire/iconfont.css";
  2. @import "../icon/fuse/iconfont.css";
  3. * {
  4. margin : 0;
  5. padding: 0;
  6. }
  7. html {
  8. font-size: 14px;
  9. }
  10. html,
  11. body {
  12. width : 100%;
  13. height: 100%;
  14. }
  15. :root {
  16. --primaryColor: var(--el-color-primary);
  17. --colorColor : #303133;
  18. --bgColor : #f0f2f5;
  19. }
  20. body {
  21. font-family: "Microsoft YaHei";
  22. color : var(--colorColor);
  23. overflow : auto;
  24. }
  25. #app {
  26. position : relative;
  27. min-width : 1280px;
  28. min-height: 760px;
  29. height : 100%;
  30. overflow : hidden;
  31. }
  32. .fill.el-button {
  33. width: 100%;
  34. }
  35. .slide {
  36. .el-menu {
  37. border-right: none;
  38. background : #fff;
  39. i {
  40. color : inherit;
  41. margin-right: 8px;
  42. }
  43. }
  44. .el-menu-item.is-active {
  45. position : relative;
  46. background: var(--el-menu-hover-bg-color);
  47. &::after {
  48. content : "";
  49. position : absolute;
  50. top : 0;
  51. bottom : 0;
  52. width : 2px;
  53. right : 0;
  54. background-color: var(--primaryColor);
  55. }
  56. }
  57. .el-menu-item,
  58. .el-menu-item i {
  59. transition: none;
  60. }
  61. .el-submenu__title {
  62. background-color: #fff !important;
  63. }
  64. .el-submenu__title,
  65. .el-submenu__title i {
  66. color: rgb(191, 191, 191) !important;
  67. }
  68. .el-submenu i {
  69. vertical-align: baseline;
  70. }
  71. }
  72. .head-layer {
  73. flex: 0 0 auto;
  74. }
  75. .body-layer {
  76. flex : 1;
  77. overflow-y : auto;
  78. margin-top : 8px;
  79. background-color: #fff;
  80. border-radius : 4px;
  81. padding : 0 24px;
  82. display : flex;
  83. flex-direction : column;
  84. .body-head {
  85. height: 72px;
  86. display : flex;
  87. justify-content: space-between;
  88. align-items : center;
  89. h3 {
  90. font-size : 1.14rem;
  91. font-weight: normal;
  92. padding : 17px 0;
  93. color : var(--colorColor);
  94. }
  95. }
  96. >* {
  97. flex: 0 0 auto;
  98. }
  99. >.el-table {
  100. flex : 1;
  101. display : flex;
  102. flex-direction: column;
  103. border : 1px solid #d9d9d9;
  104. .el-table__header-wrapper {
  105. background-color: #fafafa;
  106. }
  107. >* {
  108. flex: 0 0 auto;
  109. }
  110. .el-table__body-wrapper {
  111. flex : 1;
  112. overflow-y: auto;
  113. }
  114. }
  115. }
  116. .el-table th {
  117. background: #fafafa;
  118. .cell {
  119. font-size : 14px;
  120. color : var(--colorColor);
  121. font-weight: normal;
  122. }
  123. }
  124. .pag-block {
  125. margin-top : 16px;
  126. margin-bottom: 16px;
  127. .el-pagination {
  128. display: flex;
  129. }
  130. &.no-sizes {
  131. .el-pagination__total {
  132. flex : 1;
  133. text-align: left;
  134. }
  135. }
  136. .el-pagination__sizes {
  137. flex : 1;
  138. text-align: left;
  139. }
  140. }
  141. .head-layer .el-tabs__nav-wrap {
  142. padding: 0 24px;
  143. }
  144. .el-tabs--top .el-tabs__nav{
  145. padding-bottom: 16px;
  146. }
  147. .el-tabs__item {
  148. font-size : 16px;
  149. line-height: 56px;
  150. height : 56px;
  151. }
  152. .el-tabs__nav-wrap::after {
  153. height: 1px;
  154. }
  155. .stop-psw {
  156. position: absolute;
  157. left : -9999999999px;
  158. top : -999999999px;
  159. }
  160. .oper-span {
  161. --color : #26559b !important;
  162. color : #26559b;
  163. font-size: 14px;
  164. outline : none !important;
  165. margin: 0 8px;
  166. &:first-child {
  167. margin-left: 0;
  168. }
  169. &:not(.disable) {
  170. cursor: pointer;
  171. }
  172. }
  173. .el-dropdown-menu {
  174. position : initial;
  175. transform: none;
  176. margin : 0;
  177. }
  178. .el-dropdown-menu__item {
  179. word-break: keep-all;
  180. }
  181. .head-content {
  182. .el-form {
  183. display : grid;
  184. grid-gap : 20px;
  185. grid-template-columns: repeat(3, 1fr) 160px;
  186. }
  187. .el-form-item {
  188. display: flex;
  189. flex : 0 0 auto;
  190. }
  191. .el-form-item__label {
  192. flex: 0 0 auto;
  193. }
  194. .el-form-item__content {
  195. flex: 1;
  196. }
  197. .el-select {
  198. display: block;
  199. }
  200. .el-date-editor--daterange.el-input__inner,
  201. .el-form-item__content {
  202. width : 100%;
  203. max-width: 300px;
  204. }
  205. .searh-btns {
  206. min-width: 153px;
  207. grid-area: 1 / 4 / 2 / 5;
  208. .el-form-item__content {
  209. width : 100%;
  210. max-width : inherit;
  211. margin-left: 0 !important;
  212. align-items: flex-start;
  213. }
  214. }
  215. }
  216. .mandatory {
  217. .el-form-item__label {
  218. position: relative;
  219. &::before {
  220. content: "*";
  221. color : var(--primaryColor);
  222. }
  223. }
  224. }
  225. .el-autocomplete-suggestion,
  226. .el-select-dropdown {
  227. // margin-top: -10px;
  228. }
  229. .info-from {
  230. width : 380px;
  231. margin: 0 auto;
  232. }
  233. .loading {
  234. i,
  235. .el-loading-text {
  236. color: inherit;
  237. }
  238. }
  239. /*滚动条整体部分,必须要设置*/
  240. ::-webkit-scrollbar {
  241. width : 5px;
  242. height: 5px;
  243. }
  244. /*滚动条的滑块按钮*/
  245. ::-webkit-scrollbar-thumb {
  246. border-radius: 10px;
  247. background : var(--bgColor);
  248. }
  249. /*滚动条的上下两端的按钮*/
  250. ::-webkit-scrollbar-button {
  251. display: none;
  252. }
  253. .el-message-box__message {
  254. min-height : 50px;
  255. padding : 0 30px;
  256. display : flex;
  257. align-items: center;
  258. gap : 12px;
  259. }
  260. .el-message-box__container {
  261. position : static !important;
  262. display : flex;
  263. align-items: center;
  264. gap : 12px;
  265. }
  266. .el-message-box__status {
  267. position : static !important;
  268. transform : translate(-40px, -49px);
  269. // top : -20px !important;
  270. // left : -31px;
  271. }
  272. .el-message-box__title span::before {
  273. content: "";
  274. display: inline-block;
  275. width : 30px;
  276. }
  277. .click-row .el-table__body td:not(:first-child) {
  278. cursor: pointer;
  279. }
  280. .stop-psw {
  281. position: absolute;
  282. left : -9999999999px;
  283. top : -999999999px;
  284. }
  285. .el-popper.is-dark {
  286. position : absolute;
  287. border-radius: 4px;
  288. padding : 10px;
  289. z-index : 2000;
  290. font-size : 12px;
  291. line-height : 1.2;
  292. min-width : 10px;
  293. word-wrap : break-word;
  294. background : #303133;
  295. color : #fff;
  296. }
  297. .el-popper:not(.el-cascader__dropdown, .el-picker__popper, .el-dropdown__popper) {
  298. max-width : 500px;
  299. // background: #EFEFEF;
  300. // box-shadow: 0px 2px 4px 0px #e4e4e4;
  301. // border-radius: 2px;
  302. // border: 1px solid #D7D7D7;
  303. padding : 2px 6px;
  304. word-break : break-all;
  305. overflow : hidden;
  306. }
  307. // .is-light.el-popper{
  308. // max-width: 500px;
  309. // background: #EFEFEF;
  310. // box-shadow: 0px 2px 4px 0px #e4e4e4;
  311. // border-radius: 2px;
  312. // border: 1px solid #D7D7D7;
  313. // padding: 2px 6px;
  314. // }
  315. .oper-link {
  316. cursor: pointer;
  317. &:hover {
  318. color: #3366ff;
  319. }
  320. }
  321. .el-table::before {
  322. background: none;
  323. }
  324. .el-date-editor--daterange {
  325. position: relative;
  326. .el-range-separator {
  327. display: none;
  328. }
  329. &::after {
  330. content : "\e6d2";
  331. font-size : 14px;
  332. color : #303133;
  333. position : absolute;
  334. left : 50%;
  335. top : 50%;
  336. transform : translate(-50%, -50%) rotate(90deg);
  337. margin-left : -10px;
  338. font-family : element-icons !important;
  339. speak : none;
  340. font-style : normal;
  341. font-weight : 400;
  342. font-variant : normal;
  343. text-transform: none;
  344. line-height : 1;
  345. vertical-align: baseline;
  346. }
  347. }
  348. .el-input {
  349. position: relative;
  350. .input-inner-btn {
  351. position : absolute;
  352. right : 7px;
  353. top : 50%;
  354. height : 36px;
  355. line-height: 36px;
  356. font-size : 14px;
  357. padding : 0 15px;
  358. text-align : center;
  359. transform : translateY(-50%);
  360. }
  361. }
  362. .head-content .el-date-editor--daterange.el-input__inner {
  363. min-width: 260px;
  364. }
  365. .el-message-box__header {
  366. padding : 34px;
  367. padding-bottom: 0;
  368. }
  369. .el-message-box__headerbtn .el-message-box__close {
  370. display: none;
  371. }
  372. .el-message-box__title {
  373. color : #000;
  374. font-size: 16px;
  375. }
  376. .el-message-box__content {
  377. font-size : 14px;
  378. font-family: PingFangSC-Regular, PingFang SC;
  379. font-weight: 400;
  380. color : rgba(0, 0, 0, 0.65);
  381. }
  382. .el-message-box {
  383. padding-bottom: 24px;
  384. }
  385. .el-message-box__content {
  386. padding: 12px 32px 24px 62px;
  387. }
  388. .el-message-box__message {
  389. padding: 0;
  390. }
  391. .el-message-box__btns {
  392. padding: 0 16px;
  393. }
  394. .el-date-editor--date {
  395. &.el-input--prefix .el-input__inner {
  396. padding-left: 15px;
  397. }
  398. .el-input__prefix {
  399. position : absolute;
  400. height : 100%;
  401. right : 5px;
  402. top : 0;
  403. left : inherit;
  404. text-align : center;
  405. transition : all 0.3s;
  406. pointer-events: none;
  407. }
  408. }
  409. .el-date-editor--daterange {
  410. padding-right: 28px !important;
  411. input {
  412. width: 50% !important;
  413. }
  414. }
  415. .el-date-editor--daterange .el-range__icon {
  416. position: absolute;
  417. right : 5px;
  418. }
  419. .el-date-editor--daterange .el-range__close-icon {
  420. display: none;
  421. }
  422. .el-upload-list__item-name .el-icon-document {
  423. display: none;
  424. }
  425. .el-upload-list__item-name {
  426. font-size : 14px;
  427. font-family : PingFangSC-Regular, PingFang SC;
  428. font-weight : 400;
  429. line-height : 20px;
  430. margin-right: 20px;
  431. }
  432. .el-upload-list__item .el-icon-close {
  433. display: inherit;
  434. }
  435. .el-upload-list__item .el-upload-list__item-status-label {
  436. display: none !important;
  437. }
  438. .el-table th .cell .el-checkbox {
  439. margin-left: 4px;
  440. }
  441. .el-table th .cell, .el-table td.el-table__cell div {
  442. margin-left: 16px;
  443. }
  444. .el-select-dropdown__empty {
  445. padding: 20px 0 10px;
  446. }
  447. .el-table th.el-table__cell {
  448. background-color: #fafafa;
  449. }
  450. .disable {
  451. opacity : 0.3 !important;
  452. pointer-events: none !important;
  453. }
  454. .body-but {
  455. text-align : right;
  456. margin-bottom: 15px;
  457. }
  458. .el-dropdown {
  459. vertical-align: inherit;
  460. }
  461. .header-top {
  462. background-color: var(--primaryColor);
  463. display : flex;
  464. align-items : center;
  465. justify-content : space-between;
  466. padding : 15px 40px;
  467. height : 5.33rem;
  468. box-sizing : border-box;
  469. }
  470. html .el-input-group__append button.el-button {
  471. background-color : var(--el-button-bg-color) !important;
  472. border-color : var(--el-button-border-color) !important;
  473. color : var(--el-button-text-color) !important;
  474. border-top-left-radius : 0 !important;
  475. border-bottom-left-radius: 0 !important;
  476. }
  477. .el-table__empty-block {
  478. width: 100% !important;
  479. }
  480. .el-cascader__dropdown {
  481. max-width: 100%;
  482. }
  483. .el-color-predefine__color-selector {
  484. border: 1px solid #e5e5e5;
  485. }
  486. // :root {
  487. // --el-color-primary: green;
  488. // }