main.scss 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  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. }
  168. }
  169. }
  170. .tableFill {
  171. .ivu-table {
  172. table {
  173. width: 100% !important;
  174. .ivu-table-cell {
  175. display: block;
  176. overflow: hidden;
  177. white-space: nowrap;
  178. text-overflow: ellipsis;
  179. padding-left: 12px;
  180. padding-right: 12px;
  181. > div {
  182. max-width: 100%;
  183. overflow: hidden;
  184. white-space: nowrap;
  185. text-overflow: ellipsis;
  186. vertical-align: middle;
  187. .ivu-tooltip-rel {
  188. vertical-align: middle;
  189. }
  190. }
  191. }
  192. }
  193. &:before {
  194. background-color: #efefef;
  195. }
  196. }
  197. }
  198. .pageBox {
  199. text-align: center;
  200. margin-bottom: 12px;
  201. }
  202. .sreachBox {
  203. > .item {
  204. margin-bottom: 8px;
  205. }
  206. .item {
  207. > div {
  208. display: block;
  209. float: left;
  210. padding-right: 10px;
  211. &:last-child {
  212. padding-right: 0;
  213. }
  214. .ivu-input-wrapper,.ivu-select {
  215. margin-top: 2px;
  216. }
  217. input,.ivu-select-placeholder {
  218. font-weight: normal;
  219. }
  220. }
  221. .item-1 {
  222. width: 100%;
  223. }
  224. .item-2 {
  225. width: 50%;
  226. }
  227. .item-3 {
  228. width: 33.33%;
  229. }
  230. .item-4 {
  231. width: 25%;
  232. }
  233. .item-5 {
  234. width: 20%;
  235. }
  236. &:after {
  237. content: '';
  238. display: block;
  239. height: 0;
  240. clear: both;
  241. visibility: hidden;
  242. }
  243. }
  244. .item-title,
  245. .item-title-active {
  246. display: block;
  247. overflow: hidden;
  248. text-overflow:ellipsis;
  249. white-space: nowrap;
  250. font-weight: 600;
  251. }
  252. .item-title-active {
  253. color: #ff0000;
  254. }
  255. .item-button {
  256. text-align: right;
  257. margin-top: 10px;
  258. margin-bottom: 0;
  259. .ivu-input-wrapper {
  260. float: none;
  261. width: 150px;
  262. display:inline-block;
  263. }
  264. }
  265. .ivu-date-picker {
  266. width: 100%;
  267. position: relative;
  268. vertical-align: middle;
  269. }
  270. .item-button {
  271. .ivu-btn {
  272. margin-left: 8px;
  273. }
  274. }
  275. }
  276. .ivu-drawer-body {
  277. .ivu-tabs-bar {
  278. padding-right: 32px;
  279. }
  280. }
  281. .ivu-select-dropdown-max {
  282. max-height: 300px;
  283. }
  284. .ivu-modal-wrap {
  285. &.simple-modal {
  286. .ivu-modal-header,
  287. .ivu-modal-footer {
  288. border-color: transparent;
  289. }
  290. }
  291. }
  292. .ivu-dropdown-item {
  293. &.dropdown-active {
  294. color: #058ce4;
  295. }
  296. }