input-number.css 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891
  1. /* BEM support Func
  2. -------------------------- */
  3. /* Element Chalk Variables */
  4. /* Transition
  5. -------------------------- */
  6. /* Color
  7. -------------------------- */
  8. /* 53a8ff */
  9. /* 66b1ff */
  10. /* 79bbff */
  11. /* 8cc5ff */
  12. /* a0cfff */
  13. /* b3d8ff */
  14. /* c6e2ff */
  15. /* d9ecff */
  16. /* ecf5ff */
  17. /* Link
  18. -------------------------- */
  19. /* Border
  20. -------------------------- */
  21. /* Fill
  22. -------------------------- */
  23. /* Typography
  24. -------------------------- */
  25. /* Size
  26. -------------------------- */
  27. /* z-index
  28. -------------------------- */
  29. /* Disable base
  30. -------------------------- */
  31. /* Icon
  32. -------------------------- */
  33. /* Checkbox
  34. -------------------------- */
  35. /* Radio
  36. -------------------------- */
  37. /* Select
  38. -------------------------- */
  39. /* Alert
  40. -------------------------- */
  41. /* MessageBox
  42. -------------------------- */
  43. /* Message
  44. -------------------------- */
  45. /* Notification
  46. -------------------------- */
  47. /* Input
  48. -------------------------- */
  49. /* Cascader
  50. -------------------------- */
  51. /* Group
  52. -------------------------- */
  53. /* Tab
  54. -------------------------- */
  55. /* Button
  56. -------------------------- */
  57. /* cascader
  58. -------------------------- */
  59. /* Switch
  60. -------------------------- */
  61. /* Dialog
  62. -------------------------- */
  63. /* Table
  64. -------------------------- */
  65. /* Pagination
  66. -------------------------- */
  67. /* Popup
  68. -------------------------- */
  69. /* Popover
  70. -------------------------- */
  71. /* Tooltip
  72. -------------------------- */
  73. /* Tag
  74. -------------------------- */
  75. /* Tree
  76. -------------------------- */
  77. /* Dropdown
  78. -------------------------- */
  79. /* Badge
  80. -------------------------- */
  81. /* Card
  82. --------------------------*/
  83. /* Slider
  84. --------------------------*/
  85. /* Steps
  86. --------------------------*/
  87. /* Menu
  88. --------------------------*/
  89. /* Rate
  90. --------------------------*/
  91. /* DatePicker
  92. --------------------------*/
  93. /* Loading
  94. --------------------------*/
  95. /* Scrollbar
  96. --------------------------*/
  97. /* Carousel
  98. --------------------------*/
  99. /* Collapse
  100. --------------------------*/
  101. /* Transfer
  102. --------------------------*/
  103. /* Header
  104. --------------------------*/
  105. /* Footer
  106. --------------------------*/
  107. /* Main
  108. --------------------------*/
  109. /* Timeline
  110. --------------------------*/
  111. /* Backtop
  112. --------------------------*/
  113. /* Link
  114. --------------------------*/
  115. /* Calendar
  116. --------------------------*/
  117. /* Form
  118. -------------------------- */
  119. /* Avatar
  120. --------------------------*/
  121. /* Break-point
  122. --------------------------*/
  123. /* Break-points
  124. -------------------------- */
  125. /* Scrollbar
  126. -------------------------- */
  127. /* Placeholder
  128. -------------------------- */
  129. /* BEM
  130. -------------------------- */
  131. /* Element Chalk Variables */
  132. /* Transition
  133. -------------------------- */
  134. /* Color
  135. -------------------------- */
  136. /* 53a8ff */
  137. /* 66b1ff */
  138. /* 79bbff */
  139. /* 8cc5ff */
  140. /* a0cfff */
  141. /* b3d8ff */
  142. /* c6e2ff */
  143. /* d9ecff */
  144. /* ecf5ff */
  145. /* Link
  146. -------------------------- */
  147. /* Border
  148. -------------------------- */
  149. /* Fill
  150. -------------------------- */
  151. /* Typography
  152. -------------------------- */
  153. /* Size
  154. -------------------------- */
  155. /* z-index
  156. -------------------------- */
  157. /* Disable base
  158. -------------------------- */
  159. /* Icon
  160. -------------------------- */
  161. /* Checkbox
  162. -------------------------- */
  163. /* Radio
  164. -------------------------- */
  165. /* Select
  166. -------------------------- */
  167. /* Alert
  168. -------------------------- */
  169. /* MessageBox
  170. -------------------------- */
  171. /* Message
  172. -------------------------- */
  173. /* Notification
  174. -------------------------- */
  175. /* Input
  176. -------------------------- */
  177. /* Cascader
  178. -------------------------- */
  179. /* Group
  180. -------------------------- */
  181. /* Tab
  182. -------------------------- */
  183. /* Button
  184. -------------------------- */
  185. /* cascader
  186. -------------------------- */
  187. /* Switch
  188. -------------------------- */
  189. /* Dialog
  190. -------------------------- */
  191. /* Table
  192. -------------------------- */
  193. /* Pagination
  194. -------------------------- */
  195. /* Popup
  196. -------------------------- */
  197. /* Popover
  198. -------------------------- */
  199. /* Tooltip
  200. -------------------------- */
  201. /* Tag
  202. -------------------------- */
  203. /* Tree
  204. -------------------------- */
  205. /* Dropdown
  206. -------------------------- */
  207. /* Badge
  208. -------------------------- */
  209. /* Card
  210. --------------------------*/
  211. /* Slider
  212. --------------------------*/
  213. /* Steps
  214. --------------------------*/
  215. /* Menu
  216. --------------------------*/
  217. /* Rate
  218. --------------------------*/
  219. /* DatePicker
  220. --------------------------*/
  221. /* Loading
  222. --------------------------*/
  223. /* Scrollbar
  224. --------------------------*/
  225. /* Carousel
  226. --------------------------*/
  227. /* Collapse
  228. --------------------------*/
  229. /* Transfer
  230. --------------------------*/
  231. /* Header
  232. --------------------------*/
  233. /* Footer
  234. --------------------------*/
  235. /* Main
  236. --------------------------*/
  237. /* Timeline
  238. --------------------------*/
  239. /* Backtop
  240. --------------------------*/
  241. /* Link
  242. --------------------------*/
  243. /* Calendar
  244. --------------------------*/
  245. /* Form
  246. -------------------------- */
  247. /* Avatar
  248. --------------------------*/
  249. /* Break-point
  250. --------------------------*/
  251. /* BEM support Func
  252. -------------------------- */
  253. /* Element Chalk Variables */
  254. /* Transition
  255. -------------------------- */
  256. /* Color
  257. -------------------------- */
  258. /* 53a8ff */
  259. /* 66b1ff */
  260. /* 79bbff */
  261. /* 8cc5ff */
  262. /* a0cfff */
  263. /* b3d8ff */
  264. /* c6e2ff */
  265. /* d9ecff */
  266. /* ecf5ff */
  267. /* Link
  268. -------------------------- */
  269. /* Border
  270. -------------------------- */
  271. /* Fill
  272. -------------------------- */
  273. /* Typography
  274. -------------------------- */
  275. /* Size
  276. -------------------------- */
  277. /* z-index
  278. -------------------------- */
  279. /* Disable base
  280. -------------------------- */
  281. /* Icon
  282. -------------------------- */
  283. /* Checkbox
  284. -------------------------- */
  285. /* Radio
  286. -------------------------- */
  287. /* Select
  288. -------------------------- */
  289. /* Alert
  290. -------------------------- */
  291. /* MessageBox
  292. -------------------------- */
  293. /* Message
  294. -------------------------- */
  295. /* Notification
  296. -------------------------- */
  297. /* Input
  298. -------------------------- */
  299. /* Cascader
  300. -------------------------- */
  301. /* Group
  302. -------------------------- */
  303. /* Tab
  304. -------------------------- */
  305. /* Button
  306. -------------------------- */
  307. /* cascader
  308. -------------------------- */
  309. /* Switch
  310. -------------------------- */
  311. /* Dialog
  312. -------------------------- */
  313. /* Table
  314. -------------------------- */
  315. /* Pagination
  316. -------------------------- */
  317. /* Popup
  318. -------------------------- */
  319. /* Popover
  320. -------------------------- */
  321. /* Tooltip
  322. -------------------------- */
  323. /* Tag
  324. -------------------------- */
  325. /* Tree
  326. -------------------------- */
  327. /* Dropdown
  328. -------------------------- */
  329. /* Badge
  330. -------------------------- */
  331. /* Card
  332. --------------------------*/
  333. /* Slider
  334. --------------------------*/
  335. /* Steps
  336. --------------------------*/
  337. /* Menu
  338. --------------------------*/
  339. /* Rate
  340. --------------------------*/
  341. /* DatePicker
  342. --------------------------*/
  343. /* Loading
  344. --------------------------*/
  345. /* Scrollbar
  346. --------------------------*/
  347. /* Carousel
  348. --------------------------*/
  349. /* Collapse
  350. --------------------------*/
  351. /* Transfer
  352. --------------------------*/
  353. /* Header
  354. --------------------------*/
  355. /* Footer
  356. --------------------------*/
  357. /* Main
  358. --------------------------*/
  359. /* Timeline
  360. --------------------------*/
  361. /* Backtop
  362. --------------------------*/
  363. /* Link
  364. --------------------------*/
  365. /* Calendar
  366. --------------------------*/
  367. /* Form
  368. -------------------------- */
  369. /* Avatar
  370. --------------------------*/
  371. /* Break-point
  372. --------------------------*/
  373. /* Break-points
  374. -------------------------- */
  375. /* Scrollbar
  376. -------------------------- */
  377. /* Placeholder
  378. -------------------------- */
  379. /* BEM
  380. -------------------------- */
  381. /* Element Chalk Variables */
  382. /* Transition
  383. -------------------------- */
  384. /* Color
  385. -------------------------- */
  386. /* 53a8ff */
  387. /* 66b1ff */
  388. /* 79bbff */
  389. /* 8cc5ff */
  390. /* a0cfff */
  391. /* b3d8ff */
  392. /* c6e2ff */
  393. /* d9ecff */
  394. /* ecf5ff */
  395. /* Link
  396. -------------------------- */
  397. /* Border
  398. -------------------------- */
  399. /* Fill
  400. -------------------------- */
  401. /* Typography
  402. -------------------------- */
  403. /* Size
  404. -------------------------- */
  405. /* z-index
  406. -------------------------- */
  407. /* Disable base
  408. -------------------------- */
  409. /* Icon
  410. -------------------------- */
  411. /* Checkbox
  412. -------------------------- */
  413. /* Radio
  414. -------------------------- */
  415. /* Select
  416. -------------------------- */
  417. /* Alert
  418. -------------------------- */
  419. /* MessageBox
  420. -------------------------- */
  421. /* Message
  422. -------------------------- */
  423. /* Notification
  424. -------------------------- */
  425. /* Input
  426. -------------------------- */
  427. /* Cascader
  428. -------------------------- */
  429. /* Group
  430. -------------------------- */
  431. /* Tab
  432. -------------------------- */
  433. /* Button
  434. -------------------------- */
  435. /* cascader
  436. -------------------------- */
  437. /* Switch
  438. -------------------------- */
  439. /* Dialog
  440. -------------------------- */
  441. /* Table
  442. -------------------------- */
  443. /* Pagination
  444. -------------------------- */
  445. /* Popup
  446. -------------------------- */
  447. /* Popover
  448. -------------------------- */
  449. /* Tooltip
  450. -------------------------- */
  451. /* Tag
  452. -------------------------- */
  453. /* Tree
  454. -------------------------- */
  455. /* Dropdown
  456. -------------------------- */
  457. /* Badge
  458. -------------------------- */
  459. /* Card
  460. --------------------------*/
  461. /* Slider
  462. --------------------------*/
  463. /* Steps
  464. --------------------------*/
  465. /* Menu
  466. --------------------------*/
  467. /* Rate
  468. --------------------------*/
  469. /* DatePicker
  470. --------------------------*/
  471. /* Loading
  472. --------------------------*/
  473. /* Scrollbar
  474. --------------------------*/
  475. /* Carousel
  476. --------------------------*/
  477. /* Collapse
  478. --------------------------*/
  479. /* Transfer
  480. --------------------------*/
  481. /* Header
  482. --------------------------*/
  483. /* Footer
  484. --------------------------*/
  485. /* Main
  486. --------------------------*/
  487. /* Timeline
  488. --------------------------*/
  489. /* Backtop
  490. --------------------------*/
  491. /* Link
  492. --------------------------*/
  493. /* Calendar
  494. --------------------------*/
  495. /* Form
  496. -------------------------- */
  497. /* Avatar
  498. --------------------------*/
  499. /* Break-point
  500. --------------------------*/
  501. .el-textarea {
  502. position: relative;
  503. display: inline-block;
  504. width: 100%;
  505. vertical-align: bottom;
  506. font-size: 14px; }
  507. .el-textarea__inner {
  508. display: block;
  509. resize: vertical;
  510. padding: 5px 15px;
  511. line-height: 1.5;
  512. -webkit-box-sizing: border-box;
  513. box-sizing: border-box;
  514. width: 100%;
  515. font-size: inherit;
  516. color: #606266;
  517. background-color: #FFFFFF;
  518. background-image: none;
  519. border: 1px solid #DCDFE6;
  520. border-radius: 4px;
  521. -webkit-transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  522. transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); }
  523. .el-textarea__inner::-webkit-input-placeholder {
  524. color: #C0C4CC; }
  525. .el-textarea__inner::-moz-placeholder {
  526. color: #C0C4CC; }
  527. .el-textarea__inner::-ms-input-placeholder {
  528. color: #C0C4CC; }
  529. .el-textarea__inner::placeholder {
  530. color: #C0C4CC; }
  531. .el-textarea__inner:hover {
  532. border-color: #C0C4CC; }
  533. .el-textarea__inner:focus {
  534. outline: none;
  535. border-color: #2D74E7; }
  536. .el-textarea .el-input__count {
  537. color: #909399;
  538. background: #FFFFFF;
  539. position: absolute;
  540. font-size: 12px;
  541. bottom: 5px;
  542. right: 10px; }
  543. .el-textarea.is-disabled .el-textarea__inner {
  544. background-color: #F5F7FA;
  545. border-color: #E4E7ED;
  546. color: #C0C4CC;
  547. cursor: not-allowed; }
  548. .el-textarea.is-disabled .el-textarea__inner::-webkit-input-placeholder {
  549. color: #C0C4CC; }
  550. .el-textarea.is-disabled .el-textarea__inner::-moz-placeholder {
  551. color: #C0C4CC; }
  552. .el-textarea.is-disabled .el-textarea__inner::-ms-input-placeholder {
  553. color: #C0C4CC; }
  554. .el-textarea.is-disabled .el-textarea__inner::placeholder {
  555. color: #C0C4CC; }
  556. .el-textarea.is-exceed .el-textarea__inner {
  557. border-color: #e7304e; }
  558. .el-textarea.is-exceed .el-input__count {
  559. color: #e7304e; }
  560. .el-input {
  561. position: relative;
  562. font-size: 14px;
  563. display: inline-block;
  564. width: 100%; }
  565. .el-input::-webkit-scrollbar {
  566. z-index: 11;
  567. width: 6px; }
  568. .el-input::-webkit-scrollbar:horizontal {
  569. height: 6px; }
  570. .el-input::-webkit-scrollbar-thumb {
  571. border-radius: 5px;
  572. width: 6px;
  573. background: #b4bccc; }
  574. .el-input::-webkit-scrollbar-corner {
  575. background: #fff; }
  576. .el-input::-webkit-scrollbar-track {
  577. background: #fff; }
  578. .el-input::-webkit-scrollbar-track-piece {
  579. background: #fff;
  580. width: 6px; }
  581. .el-input .el-input__clear {
  582. color: #C0C4CC;
  583. font-size: 14px;
  584. cursor: pointer;
  585. -webkit-transition: color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  586. transition: color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); }
  587. .el-input .el-input__clear:hover {
  588. color: #909399; }
  589. .el-input .el-input__count {
  590. height: 100%;
  591. display: -webkit-inline-box;
  592. display: -ms-inline-flexbox;
  593. display: inline-flex;
  594. -webkit-box-align: center;
  595. -ms-flex-align: center;
  596. align-items: center;
  597. color: #909399;
  598. font-size: 12px; }
  599. .el-input .el-input__count .el-input__count-inner {
  600. background: #FFFFFF;
  601. line-height: initial;
  602. display: inline-block;
  603. padding: 0 5px; }
  604. .el-input__inner {
  605. -webkit-appearance: none;
  606. background-color: #FFFFFF;
  607. background-image: none;
  608. border-radius: 4px;
  609. border: 1px solid #DCDFE6;
  610. -webkit-box-sizing: border-box;
  611. box-sizing: border-box;
  612. color: #606266;
  613. display: inline-block;
  614. font-size: inherit;
  615. height: 40px;
  616. line-height: 40px;
  617. outline: none;
  618. padding: 0 15px;
  619. -webkit-transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  620. transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  621. width: 100%; }
  622. .el-input__inner::-webkit-input-placeholder {
  623. color: #C0C4CC; }
  624. .el-input__inner::-moz-placeholder {
  625. color: #C0C4CC; }
  626. .el-input__inner::-ms-input-placeholder {
  627. color: #C0C4CC; }
  628. .el-input__inner::placeholder {
  629. color: #C0C4CC; }
  630. .el-input__inner:hover {
  631. border-color: #C0C4CC; }
  632. .el-input__inner:focus {
  633. outline: none;
  634. border-color: #2D74E7; }
  635. .el-input__suffix {
  636. position: absolute;
  637. height: 100%;
  638. right: 5px;
  639. top: 0;
  640. text-align: center;
  641. color: #C0C4CC;
  642. -webkit-transition: all .3s;
  643. transition: all .3s;
  644. pointer-events: none; }
  645. .el-input__suffix-inner {
  646. pointer-events: all; }
  647. .el-input__prefix {
  648. position: absolute;
  649. height: 100%;
  650. left: 5px;
  651. top: 0;
  652. text-align: center;
  653. color: #C0C4CC;
  654. -webkit-transition: all .3s;
  655. transition: all .3s; }
  656. .el-input__icon {
  657. height: 100%;
  658. width: 25px;
  659. text-align: center;
  660. -webkit-transition: all .3s;
  661. transition: all .3s;
  662. line-height: 40px; }
  663. .el-input__icon:after {
  664. content: '';
  665. height: 100%;
  666. width: 0;
  667. display: inline-block;
  668. vertical-align: middle; }
  669. .el-input__validateIcon {
  670. pointer-events: none; }
  671. .el-input.is-active .el-input__inner {
  672. outline: none;
  673. border-color: #2D74E7; }
  674. .el-input.is-disabled .el-input__inner {
  675. background-color: #F5F7FA;
  676. border-color: #E4E7ED;
  677. color: #C0C4CC;
  678. cursor: not-allowed; }
  679. .el-input.is-disabled .el-input__inner::-webkit-input-placeholder {
  680. color: #C0C4CC; }
  681. .el-input.is-disabled .el-input__inner::-moz-placeholder {
  682. color: #C0C4CC; }
  683. .el-input.is-disabled .el-input__inner::-ms-input-placeholder {
  684. color: #C0C4CC; }
  685. .el-input.is-disabled .el-input__inner::placeholder {
  686. color: #C0C4CC; }
  687. .el-input.is-disabled .el-input__icon {
  688. cursor: not-allowed; }
  689. .el-input.is-exceed .el-input__inner {
  690. border-color: #e7304e; }
  691. .el-input.is-exceed .el-input__suffix .el-input__count {
  692. color: #e7304e; }
  693. .el-input--suffix .el-input__inner {
  694. padding-right: 30px; }
  695. .el-input--prefix .el-input__inner {
  696. padding-left: 30px; }
  697. .el-input--medium {
  698. font-size: 14px; }
  699. .el-input--medium .el-input__inner {
  700. height: 36px;
  701. line-height: 36px; }
  702. .el-input--medium .el-input__icon {
  703. line-height: 36px; }
  704. .el-input--small {
  705. font-size: 13px; }
  706. .el-input--small .el-input__inner {
  707. height: 32px;
  708. line-height: 32px; }
  709. .el-input--small .el-input__icon {
  710. line-height: 32px; }
  711. .el-input--mini {
  712. font-size: 12px; }
  713. .el-input--mini .el-input__inner {
  714. height: 28px;
  715. line-height: 28px; }
  716. .el-input--mini .el-input__icon {
  717. line-height: 28px; }
  718. .el-input-group {
  719. line-height: normal;
  720. display: inline-table;
  721. width: 100%;
  722. border-collapse: separate;
  723. border-spacing: 0; }
  724. .el-input-group > .el-input__inner {
  725. vertical-align: middle;
  726. display: table-cell; }
  727. .el-input-group__append, .el-input-group__prepend {
  728. background-color: #F5F7FA;
  729. color: #909399;
  730. vertical-align: middle;
  731. display: table-cell;
  732. position: relative;
  733. border: 1px solid #DCDFE6;
  734. border-radius: 4px;
  735. padding: 0 20px;
  736. width: 1px;
  737. white-space: nowrap; }
  738. .el-input-group__append:focus, .el-input-group__prepend:focus {
  739. outline: none; }
  740. .el-input-group__append .el-select,
  741. .el-input-group__append .el-button, .el-input-group__prepend .el-select,
  742. .el-input-group__prepend .el-button {
  743. display: inline-block;
  744. margin: -10px -20px; }
  745. .el-input-group__append button.el-button,
  746. .el-input-group__append div.el-select .el-input__inner,
  747. .el-input-group__append div.el-select:hover .el-input__inner, .el-input-group__prepend button.el-button,
  748. .el-input-group__prepend div.el-select .el-input__inner,
  749. .el-input-group__prepend div.el-select:hover .el-input__inner {
  750. border-color: transparent;
  751. background-color: transparent;
  752. color: inherit;
  753. border-top: 0;
  754. border-bottom: 0; }
  755. .el-input-group__append .el-button,
  756. .el-input-group__append .el-input, .el-input-group__prepend .el-button,
  757. .el-input-group__prepend .el-input {
  758. font-size: inherit; }
  759. .el-input-group__prepend {
  760. border-right: 0;
  761. border-top-right-radius: 0;
  762. border-bottom-right-radius: 0; }
  763. .el-input-group__append {
  764. border-left: 0;
  765. border-top-left-radius: 0;
  766. border-bottom-left-radius: 0; }
  767. .el-input-group--prepend .el-input__inner {
  768. border-top-left-radius: 0;
  769. border-bottom-left-radius: 0; }
  770. .el-input-group--prepend .el-select .el-input.is-focus .el-input__inner {
  771. border-color: transparent; }
  772. .el-input-group--append .el-input__inner {
  773. border-top-right-radius: 0;
  774. border-bottom-right-radius: 0; }
  775. .el-input-group--append .el-select .el-input.is-focus .el-input__inner {
  776. border-color: transparent; }
  777. /** disalbe default clear on IE */
  778. .el-input__inner::-ms-clear {
  779. display: none;
  780. width: 0;
  781. height: 0; }
  782. .el-input-number {
  783. position: relative;
  784. display: inline-block;
  785. width: 180px;
  786. line-height: 38px; }
  787. .el-input-number .el-input {
  788. display: block; }
  789. .el-input-number .el-input__inner {
  790. -webkit-appearance: none;
  791. padding-left: 50px;
  792. padding-right: 50px;
  793. text-align: center; }
  794. .el-input-number__increase, .el-input-number__decrease {
  795. position: absolute;
  796. z-index: 1;
  797. top: 1px;
  798. width: 40px;
  799. height: auto;
  800. text-align: center;
  801. background: #F5F7FA;
  802. color: #606266;
  803. cursor: pointer;
  804. font-size: 13px; }
  805. .el-input-number__increase:hover, .el-input-number__decrease:hover {
  806. color: #2D74E7; }
  807. .el-input-number__increase:hover:not(.is-disabled) ~ .el-input .el-input__inner:not(.is-disabled), .el-input-number__decrease:hover:not(.is-disabled) ~ .el-input .el-input__inner:not(.is-disabled) {
  808. border-color: #2D74E7; }
  809. .el-input-number__increase.is-disabled, .el-input-number__decrease.is-disabled {
  810. color: #C0C4CC;
  811. cursor: not-allowed; }
  812. .el-input-number__increase {
  813. right: 1px;
  814. border-radius: 0 4px 4px 0;
  815. border-left: 1px solid #DCDFE6; }
  816. .el-input-number__decrease {
  817. left: 1px;
  818. border-radius: 4px 0 0 4px;
  819. border-right: 1px solid #DCDFE6; }
  820. .el-input-number.is-disabled .el-input-number__increase, .el-input-number.is-disabled .el-input-number__decrease {
  821. border-color: #E4E7ED;
  822. color: #E4E7ED; }
  823. .el-input-number.is-disabled .el-input-number__increase:hover, .el-input-number.is-disabled .el-input-number__decrease:hover {
  824. color: #E4E7ED;
  825. cursor: not-allowed; }
  826. .el-input-number--medium {
  827. width: 200px;
  828. line-height: 34px; }
  829. .el-input-number--medium .el-input-number__increase, .el-input-number--medium .el-input-number__decrease {
  830. width: 36px;
  831. font-size: 14px; }
  832. .el-input-number--medium .el-input__inner {
  833. padding-left: 43px;
  834. padding-right: 43px; }
  835. .el-input-number--small {
  836. width: 130px;
  837. line-height: 30px; }
  838. .el-input-number--small .el-input-number__increase, .el-input-number--small .el-input-number__decrease {
  839. width: 32px;
  840. font-size: 13px; }
  841. .el-input-number--small .el-input-number__increase [class*=el-icon], .el-input-number--small .el-input-number__decrease [class*=el-icon] {
  842. -webkit-transform: scale(0.9);
  843. transform: scale(0.9); }
  844. .el-input-number--small .el-input__inner {
  845. padding-left: 39px;
  846. padding-right: 39px; }
  847. .el-input-number--mini {
  848. width: 130px;
  849. line-height: 26px; }
  850. .el-input-number--mini .el-input-number__increase, .el-input-number--mini .el-input-number__decrease {
  851. width: 28px;
  852. font-size: 12px; }
  853. .el-input-number--mini .el-input-number__increase [class*=el-icon], .el-input-number--mini .el-input-number__decrease [class*=el-icon] {
  854. -webkit-transform: scale(0.8);
  855. transform: scale(0.8); }
  856. .el-input-number--mini .el-input__inner {
  857. padding-left: 35px;
  858. padding-right: 35px; }
  859. .el-input-number.is-without-controls .el-input__inner {
  860. padding-left: 15px;
  861. padding-right: 15px; }
  862. .el-input-number.is-controls-right .el-input__inner {
  863. padding-left: 15px;
  864. padding-right: 50px; }
  865. .el-input-number.is-controls-right .el-input-number__increase, .el-input-number.is-controls-right .el-input-number__decrease {
  866. height: auto;
  867. line-height: 19px; }
  868. .el-input-number.is-controls-right .el-input-number__increase [class*=el-icon], .el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon] {
  869. -webkit-transform: scale(0.8);
  870. transform: scale(0.8); }
  871. .el-input-number.is-controls-right .el-input-number__increase {
  872. border-radius: 0 4px 0 0;
  873. border-bottom: 1px solid #DCDFE6; }
  874. .el-input-number.is-controls-right .el-input-number__decrease {
  875. right: 1px;
  876. bottom: 1px;
  877. top: auto;
  878. left: auto;
  879. border-right: none;
  880. border-left: 1px solid #DCDFE6;
  881. border-radius: 0 0 4px 0; }
  882. .el-input-number.is-controls-right[class*=medium] [class*=increase], .el-input-number.is-controls-right[class*=medium] [class*=decrease] {
  883. line-height: 17px; }
  884. .el-input-number.is-controls-right[class*=small] [class*=increase], .el-input-number.is-controls-right[class*=small] [class*=decrease] {
  885. line-height: 15px; }
  886. .el-input-number.is-controls-right[class*=mini] [class*=increase], .el-input-number.is-controls-right[class*=mini] [class*=decrease] {
  887. line-height: 13px; }