main.scss 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  1. .z-row {
  2. text-rendering: optimizespeed;
  3. display: flex;
  4. align-items: stretch;
  5. flex-flow: row wrap
  6. }
  7. .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 {
  8. padding: .35rem .5rem
  9. }
  10. .z-row>.z-row {
  11. width: 100%
  12. }
  13. .z-1,.z-3,.z-4,.z-6,.z-8,.z-12,.z-16,.z-18,.z-20,.z-21,.z-col {
  14. display: inline-block;
  15. zoom: 1;
  16. box-sizing: border-box;
  17. vertical-align: top;
  18. text-rendering: auto
  19. }
  20. .z-1 {
  21. flex-grow: 1;
  22. flex-shrink: 1;
  23. flex-basis: 0;
  24. max-width: 100%
  25. }
  26. .z-3 {
  27. width: 12.5%;
  28. max-width: 12.5%
  29. }
  30. .z-4 {
  31. width: 16.6667%;
  32. max-width: 16.6667%
  33. }
  34. .z-6 {
  35. width: 25%
  36. }
  37. .z-8 {
  38. width: 33.3333%
  39. }
  40. .z-12 {
  41. width: 50%
  42. }
  43. .z-16 {
  44. width: 66.6667%
  45. }
  46. .z-18 {
  47. width: 75%
  48. }
  49. .z-20 {
  50. width: 83.3333%
  51. }
  52. .z-21 {
  53. width: 87.5%
  54. }
  55. .w-box {
  56. -webkit-box-sizing: content-box;
  57. box-sizing: content-box;
  58. * {
  59. -webkit-box-sizing: content-box;
  60. box-sizing: content-box;
  61. }
  62. }
  63. .w-main {
  64. position: absolute;
  65. color: #000000;
  66. top: 0;
  67. left: 0;
  68. min-width: 100%;
  69. min-height: 100%;
  70. padding: 0;
  71. margin: 0;
  72. .w-nav {
  73. position: fixed;
  74. left: 0;
  75. right: 0;
  76. top: 40px;
  77. font-size: 14px;
  78. background-color: rgba(255, 255, 255, 0.9);
  79. z-index: 12;
  80. color: #606266;
  81. height: 32px;
  82. line-height: 34px;
  83. .nav-row {
  84. margin: 0 32px;
  85. display: flex;
  86. flex-direction: row;
  87. align-items: center;
  88. &:before,
  89. &:after {
  90. display: table;
  91. content: "";
  92. }
  93. &:after {
  94. clear: both;
  95. }
  96. span {
  97. margin: 0 12px 0 0;
  98. cursor: pointer;
  99. &.active {
  100. color: #0285d7;
  101. font-weight: 500;
  102. }
  103. }
  104. span + span {
  105. padding-left: 12px;
  106. border-left: 1px solid #ccc;
  107. }
  108. .icon {
  109. font-size: 16px;
  110. margin-right: 2px;
  111. }
  112. .w-nav-left {
  113. white-space: nowrap;
  114. padding-right: 24px;
  115. }
  116. .w-nav-flex {
  117. flex: 1;
  118. }
  119. .w-nav-right {
  120. white-space: nowrap;
  121. overflow: hidden;
  122. overflow-x: auto;
  123. -webkit-backface-visibility: hidden;
  124. -webkit-overflow-scrolling: touch;
  125. }
  126. .page-nav-left {
  127. display: flex;
  128. flex-direction: row;
  129. align-items: center;
  130. min-width: 138px;
  131. &:hover {
  132. .page-nav-refresh {
  133. em {
  134. display: block;
  135. }
  136. }
  137. }
  138. > span {
  139. margin-right: 8px;
  140. &.bold {
  141. font-weight: bold;
  142. }
  143. }
  144. .page-nav-loading {
  145. width: 18px;
  146. height: 18px;
  147. display: flex;
  148. }
  149. .page-nav-refresh {
  150. min-width: 36px;
  151. height: 100%;
  152. display: flex;
  153. flex-direction: row;
  154. align-items: center;
  155. em {
  156. display: none;
  157. padding-left: 4px;
  158. padding-right: 4px;
  159. color: #048be0;
  160. cursor: pointer;
  161. &:hover {
  162. text-decoration: underline;
  163. }
  164. }
  165. }
  166. }
  167. @media (max-width: 768px) {
  168. margin: 0 16px;
  169. span {
  170. margin: 0 8px 0 0;
  171. }
  172. span + span {
  173. margin: 0;
  174. padding-left: 8px;
  175. }
  176. .w-nav-left {
  177. padding-right: 12px;
  178. }
  179. }
  180. }
  181. }
  182. }
  183. .tableFill {
  184. .ivu-table {
  185. table {
  186. width: 100% !important;
  187. .ivu-table-cell {
  188. display: block;
  189. overflow: hidden;
  190. white-space: nowrap;
  191. text-overflow: ellipsis;
  192. padding-left: 12px;
  193. padding-right: 12px;
  194. > div {
  195. max-width: 100%;
  196. overflow: hidden;
  197. white-space: nowrap;
  198. text-overflow: ellipsis;
  199. vertical-align: middle;
  200. .ivu-tooltip-rel {
  201. vertical-align: middle;
  202. }
  203. }
  204. }
  205. }
  206. &:before {
  207. background-color: #efefef;
  208. }
  209. }
  210. }
  211. .pageBox {
  212. text-align: center;
  213. margin-bottom: 12px;
  214. }
  215. .sreachBox {
  216. > .item {
  217. margin-bottom: 8px;
  218. }
  219. .item {
  220. > div {
  221. display: block;
  222. float: left;
  223. padding-right: 10px;
  224. &:last-child {
  225. padding-right: 0;
  226. }
  227. .ivu-input-wrapper,.ivu-select {
  228. margin-top: 2px;
  229. }
  230. input,.ivu-select-placeholder {
  231. font-weight: normal;
  232. }
  233. }
  234. .item-1 {
  235. width: 100%;
  236. }
  237. .item-2 {
  238. width: 50%;
  239. }
  240. .item-3 {
  241. width: 33.33%;
  242. }
  243. .item-4 {
  244. width: 25%;
  245. }
  246. .item-5 {
  247. width: 20%;
  248. }
  249. &:after {
  250. content: '';
  251. display: block;
  252. height: 0;
  253. clear: both;
  254. visibility: hidden;
  255. }
  256. }
  257. .item-title,
  258. .item-title-active {
  259. display: block;
  260. overflow: hidden;
  261. text-overflow:ellipsis;
  262. white-space: nowrap;
  263. font-weight: 600;
  264. }
  265. .item-title-active {
  266. color: #ff0000;
  267. }
  268. .item-button {
  269. text-align: right;
  270. margin-top: 10px;
  271. margin-bottom: 0;
  272. .ivu-input-wrapper {
  273. float: none;
  274. width: 150px;
  275. display:inline-block;
  276. }
  277. }
  278. .ivu-date-picker {
  279. width: 100%;
  280. position: relative;
  281. vertical-align: middle;
  282. }
  283. .item-button {
  284. .ivu-btn {
  285. margin-left: 8px;
  286. }
  287. .left-btn {
  288. float: left;
  289. margin-right: 8px;
  290. margin-left: 0;
  291. }
  292. }
  293. }
  294. .ivu-drawer-body {
  295. .ivu-tabs-bar {
  296. padding-right: 32px;
  297. }
  298. }
  299. .ivu-select-dropdown-max {
  300. max-height: 300px;
  301. }
  302. .ivu-modal-wrap {
  303. &.simple-modal {
  304. .ivu-modal-header,
  305. .ivu-modal-footer {
  306. border-color: transparent;
  307. }
  308. }
  309. }
  310. .ivu-dropdown-item {
  311. &.dropdown-active {
  312. color: #058ce4;
  313. }
  314. }
  315. .upload-control-spin-icon-load {
  316. font-size: 18px;
  317. animation: upload-control-spin-icon-animation 1s linear infinite;
  318. }
  319. @keyframes upload-control-spin-icon-animation {
  320. from { transform: rotate(0deg);}
  321. 50% { transform: rotate(180deg);}
  322. to { transform: rotate(360deg);}
  323. }
  324. .m768-show {
  325. display: none;
  326. @media (max-width: 768px) {
  327. display: block;
  328. }
  329. }
  330. .m768-show-i {
  331. display: none;
  332. @media (max-width: 768px) {
  333. display: inline;
  334. }
  335. }
  336. .m768-show-ib {
  337. display: none;
  338. @media (max-width: 768px) {
  339. display: inline-block;
  340. }
  341. }
  342. .m768-hide {
  343. display: block;
  344. @media (max-width: 768px) {
  345. display: none;
  346. }
  347. }
  348. .m768-hide-i {
  349. display: inline;
  350. @media (max-width: 768px) {
  351. display: none;
  352. }
  353. }
  354. .m768-hide-ib {
  355. display: inline-block;
  356. @media (max-width: 768px) {
  357. display: none;
  358. }
  359. }