index.css 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745
  1. /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
  2. /* stylelint-disable no-duplicate-selectors */
  3. /* stylelint-disable */
  4. /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
  5. .ant-input-number-affix-wrapper {
  6. position: relative;
  7. display: inline-block;
  8. width: 100%;
  9. min-width: 0;
  10. padding: 4px 11px;
  11. color: rgba(0, 0, 0, 0.85);
  12. font-size: 14px;
  13. line-height: 1.5715;
  14. background-color: #fff;
  15. background-image: none;
  16. border: 1px solid #d9d9d9;
  17. border-radius: 2px;
  18. transition: all 0.3s;
  19. /* stylelint-disable-next-line selector-no-vendor-prefix */
  20. position: static;
  21. display: inline-flex;
  22. width: 90px;
  23. padding: 0;
  24. -webkit-padding-start: 11px;
  25. padding-inline-start: 11px;
  26. }
  27. .ant-input-number-affix-wrapper::-moz-placeholder {
  28. opacity: 1;
  29. }
  30. .ant-input-number-affix-wrapper::placeholder {
  31. color: #bfbfbf;
  32. -webkit-user-select: none;
  33. -moz-user-select: none;
  34. user-select: none;
  35. }
  36. .ant-input-number-affix-wrapper:-moz-placeholder-shown {
  37. text-overflow: ellipsis;
  38. }
  39. .ant-input-number-affix-wrapper:placeholder-shown {
  40. text-overflow: ellipsis;
  41. }
  42. .ant-input-number-affix-wrapper:hover {
  43. border-color: #40a9ff;
  44. border-right-width: 1px !important;
  45. }
  46. .ant-input-number-affix-wrapper:focus,
  47. .ant-input-number-affix-wrapper-focused {
  48. border-color: #40a9ff;
  49. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  50. border-right-width: 1px !important;
  51. outline: 0;
  52. }
  53. .ant-input-number-affix-wrapper-disabled {
  54. color: rgba(0, 0, 0, 0.25);
  55. background-color: #f5f5f5;
  56. border-color: #d9d9d9;
  57. box-shadow: none;
  58. cursor: not-allowed;
  59. opacity: 1;
  60. }
  61. .ant-input-number-affix-wrapper-disabled:hover {
  62. border-color: #d9d9d9;
  63. border-right-width: 1px !important;
  64. }
  65. .ant-input-number-affix-wrapper[disabled] {
  66. color: rgba(0, 0, 0, 0.25);
  67. background-color: #f5f5f5;
  68. border-color: #d9d9d9;
  69. box-shadow: none;
  70. cursor: not-allowed;
  71. opacity: 1;
  72. }
  73. .ant-input-number-affix-wrapper[disabled]:hover {
  74. border-color: #d9d9d9;
  75. border-right-width: 1px !important;
  76. }
  77. .ant-input-number-affix-wrapper-borderless,
  78. .ant-input-number-affix-wrapper-borderless:hover,
  79. .ant-input-number-affix-wrapper-borderless:focus,
  80. .ant-input-number-affix-wrapper-borderless-focused,
  81. .ant-input-number-affix-wrapper-borderless-disabled,
  82. .ant-input-number-affix-wrapper-borderless[disabled] {
  83. background-color: transparent;
  84. border: none;
  85. box-shadow: none;
  86. }
  87. textarea.ant-input-number-affix-wrapper {
  88. max-width: 100%;
  89. height: auto;
  90. min-height: 32px;
  91. line-height: 1.5715;
  92. vertical-align: bottom;
  93. transition: all 0.3s, height 0s;
  94. }
  95. .ant-input-number-affix-wrapper-lg {
  96. padding: 6.5px 11px;
  97. font-size: 16px;
  98. }
  99. .ant-input-number-affix-wrapper-sm {
  100. padding: 0px 7px;
  101. }
  102. .ant-input-number-affix-wrapper:not(.ant-input-number-affix-wrapper-disabled):hover {
  103. border-color: #40a9ff;
  104. border-right-width: 1px !important;
  105. z-index: 1;
  106. }
  107. .ant-input-number-affix-wrapper-focused,
  108. .ant-input-number-affix-wrapper:focus {
  109. z-index: 1;
  110. }
  111. .ant-input-number-affix-wrapper-disabled .ant-input-number[disabled] {
  112. background: transparent;
  113. }
  114. .ant-input-number-affix-wrapper > div.ant-input-number {
  115. width: 100%;
  116. border: none;
  117. outline: none;
  118. }
  119. .ant-input-number-affix-wrapper > div.ant-input-number.ant-input-number-focused {
  120. box-shadow: none !important;
  121. }
  122. .ant-input-number-affix-wrapper input.ant-input-number-input {
  123. padding: 0;
  124. }
  125. .ant-input-number-affix-wrapper::before {
  126. width: 0;
  127. visibility: hidden;
  128. content: '\a0';
  129. }
  130. .ant-input-number-prefix {
  131. display: flex;
  132. flex: none;
  133. align-items: center;
  134. -webkit-margin-end: 4px;
  135. margin-inline-end: 4px;
  136. }
  137. .ant-input-number-group-wrapper .ant-input-number-affix-wrapper {
  138. width: 100%;
  139. }
  140. .ant-input-number {
  141. box-sizing: border-box;
  142. font-variant: tabular-nums;
  143. list-style: none;
  144. font-feature-settings: 'tnum';
  145. position: relative;
  146. width: 100%;
  147. min-width: 0;
  148. padding: 4px 11px;
  149. color: rgba(0, 0, 0, 0.85);
  150. font-size: 14px;
  151. line-height: 1.5715;
  152. background-color: #fff;
  153. background-image: none;
  154. transition: all 0.3s;
  155. /* stylelint-disable-next-line selector-no-vendor-prefix */
  156. display: inline-block;
  157. width: 90px;
  158. margin: 0;
  159. padding: 0;
  160. border: 1px solid #d9d9d9;
  161. border-radius: 2px;
  162. }
  163. .ant-input-number::-moz-placeholder {
  164. opacity: 1;
  165. }
  166. .ant-input-number::placeholder {
  167. color: #bfbfbf;
  168. -webkit-user-select: none;
  169. -moz-user-select: none;
  170. user-select: none;
  171. }
  172. .ant-input-number:-moz-placeholder-shown {
  173. text-overflow: ellipsis;
  174. }
  175. .ant-input-number:placeholder-shown {
  176. text-overflow: ellipsis;
  177. }
  178. .ant-input-number:hover {
  179. border-color: #40a9ff;
  180. border-right-width: 1px !important;
  181. }
  182. .ant-input-number:focus,
  183. .ant-input-number-focused {
  184. border-color: #40a9ff;
  185. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  186. border-right-width: 1px !important;
  187. outline: 0;
  188. }
  189. .ant-input-number-disabled {
  190. color: rgba(0, 0, 0, 0.25);
  191. background-color: #f5f5f5;
  192. border-color: #d9d9d9;
  193. box-shadow: none;
  194. cursor: not-allowed;
  195. opacity: 1;
  196. }
  197. .ant-input-number-disabled:hover {
  198. border-color: #d9d9d9;
  199. border-right-width: 1px !important;
  200. }
  201. .ant-input-number[disabled] {
  202. color: rgba(0, 0, 0, 0.25);
  203. background-color: #f5f5f5;
  204. border-color: #d9d9d9;
  205. box-shadow: none;
  206. cursor: not-allowed;
  207. opacity: 1;
  208. }
  209. .ant-input-number[disabled]:hover {
  210. border-color: #d9d9d9;
  211. border-right-width: 1px !important;
  212. }
  213. .ant-input-number-borderless,
  214. .ant-input-number-borderless:hover,
  215. .ant-input-number-borderless:focus,
  216. .ant-input-number-borderless-focused,
  217. .ant-input-number-borderless-disabled,
  218. .ant-input-number-borderless[disabled] {
  219. background-color: transparent;
  220. border: none;
  221. box-shadow: none;
  222. }
  223. textarea.ant-input-number {
  224. max-width: 100%;
  225. height: auto;
  226. min-height: 32px;
  227. line-height: 1.5715;
  228. vertical-align: bottom;
  229. transition: all 0.3s, height 0s;
  230. }
  231. .ant-input-number-lg {
  232. padding: 6.5px 11px;
  233. font-size: 16px;
  234. }
  235. .ant-input-number-sm {
  236. padding: 0px 7px;
  237. }
  238. .ant-input-number-group {
  239. box-sizing: border-box;
  240. margin: 0;
  241. padding: 0;
  242. color: rgba(0, 0, 0, 0.85);
  243. font-size: 14px;
  244. font-variant: tabular-nums;
  245. line-height: 1.5715;
  246. list-style: none;
  247. font-feature-settings: 'tnum';
  248. position: relative;
  249. display: table;
  250. width: 100%;
  251. border-collapse: separate;
  252. border-spacing: 0;
  253. }
  254. .ant-input-number-group[class*='col-'] {
  255. float: none;
  256. padding-right: 0;
  257. padding-left: 0;
  258. }
  259. .ant-input-number-group > [class*='col-'] {
  260. padding-right: 8px;
  261. }
  262. .ant-input-number-group > [class*='col-']:last-child {
  263. padding-right: 0;
  264. }
  265. .ant-input-number-group-addon,
  266. .ant-input-number-group-wrap,
  267. .ant-input-number-group > .ant-input-number {
  268. display: table-cell;
  269. }
  270. .ant-input-number-group-addon:not(:first-child):not(:last-child),
  271. .ant-input-number-group-wrap:not(:first-child):not(:last-child),
  272. .ant-input-number-group > .ant-input-number:not(:first-child):not(:last-child) {
  273. border-radius: 0;
  274. }
  275. .ant-input-number-group-addon,
  276. .ant-input-number-group-wrap {
  277. width: 1px;
  278. white-space: nowrap;
  279. vertical-align: middle;
  280. }
  281. .ant-input-number-group-wrap > * {
  282. display: block !important;
  283. }
  284. .ant-input-number-group .ant-input-number {
  285. float: left;
  286. width: 100%;
  287. margin-bottom: 0;
  288. text-align: inherit;
  289. }
  290. .ant-input-number-group .ant-input-number:focus {
  291. z-index: 1;
  292. border-right-width: 1px;
  293. }
  294. .ant-input-number-group .ant-input-number:hover {
  295. z-index: 1;
  296. border-right-width: 1px;
  297. }
  298. .ant-input-search-with-button .ant-input-number-group .ant-input-number:hover {
  299. z-index: 0;
  300. }
  301. .ant-input-number-group-addon {
  302. position: relative;
  303. padding: 0 11px;
  304. color: rgba(0, 0, 0, 0.85);
  305. font-weight: normal;
  306. font-size: 14px;
  307. text-align: center;
  308. background-color: #fafafa;
  309. border: 1px solid #d9d9d9;
  310. border-radius: 2px;
  311. transition: all 0.3s;
  312. }
  313. .ant-input-number-group-addon .ant-select {
  314. margin: -5px -11px;
  315. }
  316. .ant-input-number-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
  317. background-color: inherit;
  318. border: 1px solid transparent;
  319. box-shadow: none;
  320. }
  321. .ant-input-number-group-addon .ant-select-open .ant-select-selector,
  322. .ant-input-number-group-addon .ant-select-focused .ant-select-selector {
  323. color: #1890ff;
  324. }
  325. .ant-input-number-group-addon .ant-cascader-picker {
  326. margin: -9px -12px;
  327. background-color: transparent;
  328. }
  329. .ant-input-number-group-addon .ant-cascader-picker .ant-cascader-input {
  330. text-align: left;
  331. border: 0;
  332. box-shadow: none;
  333. }
  334. .ant-input-number-group > .ant-input-number:first-child,
  335. .ant-input-number-group-addon:first-child {
  336. border-top-right-radius: 0;
  337. border-bottom-right-radius: 0;
  338. }
  339. .ant-input-number-group > .ant-input-number:first-child .ant-select .ant-select-selector,
  340. .ant-input-number-group-addon:first-child .ant-select .ant-select-selector {
  341. border-top-right-radius: 0;
  342. border-bottom-right-radius: 0;
  343. }
  344. .ant-input-number-group > .ant-input-number-affix-wrapper:not(:first-child) .ant-input-number {
  345. border-top-left-radius: 0;
  346. border-bottom-left-radius: 0;
  347. }
  348. .ant-input-number-group > .ant-input-number-affix-wrapper:not(:last-child) .ant-input-number {
  349. border-top-right-radius: 0;
  350. border-bottom-right-radius: 0;
  351. }
  352. .ant-input-number-group-addon:first-child {
  353. border-right: 0;
  354. }
  355. .ant-input-number-group-addon:last-child {
  356. border-left: 0;
  357. }
  358. .ant-input-number-group > .ant-input-number:last-child,
  359. .ant-input-number-group-addon:last-child {
  360. border-top-left-radius: 0;
  361. border-bottom-left-radius: 0;
  362. }
  363. .ant-input-number-group > .ant-input-number:last-child .ant-select .ant-select-selector,
  364. .ant-input-number-group-addon:last-child .ant-select .ant-select-selector {
  365. border-top-left-radius: 0;
  366. border-bottom-left-radius: 0;
  367. }
  368. .ant-input-number-group-lg .ant-input-number,
  369. .ant-input-number-group-lg > .ant-input-number-group-addon {
  370. padding: 6.5px 11px;
  371. font-size: 16px;
  372. }
  373. .ant-input-number-group-sm .ant-input-number,
  374. .ant-input-number-group-sm > .ant-input-number-group-addon {
  375. padding: 0px 7px;
  376. }
  377. .ant-input-number-group-lg .ant-select-single .ant-select-selector {
  378. height: 40px;
  379. }
  380. .ant-input-number-group-sm .ant-select-single .ant-select-selector {
  381. height: 24px;
  382. }
  383. .ant-input-number-group .ant-input-number-affix-wrapper:not(:last-child) {
  384. border-top-right-radius: 0;
  385. border-bottom-right-radius: 0;
  386. }
  387. .ant-input-search .ant-input-number-group .ant-input-number-affix-wrapper:not(:last-child) {
  388. border-top-left-radius: 2px;
  389. border-bottom-left-radius: 2px;
  390. }
  391. .ant-input-number-group .ant-input-number-affix-wrapper:not(:first-child),
  392. .ant-input-search .ant-input-number-group .ant-input-number-affix-wrapper:not(:first-child) {
  393. border-top-left-radius: 0;
  394. border-bottom-left-radius: 0;
  395. }
  396. .ant-input-number-group.ant-input-number-group-compact {
  397. display: block;
  398. }
  399. .ant-input-number-group.ant-input-number-group-compact::before {
  400. display: table;
  401. content: '';
  402. }
  403. .ant-input-number-group.ant-input-number-group-compact::after {
  404. display: table;
  405. clear: both;
  406. content: '';
  407. }
  408. .ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child),
  409. .ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child),
  410. .ant-input-number-group.ant-input-number-group-compact > .ant-input-number:not(:first-child):not(:last-child) {
  411. border-right-width: 1px;
  412. }
  413. .ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child):hover,
  414. .ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child):hover,
  415. .ant-input-number-group.ant-input-number-group-compact > .ant-input-number:not(:first-child):not(:last-child):hover {
  416. z-index: 1;
  417. }
  418. .ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child):focus,
  419. .ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child):focus,
  420. .ant-input-number-group.ant-input-number-group-compact > .ant-input-number:not(:first-child):not(:last-child):focus {
  421. z-index: 1;
  422. }
  423. .ant-input-number-group.ant-input-number-group-compact > * {
  424. display: inline-block;
  425. float: none;
  426. vertical-align: top;
  427. border-radius: 0;
  428. }
  429. .ant-input-number-group.ant-input-number-group-compact > .ant-input-number-affix-wrapper {
  430. display: inline-flex;
  431. }
  432. .ant-input-number-group.ant-input-number-group-compact > .ant-picker-range {
  433. display: inline-flex;
  434. }
  435. .ant-input-number-group.ant-input-number-group-compact > *:not(:last-child) {
  436. margin-right: -1px;
  437. border-right-width: 1px;
  438. }
  439. .ant-input-number-group.ant-input-number-group-compact .ant-input-number {
  440. float: none;
  441. }
  442. .ant-input-number-group.ant-input-number-group-compact > .ant-select > .ant-select-selector,
  443. .ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete .ant-input,
  444. .ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker .ant-input,
  445. .ant-input-number-group.ant-input-number-group-compact > .ant-input-group-wrapper .ant-input {
  446. border-right-width: 1px;
  447. border-radius: 0;
  448. }
  449. .ant-input-number-group.ant-input-number-group-compact > .ant-select > .ant-select-selector:hover,
  450. .ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete .ant-input:hover,
  451. .ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker .ant-input:hover,
  452. .ant-input-number-group.ant-input-number-group-compact > .ant-input-group-wrapper .ant-input:hover {
  453. z-index: 1;
  454. }
  455. .ant-input-number-group.ant-input-number-group-compact > .ant-select > .ant-select-selector:focus,
  456. .ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete .ant-input:focus,
  457. .ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker .ant-input:focus,
  458. .ant-input-number-group.ant-input-number-group-compact > .ant-input-group-wrapper .ant-input:focus {
  459. z-index: 1;
  460. }
  461. .ant-input-number-group.ant-input-number-group-compact > .ant-select-focused {
  462. z-index: 1;
  463. }
  464. .ant-input-number-group.ant-input-number-group-compact > .ant-select > .ant-select-arrow {
  465. z-index: 1;
  466. }
  467. .ant-input-number-group.ant-input-number-group-compact > *:first-child,
  468. .ant-input-number-group.ant-input-number-group-compact > .ant-select:first-child > .ant-select-selector,
  469. .ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete:first-child .ant-input,
  470. .ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker:first-child .ant-input {
  471. border-top-left-radius: 2px;
  472. border-bottom-left-radius: 2px;
  473. }
  474. .ant-input-number-group.ant-input-number-group-compact > *:last-child,
  475. .ant-input-number-group.ant-input-number-group-compact > .ant-select:last-child > .ant-select-selector,
  476. .ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker:last-child .ant-input,
  477. .ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker-focused:last-child .ant-input {
  478. border-right-width: 1px;
  479. border-top-right-radius: 2px;
  480. border-bottom-right-radius: 2px;
  481. }
  482. .ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete .ant-input {
  483. vertical-align: top;
  484. }
  485. .ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper + .ant-input-group-wrapper {
  486. margin-left: -1px;
  487. }
  488. .ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper + .ant-input-group-wrapper .ant-input-affix-wrapper {
  489. border-radius: 0;
  490. }
  491. .ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search > .ant-input-group > .ant-input-group-addon > .ant-input-search-button {
  492. border-radius: 0;
  493. }
  494. .ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search > .ant-input-group > .ant-input {
  495. border-radius: 2px 0 0 2px;
  496. }
  497. .ant-input-number-group-wrapper {
  498. display: inline-block;
  499. text-align: start;
  500. vertical-align: top;
  501. }
  502. .ant-input-number-handler {
  503. position: relative;
  504. display: block;
  505. width: 100%;
  506. height: 50%;
  507. overflow: hidden;
  508. color: rgba(0, 0, 0, 0.45);
  509. font-weight: bold;
  510. line-height: 0;
  511. text-align: center;
  512. border-left: 1px solid #d9d9d9;
  513. transition: all 0.1s linear;
  514. }
  515. .ant-input-number-handler:active {
  516. background: #f4f4f4;
  517. }
  518. .ant-input-number-handler:hover .ant-input-number-handler-up-inner,
  519. .ant-input-number-handler:hover .ant-input-number-handler-down-inner {
  520. color: #40a9ff;
  521. }
  522. .ant-input-number-handler-up-inner,
  523. .ant-input-number-handler-down-inner {
  524. display: inline-block;
  525. color: inherit;
  526. font-style: normal;
  527. line-height: 0;
  528. text-align: center;
  529. text-transform: none;
  530. vertical-align: -0.125em;
  531. text-rendering: optimizelegibility;
  532. -webkit-font-smoothing: antialiased;
  533. -moz-osx-font-smoothing: grayscale;
  534. position: absolute;
  535. right: 4px;
  536. width: 12px;
  537. height: 12px;
  538. color: rgba(0, 0, 0, 0.45);
  539. line-height: 12px;
  540. transition: all 0.1s linear;
  541. -webkit-user-select: none;
  542. -moz-user-select: none;
  543. user-select: none;
  544. }
  545. .ant-input-number-handler-up-inner > *,
  546. .ant-input-number-handler-down-inner > * {
  547. line-height: 1;
  548. }
  549. .ant-input-number-handler-up-inner svg,
  550. .ant-input-number-handler-down-inner svg {
  551. display: inline-block;
  552. }
  553. .ant-input-number-handler-up-inner::before,
  554. .ant-input-number-handler-down-inner::before {
  555. display: none;
  556. }
  557. .ant-input-number-handler-up-inner .ant-input-number-handler-up-inner-icon,
  558. .ant-input-number-handler-up-inner .ant-input-number-handler-down-inner-icon,
  559. .ant-input-number-handler-down-inner .ant-input-number-handler-up-inner-icon,
  560. .ant-input-number-handler-down-inner .ant-input-number-handler-down-inner-icon {
  561. display: block;
  562. }
  563. .ant-input-number:hover {
  564. border-color: #40a9ff;
  565. border-right-width: 1px !important;
  566. }
  567. .ant-input-number:hover + .ant-form-item-children-icon {
  568. opacity: 0;
  569. transition: opacity 0.24s linear 0.24s;
  570. }
  571. .ant-input-number-focused {
  572. border-color: #40a9ff;
  573. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  574. border-right-width: 1px !important;
  575. outline: 0;
  576. }
  577. .ant-input-number-disabled {
  578. color: rgba(0, 0, 0, 0.25);
  579. background-color: #f5f5f5;
  580. border-color: #d9d9d9;
  581. box-shadow: none;
  582. cursor: not-allowed;
  583. opacity: 1;
  584. }
  585. .ant-input-number-disabled:hover {
  586. border-color: #d9d9d9;
  587. border-right-width: 1px !important;
  588. }
  589. .ant-input-number-disabled .ant-input-number-input {
  590. cursor: not-allowed;
  591. }
  592. .ant-input-number-disabled .ant-input-number-handler-wrap {
  593. display: none;
  594. }
  595. .ant-input-number-readonly .ant-input-number-handler-wrap {
  596. display: none;
  597. }
  598. .ant-input-number-input {
  599. width: 100%;
  600. height: 30px;
  601. padding: 0 11px;
  602. text-align: left;
  603. background-color: transparent;
  604. border: 0;
  605. border-radius: 2px;
  606. outline: 0;
  607. transition: all 0.3s linear;
  608. -webkit-appearance: textfield !important;
  609. -moz-appearance: textfield !important;
  610. appearance: textfield !important;
  611. /* stylelint-disable-next-line selector-no-vendor-prefix */
  612. }
  613. .ant-input-number-input::-moz-placeholder {
  614. opacity: 1;
  615. }
  616. .ant-input-number-input::placeholder {
  617. color: #bfbfbf;
  618. -webkit-user-select: none;
  619. -moz-user-select: none;
  620. user-select: none;
  621. }
  622. .ant-input-number-input:-moz-placeholder-shown {
  623. text-overflow: ellipsis;
  624. }
  625. .ant-input-number-input:placeholder-shown {
  626. text-overflow: ellipsis;
  627. }
  628. .ant-input-number-input[type='number']::-webkit-inner-spin-button,
  629. .ant-input-number-input[type='number']::-webkit-outer-spin-button {
  630. margin: 0;
  631. /* stylelint-disable-next-line property-no-vendor-prefix */
  632. -webkit-appearance: none;
  633. appearance: none;
  634. }
  635. .ant-input-number-lg {
  636. padding: 0;
  637. font-size: 16px;
  638. }
  639. .ant-input-number-lg input {
  640. height: 38px;
  641. }
  642. .ant-input-number-sm {
  643. padding: 0;
  644. }
  645. .ant-input-number-sm input {
  646. height: 22px;
  647. padding: 0 7px;
  648. }
  649. .ant-input-number-handler-wrap {
  650. position: absolute;
  651. top: 0;
  652. right: 0;
  653. width: 22px;
  654. height: 100%;
  655. background: #fff;
  656. border-radius: 0 2px 2px 0;
  657. opacity: 0;
  658. transition: opacity 0.24s linear 0.1s;
  659. }
  660. .ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner,
  661. .ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner {
  662. display: flex;
  663. align-items: center;
  664. justify-content: center;
  665. min-width: auto;
  666. margin-right: 0;
  667. font-size: 7px;
  668. }
  669. .ant-input-number-borderless .ant-input-number-handler-wrap {
  670. border-left-width: 0;
  671. }
  672. .ant-input-number-handler-wrap:hover .ant-input-number-handler {
  673. height: 40%;
  674. }
  675. .ant-input-number:hover .ant-input-number-handler-wrap,
  676. .ant-input-number-focused .ant-input-number-handler-wrap {
  677. opacity: 1;
  678. }
  679. .ant-input-number-handler-up {
  680. border-top-right-radius: 2px;
  681. cursor: pointer;
  682. }
  683. .ant-input-number-handler-up-inner {
  684. top: 50%;
  685. margin-top: -5px;
  686. text-align: center;
  687. }
  688. .ant-input-number-handler-up:hover {
  689. height: 60% !important;
  690. }
  691. .ant-input-number-handler-down {
  692. top: 0;
  693. border-top: 1px solid #d9d9d9;
  694. border-bottom-right-radius: 2px;
  695. cursor: pointer;
  696. }
  697. .ant-input-number-handler-down-inner {
  698. top: 50%;
  699. text-align: center;
  700. transform: translateY(-50%);
  701. }
  702. .ant-input-number-handler-down:hover {
  703. height: 60% !important;
  704. }
  705. .ant-input-number-borderless .ant-input-number-handler-down {
  706. border-top-width: 0;
  707. }
  708. .ant-input-number-handler-up-disabled,
  709. .ant-input-number-handler-down-disabled {
  710. cursor: not-allowed;
  711. }
  712. .ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner,
  713. .ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner {
  714. color: rgba(0, 0, 0, 0.25);
  715. }
  716. .ant-input-number-borderless {
  717. box-shadow: none;
  718. }
  719. .ant-input-number-out-of-range input {
  720. color: #ff4d4f;
  721. }
  722. .ant-input-number-rtl {
  723. direction: rtl;
  724. }
  725. .ant-input-number-rtl .ant-input-number-handler {
  726. border-right: 1px solid #d9d9d9;
  727. border-left: 0;
  728. }
  729. .ant-input-number-rtl .ant-input-number-handler-wrap {
  730. right: auto;
  731. left: 0;
  732. }
  733. .ant-input-number-rtl.ant-input-number-borderless .ant-input-number-handler-wrap {
  734. border-right-width: 0;
  735. }
  736. .ant-input-number-rtl .ant-input-number-handler-up {
  737. border-top-right-radius: 0;
  738. }
  739. .ant-input-number-rtl .ant-input-number-handler-down {
  740. border-bottom-right-radius: 0;
  741. }
  742. .ant-input-number-rtl .ant-input-number-input {
  743. direction: ltr;
  744. text-align: right;
  745. }