base.less 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  1. /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
  2. /* Document
  3. ========================================================================== */
  4. /**
  5. * 1. Correct the line height in all browsers.
  6. * 2. Prevent adjustments of font size after orientation changes in
  7. * IE on Windows Phone and in iOS.
  8. */
  9. html {
  10. line-height: 1.15; /* 1 */
  11. -ms-text-size-adjust: 100%; /* 2 */
  12. -webkit-text-size-adjust: 100%; /* 2 */
  13. }
  14. /* Sections
  15. ========================================================================== */
  16. /**
  17. * Remove the margin in all browsers (opinionated).
  18. */
  19. body {
  20. margin: 0;
  21. }
  22. /**
  23. * Add the correct display in IE 9-.
  24. */
  25. article,
  26. aside,
  27. footer,
  28. header,
  29. nav,
  30. section {
  31. display: block;
  32. }
  33. /**
  34. * Correct the font size and margin on `h1` elements within `section` and
  35. * `article` contexts in Chrome, Firefox, and Safari.
  36. */
  37. h1 {
  38. font-size: 2em;
  39. margin: 0.67em 0;
  40. }
  41. /* Grouping content
  42. ========================================================================== */
  43. /**
  44. * Add the correct display in IE 9-.
  45. * 1. Add the correct display in IE.
  46. */
  47. figcaption,
  48. figure,
  49. main { /* 1 */
  50. display: block;
  51. }
  52. /**
  53. * Add the correct margin in IE 8.
  54. */
  55. figure {
  56. margin: 1em 40px;
  57. }
  58. /**
  59. * 1. Add the correct box sizing in Firefox.
  60. * 2. Show the overflow in Edge and IE.
  61. */
  62. hr {
  63. box-sizing: content-box; /* 1 */
  64. height: 0; /* 1 */
  65. overflow: visible; /* 2 */
  66. }
  67. /**
  68. * 1. Correct the inheritance and scaling of font size in all browsers.
  69. * 2. Correct the odd `em` font sizing in all browsers.
  70. */
  71. pre {
  72. font-family: monospace, monospace; /* 1 */
  73. font-size: 1em; /* 2 */
  74. }
  75. /* Text-level semantics
  76. ========================================================================== */
  77. /**
  78. * 1. Remove the gray background on active links in IE 10.
  79. * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
  80. */
  81. a {
  82. background-color: transparent; /* 1 */
  83. -webkit-text-decoration-skip: objects; /* 2 */
  84. }
  85. /**
  86. * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
  87. * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
  88. */
  89. abbr[title] {
  90. border-bottom: none; /* 1 */
  91. text-decoration: underline; /* 2 */
  92. text-decoration: underline dotted; /* 2 */
  93. }
  94. /**
  95. * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
  96. */
  97. b,
  98. strong {
  99. font-weight: inherit;
  100. }
  101. /**
  102. * Add the correct font weight in Chrome, Edge, and Safari.
  103. */
  104. b,
  105. strong {
  106. font-weight: bolder;
  107. }
  108. /**
  109. * 1. Correct the inheritance and scaling of font size in all browsers.
  110. * 2. Correct the odd `em` font sizing in all browsers.
  111. */
  112. code,
  113. kbd,
  114. samp {
  115. font-family: monospace, monospace; /* 1 */
  116. font-size: 1em; /* 2 */
  117. }
  118. /**
  119. * Add the correct font style in Android 4.3-.
  120. */
  121. dfn {
  122. font-style: italic;
  123. }
  124. /**
  125. * Add the correct background and color in IE 9-.
  126. */
  127. mark {
  128. background-color: #ff0;
  129. color: #000;
  130. }
  131. /**
  132. * Add the correct font size in all browsers.
  133. */
  134. small {
  135. font-size: 80%;
  136. }
  137. /**
  138. * Prevent `sub` and `sup` elements from affecting the line height in
  139. * all browsers.
  140. */
  141. sub,
  142. sup {
  143. font-size: 75%;
  144. line-height: 0;
  145. position: relative;
  146. vertical-align: baseline;
  147. }
  148. sub {
  149. bottom: -0.25em;
  150. }
  151. sup {
  152. top: -0.5em;
  153. }
  154. /* Embedded content
  155. ========================================================================== */
  156. /**
  157. * Add the correct display in IE 9-.
  158. */
  159. audio,
  160. video {
  161. display: inline-block;
  162. }
  163. /**
  164. * Add the correct display in iOS 4-7.
  165. */
  166. audio:not([controls]) {
  167. display: none;
  168. height: 0;
  169. }
  170. /**
  171. * Remove the border on images inside links in IE 10-.
  172. */
  173. img {
  174. border-style: none;
  175. }
  176. /**
  177. * Hide the overflow in IE.
  178. */
  179. svg:not(:root) {
  180. overflow: hidden;
  181. }
  182. /* Forms
  183. ========================================================================== */
  184. /**
  185. * 1. Change the font styles in all browsers (opinionated).
  186. * 2. Remove the margin in Firefox and Safari.
  187. */
  188. button,
  189. input,
  190. optgroup,
  191. select,
  192. textarea {
  193. font-family: sans-serif; /* 1 */
  194. font-size: 100%; /* 1 */
  195. line-height: 1.15; /* 1 */
  196. margin: 0; /* 2 */
  197. }
  198. /**
  199. * Show the overflow in IE.
  200. * 1. Show the overflow in Edge.
  201. */
  202. button,
  203. input { /* 1 */
  204. overflow: visible;
  205. }
  206. /**
  207. * Remove the inheritance of text transform in Edge, Firefox, and IE.
  208. * 1. Remove the inheritance of text transform in Firefox.
  209. */
  210. button,
  211. select { /* 1 */
  212. text-transform: none;
  213. }
  214. /**
  215. * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
  216. * controls in Android 4.
  217. * 2. Correct the inability to style clickable types in iOS and Safari.
  218. */
  219. button,
  220. html [type="button"], /* 1 */
  221. [type="reset"],
  222. [type="submit"] {
  223. -webkit-appearance: button; /* 2 */
  224. }
  225. /**
  226. * Remove the inner border and padding in Firefox.
  227. */
  228. button::-moz-focus-inner,
  229. [type="button"]::-moz-focus-inner,
  230. [type="reset"]::-moz-focus-inner,
  231. [type="submit"]::-moz-focus-inner {
  232. border-style: none;
  233. padding: 0;
  234. }
  235. /**
  236. * Restore the focus styles unset by the previous rule.
  237. */
  238. button:-moz-focusring,
  239. [type="button"]:-moz-focusring,
  240. [type="reset"]:-moz-focusring,
  241. [type="submit"]:-moz-focusring {
  242. outline: 1px dotted ButtonText;
  243. }
  244. /**
  245. * Correct the padding in Firefox.
  246. */
  247. fieldset {
  248. padding: 0.35em 0.75em 0.625em;
  249. }
  250. /**
  251. * 1. Correct the text wrapping in Edge and IE.
  252. * 2. Correct the color inheritance from `fieldset` elements in IE.
  253. * 3. Remove the padding so developers are not caught out when they zero out
  254. * `fieldset` elements in all browsers.
  255. */
  256. legend {
  257. box-sizing: border-box; /* 1 */
  258. color: inherit; /* 2 */
  259. display: table; /* 1 */
  260. max-width: 100%; /* 1 */
  261. padding: 0; /* 3 */
  262. white-space: normal; /* 1 */
  263. }
  264. /**
  265. * 1. Add the correct display in IE 9-.
  266. * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
  267. */
  268. progress {
  269. display: inline-block; /* 1 */
  270. vertical-align: baseline; /* 2 */
  271. }
  272. /**
  273. * Remove the default vertical scrollbar in IE.
  274. */
  275. textarea {
  276. overflow: auto;
  277. }
  278. /**
  279. * 1. Add the correct box sizing in IE 10-.
  280. * 2. Remove the padding in IE 10-.
  281. */
  282. [type="checkbox"],
  283. [type="radio"] {
  284. box-sizing: border-box; /* 1 */
  285. padding: 0; /* 2 */
  286. }
  287. /**
  288. * Correct the cursor style of increment and decrement buttons in Chrome.
  289. */
  290. [type="number"]::-webkit-inner-spin-button,
  291. [type="number"]::-webkit-outer-spin-button {
  292. height: auto;
  293. }
  294. /**
  295. * 1. Correct the odd appearance in Chrome and Safari.
  296. * 2. Correct the outline style in Safari.
  297. */
  298. [type="search"] {
  299. -webkit-appearance: textfield; /* 1 */
  300. outline-offset: -2px; /* 2 */
  301. }
  302. /**
  303. * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
  304. */
  305. [type="search"]::-webkit-search-cancel-button,
  306. [type="search"]::-webkit-search-decoration {
  307. -webkit-appearance: none;
  308. }
  309. /**
  310. * 1. Correct the inability to style clickable types in iOS and Safari.
  311. * 2. Change font properties to `inherit` in Safari.
  312. */
  313. ::-webkit-file-upload-button {
  314. -webkit-appearance: button; /* 1 */
  315. font: inherit; /* 2 */
  316. }
  317. /* Interactive
  318. ========================================================================== */
  319. /*
  320. * Add the correct display in IE 9-.
  321. * 1. Add the correct display in Edge, IE, and Firefox.
  322. */
  323. details, /* 1 */
  324. menu {
  325. display: block;
  326. }
  327. /*
  328. * Add the correct display in all browsers.
  329. */
  330. summary {
  331. display: list-item;
  332. }
  333. /* Scripting
  334. ========================================================================== */
  335. /**
  336. * Add the correct display in IE 9-.
  337. */
  338. canvas {
  339. display: inline-block;
  340. }
  341. /**
  342. * Add the correct display in IE.
  343. */
  344. template {
  345. display: none;
  346. }
  347. /* Hidden
  348. ========================================================================== */
  349. /**
  350. * Add the correct display in IE 10-.
  351. */
  352. [hidden] {
  353. display: none;
  354. }
  355. body {
  356. color: #333;
  357. font-size: 14px;
  358. background: #f0f0f0;
  359. .ant-input-number,
  360. .ant-input-number-lg {
  361. .ant-input-number-handler-wrap {
  362. display: none;
  363. }
  364. }
  365. }
  366. #root {
  367. width: 100%;
  368. height: 100%;
  369. min-width: 960px;
  370. .wrap {
  371. height: 100%;
  372. }
  373. }
  374. .header {
  375. position: absolute;
  376. top: 0;
  377. left: 0;
  378. height: 100px;
  379. width: 100%;
  380. background: #fff;
  381. box-shadow: 0 2px 6px 0px #ccc;
  382. }
  383. .clearfix:before,
  384. .clearfix:after {
  385. content: ".";
  386. display: block;
  387. height: 0;
  388. clear: both;
  389. visibility: hidden;
  390. overflow: hidden;
  391. }
  392. .footer {
  393. border-top: 1px solid #d8d8d8;
  394. }
  395. // .ant-modal-content {
  396. // .ant-modal-body {
  397. // .ant-form {
  398. // .ant-form-item {
  399. // .ant-form-item-control {
  400. // text-align: center;
  401. // }
  402. // }
  403. // }
  404. // }
  405. // }
  406. @font-face {
  407. font-family: 'myiconfont';
  408. src: url('./iconfont/iconfont.eot');
  409. src: url('./iconfont/iconfont.eot?#iefix') format('embedded-opentype'), url('./iconfont/iconfont.woff') format('woff'), url('./iconfont/iconfont.ttf') format('truetype'), url('./iconfont/iconfont.svg#myiconfont') format('svg');
  410. }
  411. .chooseList {
  412. margin-left: 10px;
  413. }
  414. .chooseList>.ant-checkbox-wrapper {
  415. width: 80%;
  416. }
  417. #demand-form .half-item {
  418. float: left;
  419. width: 50%;
  420. margin-bottom: 0px !important;
  421. }
  422. // .ant-modal {
  423. // transition: all .5s !important;
  424. // }
  425. .ant-tabs-tabpane.ant-tabs-tabpane-active .ant-calendar-picker-input.ant-input {
  426. // width: 170px !important;
  427. }
  428. .up-btn:hover {
  429. opacity: 1 !important;
  430. }
  431. .ant-form-item {
  432. font-size: 12px;
  433. margin-bottom: 10px !important;
  434. color: rgba(0, 0, 0, 0.65);
  435. vertical-align: top;
  436. }