main.scss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654
  1. *[hidden="hidden"] {
  2. display: none !important;
  3. }
  4. .z-row {
  5. text-rendering: optimizespeed;
  6. display: flex;
  7. align-items: stretch;
  8. flex-flow: row wrap
  9. }
  10. .z-row.gap .z-1,.z-row.gap .z-3,.z-row.gap .z-4,.z-row.gap .z-6,.z-row.gap .z-8,.z-row.gap .z-12,.z-row.gap .z-16,.z-row.gap .z-18,.z-row.gap .z-20,.z-row.gap .z-21,.z-row.gap .z-col {
  11. padding: .35rem .5rem
  12. }
  13. .z-row>.z-row {
  14. width: 100%
  15. }
  16. .z-1,.z-3,.z-4,.z-6,.z-8,.z-12,.z-16,.z-18,.z-20,.z-21,.z-col {
  17. display: inline-block;
  18. zoom: 1;
  19. box-sizing: border-box;
  20. vertical-align: top;
  21. text-rendering: auto
  22. }
  23. .z-1 {
  24. flex-grow: 1;
  25. flex-shrink: 1;
  26. flex-basis: 0;
  27. max-width: 100%
  28. }
  29. .z-3 {
  30. width: 12.5%;
  31. max-width: 12.5%
  32. }
  33. .z-4 {
  34. width: 16.6667%;
  35. max-width: 16.6667%
  36. }
  37. .z-6 {
  38. width: 25%
  39. }
  40. .z-8 {
  41. width: 33.3333%
  42. }
  43. .z-12 {
  44. width: 50%
  45. }
  46. .z-16 {
  47. width: 66.6667%
  48. }
  49. .z-18 {
  50. width: 75%
  51. }
  52. .z-20 {
  53. width: 83.3333%
  54. }
  55. .z-21 {
  56. width: 87.5%
  57. }
  58. .f-12 {
  59. font-size: 12px !important;
  60. }
  61. .f-14 {
  62. font-size: 14px !important;
  63. }
  64. .f-16 {
  65. font-size: 16px !important;
  66. }
  67. .w-box {
  68. -webkit-box-sizing: content-box;
  69. box-sizing: content-box;
  70. * {
  71. -webkit-box-sizing: content-box;
  72. box-sizing: content-box;
  73. }
  74. }
  75. .w-main {
  76. position: absolute;
  77. color: #000000;
  78. top: 0;
  79. left: 0;
  80. min-width: 100%;
  81. min-height: 100%;
  82. padding: 0;
  83. margin: 0;
  84. .w-nav {
  85. position: fixed;
  86. left: 0;
  87. right: 0;
  88. top: 40px;
  89. font-size: 14px;
  90. z-index: 12;
  91. color: #606266;
  92. height: 32px;
  93. line-height: 34px;
  94. background-color: rgba(255, 255, 255, 0.9);
  95. box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1);
  96. .nav-row {
  97. margin: 0 32px;
  98. display: flex;
  99. flex-direction: row;
  100. align-items: center;
  101. &:before,
  102. &:after {
  103. display: table;
  104. content: "";
  105. }
  106. &:after {
  107. clear: both;
  108. }
  109. span {
  110. margin: 0 12px 0 0;
  111. cursor: pointer;
  112. &.active {
  113. color: #0285d7;
  114. font-weight: 500;
  115. }
  116. }
  117. span + span {
  118. padding-left: 12px;
  119. border-left: 1px solid #ccc;
  120. }
  121. .icon {
  122. font-size: 16px;
  123. margin-right: 2px;
  124. }
  125. .w-nav-left {
  126. white-space: nowrap;
  127. padding-right: 24px;
  128. }
  129. .w-nav-flex {
  130. flex: 1;
  131. }
  132. .w-nav-right {
  133. margin-top: -2px;
  134. white-space: nowrap;
  135. overflow: hidden;
  136. overflow-x: auto;
  137. -webkit-backface-visibility: hidden;
  138. -webkit-overflow-scrolling: touch;
  139. }
  140. .nav-sreach {
  141. .ivu-input-wrapper {
  142. margin-top: -2px;
  143. width: auto;
  144. input {
  145. padding: 0 26px 0 6px;
  146. font-size: 14px;
  147. width: 140px;
  148. height: 24px;
  149. line-height: 24px;
  150. border: none;
  151. box-shadow: none;
  152. transition: all 0.2s;
  153. transform: translateZ(0);
  154. &:focus {
  155. width: 180px;
  156. }
  157. }
  158. &.substantial {
  159. input {
  160. width: 180px;
  161. background-color: #eeeeee;
  162. }
  163. }
  164. &.showclose {
  165. input {
  166. padding-right: 48px;
  167. }
  168. }
  169. }
  170. .ivu-input-suffix {
  171. display: flex;
  172. align-items: center;
  173. margin: 0 6px 0 0;
  174. width: auto;
  175. .nav-sreach-loading {
  176. display: flex;
  177. align-items: center;
  178. margin-right: 6px;
  179. .w-loading {
  180. width: 12px;
  181. height: 12px;
  182. }
  183. }
  184. i {
  185. font-size: 16px;
  186. &.suffix-close {
  187. font-size: 22px;
  188. }
  189. }
  190. }
  191. }
  192. .page-nav-left {
  193. display: flex;
  194. flex-direction: row;
  195. align-items: center;
  196. min-width: 138px;
  197. &:hover {
  198. .page-nav-refresh {
  199. em {
  200. display: block;
  201. }
  202. }
  203. }
  204. > span {
  205. margin-right: 8px;
  206. &.bold {
  207. font-weight: bold;
  208. }
  209. }
  210. .page-nav-loading {
  211. width: 18px;
  212. height: 18px;
  213. display: flex;
  214. }
  215. .page-nav-refresh {
  216. min-width: 36px;
  217. height: 100%;
  218. display: flex;
  219. flex-direction: row;
  220. align-items: center;
  221. em {
  222. display: none;
  223. padding-left: 4px;
  224. padding-right: 4px;
  225. color: #048be0;
  226. cursor: pointer;
  227. &:hover {
  228. text-decoration: underline;
  229. }
  230. }
  231. }
  232. }
  233. @media (max-width: 768px) {
  234. margin: 0 16px;
  235. span {
  236. margin: 0 8px 0 0;
  237. }
  238. span + span {
  239. margin: 0;
  240. padding-left: 8px;
  241. }
  242. .w-nav-left {
  243. padding-right: 12px;
  244. }
  245. .nav-sreach {
  246. .ivu-input-wrapper {
  247. input {
  248. width: 140px;
  249. &:focus {
  250. width: 140px;
  251. }
  252. }
  253. &.substantial {
  254. input {
  255. width: 140px;
  256. }
  257. }
  258. }
  259. }
  260. }
  261. }
  262. }
  263. }
  264. .w-sreach-main {
  265. position: fixed;
  266. top: 76px;
  267. right: 6px;
  268. left: 0;
  269. bottom: 0;
  270. z-index: 20;
  271. .w-sreach-box {
  272. position: absolute;
  273. top: 0;
  274. right: 0;
  275. left: 0;
  276. bottom: 0;
  277. display: flex;
  278. flex-direction: column;
  279. align-items: flex-end;
  280. }
  281. .sreach-none,
  282. .sreach-ul {
  283. background: #ffffff;
  284. border-radius: 4px;
  285. box-shadow: 0 1px 6px rgba(0,0,0,.2);
  286. }
  287. .sreach-none {
  288. text-align: center;
  289. color: #666;
  290. padding: 16px 32px;
  291. }
  292. .sreach-ul {
  293. width: 480px;
  294. max-width: 96%;
  295. max-height: 100%;
  296. padding: 16px 12px;
  297. margin: 0 0 6px 0;
  298. overflow: auto;
  299. opacity: 0;
  300. transform: translate(50%, 0);
  301. transition: all 0.2s;
  302. &.sreach-enter {
  303. opacity: 1;
  304. transform: translate(0, 0);
  305. }
  306. > li {
  307. list-style-type: none;
  308. padding: 6px 12px;
  309. margin: 0;
  310. &.sreach-result {
  311. font-size: 12px;
  312. color: #999;
  313. }
  314. &:last-child {
  315. border-bottom: 0;
  316. }
  317. .sreach-title {
  318. font-size: 14px;
  319. color: #555555;
  320. font-weight: 400;
  321. cursor: pointer;
  322. border-bottom: 1px solid #eeeeee;
  323. padding-bottom: 6px;
  324. .sreach-tag {
  325. background-color: #cccccc;
  326. display: inline-block;
  327. padding: 0 3px;
  328. color: #ffffff;
  329. border-radius: 2px;
  330. transform: scale(0.96);
  331. font-size: 12px;
  332. &.p1 {
  333. background: rgba(248, 14, 21, 0.6);
  334. }
  335. &.p2 {
  336. background: rgba(236, 196, 2, 0.5);
  337. }
  338. &.p3 {
  339. background: rgba(0, 159, 227, 0.7);
  340. }
  341. &.p4 {
  342. background: rgba(121, 170, 28, 0.7);
  343. }
  344. &.overdue {
  345. background: #ff0000;
  346. }
  347. }
  348. &:hover {
  349. color: #333333;
  350. }
  351. }
  352. .sreach-text {
  353. font-size: 13px;
  354. color: #888888;
  355. font-weight: 400;
  356. cursor: pointer;
  357. padding-top: 4px;
  358. &:hover {
  359. color: #333333;
  360. }
  361. }
  362. > ul {
  363. padding-top: 3px;
  364. padding-left: 24px;
  365. > li {
  366. padding: 6px 0;
  367. border-bottom: 1px dotted #eeeeee;
  368. .sreach-title {
  369. font-size: 13px;
  370. border-bottom: 0;
  371. padding-bottom: 0;
  372. }
  373. }
  374. }
  375. }
  376. }
  377. }
  378. .tableFill {
  379. .ivu-table {
  380. table {
  381. width: 100% !important;
  382. .ivu-table-cell {
  383. display: block;
  384. overflow: hidden;
  385. white-space: nowrap;
  386. text-overflow: ellipsis;
  387. padding-left: 12px;
  388. padding-right: 12px;
  389. > div {
  390. max-width: 100%;
  391. overflow: hidden;
  392. white-space: nowrap;
  393. text-overflow: ellipsis;
  394. vertical-align: middle;
  395. .ivu-tooltip-rel {
  396. vertical-align: middle;
  397. }
  398. }
  399. }
  400. }
  401. &:before {
  402. background-color: #efefef;
  403. }
  404. }
  405. }
  406. .tableFlex {
  407. .ivu-table {
  408. display: flex;
  409. flex-direction: column;
  410. .ivu-table-header {
  411. flex-grow: 0;
  412. flex-shrink: 0;
  413. }
  414. .ivu-table-body {
  415. overflow-y: auto;
  416. }
  417. }
  418. }
  419. .tableSelection {
  420. .ivu-table {
  421. .ivu-table-cell {
  422. padding-left: 12px;
  423. padding-right: 12px;
  424. &.ivu-table-cell-with-selection {
  425. padding-right: 2px;
  426. }
  427. }
  428. }
  429. }
  430. .pageBox {
  431. text-align: center;
  432. margin-bottom: 12px;
  433. }
  434. .sreachBox {
  435. > .item {
  436. margin-bottom: 8px;
  437. }
  438. .item {
  439. > div {
  440. display: block;
  441. float: left;
  442. padding-right: 10px;
  443. &:last-child {
  444. padding-right: 0;
  445. }
  446. .ivu-input-wrapper,.ivu-select {
  447. margin-top: 2px;
  448. }
  449. input,.ivu-select-placeholder {
  450. font-weight: normal;
  451. }
  452. }
  453. .item-1 {
  454. width: 100%;
  455. }
  456. .item-2 {
  457. width: 50%;
  458. }
  459. .item-3 {
  460. width: 33.33%;
  461. }
  462. .item-4 {
  463. width: 25%;
  464. }
  465. .item-5 {
  466. width: 20%;
  467. }
  468. &:after {
  469. content: '';
  470. display: block;
  471. height: 0;
  472. clear: both;
  473. visibility: hidden;
  474. }
  475. }
  476. .item-title,
  477. .item-title-active {
  478. display: block;
  479. overflow: hidden;
  480. text-overflow:ellipsis;
  481. white-space: nowrap;
  482. font-weight: 600;
  483. }
  484. .item-title-active {
  485. color: #ff0000;
  486. }
  487. .item-button {
  488. text-align: right;
  489. margin-top: 10px;
  490. margin-bottom: 0;
  491. .ivu-input-wrapper {
  492. float: none;
  493. width: 150px;
  494. display:inline-block;
  495. }
  496. }
  497. .ivu-date-picker {
  498. width: 100%;
  499. position: relative;
  500. vertical-align: middle;
  501. }
  502. .item-button {
  503. .ivu-btn {
  504. margin-left: 8px;
  505. }
  506. .left-btn {
  507. float: left;
  508. margin-right: 8px;
  509. margin-left: 0;
  510. }
  511. }
  512. }
  513. .sreach-highlight {
  514. color: #c00;
  515. }
  516. .drawer-tabs {
  517. .ivu-tabs-tabpane {
  518. position: relative;
  519. }
  520. }
  521. .drawer-box {
  522. position: absolute;
  523. top: 0;
  524. left: 0;
  525. right: 0;
  526. bottom: 0;
  527. display: flex;
  528. flex-direction: column;
  529. .drawer-content {
  530. flex: 1;
  531. width: 100%;
  532. overflow: auto;
  533. padding: 16px;
  534. position: relative;
  535. transform: translateZ(0);
  536. }
  537. .drawer-footer{
  538. width: 100%;
  539. border-top: 1px solid #e8e8e8;
  540. padding: 10px 16px;
  541. text-align: right;
  542. background: #fff;
  543. }
  544. }
  545. .ivu-drawer-body {
  546. .ivu-tabs-bar {
  547. padding-right: 32px;
  548. }
  549. }
  550. .ivu-select-dropdown-max {
  551. max-height: 300px;
  552. }
  553. .ivu-modal-wrap {
  554. &.simple-modal {
  555. .ivu-modal-header,
  556. .ivu-modal-footer {
  557. border-color: transparent;
  558. }
  559. }
  560. }
  561. .ivu-dropdown-item {
  562. &.dropdown-active {
  563. color: #058ce4;
  564. }
  565. }
  566. .upload-control-spin-icon-load {
  567. font-size: 18px;
  568. animation: upload-control-spin-icon-animation 1s linear infinite;
  569. }
  570. @keyframes upload-control-spin-icon-animation {
  571. from { transform: rotate(0deg);}
  572. 50% { transform: rotate(180deg);}
  573. to { transform: rotate(360deg);}
  574. }
  575. .m768-show,
  576. .m768-show-i,
  577. .m768-show-ib {
  578. display: none;
  579. }
  580. .m768-hide {
  581. display: block;
  582. }
  583. .m768-hide-i {
  584. display: inline;
  585. }
  586. .m768-hide-ib {
  587. display: inline-block;
  588. }
  589. @media (max-width: 768px) {
  590. .m768-show {
  591. display: block;
  592. }
  593. .m768-show-i {
  594. display: inline;
  595. }
  596. .m768-show-ib {
  597. display: inline-block;
  598. }
  599. .m768-hide,
  600. .m768-hide-i,
  601. .m768-hide-ib {
  602. display: none;
  603. }
  604. }