main.scss 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  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. }
  100. span + span {
  101. padding-left: 12px;
  102. border-left: 1px solid #ccc;
  103. }
  104. .icon {
  105. font-size: 16px;
  106. margin-right: 2px;
  107. }
  108. .w-nav-left {
  109. white-space: nowrap;
  110. padding-right: 24px;
  111. }
  112. .w-nav-flex {
  113. flex: 1;
  114. }
  115. .w-nav-right {
  116. white-space: nowrap;
  117. overflow: hidden;
  118. overflow-x: auto;
  119. -webkit-backface-visibility: hidden;
  120. -webkit-overflow-scrolling: touch;
  121. }
  122. .page-nav-left {
  123. display: flex;
  124. flex-direction: row;
  125. align-items: center;
  126. min-width: 138px;
  127. &:hover {
  128. .page-nav-refresh {
  129. em {
  130. display: block;
  131. }
  132. }
  133. }
  134. > span {
  135. margin-right: 8px;
  136. &.bold {
  137. font-weight: bold;
  138. }
  139. }
  140. .page-nav-loading {
  141. width: 18px;
  142. height: 18px;
  143. display: flex;
  144. }
  145. .page-nav-refresh {
  146. min-width: 36px;
  147. height: 100%;
  148. display: flex;
  149. flex-direction: row;
  150. align-items: center;
  151. em {
  152. display: none;
  153. padding-left: 4px;
  154. padding-right: 4px;
  155. color: #048be0;
  156. cursor: pointer;
  157. &:hover {
  158. text-decoration: underline;
  159. }
  160. }
  161. }
  162. }
  163. }
  164. }
  165. }
  166. .tableFill {
  167. .ivu-table {
  168. table {
  169. width: 100% !important;
  170. .ivu-table-cell {
  171. display: block;
  172. overflow: hidden;
  173. white-space: nowrap;
  174. text-overflow: ellipsis;
  175. padding-left: 12px;
  176. padding-right: 12px;
  177. > div {
  178. max-width: 100%;
  179. overflow: hidden;
  180. white-space: nowrap;
  181. text-overflow: ellipsis;
  182. vertical-align: middle;
  183. .ivu-tooltip-rel {
  184. vertical-align: middle;
  185. }
  186. }
  187. }
  188. }
  189. &:before {
  190. background-color: #efefef;
  191. }
  192. }
  193. }
  194. .pageBox {
  195. text-align: center;
  196. margin-bottom: 12px;
  197. }
  198. .sreachBox {
  199. > .item {
  200. margin-bottom: 8px;
  201. }
  202. .item {
  203. > div {
  204. display: block;
  205. float: left;
  206. padding-right: 10px;
  207. &:last-child {
  208. padding-right: 0;
  209. }
  210. .ivu-input-wrapper,.ivu-select {
  211. margin-top: 2px;
  212. }
  213. input,.ivu-select-placeholder {
  214. font-weight: normal;
  215. }
  216. }
  217. .item-1 {
  218. width: 100%;
  219. }
  220. .item-2 {
  221. width: 50%;
  222. }
  223. .item-3 {
  224. width: 33.33%;
  225. }
  226. .item-4 {
  227. width: 25%;
  228. }
  229. .item-5 {
  230. width: 20%;
  231. }
  232. &:after {
  233. content: '';
  234. display: block;
  235. height: 0;
  236. clear: both;
  237. visibility: hidden;
  238. }
  239. }
  240. .item-title,
  241. .item-title-active {
  242. display: block;
  243. overflow: hidden;
  244. text-overflow:ellipsis;
  245. white-space: nowrap;
  246. font-weight: 600;
  247. }
  248. .item-title-active {
  249. color: #ff0000;
  250. }
  251. .item-button {
  252. text-align: right;
  253. margin-top: 10px;
  254. margin-bottom: 0;
  255. .ivu-input-wrapper {
  256. float: none;
  257. width: 150px;
  258. display:inline-block;
  259. }
  260. }
  261. .ivu-date-picker {
  262. width: 100%;
  263. position: relative;
  264. vertical-align: middle;
  265. }
  266. .item-button {
  267. .ivu-btn {
  268. margin-left: 8px;
  269. }
  270. }
  271. }