public.scss 9.9 KB

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