input.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452
  1. /* BEM support Func
  2. -------------------------- */
  3. /* Element Chalk Variables */
  4. /* Transition
  5. -------------------------- */
  6. /* Colors
  7. -------------------------- */
  8. /* 53a8ff */
  9. /* 66b1ff */
  10. /* 79bbff */
  11. /* 8cc5ff */
  12. /* a0cfff */
  13. /* b3d8ff */
  14. /* c6e2ff */
  15. /* d9ecff */
  16. /* ecf5ff */
  17. /* Link
  18. -------------------------- */
  19. /* Background
  20. -------------------------- */
  21. /* Border
  22. -------------------------- */
  23. /* Box-shadow
  24. -------------------------- */
  25. /* Fill
  26. -------------------------- */
  27. /* Font
  28. -------------------------- */
  29. /* Size
  30. -------------------------- */
  31. /* z-index
  32. -------------------------- */
  33. /* Disable base
  34. -------------------------- */
  35. /* Icon
  36. -------------------------- */
  37. /* Checkbox
  38. -------------------------- */
  39. /* Radio
  40. -------------------------- */
  41. /* Select
  42. -------------------------- */
  43. /* Alert
  44. -------------------------- */
  45. /* Message Box
  46. -------------------------- */
  47. /* Message
  48. -------------------------- */
  49. /* Notification
  50. -------------------------- */
  51. /* Input
  52. -------------------------- */
  53. /* Cascader
  54. -------------------------- */
  55. /* Group
  56. -------------------------- */
  57. /* Tab
  58. -------------------------- */
  59. /* Button
  60. -------------------------- */
  61. /* cascader
  62. -------------------------- */
  63. /* Switch
  64. -------------------------- */
  65. /* Dialog
  66. -------------------------- */
  67. /* Table
  68. -------------------------- */
  69. /* Pagination
  70. -------------------------- */
  71. /* Popover
  72. -------------------------- */
  73. /* Tooltip
  74. -------------------------- */
  75. /* Tag
  76. -------------------------- */
  77. /* Tree
  78. -------------------------- */
  79. /* Dropdown
  80. -------------------------- */
  81. /* Badge
  82. -------------------------- */
  83. /* Card
  84. --------------------------*/
  85. /* Slider
  86. --------------------------*/
  87. /* Steps
  88. --------------------------*/
  89. /* MenuSlide
  90. --------------------------*/
  91. /* Rate
  92. --------------------------*/
  93. /* DatePicker
  94. --------------------------*/
  95. /* Loading
  96. --------------------------*/
  97. /* Scrollbar
  98. --------------------------*/
  99. /* Carousel
  100. --------------------------*/
  101. /* Collapse
  102. --------------------------*/
  103. /* Transfer
  104. --------------------------*/
  105. /* Header
  106. --------------------------*/
  107. /* Footer
  108. --------------------------*/
  109. /* Main
  110. --------------------------*/
  111. /* Break-point
  112. --------------------------*/
  113. /* Break-points
  114. -------------------------- */
  115. /* Scrollbar
  116. -------------------------- */
  117. /* Placeholder
  118. -------------------------- */
  119. /* BEM
  120. -------------------------- */
  121. /* Element Chalk Variables */
  122. /* Transition
  123. -------------------------- */
  124. /* Colors
  125. -------------------------- */
  126. /* 53a8ff */
  127. /* 66b1ff */
  128. /* 79bbff */
  129. /* 8cc5ff */
  130. /* a0cfff */
  131. /* b3d8ff */
  132. /* c6e2ff */
  133. /* d9ecff */
  134. /* ecf5ff */
  135. /* Link
  136. -------------------------- */
  137. /* Background
  138. -------------------------- */
  139. /* Border
  140. -------------------------- */
  141. /* Box-shadow
  142. -------------------------- */
  143. /* Fill
  144. -------------------------- */
  145. /* Font
  146. -------------------------- */
  147. /* Size
  148. -------------------------- */
  149. /* z-index
  150. -------------------------- */
  151. /* Disable base
  152. -------------------------- */
  153. /* Icon
  154. -------------------------- */
  155. /* Checkbox
  156. -------------------------- */
  157. /* Radio
  158. -------------------------- */
  159. /* Select
  160. -------------------------- */
  161. /* Alert
  162. -------------------------- */
  163. /* Message Box
  164. -------------------------- */
  165. /* Message
  166. -------------------------- */
  167. /* Notification
  168. -------------------------- */
  169. /* Input
  170. -------------------------- */
  171. /* Cascader
  172. -------------------------- */
  173. /* Group
  174. -------------------------- */
  175. /* Tab
  176. -------------------------- */
  177. /* Button
  178. -------------------------- */
  179. /* cascader
  180. -------------------------- */
  181. /* Switch
  182. -------------------------- */
  183. /* Dialog
  184. -------------------------- */
  185. /* Table
  186. -------------------------- */
  187. /* Pagination
  188. -------------------------- */
  189. /* Popover
  190. -------------------------- */
  191. /* Tooltip
  192. -------------------------- */
  193. /* Tag
  194. -------------------------- */
  195. /* Tree
  196. -------------------------- */
  197. /* Dropdown
  198. -------------------------- */
  199. /* Badge
  200. -------------------------- */
  201. /* Card
  202. --------------------------*/
  203. /* Slider
  204. --------------------------*/
  205. /* Steps
  206. --------------------------*/
  207. /* MenuSlide
  208. --------------------------*/
  209. /* Rate
  210. --------------------------*/
  211. /* DatePicker
  212. --------------------------*/
  213. /* Loading
  214. --------------------------*/
  215. /* Scrollbar
  216. --------------------------*/
  217. /* Carousel
  218. --------------------------*/
  219. /* Collapse
  220. --------------------------*/
  221. /* Transfer
  222. --------------------------*/
  223. /* Header
  224. --------------------------*/
  225. /* Footer
  226. --------------------------*/
  227. /* Main
  228. --------------------------*/
  229. /* Break-point
  230. --------------------------*/
  231. .el-input {
  232. position: relative;
  233. font-size: 14px;
  234. display: inline-block;
  235. width: 100%; }
  236. .el-input::-webkit-scrollbar {
  237. z-index: 11;
  238. width: 6px; }
  239. .el-input::-webkit-scrollbar:horizontal {
  240. height: 6px; }
  241. .el-input::-webkit-scrollbar-thumb {
  242. border-radius: 5px;
  243. width: 6px;
  244. background: #b4bccc; }
  245. .el-input::-webkit-scrollbar-corner {
  246. background: #fff; }
  247. .el-input::-webkit-scrollbar-track {
  248. background: #fff; }
  249. .el-input::-webkit-scrollbar-track-piece {
  250. background: #fff;
  251. width: 6px; }
  252. .el-input__inner {
  253. -webkit-appearance: none;
  254. background-color: #fff;
  255. background-image: none;
  256. border-radius: 4px;
  257. border: 1px solid #d8dce5;
  258. -webkit-box-sizing: border-box;
  259. box-sizing: border-box;
  260. color: #5a5e66;
  261. display: inline-block;
  262. font-size: inherit;
  263. height: 40px;
  264. line-height: 1;
  265. outline: none;
  266. padding: 0 15px;
  267. -webkit-transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  268. transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  269. width: 100%; }
  270. .el-input__inner::-webkit-input-placeholder {
  271. color: #b4bccc; }
  272. .el-input__inner:-ms-input-placeholder {
  273. color: #b4bccc; }
  274. .el-input__inner::-ms-input-placeholder {
  275. color: #b4bccc; }
  276. .el-input__inner::placeholder {
  277. color: #b4bccc; }
  278. .el-input__inner:hover {
  279. border-color: #b4bccc; }
  280. .el-input__inner:focus {
  281. outline: none;
  282. border-color: #1b1e24; }
  283. .el-input__suffix {
  284. position: absolute;
  285. height: 100%;
  286. right: 5px;
  287. top: 0;
  288. text-align: center;
  289. color: #b4bccc;
  290. -webkit-transition: all .3s;
  291. transition: all .3s;
  292. pointer-events: none; }
  293. .el-input__suffix-inner {
  294. pointer-events: all; }
  295. .el-input__prefix {
  296. position: absolute;
  297. height: 100%;
  298. left: 5px;
  299. top: 0;
  300. text-align: center;
  301. color: #b4bccc;
  302. -webkit-transition: all .3s;
  303. transition: all .3s; }
  304. .el-input__icon {
  305. height: 100%;
  306. width: 25px;
  307. text-align: center;
  308. -webkit-transition: all .3s;
  309. transition: all .3s;
  310. line-height: 40px; }
  311. .el-input__icon:after {
  312. content: '';
  313. height: 100%;
  314. width: 0;
  315. display: inline-block;
  316. vertical-align: middle; }
  317. .el-input__validateIcon {
  318. pointer-events: none; }
  319. .el-input.is-active .el-input__inner {
  320. outline: none;
  321. border-color: #1b1e24; }
  322. .el-input.is-disabled .el-input__inner {
  323. background-color: #011638;
  324. border-color: #dfe4ed;
  325. color: #b4bccc;
  326. cursor: not-allowed; }
  327. .el-input.is-disabled .el-input__inner::-webkit-input-placeholder {
  328. color: #b4bccc; }
  329. .el-input.is-disabled .el-input__inner:-ms-input-placeholder {
  330. color: #b4bccc; }
  331. .el-input.is-disabled .el-input__inner::-ms-input-placeholder {
  332. color: #b4bccc; }
  333. .el-input.is-disabled .el-input__inner::placeholder {
  334. color: #b4bccc; }
  335. .el-input.is-disabled .el-input__icon {
  336. cursor: not-allowed; }
  337. .el-input--suffix .el-input__inner {
  338. padding-right: 30px; }
  339. .el-input--prefix .el-input__inner {
  340. padding-left: 30px; }
  341. .el-input--medium {
  342. font-size: 14px; }
  343. .el-input--medium .el-input__inner {
  344. height: 36px; }
  345. .el-input--medium .el-input__icon {
  346. line-height: 36px; }
  347. .el-input--small {
  348. font-size: 13px; }
  349. .el-input--small .el-input__inner {
  350. height: 32px; }
  351. .el-input--small .el-input__icon {
  352. line-height: 32px; }
  353. .el-input--mini {
  354. font-size: 12px; }
  355. .el-input--mini .el-input__inner {
  356. height: 28px; }
  357. .el-input--mini .el-input__icon {
  358. line-height: 28px; }
  359. .el-input-group {
  360. line-height: normal;
  361. display: inline-table;
  362. width: 100%;
  363. border-collapse: separate; }
  364. .el-input-group > .el-input__inner {
  365. vertical-align: middle;
  366. display: table-cell; }
  367. .el-input-group__append, .el-input-group__prepend {
  368. background-color: #011638;
  369. color: #777;
  370. vertical-align: middle;
  371. display: table-cell;
  372. position: relative;
  373. border: 1px solid #d8dce5;
  374. border-radius: 4px;
  375. padding: 0 20px;
  376. width: 1px;
  377. white-space: nowrap; }
  378. .el-input-group__append:focus, .el-input-group__prepend:focus {
  379. outline: none; }
  380. .el-input-group__append .el-select, .el-input-group__append .el-button, .el-input-group__prepend .el-select, .el-input-group__prepend .el-button {
  381. display: inline-block;
  382. margin: -20px; }
  383. .el-input-group__append button.el-button, .el-input-group__append div.el-select .el-input__inner, .el-input-group__append div.el-select:hover .el-input__inner, .el-input-group__prepend button.el-button, .el-input-group__prepend div.el-select .el-input__inner, .el-input-group__prepend div.el-select:hover .el-input__inner {
  384. border-color: transparent;
  385. background-color: transparent;
  386. color: inherit;
  387. border-top: 0;
  388. border-bottom: 0; }
  389. .el-input-group__append .el-button, .el-input-group__append .el-input, .el-input-group__prepend .el-button, .el-input-group__prepend .el-input {
  390. font-size: inherit; }
  391. .el-input-group__prepend {
  392. border-right: 0;
  393. border-top-right-radius: 0;
  394. border-bottom-right-radius: 0; }
  395. .el-input-group__append {
  396. border-left: 0;
  397. border-top-left-radius: 0;
  398. border-bottom-left-radius: 0; }
  399. .el-input-group--prepend .el-input__inner {
  400. border-top-left-radius: 0;
  401. border-bottom-left-radius: 0; }
  402. .el-input-group--append .el-input__inner {
  403. border-top-right-radius: 0;
  404. border-bottom-right-radius: 0; }
  405. .el-textarea {
  406. display: inline-block;
  407. width: 100%;
  408. vertical-align: bottom; }
  409. .el-textarea__inner {
  410. display: block;
  411. resize: vertical;
  412. padding: 5px 15px;
  413. line-height: 1.5;
  414. -webkit-box-sizing: border-box;
  415. box-sizing: border-box;
  416. width: 100%;
  417. font-size: 14px;
  418. color: #5a5e66;
  419. background-color: #fff;
  420. background-image: none;
  421. border: 1px solid #d8dce5;
  422. border-radius: 4px;
  423. -webkit-transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  424. transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); }
  425. .el-textarea__inner::-webkit-input-placeholder {
  426. color: #b4bccc; }
  427. .el-textarea__inner:-ms-input-placeholder {
  428. color: #b4bccc; }
  429. .el-textarea__inner::-ms-input-placeholder {
  430. color: #b4bccc; }
  431. .el-textarea__inner::placeholder {
  432. color: #b4bccc; }
  433. .el-textarea__inner:hover {
  434. border-color: #b4bccc; }
  435. .el-textarea__inner:focus {
  436. outline: none;
  437. border-color: #1b1e24; }
  438. .el-textarea.is-disabled .el-textarea__inner {
  439. background-color: #011638;
  440. border-color: #dfe4ed;
  441. color: #b4bccc;
  442. cursor: not-allowed; }
  443. .el-textarea.is-disabled .el-textarea__inner::-webkit-input-placeholder {
  444. color: #b4bccc; }
  445. .el-textarea.is-disabled .el-textarea__inner:-ms-input-placeholder {
  446. color: #b4bccc; }
  447. .el-textarea.is-disabled .el-textarea__inner::-ms-input-placeholder {
  448. color: #b4bccc; }
  449. .el-textarea.is-disabled .el-textarea__inner::placeholder {
  450. color: #b4bccc; }