form.css 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  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. .el-form--label-left .el-form-item__label {
  252. text-align: left; }
  253. .el-form--label-top .el-form-item__label {
  254. float: none;
  255. display: inline-block;
  256. text-align: left;
  257. padding: 0 0 10px 0; }
  258. .el-form--inline .el-form-item {
  259. display: inline-block;
  260. margin-right: 10px;
  261. vertical-align: top; }
  262. .el-form--inline .el-form-item__label {
  263. float: none;
  264. display: inline-block; }
  265. .el-form--inline .el-form-item__content {
  266. display: inline-block;
  267. vertical-align: top; }
  268. .el-form--inline.el-form--label-top .el-form-item__content {
  269. display: block; }
  270. .el-form-item {
  271. margin-bottom: 0px; }
  272. .el-form-item::before,
  273. .el-form-item::after {
  274. display: table;
  275. content: ""; }
  276. .el-form-item::after {
  277. clear: both; }
  278. .el-form-item .el-form-item {
  279. margin-bottom: 0; }
  280. .el-form-item .el-input__validateIcon {
  281. display: none; }
  282. .el-form-item--medium .el-form-item__label {
  283. line-height: 36px; }
  284. .el-form-item--medium .el-form-item__content {
  285. line-height: 36px; }
  286. .el-form-item--small .el-form-item__label {
  287. line-height: 32px; }
  288. .el-form-item--small .el-form-item__content {
  289. line-height: 32px; }
  290. .el-form-item--small.el-form-item {
  291. margin-bottom: 18px; }
  292. .el-form-item--small .el-form-item__error {
  293. padding-top: 2px; }
  294. .el-form-item--mini .el-form-item__label {
  295. line-height: 28px; }
  296. .el-form-item--mini .el-form-item__content {
  297. line-height: 28px; }
  298. .el-form-item--mini.el-form-item {
  299. margin-bottom: 18px; }
  300. .el-form-item--mini .el-form-item__error {
  301. padding-top: 1px; }
  302. .el-form-item__label-wrap {
  303. float: left; }
  304. .el-form-item__label-wrap .el-form-item__label {
  305. display: inline-block;
  306. float: none; }
  307. .el-form-item__label {
  308. text-align: right;
  309. vertical-align: middle;
  310. float: left;
  311. font-size: 14px;
  312. color: #606266;
  313. line-height: 40px;
  314. padding: 0 12px 0 0;
  315. -webkit-box-sizing: border-box;
  316. box-sizing: border-box; }
  317. .el-form-item__content {
  318. line-height: 40px;
  319. position: relative;
  320. font-size: 14px; }
  321. .el-form-item__content::before,
  322. .el-form-item__content::after {
  323. display: table;
  324. content: ""; }
  325. .el-form-item__content::after {
  326. clear: both; }
  327. .el-form-item__content .el-input-group {
  328. vertical-align: top; }
  329. .el-form-item__error {
  330. color: #e7304e;
  331. font-size: 12px;
  332. line-height: 1;
  333. padding-top: 4px;
  334. position: absolute;
  335. top: 100%;
  336. left: 0; }
  337. .el-form-item__error--inline {
  338. position: relative;
  339. top: auto;
  340. left: auto;
  341. display: inline-block;
  342. margin-left: 10px; }
  343. .el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label:before,
  344. .el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap > .el-form-item__label:before {
  345. content: '*';
  346. color: #e7304e;
  347. margin-right: 4px; }
  348. .el-form-item.is-error .el-input__inner, .el-form-item.is-error .el-input__inner:focus,
  349. .el-form-item.is-error .el-textarea__inner,
  350. .el-form-item.is-error .el-textarea__inner:focus {
  351. border-color: #e7304e; }
  352. .el-form-item.is-error .el-input-group__append .el-input__inner,
  353. .el-form-item.is-error .el-input-group__prepend .el-input__inner {
  354. border-color: transparent; }
  355. .el-form-item.is-error .el-input__validateIcon {
  356. color: #e7304e; }
  357. .el-form-item--feedback .el-input__validateIcon {
  358. display: inline-block; }