base.less 9.0 KB

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