fomantic-ui 2.9.1-beta.8 → 2.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (521) hide show
  1. package/.eslint/eqeqeq-rule.js +18 -0
  2. package/.eslint/index.js +29 -0
  3. package/.eslint/no-extra-parens-rule.js +17 -0
  4. package/.eslint/package.json +11 -0
  5. package/.eslintrc.js +123 -0
  6. package/.github/auto_assign.yml +0 -1
  7. package/.github/workflows/ci.yml +37 -4
  8. package/.github/workflows/nightly.yml +1 -1
  9. package/.github/workflows/release.yml +1 -1
  10. package/.prettierrc.js +12 -0
  11. package/.stylelintrc.js +48 -0
  12. package/CHANGELOG.md +112 -0
  13. package/README.md +1 -1
  14. package/dist/components/accordion.css +35 -53
  15. package/dist/components/accordion.js +568 -595
  16. package/dist/components/accordion.min.css +2 -2
  17. package/dist/components/accordion.min.js +3 -3
  18. package/dist/components/ad.css +34 -45
  19. package/dist/components/ad.min.css +2 -2
  20. package/dist/components/api.js +1157 -1179
  21. package/dist/components/api.min.js +3 -3
  22. package/dist/components/breadcrumb.css +5 -5
  23. package/dist/components/breadcrumb.min.css +2 -2
  24. package/dist/components/button.css +709 -1111
  25. package/dist/components/button.min.css +2 -2
  26. package/dist/components/calendar.css +24 -27
  27. package/dist/components/calendar.js +1934 -1809
  28. package/dist/components/calendar.min.css +2 -2
  29. package/dist/components/calendar.min.js +3 -3
  30. package/dist/components/card.css +219 -365
  31. package/dist/components/card.min.css +2 -2
  32. package/dist/components/checkbox.css +120 -191
  33. package/dist/components/checkbox.js +842 -841
  34. package/dist/components/checkbox.min.css +2 -2
  35. package/dist/components/checkbox.min.js +3 -3
  36. package/dist/components/comment.css +41 -59
  37. package/dist/components/comment.min.css +2 -2
  38. package/dist/components/container.css +7 -6
  39. package/dist/components/container.min.css +2 -2
  40. package/dist/components/dimmer.css +53 -172
  41. package/dist/components/dimmer.js +706 -737
  42. package/dist/components/dimmer.min.css +2 -2
  43. package/dist/components/dimmer.min.js +3 -3
  44. package/dist/components/divider.css +43 -61
  45. package/dist/components/divider.min.css +2 -2
  46. package/dist/components/dropdown.css +252 -386
  47. package/dist/components/dropdown.js +4195 -4236
  48. package/dist/components/dropdown.min.css +2 -2
  49. package/dist/components/dropdown.min.js +3 -3
  50. package/dist/components/embed.css +18 -29
  51. package/dist/components/embed.js +645 -675
  52. package/dist/components/embed.min.css +2 -2
  53. package/dist/components/embed.min.js +3 -3
  54. package/dist/components/emoji.css +3556 -3556
  55. package/dist/components/emoji.min.css +1 -1
  56. package/dist/components/feed.css +35 -57
  57. package/dist/components/feed.min.css +2 -2
  58. package/dist/components/flag.css +270 -268
  59. package/dist/components/flag.min.css +2 -2
  60. package/dist/components/flyout.css +95 -141
  61. package/dist/components/flyout.js +1514 -1465
  62. package/dist/components/flyout.min.css +2 -2
  63. package/dist/components/flyout.min.js +3 -3
  64. package/dist/components/form.css +244 -339
  65. package/dist/components/form.js +2022 -2004
  66. package/dist/components/form.min.css +2 -2
  67. package/dist/components/form.min.js +3 -3
  68. package/dist/components/grid.css +183 -329
  69. package/dist/components/grid.min.css +2 -2
  70. package/dist/components/header.css +118 -142
  71. package/dist/components/header.min.css +2 -2
  72. package/dist/components/icon.css +662 -745
  73. package/dist/components/icon.min.css +2 -2
  74. package/dist/components/image.css +39 -63
  75. package/dist/components/image.min.css +2 -2
  76. package/dist/components/input.css +356 -274
  77. package/dist/components/input.min.css +2 -2
  78. package/dist/components/item.css +84 -131
  79. package/dist/components/item.min.css +2 -2
  80. package/dist/components/label.css +359 -410
  81. package/dist/components/label.min.css +2 -2
  82. package/dist/components/list.css +49 -70
  83. package/dist/components/list.min.css +2 -2
  84. package/dist/components/loader.css +67 -155
  85. package/dist/components/loader.min.css +2 -2
  86. package/dist/components/menu.css +270 -431
  87. package/dist/components/menu.min.css +1 -1
  88. package/dist/components/message.css +125 -197
  89. package/dist/components/message.min.css +2 -2
  90. package/dist/components/modal.css +120 -154
  91. package/dist/components/modal.js +1544 -1486
  92. package/dist/components/modal.min.css +2 -2
  93. package/dist/components/modal.min.js +3 -3
  94. package/dist/components/nag.css +53 -63
  95. package/dist/components/nag.js +520 -526
  96. package/dist/components/nag.min.css +2 -2
  97. package/dist/components/nag.min.js +3 -3
  98. package/dist/components/placeholder.css +22 -42
  99. package/dist/components/placeholder.min.css +2 -2
  100. package/dist/components/popup.css +424 -202
  101. package/dist/components/popup.js +1456 -1456
  102. package/dist/components/popup.min.css +2 -2
  103. package/dist/components/popup.min.js +3 -3
  104. package/dist/components/progress.css +106 -211
  105. package/dist/components/progress.js +969 -997
  106. package/dist/components/progress.min.css +2 -2
  107. package/dist/components/progress.min.js +3 -3
  108. package/dist/components/rail.css +15 -20
  109. package/dist/components/rail.min.css +1 -1
  110. package/dist/components/rating.css +80 -121
  111. package/dist/components/rating.js +507 -523
  112. package/dist/components/rating.min.css +2 -2
  113. package/dist/components/rating.min.js +3 -3
  114. package/dist/components/reset.css +8 -13
  115. package/dist/components/reset.min.css +2 -2
  116. package/dist/components/reveal.css +44 -83
  117. package/dist/components/reveal.min.css +2 -2
  118. package/dist/components/search.css +69 -98
  119. package/dist/components/search.js +1520 -1534
  120. package/dist/components/search.min.css +2 -2
  121. package/dist/components/search.min.js +3 -3
  122. package/dist/components/segment.css +148 -224
  123. package/dist/components/segment.min.css +2 -2
  124. package/dist/components/shape.css +14 -30
  125. package/dist/components/shape.js +783 -810
  126. package/dist/components/shape.min.css +2 -2
  127. package/dist/components/shape.min.js +3 -3
  128. package/dist/components/sidebar.css +103 -206
  129. package/dist/components/sidebar.js +1061 -1099
  130. package/dist/components/sidebar.min.css +2 -2
  131. package/dist/components/sidebar.min.js +3 -3
  132. package/dist/components/site.css +28 -41
  133. package/dist/components/site.js +436 -476
  134. package/dist/components/site.min.css +2 -2
  135. package/dist/components/site.min.js +3 -3
  136. package/dist/components/slider.css +93 -121
  137. package/dist/components/slider.js +1310 -1311
  138. package/dist/components/slider.min.css +1 -1
  139. package/dist/components/slider.min.js +3 -3
  140. package/dist/components/state.js +638 -657
  141. package/dist/components/state.min.js +3 -3
  142. package/dist/components/statistic.css +75 -116
  143. package/dist/components/statistic.min.css +2 -2
  144. package/dist/components/step.css +77 -150
  145. package/dist/components/step.min.css +2 -2
  146. package/dist/components/sticky.css +1 -5
  147. package/dist/components/sticky.js +847 -901
  148. package/dist/components/sticky.min.css +2 -2
  149. package/dist/components/sticky.min.js +3 -3
  150. package/dist/components/tab.css +10 -14
  151. package/dist/components/tab.js +902 -966
  152. package/dist/components/tab.min.css +2 -2
  153. package/dist/components/tab.min.js +3 -3
  154. package/dist/components/table.css +547 -774
  155. package/dist/components/table.min.css +2 -2
  156. package/dist/components/text.css +32 -32
  157. package/dist/components/text.min.css +1 -1
  158. package/dist/components/toast.css +69 -147
  159. package/dist/components/toast.js +910 -884
  160. package/dist/components/toast.min.css +2 -2
  161. package/dist/components/toast.min.js +3 -3
  162. package/dist/components/transition.css +299 -1356
  163. package/dist/components/transition.js +1048 -1077
  164. package/dist/components/transition.min.css +2 -2
  165. package/dist/components/transition.min.js +3 -3
  166. package/dist/components/visibility.js +1213 -1245
  167. package/dist/components/visibility.min.js +3 -3
  168. package/dist/semantic.css +9344 -12298
  169. package/dist/semantic.js +29181 -29423
  170. package/dist/semantic.min.css +3 -3
  171. package/dist/semantic.min.js +3 -3
  172. package/dist/themes/basic/assets/fonts/icons.woff2 +0 -0
  173. package/dist/themes/github/assets/fonts/octicons.woff2 +0 -0
  174. package/examples/.eslintrc.js +6 -0
  175. package/examples/assets/library/jquery.min.js +2 -4
  176. package/examples/assets/show-examples.js +13 -13
  177. package/examples/attached.html +1 -1
  178. package/examples/bootstrap.html +1 -1
  179. package/examples/components/button.html +1 -1
  180. package/examples/components/card.html +6 -6
  181. package/examples/components/input.html +1 -1
  182. package/examples/components/menu.html +1 -1
  183. package/examples/components/site.html +1 -1
  184. package/examples/components/sticky-context.html +2 -2
  185. package/examples/components/table.html +1 -1
  186. package/examples/fixed.html +3 -3
  187. package/examples/grid.html +5 -5
  188. package/examples/homepage.html +1 -1
  189. package/examples/login.html +2 -2
  190. package/examples/responsive.html +2 -2
  191. package/examples/sticky.html +4 -4
  192. package/examples/theming.html +1 -1
  193. package/gulpfile.js +13 -11
  194. package/package.json +17 -8
  195. package/scripts/nightly-version.js +83 -75
  196. package/src/_site/collections/menu.overrides +1 -1
  197. package/src/_site/elements/flag.variables +2 -2
  198. package/src/_site/globals/site.variables +1 -1
  199. package/src/_site/modules/embed.variables +3 -0
  200. package/src/definitions/behaviors/api.js +1158 -1180
  201. package/src/definitions/behaviors/form.js +2021 -2003
  202. package/src/definitions/behaviors/state.js +644 -663
  203. package/src/definitions/behaviors/visibility.js +1212 -1244
  204. package/src/definitions/collections/breadcrumb.less +43 -47
  205. package/src/definitions/collections/form.less +866 -884
  206. package/src/definitions/collections/grid.less +1681 -1699
  207. package/src/definitions/collections/menu.less +1522 -1544
  208. package/src/definitions/collections/message.less +294 -298
  209. package/src/definitions/collections/table.less +1657 -1661
  210. package/src/definitions/elements/button.less +1716 -1750
  211. package/src/definitions/elements/container.less +211 -211
  212. package/src/definitions/elements/divider.less +198 -211
  213. package/src/definitions/elements/emoji.less +41 -48
  214. package/src/definitions/elements/flag.less +46 -48
  215. package/src/definitions/elements/header.less +351 -359
  216. package/src/definitions/elements/icon.less +541 -484
  217. package/src/definitions/elements/image.less +216 -227
  218. package/src/definitions/elements/input.less +692 -699
  219. package/src/definitions/elements/label.less +784 -806
  220. package/src/definitions/elements/list.less +810 -814
  221. package/src/definitions/elements/loader.less +273 -268
  222. package/src/definitions/elements/placeholder.less +173 -170
  223. package/src/definitions/elements/rail.less +93 -93
  224. package/src/definitions/elements/reveal.less +192 -198
  225. package/src/definitions/elements/segment.less +742 -749
  226. package/src/definitions/elements/step.less +423 -437
  227. package/src/definitions/elements/text.less +34 -36
  228. package/src/definitions/globals/reset.less +11 -8
  229. package/src/definitions/globals/site.js +435 -475
  230. package/src/definitions/globals/site.less +108 -110
  231. package/src/definitions/modules/accordion.js +567 -594
  232. package/src/definitions/modules/accordion.less +244 -248
  233. package/src/definitions/modules/calendar.js +1933 -1808
  234. package/src/definitions/modules/calendar.less +100 -97
  235. package/src/definitions/modules/checkbox.js +841 -840
  236. package/src/definitions/modules/checkbox.less +531 -552
  237. package/src/definitions/modules/dimmer.js +705 -736
  238. package/src/definitions/modules/dimmer.less +294 -305
  239. package/src/definitions/modules/dropdown.js +4194 -4235
  240. package/src/definitions/modules/dropdown.less +1568 -1598
  241. package/src/definitions/modules/embed.js +644 -674
  242. package/src/definitions/modules/embed.less +82 -84
  243. package/src/definitions/modules/flyout.js +1513 -1464
  244. package/src/definitions/modules/flyout.less +453 -455
  245. package/src/definitions/modules/modal.js +1543 -1485
  246. package/src/definitions/modules/modal.less +459 -467
  247. package/src/definitions/modules/nag.js +519 -525
  248. package/src/definitions/modules/nag.less +136 -149
  249. package/src/definitions/modules/popup.js +1455 -1455
  250. package/src/definitions/modules/popup.less +738 -693
  251. package/src/definitions/modules/progress.js +968 -996
  252. package/src/definitions/modules/progress.less +523 -499
  253. package/src/definitions/modules/rating.js +506 -522
  254. package/src/definitions/modules/rating.less +98 -103
  255. package/src/definitions/modules/search.js +1519 -1533
  256. package/src/definitions/modules/search.less +374 -394
  257. package/src/definitions/modules/shape.js +782 -809
  258. package/src/definitions/modules/shape.less +70 -79
  259. package/src/definitions/modules/sidebar.js +1060 -1098
  260. package/src/definitions/modules/sidebar.less +463 -476
  261. package/src/definitions/modules/slider.js +1309 -1310
  262. package/src/definitions/modules/slider.less +309 -310
  263. package/src/definitions/modules/sticky.js +863 -917
  264. package/src/definitions/modules/sticky.less +17 -25
  265. package/src/definitions/modules/tab.js +901 -965
  266. package/src/definitions/modules/tab.less +48 -54
  267. package/src/definitions/modules/toast.js +909 -883
  268. package/src/definitions/modules/toast.less +589 -589
  269. package/src/definitions/modules/transition.js +1047 -1076
  270. package/src/definitions/modules/transition.less +58 -59
  271. package/src/definitions/views/ad.less +207 -208
  272. package/src/definitions/views/card.less +955 -973
  273. package/src/definitions/views/comment.less +192 -200
  274. package/src/definitions/views/feed.less +222 -226
  275. package/src/definitions/views/item.less +437 -448
  276. package/src/definitions/views/statistic.less +273 -279
  277. package/src/semantic.less +8 -6
  278. package/src/theme.config.example +53 -53
  279. package/src/theme.less +44 -35
  280. package/src/themes/amazon/elements/button.overrides +23 -24
  281. package/src/themes/amazon/elements/button.variables +18 -23
  282. package/src/themes/amazon/globals/site.variables +16 -17
  283. package/src/themes/basic/assets/fonts/icons.woff2 +0 -0
  284. package/src/themes/basic/collections/table.overrides +0 -1
  285. package/src/themes/basic/collections/table.variables +3 -3
  286. package/src/themes/basic/elements/button.overrides +0 -1
  287. package/src/themes/basic/elements/button.variables +9 -9
  288. package/src/themes/basic/elements/icon.overrides +9 -169
  289. package/src/themes/basic/elements/icon.variables +161 -18
  290. package/src/themes/basic/elements/step.overrides +2 -2
  291. package/src/themes/basic/elements/step.variables +2 -2
  292. package/src/themes/basic/globals/reset.overrides +1 -1
  293. package/src/themes/basic/globals/reset.variables +1 -1
  294. package/src/themes/basic/modules/progress.variables +2 -2
  295. package/src/themes/basic/views/card.overrides +0 -1
  296. package/src/themes/basic/views/card.variables +6 -6
  297. package/src/themes/bookish/elements/header.overrides +4 -4
  298. package/src/themes/bookish/elements/header.variables +5 -5
  299. package/src/themes/bootstrap3/elements/button.overrides +3 -0
  300. package/src/themes/bootstrap3/elements/button.variables +20 -25
  301. package/src/themes/chubby/collections/form.overrides +9 -9
  302. package/src/themes/chubby/collections/form.variables +3 -3
  303. package/src/themes/chubby/collections/menu.overrides +3 -0
  304. package/src/themes/chubby/collections/menu.variables +3 -3
  305. package/src/themes/chubby/elements/button.overrides +8 -10
  306. package/src/themes/chubby/elements/button.variables +10 -10
  307. package/src/themes/chubby/elements/header.overrides +1 -1
  308. package/src/themes/chubby/elements/header.variables +4 -4
  309. package/src/themes/chubby/modules/accordion.overrides +2 -2
  310. package/src/themes/chubby/modules/accordion.variables +4 -4
  311. package/src/themes/chubby/views/comment.overrides +5 -5
  312. package/src/themes/chubby/views/comment.variables +11 -11
  313. package/src/themes/classic/collections/table.variables +3 -3
  314. package/src/themes/classic/elements/button.variables +36 -43
  315. package/src/themes/classic/elements/header.variables +4 -4
  316. package/src/themes/classic/modules/progress.variables +3 -3
  317. package/src/themes/classic/views/card.overrides +25 -27
  318. package/src/themes/classic/views/card.variables +7 -7
  319. package/src/themes/colored/modules/checkbox.overrides +3 -0
  320. package/src/themes/colored/modules/checkbox.variables +1 -3
  321. package/src/themes/default/collections/breadcrumb.variables +4 -4
  322. package/src/themes/default/collections/form.variables +15 -16
  323. package/src/themes/default/collections/grid.overrides +0 -1
  324. package/src/themes/default/collections/grid.variables +15 -16
  325. package/src/themes/default/collections/menu.variables +31 -45
  326. package/src/themes/default/collections/message.variables +84 -123
  327. package/src/themes/default/collections/table.overrides +3 -0
  328. package/src/themes/default/collections/table.variables +30 -34
  329. package/src/themes/default/elements/button.variables +44 -53
  330. package/src/themes/default/elements/container.variables +8 -16
  331. package/src/themes/default/elements/divider.overrides +8 -9
  332. package/src/themes/default/elements/divider.variables +5 -6
  333. package/src/themes/default/elements/emoji.overrides +0 -1
  334. package/src/themes/default/elements/emoji.variables +3556 -3556
  335. package/src/themes/default/elements/flag.variables +1595 -1595
  336. package/src/themes/default/elements/header.overrides +0 -1
  337. package/src/themes/default/elements/header.variables +21 -21
  338. package/src/themes/default/elements/icon.variables +2016 -2012
  339. package/src/themes/default/elements/image.variables +6 -7
  340. package/src/themes/default/elements/input.variables +11 -12
  341. package/src/themes/default/elements/label.variables +25 -26
  342. package/src/themes/default/elements/list.variables +17 -21
  343. package/src/themes/default/elements/loader.variables +16 -17
  344. package/src/themes/default/elements/placeholder.variables +12 -9
  345. package/src/themes/default/elements/rail.variables +4 -5
  346. package/src/themes/default/elements/reveal.variables +1 -1
  347. package/src/themes/default/elements/segment.variables +24 -36
  348. package/src/themes/default/elements/step.overrides +4 -4
  349. package/src/themes/default/elements/step.variables +19 -22
  350. package/src/themes/default/elements/text.variables +2 -3
  351. package/src/themes/default/globals/colors.less +588 -588
  352. package/src/themes/default/globals/reset.overrides +63 -59
  353. package/src/themes/default/globals/reset.variables +1 -1
  354. package/src/themes/default/globals/site.variables +1074 -1123
  355. package/src/themes/default/globals/variation.variables +6 -4
  356. package/src/themes/default/modules/accordion.overrides +11 -11
  357. package/src/themes/default/modules/accordion.variables +15 -20
  358. package/src/themes/default/modules/calendar.variables +2 -0
  359. package/src/themes/default/modules/chatroom.variables +1 -1
  360. package/src/themes/default/modules/checkbox.overrides +9 -13
  361. package/src/themes/default/modules/checkbox.variables +24 -33
  362. package/src/themes/default/modules/dimmer.variables +14 -17
  363. package/src/themes/default/modules/dropdown.overrides +17 -17
  364. package/src/themes/default/modules/dropdown.variables +29 -31
  365. package/src/themes/default/modules/embed.variables +9 -13
  366. package/src/themes/default/modules/flyout.variables +10 -8
  367. package/src/themes/default/modules/modal.variables +64 -67
  368. package/src/themes/default/modules/nag.variables +11 -14
  369. package/src/themes/default/modules/popup.variables +14 -13
  370. package/src/themes/default/modules/progress.variables +17 -19
  371. package/src/themes/default/modules/rating.variables +10 -12
  372. package/src/themes/default/modules/search.variables +12 -17
  373. package/src/themes/default/modules/shape.variables +7 -8
  374. package/src/themes/default/modules/sidebar.variables +4 -4
  375. package/src/themes/default/modules/slider.variables +55 -54
  376. package/src/themes/default/modules/sticky.variables +1 -1
  377. package/src/themes/default/modules/toast.variables +8 -8
  378. package/src/themes/default/modules/transition.overrides +936 -915
  379. package/src/themes/default/modules/transition.variables +1 -1
  380. package/src/themes/default/views/ad.variables +1 -1
  381. package/src/themes/default/views/card.variables +33 -45
  382. package/src/themes/default/views/comment.variables +7 -9
  383. package/src/themes/default/views/feed.variables +10 -10
  384. package/src/themes/default/views/item.variables +20 -23
  385. package/src/themes/default/views/statistic.variables +8 -8
  386. package/src/themes/duo/elements/loader.variables +1 -1
  387. package/src/themes/famfamfam/elements/flag.overrides +263 -268
  388. package/src/themes/famfamfam/elements/flag.variables +4 -4
  389. package/src/themes/fixed-width/collections/grid.variables +4 -4
  390. package/src/themes/fixed-width/modules/modal.variables +11 -13
  391. package/src/themes/flat/collections/form.overrides +9 -9
  392. package/src/themes/flat/collections/form.variables +16 -17
  393. package/src/themes/flat/globals/site.variables +69 -74
  394. package/src/themes/github/assets/fonts/octicons.woff2 +0 -0
  395. package/src/themes/github/collections/breadcrumb.variables +0 -1
  396. package/src/themes/github/collections/form.overrides +7 -8
  397. package/src/themes/github/collections/form.variables +16 -18
  398. package/src/themes/github/collections/grid.variables +1 -2
  399. package/src/themes/github/collections/menu.overrides +2 -2
  400. package/src/themes/github/collections/menu.variables +24 -26
  401. package/src/themes/github/collections/message.overrides +3 -3
  402. package/src/themes/github/collections/message.variables +12 -14
  403. package/src/themes/github/collections/table.variables +2 -2
  404. package/src/themes/github/elements/button.overrides +0 -1
  405. package/src/themes/github/elements/button.variables +26 -30
  406. package/src/themes/github/elements/header.variables +2 -2
  407. package/src/themes/github/elements/icon.overrides +3 -208
  408. package/src/themes/github/elements/icon.variables +234 -19
  409. package/src/themes/github/elements/image.variables +1 -1
  410. package/src/themes/github/elements/input.overrides +16 -16
  411. package/src/themes/github/elements/input.variables +4 -5
  412. package/src/themes/github/elements/label.overrides +3 -3
  413. package/src/themes/github/elements/label.variables +0 -1
  414. package/src/themes/github/elements/segment.variables +9 -10
  415. package/src/themes/github/elements/step.overrides +13 -13
  416. package/src/themes/github/elements/step.variables +6 -6
  417. package/src/themes/github/globals/site.variables +16 -16
  418. package/src/themes/github/modules/dropdown.overrides +18 -19
  419. package/src/themes/github/modules/dropdown.variables +8 -10
  420. package/src/themes/github/modules/popup.variables +0 -2
  421. package/src/themes/gmail/collections/message.overrides +3 -0
  422. package/src/themes/gmail/collections/message.variables +4 -4
  423. package/src/themes/instagram/views/card.overrides +4 -5
  424. package/src/themes/instagram/views/card.variables +7 -8
  425. package/src/themes/joypixels/elements/emoji.overrides +0 -2
  426. package/src/themes/joypixels/elements/emoji.variables +3554 -3554
  427. package/src/themes/material/collections/menu.overrides +1 -1
  428. package/src/themes/material/collections/menu.variables +4 -4
  429. package/src/themes/material/elements/button.overrides +7 -9
  430. package/src/themes/material/elements/button.variables +44 -46
  431. package/src/themes/material/elements/header.overrides +3 -3
  432. package/src/themes/material/elements/header.variables +8 -10
  433. package/src/themes/material/elements/icon.overrides +3 -934
  434. package/src/themes/material/elements/icon.variables +958 -18
  435. package/src/themes/material/globals/site.overrides +3 -0
  436. package/src/themes/material/globals/site.variables +83 -84
  437. package/src/themes/material/modules/dropdown.overrides +2 -2
  438. package/src/themes/material/modules/dropdown.variables +5 -5
  439. package/src/themes/material/modules/modal.overrides +3 -3
  440. package/src/themes/material/modules/modal.variables +4 -5
  441. package/src/themes/pulsar/elements/loader.overrides +23 -61
  442. package/src/themes/raised/elements/button.variables +8 -9
  443. package/src/themes/resetcss/globals/reset.overrides +115 -33
  444. package/src/themes/resetcss/globals/reset.variables +1 -1
  445. package/src/themes/round/elements/button.overrides +3 -0
  446. package/src/themes/round/elements/button.variables +33 -38
  447. package/src/themes/rtl/globals/site.overrides +1 -1
  448. package/src/themes/rtl/globals/site.variables +5 -6
  449. package/src/themes/striped/modules/progress.overrides +20 -16
  450. package/src/themes/systemfont/globals/reset.overrides +1 -1
  451. package/src/themes/systemfont/globals/site.variables +6 -6
  452. package/src/themes/timeline/views/feed.overrides +12 -12
  453. package/src/themes/timeline/views/feed.variables +8 -8
  454. package/src/themes/twitter/elements/button.overrides +4 -5
  455. package/src/themes/twitter/elements/button.variables +17 -18
  456. package/src/themes/twitter/elements/emoji.variables +3556 -3556
  457. package/tasks/.eslintrc.js +9 -0
  458. package/tasks/README.md +2 -4
  459. package/tasks/admin/components/create.js +268 -277
  460. package/tasks/admin/components/init.js +123 -129
  461. package/tasks/admin/components/update.js +151 -158
  462. package/tasks/admin/distributions/create.js +183 -189
  463. package/tasks/admin/distributions/init.js +125 -131
  464. package/tasks/admin/distributions/update.js +147 -153
  465. package/tasks/admin/publish.js +5 -9
  466. package/tasks/admin/register.js +37 -39
  467. package/tasks/admin/release.js +8 -12
  468. package/tasks/build/assets.js +43 -40
  469. package/tasks/build/css.js +230 -217
  470. package/tasks/build/javascript.js +120 -114
  471. package/tasks/build.js +11 -11
  472. package/tasks/check-install.js +15 -17
  473. package/tasks/clean.js +6 -6
  474. package/tasks/collections/README.md +3 -5
  475. package/tasks/collections/admin.js +34 -36
  476. package/tasks/collections/build.js +19 -21
  477. package/tasks/collections/docs.js +11 -13
  478. package/tasks/collections/install.js +11 -13
  479. package/tasks/collections/rtl.js +9 -12
  480. package/tasks/collections/various.js +10 -12
  481. package/tasks/config/admin/github.js +17 -19
  482. package/tasks/config/admin/oauth.example.js +4 -4
  483. package/tasks/config/admin/release.js +98 -98
  484. package/tasks/config/admin/templates/README.md +8 -8
  485. package/tasks/config/admin/templates/bower.json +3 -2
  486. package/tasks/config/admin/templates/component-package.js +9 -10
  487. package/tasks/config/admin/templates/css-package.js +19 -21
  488. package/tasks/config/admin/templates/less-package.js +12 -14
  489. package/tasks/config/admin/templates/package.json +6 -6
  490. package/tasks/config/defaults.js +116 -116
  491. package/tasks/config/docs.js +23 -23
  492. package/tasks/config/npm/gulpfile.js +15 -14
  493. package/tasks/config/project/config.js +124 -136
  494. package/tasks/config/project/install.js +722 -719
  495. package/tasks/config/project/release.js +34 -41
  496. package/tasks/config/tasks.js +168 -167
  497. package/tasks/config/user.js +28 -32
  498. package/tasks/docs/build.js +100 -96
  499. package/tasks/docs/metadata.js +91 -98
  500. package/tasks/docs/serve.js +84 -82
  501. package/tasks/install.js +373 -382
  502. package/tasks/rtl/build.js +4 -3
  503. package/tasks/rtl/watch.js +4 -3
  504. package/tasks/version.js +4 -6
  505. package/tasks/watch.js +29 -31
  506. package/test/.eslintrc.js +23 -0
  507. package/test/meteor/assets.js +11 -14
  508. package/test/meteor/fonts.js +12 -13
  509. package/test/modules/accordion.spec.js +6 -8
  510. package/test/modules/checkbox.spec.js +5 -7
  511. package/test/modules/dropdown.spec.js +5 -7
  512. package/test/modules/modal.spec.js +6 -8
  513. package/test/modules/module.spec.js +158 -178
  514. package/test/modules/popup.spec.js +5 -7
  515. package/test/modules/search.spec.js +5 -7
  516. package/test/modules/shape.spec.js +5 -7
  517. package/test/modules/sidebar.spec.js +5 -7
  518. package/test/modules/tab.spec.js +6 -8
  519. package/test/modules/transition.spec.js +5 -7
  520. package/test/modules/video.spec.js +5 -7
  521. package/.github/workflows/codeql.yml +0 -68
@@ -12,71 +12,70 @@
12
12
  Theme
13
13
  *******************************/
14
14
 
15
- @type : 'collection';
16
- @element : 'form';
15
+ @type: "collection";
16
+ @element: "form";
17
17
 
18
- @import (multiple) '../../theme.config';
18
+ @import (multiple) "../../theme.config";
19
19
 
20
20
  /*******************************
21
21
  Elements
22
22
  *******************************/
23
23
 
24
- /*--------------------
24
+ /* --------------------
25
25
  Form
26
- ---------------------*/
26
+ --------------------- */
27
27
 
28
28
  .ui.form {
29
- position: relative;
30
- max-width: 100%;
29
+ position: relative;
30
+ max-width: 100%;
31
31
  }
32
32
 
33
- /*--------------------
33
+ /* --------------------
34
34
  Content
35
- ---------------------*/
35
+ --------------------- */
36
36
 
37
37
  .ui.form > p {
38
- margin: @paragraphMargin;
38
+ margin: @paragraphMargin;
39
39
  }
40
40
 
41
- /*--------------------
41
+ /* --------------------
42
42
  Field
43
- ---------------------*/
43
+ --------------------- */
44
44
 
45
45
  .ui.form .field {
46
- clear: both;
47
- margin: @fieldMargin;
46
+ clear: both;
47
+ margin: @fieldMargin;
48
48
  }
49
49
 
50
50
  .ui.form .fields .fields,
51
51
  .ui.form .field:last-child,
52
52
  .ui.form .fields:last-child .field {
53
- margin-bottom: 0;
53
+ margin-bottom: 0;
54
54
  }
55
55
 
56
56
  .ui.form .fields .field {
57
- clear: both;
58
- margin: 0;
57
+ clear: both;
58
+ margin: 0;
59
59
  }
60
60
 
61
-
62
- /*--------------------
61
+ /* --------------------
63
62
  Labels
64
- ---------------------*/
63
+ --------------------- */
65
64
 
66
65
  .ui.form .field > label {
67
- display: block;
68
- margin: @labelMargin;
69
- font-size: @labelFontSize;
70
- font-weight: @labelFontWeight;
71
- text-transform: @labelTextTransform;
66
+ display: block;
67
+ margin: @labelMargin;
68
+ font-size: @labelFontSize;
69
+ font-weight: @labelFontWeight;
70
+ text-transform: @labelTextTransform;
72
71
  }
73
72
  .ui.form:not(.inverted) .field > label:not(.button) {
74
- color: @labelColor;
73
+ color: @labelColor;
75
74
  }
76
- /*--------------------
77
- Standard Inputs
78
- ---------------------*/
79
75
 
76
+ /* --------------------
77
+ Standard Inputs
78
+ --------------------- */
80
79
 
81
80
  .ui.form textarea,
82
81
  .ui.form input:not([type]),
@@ -94,14 +93,14 @@
94
93
  .ui.form input[type="file"],
95
94
  .ui.form input[type="url"],
96
95
  .ui.form input[type="week"] {
97
- width: @inputWidth;
98
- vertical-align: top;
96
+ width: @inputWidth;
97
+ vertical-align: top;
99
98
  }
100
99
 
101
100
  /* Set max height on unusual input */
102
101
  .ui.form ::-webkit-datetime-edit,
103
102
  .ui.form ::-webkit-inner-spin-button {
104
- height: @inputLineHeight;
103
+ height: @inputLineHeight;
105
104
  }
106
105
 
107
106
  .ui.form input:not([type]),
@@ -119,304 +118,295 @@
119
118
  .ui.form input[type="file"],
120
119
  .ui.form input[type="url"],
121
120
  .ui.form input[type="week"] {
122
- font-family: @inputFont;
123
- margin: 0;
124
- outline: none;
125
- -webkit-appearance: none;
126
- -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
127
-
128
- line-height: @inputLineHeight;
129
- padding: @inputPadding;
130
- font-size: @inputFontSize;
131
-
132
- background: @inputBackground;
133
- border: @inputBorder;
134
- color: @inputColor;
135
- border-radius: @inputBorderRadius;
136
- box-shadow: @inputBoxShadow;
137
- transition: @inputTransition;
121
+ font-family: @inputFont;
122
+ margin: 0;
123
+ outline: none;
124
+ -webkit-appearance: none;
125
+ -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
126
+ line-height: @inputLineHeight;
127
+ padding: @inputPadding;
128
+ font-size: @inputFontSize;
129
+ background: @inputBackground;
130
+ border: @inputBorder;
131
+ color: @inputColor;
132
+ border-radius: @inputBorderRadius;
133
+ box-shadow: @inputBoxShadow;
134
+ transition: @inputTransition;
138
135
  }
139
136
  .ui.form input[type="color"] {
140
- padding: initial;
137
+ padding: initial;
141
138
  }
142
139
 
143
140
  .ui.form input::-webkit-calendar-picker-indicator {
144
- padding: 0;
145
- opacity: @iconOpacity;
146
- transition: @iconTransition;
147
- cursor: pointer;
141
+ padding: 0;
142
+ opacity: @iconOpacity;
143
+ transition: @iconTransition;
144
+ cursor: pointer;
148
145
  }
149
146
 
150
147
  /* Text Area */
151
148
  .ui.input textarea,
152
149
  .ui.form textarea {
153
- margin: 0;
154
- -webkit-appearance: none;
155
- -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
156
-
157
- padding: @textAreaPadding;
158
- background: @textAreaBackground;
159
- border: @textAreaBorder;
160
- outline: none;
161
- color: @inputColor;
162
- border-radius: @inputBorderRadius;
163
- box-shadow: @inputBoxShadow;
164
- transition: @textAreaTransition;
165
- font-size: @textAreaFontSize;
166
- font-family: @inputFont;
167
- line-height: @textAreaLineHeight;
168
- resize: @textAreaResize;
150
+ margin: 0;
151
+ -webkit-appearance: none;
152
+ -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
153
+ padding: @textAreaPadding;
154
+ background: @textAreaBackground;
155
+ border: @textAreaBorder;
156
+ outline: none;
157
+ color: @inputColor;
158
+ border-radius: @inputBorderRadius;
159
+ box-shadow: @inputBoxShadow;
160
+ transition: @textAreaTransition;
161
+ font-size: @textAreaFontSize;
162
+ font-family: @inputFont;
163
+ line-height: @textAreaLineHeight;
164
+ resize: @textAreaResize;
169
165
  }
170
166
  .ui.form textarea:not([rows]) {
171
- height: @textAreaHeight;
172
- min-height: @textAreaMinHeight;
173
- max-height: @textAreaMaxHeight;
167
+ height: @textAreaHeight;
168
+ min-height: @textAreaMinHeight;
169
+ max-height: @textAreaMaxHeight;
174
170
  }
175
171
 
176
172
  .ui.form textarea,
177
173
  .ui.form input[type="checkbox"] {
178
- vertical-align: @checkboxVerticalAlign;
174
+ vertical-align: @checkboxVerticalAlign;
179
175
  }
180
176
 
181
- /*--------------------
177
+ /* --------------------
182
178
  Checkbox margin
183
- ---------------------*/
179
+ --------------------- */
184
180
 
185
181
  .ui.form .fields:not(.grouped):not(.inline) .field:not(:only-child) label + .ui.ui.checkbox {
186
- margin-top: @checkboxLabelFieldTopMargin;
182
+ margin-top: @checkboxLabelFieldTopMargin;
187
183
  }
188
184
  .ui.form .fields:not(.grouped):not(.inline) .field:not(:only-child) .ui.checkbox {
189
- margin-top: @inputLineHeight + @checkboxFieldTopMargin;
185
+ margin-top: @inputLineHeight + @checkboxFieldTopMargin;
190
186
  }
191
187
  .ui.form .fields:not(.grouped):not(.inline) .field:not(:only-child) .ui.toggle.checkbox {
192
- margin-top: @inputLineHeight + @checkboxToggleFieldTopMargin;
188
+ margin-top: @inputLineHeight + @checkboxToggleFieldTopMargin;
193
189
  }
194
190
  .ui.form .fields:not(.grouped):not(.inline) .field:not(:only-child) .ui.slider.checkbox {
195
- margin-top: @inputLineHeight + @checkboxSliderFieldTopMargin;
191
+ margin-top: @inputLineHeight + @checkboxSliderFieldTopMargin;
196
192
  }
197
193
  .ui.ui.form .field .fields .field:not(:only-child) .ui.checkbox {
198
- margin-top: (@checkboxFieldTopMargin / 2);
194
+ margin-top: (@checkboxFieldTopMargin / 2);
199
195
  }
200
196
  .ui.ui.form .field .fields .field:not(:only-child) .ui.toggle.checkbox {
201
- margin-top: (@checkboxToggleFieldTopMargin / 2);
197
+ margin-top: (@checkboxToggleFieldTopMargin / 2);
202
198
  }
203
199
  .ui.ui.form .field .fields .field:not(:only-child) .ui.slider.checkbox {
204
- margin-top: (@checkboxSliderFieldTopMargin / 2);
200
+ margin-top: (@checkboxSliderFieldTopMargin / 2);
205
201
  }
206
202
 
207
203
  & when (@variationFormTransparent) {
208
- /*--------------------
209
- Transparent
210
- ---------------------*/
211
-
212
- .ui.form .field .transparent.input:not(.icon) input,
213
- .ui.form .field input.transparent,
214
- .ui.form .field textarea.transparent {
215
- padding: @transparentPadding;
216
- }
217
-
218
- .ui.form .field input.transparent,
219
- .ui.form .field textarea.transparent {
220
- border-color: transparent !important;
221
- background-color: transparent !important;
222
- box-shadow: none !important;
223
- }
224
- }
225
- /*--------------------------
204
+ /* --------------------
205
+ Transparent
206
+ --------------------- */
207
+
208
+ .ui.form .field .transparent.input:not(.icon) input,
209
+ .ui.form .field input.transparent,
210
+ .ui.form .field textarea.transparent {
211
+ padding: @transparentPadding;
212
+ }
213
+
214
+ .ui.form .field input.transparent,
215
+ .ui.form .field textarea.transparent {
216
+ border-color: transparent !important;
217
+ background-color: transparent !important;
218
+ box-shadow: none !important;
219
+ }
220
+ }
221
+
222
+ /* --------------------------
226
223
  Input w/ attached Button
227
- ---------------------------*/
224
+ --------------------------- */
228
225
 
229
226
  .ui.form input.attached {
230
- width: auto;
227
+ width: auto;
231
228
  }
232
229
 
233
-
234
- /*--------------------
230
+ /* --------------------
235
231
  Basic Select
236
- ---------------------*/
232
+ --------------------- */
237
233
 
238
234
  .ui.form select {
239
- display: block;
240
- height: auto;
241
- width: 100%;
242
- background: @selectBackground;
243
- border: @selectBorder;
244
- border-radius: @selectBorderRadius;
245
- box-shadow: @selectBoxShadow;
246
- padding: @selectPadding;
247
- color: @selectColor;
248
- transition: @selectTransition;
249
- }
250
-
251
- /*--------------------
235
+ display: block;
236
+ height: auto;
237
+ width: 100%;
238
+ background: @selectBackground;
239
+ border: @selectBorder;
240
+ border-radius: @selectBorderRadius;
241
+ box-shadow: @selectBoxShadow;
242
+ padding: @selectPadding;
243
+ color: @selectColor;
244
+ transition: @selectTransition;
245
+ }
246
+
247
+ /* --------------------
252
248
  Dropdown
253
- ---------------------*/
249
+ --------------------- */
254
250
 
255
251
  /* Block */
256
252
  .ui.form .field > .selection.dropdown:not(.compact) {
257
- min-width: auto;
258
- width: 100%;
253
+ min-width: auto;
254
+ width: 100%;
259
255
  }
260
256
  .ui.form .field > .selection.dropdown > .dropdown.icon {
261
- float: right;
257
+ float: right;
262
258
  }
263
259
 
264
260
  & when (@variationFormInline) {
265
- /* Inline */
266
- .ui.form .inline.fields .field > .selection.dropdown,
267
- .ui.form .inline.field > .selection.dropdown {
268
- width: auto;
269
- }
270
- .ui.form .inline.fields .field > .selection.dropdown > .dropdown.icon,
271
- .ui.form .inline.field > .selection.dropdown > .dropdown.icon {
272
- float: none;
273
- }
261
+ /* Inline */
262
+ .ui.form .inline.fields .field > .selection.dropdown,
263
+ .ui.form .inline.field > .selection.dropdown {
264
+ width: auto;
265
+ }
266
+ .ui.form .inline.fields .field > .selection.dropdown > .dropdown.icon,
267
+ .ui.form .inline.field > .selection.dropdown > .dropdown.icon {
268
+ float: none;
269
+ }
274
270
  }
275
271
 
276
- /*--------------------
272
+ /* --------------------
277
273
  UI Input
278
- ---------------------*/
274
+ --------------------- */
279
275
 
280
276
  /* Block */
281
277
  .ui.form .field .ui.input,
282
278
  .ui.form .fields .field .ui.input,
283
279
  .ui.form .wide.field .ui.input {
284
- width: 100%;
280
+ width: 100%;
285
281
  }
286
282
 
287
283
  & when (@variationFormInline) {
288
- /* Inline */
289
- .ui.form .inline.fields .field:not(.wide) .ui.input,
290
- .ui.form .inline.field:not(.wide) .ui.input {
291
- width: auto;
292
- vertical-align: middle;
293
- }
284
+ /* Inline */
285
+ .ui.form .inline.fields .field:not(.wide) .ui.input,
286
+ .ui.form .inline.field:not(.wide) .ui.input {
287
+ width: auto;
288
+ vertical-align: middle;
289
+ }
294
290
  }
295
291
 
296
292
  /* Auto Input */
297
293
  .ui.form .fields .field .ui.input input,
298
294
  .ui.form .field .ui.input input {
299
- width: auto;
295
+ width: auto;
300
296
  }
301
297
 
302
298
  & when (@variationFormEqualWidth) or (@variationFormWide) {
303
- /* Full Width Input */
304
- .ui.form .ten.fields .ui.input input,
305
- .ui.form .nine.fields .ui.input input,
306
- .ui.form .eight.fields .ui.input input,
307
- .ui.form .seven.fields .ui.input input,
308
- .ui.form .six.fields .ui.input input,
309
- .ui.form .five.fields .ui.input input,
310
- .ui.form .four.fields .ui.input input,
311
- .ui.form .three.fields .ui.input input,
312
- .ui.form .two.fields .ui.input input,
313
- .ui.form .wide.field .ui.input input {
314
- flex: 1 0 auto;
315
- width: 0;
316
- }
317
- }
318
-
319
-
320
- /*--------------------
299
+ /* Full Width Input */
300
+ .ui.form .ten.fields .ui.input input,
301
+ .ui.form .nine.fields .ui.input input,
302
+ .ui.form .eight.fields .ui.input input,
303
+ .ui.form .seven.fields .ui.input input,
304
+ .ui.form .six.fields .ui.input input,
305
+ .ui.form .five.fields .ui.input input,
306
+ .ui.form .four.fields .ui.input input,
307
+ .ui.form .three.fields .ui.input input,
308
+ .ui.form .two.fields .ui.input input,
309
+ .ui.form .wide.field .ui.input input {
310
+ flex: 1 0 auto;
311
+ width: 0;
312
+ }
313
+ }
314
+
315
+ /* --------------------
321
316
  Types of Messages
322
- ---------------------*/
317
+ --------------------- */
323
318
  & when not (@variationFormStates = false) {
324
- each(@variationFormStates, {
325
- @state: @value;
326
- .ui.form .@{state}.message,
327
- .ui.form .@{state}.message:empty {
328
- display: none;
329
- }
330
- })
319
+ each(@variationFormStates, {
320
+ @state: @value;
321
+ .ui.form .@{state}.message,
322
+ .ui.form .@{state}.message:empty {
323
+ display: none;
324
+ }
325
+ });
331
326
  }
332
327
 
333
328
  /* Assumptions */
334
329
  .ui.form .message:first-child {
335
- margin-top: 0;
330
+ margin-top: 0;
336
331
  }
337
332
 
338
- /*--------------------
333
+ /* --------------------
339
334
  Validation Prompt
340
- ---------------------*/
335
+ --------------------- */
341
336
 
342
337
  .ui.form .field .prompt.label {
343
- white-space: normal;
344
- background: @promptBackground !important;
345
- border: @promptBorder !important;
346
- color: @promptTextColor !important;
347
- & li::before {
348
- color: @promptTextColor;
349
- }
338
+ white-space: normal;
339
+ background: @promptBackground !important;
340
+ border: @promptBorder !important;
341
+ color: @promptTextColor !important;
342
+ & li::before {
343
+ color: @promptTextColor;
344
+ }
350
345
  }
351
346
  & when (@variationFormInline) {
352
- .ui.form .inline.fields .field .prompt,
353
- .ui.form .inline.field .prompt {
354
- vertical-align: top;
355
- margin: @inlinePromptMargin;
356
- }
357
- .ui.form .inline.fields .field .prompt::before,
358
- .ui.form .inline.field .prompt::before {
359
- border-width: 0 0 @inlinePromptBorderWidth @inlinePromptBorderWidth;
360
- bottom: auto;
361
- right: auto;
362
- top: 50%;
363
- left: 0;
364
- }
347
+ .ui.form .inline.fields .field .prompt,
348
+ .ui.form .inline.field .prompt {
349
+ vertical-align: top;
350
+ margin: @inlinePromptMargin;
351
+ }
352
+ .ui.form .inline.fields .field .prompt::before,
353
+ .ui.form .inline.field .prompt::before {
354
+ border-width: 0 0 @inlinePromptBorderWidth @inlinePromptBorderWidth;
355
+ bottom: auto;
356
+ right: auto;
357
+ top: 50%;
358
+ left: 0;
359
+ }
365
360
  }
366
361
 
367
-
368
362
  /*******************************
369
363
  States
370
364
  *******************************/
371
365
 
372
- /*--------------------
366
+ /* --------------------
373
367
  Autofilled
374
- ---------------------*/
368
+ --------------------- */
375
369
 
376
370
  .ui.form .field.field input:-webkit-autofill {
377
- box-shadow: 0 0 0 100px @inputAutoFillBackground inset !important;
378
- border-color: @inputAutoFillBorder !important;
371
+ box-shadow: 0 0 0 100px @inputAutoFillBackground inset !important;
372
+ border-color: @inputAutoFillBorder !important;
379
373
  }
380
374
 
381
375
  /* Focus */
382
376
  .ui.form .field.field input:-webkit-autofill:focus {
383
- box-shadow: 0 0 0 100px @inputAutoFillFocusBackground inset !important;
384
- border-color: @inputAutoFillFocusBorder !important;
377
+ box-shadow: 0 0 0 100px @inputAutoFillFocusBackground inset !important;
378
+ border-color: @inputAutoFillFocusBorder !important;
385
379
  }
386
380
 
387
-
388
-
389
- /*--------------------
381
+ /* --------------------
390
382
  Placeholder
391
- ---------------------*/
383
+ --------------------- */
392
384
 
393
385
  /* browsers require these rules separate */
394
386
  .ui.form ::-webkit-input-placeholder {
395
- color: @inputPlaceholderColor;
387
+ color: @inputPlaceholderColor;
396
388
  }
397
389
  .ui.form :-ms-input-placeholder when (@supportIE) {
398
- color: @inputPlaceholderColor !important;
390
+ color: @inputPlaceholderColor !important;
399
391
  }
400
392
  .ui.form ::-moz-placeholder {
401
- color: @inputPlaceholderColor;
402
- opacity: 1;
393
+ color: @inputPlaceholderColor;
394
+ opacity: 1;
403
395
  }
404
396
 
405
397
  .ui.form :focus::-webkit-input-placeholder {
406
- color: @inputPlaceholderFocusColor;
398
+ color: @inputPlaceholderFocusColor;
407
399
  }
408
400
  .ui.form :focus:-ms-input-placeholder when (@supportIE) {
409
- color: @inputPlaceholderFocusColor !important;
401
+ color: @inputPlaceholderFocusColor !important;
410
402
  }
411
403
  .ui.form :focus::-moz-placeholder {
412
- color: @inputPlaceholderFocusColor;
404
+ color: @inputPlaceholderFocusColor;
413
405
  }
414
406
 
415
-
416
-
417
- /*--------------------
407
+ /* --------------------
418
408
  Focus
419
- ---------------------*/
409
+ --------------------- */
420
410
 
421
411
  .ui.form input:not([type]):focus,
422
412
  .ui.form input[type="color"]:focus,
@@ -433,388 +423,386 @@
433
423
  .ui.form input[type="file"]:focus,
434
424
  .ui.form input[type="url"]:focus,
435
425
  .ui.form input[type="week"]:focus {
436
- color: @inputFocusColor;
437
- border-color: @inputFocusBorderColor;
438
- border-radius: @inputFocusBorderRadius;
439
- background: @inputFocusBackground;
440
- box-shadow: @inputFocusBoxShadow;
426
+ color: @inputFocusColor;
427
+ border-color: @inputFocusBorderColor;
428
+ border-radius: @inputFocusBorderRadius;
429
+ background: @inputFocusBackground;
430
+ box-shadow: @inputFocusBoxShadow;
441
431
  }
442
432
  & when (@variationInputAction) {
443
- .ui.form .ui.action.input:not([class*="left action"]) {
444
- & input:not([type]):focus,
445
- input[type="color"]:focus,
446
- input[type="date"]:focus,
447
- input[type="datetime-local"]:focus,
448
- input[type="email"]:focus,
449
- input[type="month"]:focus,
450
- input[type="number"]:focus,
451
- input[type="password"]:focus,
452
- input[type="search"]:focus,
453
- input[type="tel"]:focus,
454
- input[type="time"]:focus,
455
- input[type="text"]:focus,
456
- input[type="file"]:focus,
457
- input[type="url"]:focus,
458
- input[type="week"]:focus {
459
- border-top-right-radius: 0;
460
- border-bottom-right-radius: 0;
461
- }
462
- }
463
-
464
- .ui.form .ui[class*="left action"].input {
465
- & input:not([type]),
466
- input[type="color"],
467
- input[type="date"],
468
- input[type="datetime-local"],
469
- input[type="email"],
470
- input[type="month"],
471
- input[type="number"],
472
- input[type="password"],
473
- input[type="search"],
474
- input[type="tel"],
475
- input[type="time"],
476
- input[type="text"],
477
- input[type="file"],
478
- input[type="url"],
479
- input[type="week"] {
480
- border-bottom-left-radius: 0;
481
- border-top-left-radius: 0;
482
- }
483
- }
433
+ .ui.form .ui.action.input:not([class*="left action"]) {
434
+ & input:not([type]):focus,
435
+ input[type="color"]:focus,
436
+ input[type="date"]:focus,
437
+ input[type="datetime-local"]:focus,
438
+ input[type="email"]:focus,
439
+ input[type="month"]:focus,
440
+ input[type="number"]:focus,
441
+ input[type="password"]:focus,
442
+ input[type="search"]:focus,
443
+ input[type="tel"]:focus,
444
+ input[type="time"]:focus,
445
+ input[type="text"]:focus,
446
+ input[type="file"]:focus,
447
+ input[type="url"]:focus,
448
+ input[type="week"]:focus {
449
+ border-top-right-radius: 0;
450
+ border-bottom-right-radius: 0;
451
+ }
452
+ }
453
+
454
+ .ui.form .ui[class*="left action"].input {
455
+ & input:not([type]),
456
+ input[type="color"],
457
+ input[type="date"],
458
+ input[type="datetime-local"],
459
+ input[type="email"],
460
+ input[type="month"],
461
+ input[type="number"],
462
+ input[type="password"],
463
+ input[type="search"],
464
+ input[type="tel"],
465
+ input[type="time"],
466
+ input[type="text"],
467
+ input[type="file"],
468
+ input[type="url"],
469
+ input[type="week"] {
470
+ border-bottom-left-radius: 0;
471
+ border-top-left-radius: 0;
472
+ }
473
+ }
484
474
  }
485
475
  .ui.form textarea:focus {
486
- color: @textAreaFocusColor;
487
- border-color: @textAreaFocusBorderColor;
488
- border-radius: @textAreaFocusBorderRadius;
489
- background: @textAreaFocusBackground;
490
- box-shadow: @textAreaFocusBoxShadow;
491
- -webkit-appearance: none;
476
+ color: @textAreaFocusColor;
477
+ border-color: @textAreaFocusBorderColor;
478
+ border-radius: @textAreaFocusBorderRadius;
479
+ background: @textAreaFocusBackground;
480
+ box-shadow: @textAreaFocusBoxShadow;
481
+ -webkit-appearance: none;
492
482
  }
483
+
493
484
  /* Focus */
494
485
  .ui.form input:focus::-webkit-calendar-picker-indicator {
495
- opacity: @iconFocusOpacity;
486
+ opacity: @iconFocusOpacity;
496
487
  }
497
488
 
498
489
  & when not (@variationFormStates = false) {
499
- /*--------------------
500
- States
501
- ---------------------*/
502
- each(@variationFormStates, {
503
- @state: @value;
504
- @c: @formStates[@@state][color];
505
- @bg: @formStates[@@state][background];
506
- @bdc: @formStates[@@state][borderColor];
507
- @lbg: @formStates[@@state][labelBackground];
508
-
509
- /* On Form */
510
- .ui.form.@{state} .@{state}.message:not(:empty) {
511
- display: block;
512
- }
513
- .ui.form.@{state} .compact.@{state}.message:not(:empty) {
514
- display: inline-block;
515
- }
516
- .ui.form.@{state} .icon.@{state}.message:not(:empty) {
517
- display: flex;
518
- }
519
-
520
- /* On Field(s) */
521
- .ui.form .fields.@{state} .@{state}.message:not(:empty),
522
- .ui.form .field.@{state} .@{state}.message:not(:empty) {
523
- display: block;
524
- }
525
- .ui.form .fields.@{state} .compact.@{state}.message:not(:empty),
526
- .ui.form .field.@{state} .compact.@{state}.message:not(:empty) {
527
- display: inline-block;
528
- }
529
- .ui.form .fields.@{state} .icon.@{state}.message:not(:empty),
530
- .ui.form .field.@{state} .icon.@{state}.message:not(:empty) {
531
- display: flex;
532
- }
533
-
534
- .ui.ui.form .fields.@{state} .field label,
535
- .ui.ui.form .fields.@{state} .field .ui.label:not(.corner),
536
- .ui.ui.form .field.@{state} label,
537
- .ui.ui.form .field.@{state} .ui.label:not(.corner),
538
- .ui.ui.form .fields.@{state} .field .input,
539
- .ui.ui.form .field.@{state} .input {
540
- color: @c;
541
- }
542
-
543
- .ui.form .fields.@{state} .field .ui.label,
544
- .ui.form .field.@{state} .ui.label {
545
- background-color: @lbg;
546
- }
547
-
548
- .ui.form .fields.@{state} .field .corner.label,
549
- .ui.form .field.@{state} .corner.label {
550
- border-color: @c;
551
- color: @formStates[@@state][cornerLabelColor];
552
- }
553
-
554
- .ui.form .fields.@{state} .field textarea,
555
- .ui.form .fields.@{state} .field select,
556
- .ui.form .fields.@{state} .field input:not([type]),
557
- .ui.form .fields.@{state} .field input[type="color"],
558
- .ui.form .fields.@{state} .field input[type="date"],
559
- .ui.form .fields.@{state} .field input[type="datetime-local"],
560
- .ui.form .fields.@{state} .field input[type="email"],
561
- .ui.form .fields.@{state} .field input[type="month"],
562
- .ui.form .fields.@{state} .field input[type="number"],
563
- .ui.form .fields.@{state} .field input[type="password"],
564
- .ui.form .fields.@{state} .field input[type="search"],
565
- .ui.form .fields.@{state} .field input[type="tel"],
566
- .ui.form .fields.@{state} .field input[type="time"],
567
- .ui.form .fields.@{state} .field input[type="text"],
568
- .ui.form .fields.@{state} .field input[type="file"],
569
- .ui.form .fields.@{state} .field input[type="url"],
570
- .ui.form .fields.@{state} .field input[type="week"],
571
- .ui.form .field.@{state} textarea,
572
- .ui.form .field.@{state} select,
573
- .ui.form .field.@{state} input:not([type]),
574
- .ui.form .field.@{state} input[type="color"],
575
- .ui.form .field.@{state} input[type="date"],
576
- .ui.form .field.@{state} input[type="datetime-local"],
577
- .ui.form .field.@{state} input[type="email"],
578
- .ui.form .field.@{state} input[type="month"],
579
- .ui.form .field.@{state} input[type="number"],
580
- .ui.form .field.@{state} input[type="password"],
581
- .ui.form .field.@{state} input[type="search"],
582
- .ui.form .field.@{state} input[type="tel"],
583
- .ui.form .field.@{state} input[type="time"],
584
- .ui.form .field.@{state} input[type="text"],
585
- .ui.form .field.@{state} input[type="file"],
586
- .ui.form .field.@{state} input[type="url"],
587
- .ui.form .field.@{state} input[type="week"] {
588
- color: @c;
589
- background: @bg;
590
- border-color: @formStates[@@state][borderColor];
591
- border-radius: @formStates[@@state][borderRadius];
592
- box-shadow: @formStates[@@state][boxShadow];
593
- }
594
- & when (@state=error) and (@variationFormInvalid) {
595
- .ui.form .field input:not(:placeholder-shown):invalid {
596
- color: @c;
597
- background: @bg;
598
- border-color: @formStates[@@state][borderColor];
599
- border-radius: @formStates[@@state][borderRadius];
600
- box-shadow: @formStates[@@state][boxShadow];
601
- }
602
- .ui.form .field input:not(:-ms-input-placeholder):invalid when (@supportIE) {
603
- color: @c;
604
- background: @bg;
605
- border-color: @formStates[@@state][borderColor];
606
- border-radius: @formStates[@@state][borderRadius];
607
- box-shadow: @formStates[@@state][boxShadow];
608
- }
609
- }
610
-
611
- .ui.form .field.@{state} textarea:focus,
612
- .ui.form .field.@{state} select:focus,
613
- .ui.form .field.@{state} input:not([type]):focus,
614
- .ui.form .field.@{state} input[type="color"]:focus,
615
- .ui.form .field.@{state} input[type="date"]:focus,
616
- .ui.form .field.@{state} input[type="datetime-local"]:focus,
617
- .ui.form .field.@{state} input[type="email"]:focus,
618
- .ui.form .field.@{state} input[type="month"]:focus,
619
- .ui.form .field.@{state} input[type="number"]:focus,
620
- .ui.form .field.@{state} input[type="password"]:focus,
621
- .ui.form .field.@{state} input[type="search"]:focus,
622
- .ui.form .field.@{state} input[type="tel"]:focus,
623
- .ui.form .field.@{state} input[type="time"]:focus,
624
- .ui.form .field.@{state} input[type="text"]:focus,
625
- .ui.form .field.@{state} input[type="file"]:focus,
626
- .ui.form .field.@{state} input[type="url"]:focus,
627
- .ui.form .field.@{state} input[type="week"]:focus {
628
- background: @formStates[@@state][inputFocusBackground];
629
- border-color: @formStates[@@state][inputFocusBorderColor];
630
- color: @formStates[@@state][inputFocusColor];
631
-
632
- box-shadow: @formStates[@@state][inputFocusBoxShadow];
633
- }
634
-
635
- /* Preserve Native Select Stylings */
636
- .ui.form .field.@{state} select {
637
- -webkit-appearance: menulist-button;
638
- }
639
-
640
- /*------------------
641
- Input State
642
- --------------------*/
643
- & when (@variationFormTransparent) {
644
- /* Transparent */
645
- .ui.form .field.@{state} .transparent.input input,
646
- .ui.form .field.@{state} .transparent.input textarea,
647
- .ui.form .field.@{state} input.transparent,
648
- .ui.form .field.@{state} textarea.transparent {
649
- background-color: @formStates[@@state][transparentBackground] !important;
650
- color: @formStates[@@state][transparentColor] !important;
651
- }
652
- }
653
-
654
- /* Autofilled */
655
- .ui.form .@{state}.@{state} input:-webkit-autofill {
656
- box-shadow: 0 0 0 100px @formStates[@@state][inputAutoFillBackground] inset !important;
657
- border-color: @formStates[@@state][inputAutoFillBorderColor] !important;
658
- }
659
-
660
- /* Placeholder */
661
- .ui.form .@{state} ::-webkit-input-placeholder {
662
- color: @formStates[@@state][inputPlaceholderColor];
663
- }
664
- .ui.form .@{state} :-ms-input-placeholder when (@supportIE) {
665
- color: @formStates[@@state][inputPlaceholderColor] !important;
666
- }
667
- .ui.form .@{state} ::-moz-placeholder {
668
- color: @formStates[@@state][inputPlaceholderColor];
669
- }
670
-
671
- .ui.form .@{state} :focus::-webkit-input-placeholder {
672
- color: @formStates[@@state][inputPlaceholderFocusColor];
673
- }
674
- .ui.form .@{state} :focus:-ms-input-placeholder when (@supportIE) {
675
- color: @formStates[@@state][inputPlaceholderFocusColor] !important;
676
- }
677
- .ui.form .@{state} :focus::-moz-placeholder {
678
- color: @formStates[@@state][inputPlaceholderFocusColor];
679
- }
680
-
681
- /*------------------
682
- Dropdown State
683
- --------------------*/
684
-
685
- .ui.form .fields.@{state} .field .ui.dropdown,
686
- .ui.form .fields.@{state} .field .ui.dropdown .item,
687
- .ui.form .field.@{state} .ui.dropdown,
688
- .ui.form .field.@{state} .ui.dropdown > .text,
689
- .ui.form .field.@{state} .ui.dropdown .item {
690
- background: @bg;
691
- color: @c;
692
- }
693
- .ui.form .fields.@{state} .field .ui.dropdown,
694
- .ui.form .field.@{state} .ui.dropdown {
695
- border-color: @bdc !important;
696
- }
697
- .ui.form .fields.@{state} .field .ui.dropdown:hover,
698
- .ui.form .field.@{state} .ui.dropdown:hover {
699
- border-color: @bdc !important;
700
- }
701
- .ui.form .fields.@{state} .field .ui.dropdown:hover .menu,
702
- .ui.form .field.@{state} .ui.dropdown:hover .menu {
703
- border-color: @bdc;
704
- }
705
- .ui.form .fields.@{state} .field .ui.multiple.selection.dropdown > .label,
706
- .ui.form .field.@{state} .ui.multiple.selection.dropdown > .label {
707
- background-color: @formStates[@@state][dropdownLabelBackground];
708
- color: @formStates[@@state][dropdownLabelColor];
709
- }
490
+ /* --------------------
491
+ States
492
+ --------------------- */
493
+ each(@variationFormStates, {
494
+ @state: @value;
495
+ @c: @formStates[@@state][color];
496
+ @bg: @formStates[@@state][background];
497
+ @bdc: @formStates[@@state][borderColor];
498
+ @lbg: @formStates[@@state][labelBackground];
499
+
500
+ /* On Form */
501
+ .ui.form.@{state} .@{state}.message:not(:empty) {
502
+ display: block;
503
+ }
504
+ .ui.form.@{state} .compact.@{state}.message:not(:empty) {
505
+ display: inline-block;
506
+ }
507
+ .ui.form.@{state} .icon.@{state}.message:not(:empty) {
508
+ display: flex;
509
+ }
510
+
511
+ /* On Field(s) */
512
+ .ui.form .fields.@{state} .@{state}.message:not(:empty),
513
+ .ui.form .field.@{state} .@{state}.message:not(:empty) {
514
+ display: block;
515
+ }
516
+ .ui.form .fields.@{state} .compact.@{state}.message:not(:empty),
517
+ .ui.form .field.@{state} .compact.@{state}.message:not(:empty) {
518
+ display: inline-block;
519
+ }
520
+ .ui.form .fields.@{state} .icon.@{state}.message:not(:empty),
521
+ .ui.form .field.@{state} .icon.@{state}.message:not(:empty) {
522
+ display: flex;
523
+ }
524
+
525
+ .ui.ui.form .fields.@{state} .field label,
526
+ .ui.ui.form .fields.@{state} .field .ui.label:not(.corner),
527
+ .ui.ui.form .field.@{state} label,
528
+ .ui.ui.form .field.@{state} .ui.label:not(.corner),
529
+ .ui.ui.form .fields.@{state} .field .input,
530
+ .ui.ui.form .field.@{state} .input {
531
+ color: @c;
532
+ }
533
+
534
+ .ui.form .fields.@{state} .field .ui.label,
535
+ .ui.form .field.@{state} .ui.label {
536
+ background-color: @lbg;
537
+ }
538
+
539
+ .ui.form .fields.@{state} .field .corner.label,
540
+ .ui.form .field.@{state} .corner.label {
541
+ border-color: @c;
542
+ color: @formStates[@@state][cornerLabelColor];
543
+ }
544
+
545
+ .ui.form .fields.@{state} .field textarea,
546
+ .ui.form .fields.@{state} .field select,
547
+ .ui.form .fields.@{state} .field input:not([type]),
548
+ .ui.form .fields.@{state} .field input[type="color"],
549
+ .ui.form .fields.@{state} .field input[type="date"],
550
+ .ui.form .fields.@{state} .field input[type="datetime-local"],
551
+ .ui.form .fields.@{state} .field input[type="email"],
552
+ .ui.form .fields.@{state} .field input[type="month"],
553
+ .ui.form .fields.@{state} .field input[type="number"],
554
+ .ui.form .fields.@{state} .field input[type="password"],
555
+ .ui.form .fields.@{state} .field input[type="search"],
556
+ .ui.form .fields.@{state} .field input[type="tel"],
557
+ .ui.form .fields.@{state} .field input[type="time"],
558
+ .ui.form .fields.@{state} .field input[type="text"],
559
+ .ui.form .fields.@{state} .field input[type="file"],
560
+ .ui.form .fields.@{state} .field input[type="url"],
561
+ .ui.form .fields.@{state} .field input[type="week"],
562
+ .ui.form .field.@{state} textarea,
563
+ .ui.form .field.@{state} select,
564
+ .ui.form .field.@{state} input:not([type]),
565
+ .ui.form .field.@{state} input[type="color"],
566
+ .ui.form .field.@{state} input[type="date"],
567
+ .ui.form .field.@{state} input[type="datetime-local"],
568
+ .ui.form .field.@{state} input[type="email"],
569
+ .ui.form .field.@{state} input[type="month"],
570
+ .ui.form .field.@{state} input[type="number"],
571
+ .ui.form .field.@{state} input[type="password"],
572
+ .ui.form .field.@{state} input[type="search"],
573
+ .ui.form .field.@{state} input[type="tel"],
574
+ .ui.form .field.@{state} input[type="time"],
575
+ .ui.form .field.@{state} input[type="text"],
576
+ .ui.form .field.@{state} input[type="file"],
577
+ .ui.form .field.@{state} input[type="url"],
578
+ .ui.form .field.@{state} input[type="week"] {
579
+ color: @c;
580
+ background: @bg;
581
+ border-color: @formStates[@@state][borderColor];
582
+ border-radius: @formStates[@@state][borderRadius];
583
+ box-shadow: @formStates[@@state][boxShadow];
584
+ }
585
+ & when (@state=error) and (@variationFormInvalid) {
586
+ .ui.form .field input:not(:placeholder-shown):invalid {
587
+ color: @c;
588
+ background: @bg;
589
+ border-color: @formStates[@@state][borderColor];
590
+ border-radius: @formStates[@@state][borderRadius];
591
+ box-shadow: @formStates[@@state][boxShadow];
592
+ }
593
+ .ui.form .field input:not(:-ms-input-placeholder):invalid when (@supportIE) {
594
+ color: @c;
595
+ background: @bg;
596
+ border-color: @formStates[@@state][borderColor];
597
+ border-radius: @formStates[@@state][borderRadius];
598
+ box-shadow: @formStates[@@state][boxShadow];
599
+ }
600
+ }
601
+
602
+ .ui.form .field.@{state} textarea:focus,
603
+ .ui.form .field.@{state} select:focus,
604
+ .ui.form .field.@{state} input:not([type]):focus,
605
+ .ui.form .field.@{state} input[type="color"]:focus,
606
+ .ui.form .field.@{state} input[type="date"]:focus,
607
+ .ui.form .field.@{state} input[type="datetime-local"]:focus,
608
+ .ui.form .field.@{state} input[type="email"]:focus,
609
+ .ui.form .field.@{state} input[type="month"]:focus,
610
+ .ui.form .field.@{state} input[type="number"]:focus,
611
+ .ui.form .field.@{state} input[type="password"]:focus,
612
+ .ui.form .field.@{state} input[type="search"]:focus,
613
+ .ui.form .field.@{state} input[type="tel"]:focus,
614
+ .ui.form .field.@{state} input[type="time"]:focus,
615
+ .ui.form .field.@{state} input[type="text"]:focus,
616
+ .ui.form .field.@{state} input[type="file"]:focus,
617
+ .ui.form .field.@{state} input[type="url"]:focus,
618
+ .ui.form .field.@{state} input[type="week"]:focus {
619
+ background: @formStates[@@state][inputFocusBackground];
620
+ border-color: @formStates[@@state][inputFocusBorderColor];
621
+ color: @formStates[@@state][inputFocusColor];
622
+
623
+ box-shadow: @formStates[@@state][inputFocusBoxShadow];
624
+ }
625
+
626
+ /* Preserve Native Select Stylings */
627
+ .ui.form .field.@{state} select {
628
+ -webkit-appearance: menulist-button;
629
+ }
630
+
631
+ /*------------------
632
+ Input State
633
+ --------------------*/
634
+ & when (@variationFormTransparent) {
635
+ /* Transparent */
636
+ .ui.form .field.@{state} .transparent.input input,
637
+ .ui.form .field.@{state} .transparent.input textarea,
638
+ .ui.form .field.@{state} input.transparent,
639
+ .ui.form .field.@{state} textarea.transparent {
640
+ background-color: @formStates[@@state][transparentBackground] !important;
641
+ color: @formStates[@@state][transparentColor] !important;
642
+ }
643
+ }
644
+
645
+ /* Autofilled */
646
+ .ui.form .@{state}.@{state} input:-webkit-autofill {
647
+ box-shadow: 0 0 0 100px @formStates[@@state][inputAutoFillBackground] inset !important;
648
+ border-color: @formStates[@@state][inputAutoFillBorderColor] !important;
649
+ }
650
+
651
+ /* Placeholder */
652
+ .ui.form .@{state} ::-webkit-input-placeholder {
653
+ color: @formStates[@@state][inputPlaceholderColor];
654
+ }
655
+ .ui.form .@{state} :-ms-input-placeholder when (@supportIE) {
656
+ color: @formStates[@@state][inputPlaceholderColor] !important;
657
+ }
658
+ .ui.form .@{state} ::-moz-placeholder {
659
+ color: @formStates[@@state][inputPlaceholderColor];
660
+ }
661
+
662
+ .ui.form .@{state} :focus::-webkit-input-placeholder {
663
+ color: @formStates[@@state][inputPlaceholderFocusColor];
664
+ }
665
+ .ui.form .@{state} :focus:-ms-input-placeholder when (@supportIE) {
666
+ color: @formStates[@@state][inputPlaceholderFocusColor] !important;
667
+ }
668
+ .ui.form .@{state} :focus::-moz-placeholder {
669
+ color: @formStates[@@state][inputPlaceholderFocusColor];
670
+ }
671
+
672
+ /*------------------
673
+ Dropdown State
674
+ --------------------*/
675
+
676
+ .ui.form .fields.@{state} .field .ui.dropdown,
677
+ .ui.form .fields.@{state} .field .ui.dropdown .item,
678
+ .ui.form .field.@{state} .ui.dropdown,
679
+ .ui.form .field.@{state} .ui.dropdown > .text,
680
+ .ui.form .field.@{state} .ui.dropdown .item {
681
+ background: @bg;
682
+ color: @c;
683
+ }
684
+ .ui.form .fields.@{state} .field .ui.dropdown,
685
+ .ui.form .field.@{state} .ui.dropdown {
686
+ border-color: @bdc !important;
687
+ }
688
+ .ui.form .fields.@{state} .field .ui.dropdown:hover,
689
+ .ui.form .field.@{state} .ui.dropdown:hover {
690
+ border-color: @bdc !important;
691
+ }
692
+ .ui.form .fields.@{state} .field .ui.dropdown:hover .menu,
693
+ .ui.form .field.@{state} .ui.dropdown:hover .menu {
694
+ border-color: @bdc;
695
+ }
696
+ .ui.form .fields.@{state} .field .ui.multiple.selection.dropdown > .label,
697
+ .ui.form .field.@{state} .ui.multiple.selection.dropdown > .label {
698
+ background-color: @formStates[@@state][dropdownLabelBackground];
699
+ color: @formStates[@@state][dropdownLabelColor];
700
+ }
701
+
702
+ /* Hover */
703
+ .ui.form .fields.@{state} .field .ui.dropdown .menu .item:hover,
704
+ .ui.form .field.@{state} .ui.dropdown .menu .item:hover {
705
+ background-color: @formStates[@@state][dropdownHoverBackground];
706
+ }
707
+
708
+ /* Selected */
709
+ .ui.form .fields.@{state} .field .ui.dropdown .menu .selected.item,
710
+ .ui.form .field.@{state} .ui.dropdown .menu .selected.item {
711
+ background-color: @formStates[@@state][dropdownSelectedBackground];
712
+ }
713
+
714
+ /* Active */
715
+ .ui.form .fields.@{state} .field .ui.dropdown .menu .active.item,
716
+ .ui.form .field.@{state} .ui.dropdown .menu .active.item {
717
+ background-color: @formStates[@@state][dropdownActiveBackground] !important;
718
+ }
719
+
720
+ /*--------------------
721
+ Checkbox State
722
+ ---------------------*/
723
+ .ui.form .fields.@{state} .field .checkbox:not(.toggle):not(.slider) label,
724
+ .ui.form .field.@{state} .checkbox:not(.toggle):not(.slider) label {
725
+ color: @c;
726
+ }
727
+ .ui.form .fields.@{state} .field .checkbox:not(.toggle):not(.slider) label::before,
728
+ .ui.form .field.@{state} .checkbox:not(.toggle):not(.slider) label::before {
729
+ background: @bg;
730
+ border-color: @bdc;
731
+ }
732
+ .ui.form .fields.@{state} .field .checkbox label::after,
733
+ .ui.form .field.@{state} .checkbox label::after {
734
+ color: @c;
735
+ }
736
+
737
+ & when (@variationFormInverted) {
738
+ .ui.inverted.form .fields.@{state} .field label,
739
+ .ui.inverted.form .@{state}.field label {
740
+ color: @lbg;
741
+ }
742
+ }
743
+ });
744
+ }
710
745
 
711
- /* Hover */
712
- .ui.form .fields.@{state} .field .ui.dropdown .menu .item:hover,
713
- .ui.form .field.@{state} .ui.dropdown .menu .item:hover {
714
- background-color: @formStates[@@state][dropdownHoverBackground];
746
+ & when (@variationFormDisabled) {
747
+ /* --------------------
748
+ Disabled
749
+ --------------------- */
750
+
751
+ .ui.form .disabled.fields .field,
752
+ .ui.form .disabled.field,
753
+ .ui.form .field :disabled {
754
+ pointer-events: @disabledPointerEvents;
755
+ opacity: @disabledOpacity;
715
756
  }
716
-
717
- /* Selected */
718
- .ui.form .fields.@{state} .field .ui.dropdown .menu .selected.item,
719
- .ui.form .field.@{state} .ui.dropdown .menu .selected.item {
720
- background-color: @formStates[@@state][dropdownSelectedBackground];
757
+ .ui.form .field.disabled > label,
758
+ .ui.form .fields.disabled > label {
759
+ opacity: @disabledLabelOpacity;
721
760
  }
722
-
723
- /* Active */
724
- .ui.form .fields.@{state} .field .ui.dropdown .menu .active.item,
725
- .ui.form .field.@{state} .ui.dropdown .menu .active.item {
726
- background-color: @formStates[@@state][dropdownActiveBackground] !important;
761
+ .ui.form .field.disabled :disabled {
762
+ opacity: 1;
727
763
  }
764
+ }
728
765
 
729
- /*--------------------
730
- Checkbox State
731
- ---------------------*/
732
- .ui.form .fields.@{state} .field .checkbox:not(.toggle):not(.slider) label,
733
- .ui.form .field.@{state} .checkbox:not(.toggle):not(.slider) label {
734
- color: @c;
735
- }
736
- .ui.form .fields.@{state} .field .checkbox:not(.toggle):not(.slider) label::before,
737
- .ui.form .field.@{state} .checkbox:not(.toggle):not(.slider) label::before {
738
- background: @bg;
739
- border-color: @bdc;
766
+ & when (@variationFormLoading) {
767
+ /* --------------
768
+ Loading
769
+ --------------- */
770
+
771
+ .ui.loading.form {
772
+ position: relative;
773
+ cursor: default;
774
+ pointer-events: none;
740
775
  }
741
- .ui.form .fields.@{state} .field .checkbox label::after,
742
- .ui.form .field.@{state} .checkbox label::after {
743
- color: @c;
776
+ .ui.loading.form::before {
777
+ position: absolute;
778
+ content: "";
779
+ top: 0;
780
+ left: 0;
781
+ background: @loaderDimmerColor;
782
+ width: 100%;
783
+ height: 100%;
784
+ z-index: @loaderDimmerZIndex;
744
785
  }
745
786
 
746
- & when (@variationFormInverted) {
747
- .ui.inverted.form .fields.@{state} .field label,
748
- .ui.inverted.form .@{state}.field label {
749
- color: @lbg;
750
- }
787
+ .ui.loading.form.segments::before {
788
+ border-radius: @defaultBorderRadius;
751
789
  }
752
- })
753
- }
754
-
755
- & when (@variationFormDisabled) {
756
- /*--------------------
757
- Disabled
758
- ---------------------*/
759
-
760
- .ui.form .disabled.fields .field,
761
- .ui.form .disabled.field,
762
- .ui.form .field :disabled {
763
- pointer-events: @disabledPointerEvents;
764
- opacity: @disabledOpacity;
765
- }
766
- .ui.form .field.disabled > label,
767
- .ui.form .fields.disabled > label {
768
- opacity: @disabledLabelOpacity;
769
- }
770
- .ui.form .field.disabled :disabled {
771
- opacity: 1;
772
- }
773
- }
774
-
775
- & when (@variationFormLoading) {
776
- /*--------------
777
- Loading
778
- ---------------*/
779
-
780
- .ui.loading.form {
781
- position: relative;
782
- cursor: default;
783
- pointer-events: none;
784
- }
785
- .ui.loading.form::before {
786
- position: absolute;
787
- content: '';
788
- top: 0;
789
- left: 0;
790
- background: @loaderDimmerColor;
791
- width: 100%;
792
- height: 100%;
793
- z-index: @loaderDimmerZIndex;
794
- }
795
-
796
- .ui.loading.form.segments::before {
797
- border-radius: @defaultBorderRadius;
798
- }
799
790
 
800
- .ui.loading.form::after {
801
- position: absolute;
802
- content: '';
803
- top: 50%;
804
- left: 50%;
805
-
806
- margin: @loaderMargin;
807
- width: @loaderSize;
808
- height: @loaderSize;
809
-
810
- animation: loader @loaderSpeed infinite linear;
811
- border: @loaderLineWidth solid @loaderLineColor;
812
- border-radius: @circularRadius;
813
-
814
- box-shadow: 0 0 0 1px transparent;
815
- visibility: visible;
816
- z-index: @loaderLineZIndex;
817
- }
791
+ .ui.loading.form::after {
792
+ position: absolute;
793
+ content: "";
794
+ top: 50%;
795
+ left: 50%;
796
+ margin: @loaderMargin;
797
+ width: @loaderSize;
798
+ height: @loaderSize;
799
+ animation: loader @loaderSpeed infinite linear;
800
+ border: @loaderLineWidth solid @loaderLineColor;
801
+ border-radius: @circularRadius;
802
+ box-shadow: 0 0 0 1px transparent;
803
+ visibility: visible;
804
+ z-index: @loaderLineZIndex;
805
+ }
818
806
  }
819
807
 
820
808
  /*******************************
@@ -822,370 +810,364 @@
822
810
  *******************************/
823
811
 
824
812
  & when (@variationFormRequired) {
825
- /*--------------------
826
- Required Field
827
- ---------------------*/
828
-
829
- .ui.form .required.fields:not(.grouped) > .field > label::after,
830
- .ui.form .required.fields.grouped > label::after,
831
- .ui.form .required.field > label::after,
832
- .ui.form .required.fields:not(.grouped) > .field > .checkbox::after,
833
- .ui.form .required.field > .checkbox::after,
834
- .ui.form label.required::after {
835
- margin: @requiredMargin;
836
- content: @requiredContent;
837
- color: @requiredColor;
838
- }
839
-
840
- .ui.form .required.fields:not(.grouped) > .field > label::after,
841
- .ui.form .required.fields.grouped > label::after,
842
- .ui.form .required.field > label::after,
843
- .ui.form label.required::after {
844
- display: inline-block;
845
- vertical-align: top;
846
- }
813
+ /* --------------------
814
+ Required Field
815
+ --------------------- */
816
+
817
+ .ui.form .required.fields:not(.grouped) > .field > label::after,
818
+ .ui.form .required.fields.grouped > label::after,
819
+ .ui.form .required.field > label::after,
820
+ .ui.form .required.fields:not(.grouped) > .field > .checkbox::after,
821
+ .ui.form .required.field > .checkbox::after,
822
+ .ui.form label.required::after {
823
+ margin: @requiredMargin;
824
+ content: @requiredContent;
825
+ color: @requiredColor;
826
+ }
847
827
 
848
- .ui.form .required.fields:not(.grouped) > .field > .checkbox::after,
849
- .ui.form .required.field > .checkbox::after {
850
- position: absolute;
851
- top: 0;
852
- left: 100%;
853
- }
854
- }
828
+ .ui.form .required.fields:not(.grouped) > .field > label::after,
829
+ .ui.form .required.fields.grouped > label::after,
830
+ .ui.form .required.field > label::after,
831
+ .ui.form label.required::after {
832
+ display: inline-block;
833
+ vertical-align: top;
834
+ }
855
835
 
836
+ .ui.form .required.fields:not(.grouped) > .field > .checkbox::after,
837
+ .ui.form .required.field > .checkbox::after {
838
+ position: absolute;
839
+ top: 0;
840
+ left: 100%;
841
+ }
842
+ }
856
843
 
857
844
  /*******************************
858
845
  Variations
859
846
  *******************************/
860
847
 
861
848
  & when (@variationFormInverted) {
862
- /*--------------------
863
- Inverted Colors
864
- ---------------------*/
865
-
866
- .ui.inverted.form label,
867
- .ui.form .inverted.segment label,
868
- .ui.form .inverted.segment .ui.checkbox label,
869
- .ui.inverted.form .ui.checkbox label,
870
- .ui.inverted.form .inline.fields > label,
871
- .ui.inverted.form .inline.fields .field > label,
872
- .ui.inverted.form .inline.fields .field > p,
873
- .ui.inverted.form .inline.field > label,
874
- .ui.inverted.form .inline.field > p {
875
- color: @invertedLabelColor;
876
- }
877
- .ui.inverted.loading.form {
878
- color: @invertedLoaderLineColor;
879
- }
880
- .ui.inverted.loading.form::before {
881
- background: @loaderInvertedDimmerColor;
882
- }
883
- /* Inverted Field */
884
- .ui.inverted.form input:not([type]),
885
- .ui.inverted.form input[type="color"],
886
- .ui.inverted.form input[type="date"],
887
- .ui.inverted.form input[type="datetime-local"],
888
- .ui.inverted.form input[type="email"],
889
- .ui.inverted.form input[type="month"],
890
- .ui.inverted.form input[type="number"],
891
- .ui.inverted.form input[type="password"],
892
- .ui.inverted.form input[type="search"],
893
- .ui.inverted.form input[type="tel"],
894
- .ui.inverted.form input[type="time"],
895
- .ui.inverted.form input[type="text"],
896
- .ui.inverted.form input[type="file"],
897
- .ui.inverted.form input[type="url"],
898
- .ui.inverted.form input[type="week"] {
899
- background: @invertedInputBackground;
900
- border-color: @invertedInputBorderColor;
901
- color: @invertedInputColor;
902
- box-shadow: @invertedInputBoxShadow;
903
- }
849
+ /* --------------------
850
+ Inverted Colors
851
+ --------------------- */
852
+
853
+ .ui.inverted.form label,
854
+ .ui.form .inverted.segment label,
855
+ .ui.form .inverted.segment .ui.checkbox label,
856
+ .ui.inverted.form .ui.checkbox label,
857
+ .ui.inverted.form .inline.fields > label,
858
+ .ui.inverted.form .inline.fields .field > label,
859
+ .ui.inverted.form .inline.fields .field > p,
860
+ .ui.inverted.form .inline.field > label,
861
+ .ui.inverted.form .inline.field > p {
862
+ color: @invertedLabelColor;
863
+ }
864
+ .ui.inverted.loading.form {
865
+ color: @invertedLoaderLineColor;
866
+ }
867
+ .ui.inverted.loading.form::before {
868
+ background: @loaderInvertedDimmerColor;
869
+ }
870
+
871
+ /* Inverted Field */
872
+ .ui.inverted.form input:not([type]),
873
+ .ui.inverted.form input[type="color"],
874
+ .ui.inverted.form input[type="date"],
875
+ .ui.inverted.form input[type="datetime-local"],
876
+ .ui.inverted.form input[type="email"],
877
+ .ui.inverted.form input[type="month"],
878
+ .ui.inverted.form input[type="number"],
879
+ .ui.inverted.form input[type="password"],
880
+ .ui.inverted.form input[type="search"],
881
+ .ui.inverted.form input[type="tel"],
882
+ .ui.inverted.form input[type="time"],
883
+ .ui.inverted.form input[type="text"],
884
+ .ui.inverted.form input[type="file"],
885
+ .ui.inverted.form input[type="url"],
886
+ .ui.inverted.form input[type="week"] {
887
+ background: @invertedInputBackground;
888
+ border-color: @invertedInputBorderColor;
889
+ color: @invertedInputColor;
890
+ box-shadow: @invertedInputBoxShadow;
891
+ }
904
892
  }
905
893
 
906
894
  & when (@variationFormGrouped) {
907
- /*--------------------
908
- Field Groups
909
- ---------------------*/
895
+ /* --------------------
896
+ Field Groups
897
+ --------------------- */
910
898
 
911
- /* Grouped Vertically */
899
+ /* Grouped Vertically */
912
900
 
913
- .ui.form .grouped.fields {
914
- display: block;
915
- margin: @groupedMargin;
916
- }
901
+ .ui.form .grouped.fields {
902
+ display: block;
903
+ margin: @groupedMargin;
904
+ }
917
905
 
918
- .ui.form .grouped.fields:last-child {
919
- margin-bottom: 0;
920
- }
921
-
922
- .ui.form .grouped.fields > label {
923
- margin: @groupedLabelMargin;
924
- color: @groupedLabelColor;
925
- font-size: @groupedLabelFontSize;
926
- font-weight: @groupedLabelFontWeight;
927
- text-transform: @groupedLabelTextTransform;
928
- }
929
-
930
- .ui.form .grouped.fields .field,
931
- .ui.form .grouped.inline.fields .field {
932
- display: block;
933
- margin: @groupedFieldMargin;
934
- padding: 0;
935
- }
936
- .ui.form .grouped.inline.fields .ui.checkbox {
937
- margin-bottom: @groupedInlineCheckboxBottomMargin;
938
- }
906
+ .ui.form .grouped.fields:last-child {
907
+ margin-bottom: 0;
908
+ }
909
+
910
+ .ui.form .grouped.fields > label {
911
+ margin: @groupedLabelMargin;
912
+ color: @groupedLabelColor;
913
+ font-size: @groupedLabelFontSize;
914
+ font-weight: @groupedLabelFontWeight;
915
+ text-transform: @groupedLabelTextTransform;
916
+ }
917
+
918
+ .ui.form .grouped.fields .field,
919
+ .ui.form .grouped.inline.fields .field {
920
+ display: block;
921
+ margin: @groupedFieldMargin;
922
+ padding: 0;
923
+ }
924
+ .ui.form .grouped.inline.fields .ui.checkbox {
925
+ margin-bottom: @groupedInlineCheckboxBottomMargin;
926
+ }
939
927
  }
940
928
 
941
- /*--------------------
929
+ /* --------------------
942
930
  Fields
943
- ---------------------*/
931
+ --------------------- */
944
932
 
945
933
  /* Split fields */
946
934
  .ui.form .fields {
947
- display: flex;
948
- flex-direction: row;
949
- margin: @fieldsMargin;
935
+ display: flex;
936
+ flex-direction: row;
937
+ margin: @fieldsMargin;
950
938
  }
951
939
  .ui.form .fields > .field {
952
- flex: 0 1 auto;
953
- padding-left: (@gutterWidth / 2);
954
- padding-right: (@gutterWidth / 2);
940
+ flex: 0 1 auto;
941
+ padding-left: (@gutterWidth / 2);
942
+ padding-right: (@gutterWidth / 2);
955
943
  }
956
944
  .ui.form .fields > .field:first-child {
957
- border-left: none;
958
- box-shadow: none;
945
+ border-left: none;
946
+ box-shadow: none;
959
947
  }
960
948
 
961
949
  & when (@variationFormEqualWidth) {
962
- /* Other Combinations */
963
- .ui.form .two.fields > .fields,
964
- .ui.form .two.fields > .field {
965
- width: @twoColumn;
966
- }
967
- .ui.form .three.fields > .fields,
968
- .ui.form .three.fields > .field {
969
- width: @threeColumn;
970
- }
971
- .ui.form .four.fields > .fields,
972
- .ui.form .four.fields > .field {
973
- width: @fourColumn;
974
- }
975
- .ui.form .five.fields > .fields,
976
- .ui.form .five.fields > .field {
977
- width: @fiveColumn;
978
- }
979
- .ui.form .six.fields > .fields,
980
- .ui.form .six.fields > .field {
981
- width: @sixColumn;
982
- }
983
- .ui.form .seven.fields > .fields,
984
- .ui.form .seven.fields > .field {
985
- width: @sevenColumn;
986
- }
987
- .ui.form .eight.fields > .fields,
988
- .ui.form .eight.fields > .field {
989
- width: @eightColumn;
990
- }
991
- .ui.form .nine.fields > .fields,
992
- .ui.form .nine.fields > .field {
993
- width: @nineColumn;
994
- }
995
- .ui.form .ten.fields > .fields,
996
- .ui.form .ten.fields > .field {
997
- width: @tenColumn;
998
- }
950
+ /* Other Combinations */
951
+ .ui.form .two.fields > .fields,
952
+ .ui.form .two.fields > .field {
953
+ width: @twoColumn;
954
+ }
955
+ .ui.form .three.fields > .fields,
956
+ .ui.form .three.fields > .field {
957
+ width: @threeColumn;
958
+ }
959
+ .ui.form .four.fields > .fields,
960
+ .ui.form .four.fields > .field {
961
+ width: @fourColumn;
962
+ }
963
+ .ui.form .five.fields > .fields,
964
+ .ui.form .five.fields > .field {
965
+ width: @fiveColumn;
966
+ }
967
+ .ui.form .six.fields > .fields,
968
+ .ui.form .six.fields > .field {
969
+ width: @sixColumn;
970
+ }
971
+ .ui.form .seven.fields > .fields,
972
+ .ui.form .seven.fields > .field {
973
+ width: @sevenColumn;
974
+ }
975
+ .ui.form .eight.fields > .fields,
976
+ .ui.form .eight.fields > .field {
977
+ width: @eightColumn;
978
+ }
979
+ .ui.form .nine.fields > .fields,
980
+ .ui.form .nine.fields > .field {
981
+ width: @nineColumn;
982
+ }
983
+ .ui.form .ten.fields > .fields,
984
+ .ui.form .ten.fields > .field {
985
+ width: @tenColumn;
986
+ }
999
987
  }
1000
988
 
1001
989
  /* Swap to full width on mobile */
1002
- @media only screen and (max-width : @largestMobileScreen) {
1003
- .ui.form .fields {
1004
- flex-wrap: wrap;
1005
- margin-bottom: 0;
1006
- }
990
+ @media only screen and (max-width: @largestMobileScreen) {
991
+ .ui.form .fields {
992
+ flex-wrap: wrap;
993
+ margin-bottom: 0;
994
+ }
1007
995
 
1008
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .fields,
1009
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .field {
1010
- width: @oneColumn;
1011
- margin: 0 0 @rowDistance;
1012
- }
996
+ .ui.form:not(.unstackable) .fields:not(.unstackable) > .fields,
997
+ .ui.form:not(.unstackable) .fields:not(.unstackable) > .field {
998
+ width: @oneColumn;
999
+ margin: 0 0 @rowDistance;
1000
+ }
1013
1001
  }
1014
1002
 
1015
1003
  & when (@variationFormWide) {
1004
+ /* Sizing Combinations */
1005
+ .ui.form .fields .wide.field {
1006
+ width: @oneWide;
1007
+ padding-left: (@gutterWidth / 2);
1008
+ padding-right: (@gutterWidth / 2);
1009
+ }
1016
1010
 
1017
- /* Sizing Combinations */
1018
- .ui.form .fields .wide.field {
1019
- width: @oneWide;
1020
- padding-left: (@gutterWidth / 2);
1021
- padding-right: (@gutterWidth / 2);
1022
- }
1023
-
1024
- .ui.form .one.wide.field {
1025
- width: @oneWide;
1026
- }
1027
- .ui.form .two.wide.field {
1028
- width: @twoWide;
1029
- }
1030
- .ui.form .three.wide.field {
1031
- width: @threeWide;
1032
- }
1033
- .ui.form .four.wide.field {
1034
- width: @fourWide;
1035
- }
1036
- .ui.form .five.wide.field {
1037
- width: @fiveWide;
1038
- }
1039
- .ui.form .six.wide.field {
1040
- width: @sixWide;
1041
- }
1042
- .ui.form .seven.wide.field {
1043
- width: @sevenWide;
1044
- }
1045
- .ui.form .eight.wide.field {
1046
- width: @eightWide;
1047
- }
1048
- .ui.form .nine.wide.field {
1049
- width: @nineWide;
1050
- }
1051
- .ui.form .ten.wide.field {
1052
- width: @tenWide;
1053
- }
1054
- .ui.form .eleven.wide.field {
1055
- width: @elevenWide;
1056
- }
1057
- .ui.form .twelve.wide.field {
1058
- width: @twelveWide;
1059
- }
1060
- .ui.form .thirteen.wide.field {
1061
- width: @thirteenWide;
1062
- }
1063
- .ui.form .fourteen.wide.field {
1064
- width: @fourteenWide;
1065
- }
1066
- .ui.form .fifteen.wide.field {
1067
- width: @fifteenWide;
1068
- }
1069
- .ui.form .sixteen.wide.field {
1070
- width: @sixteenWide;
1071
- }
1072
- }
1073
-
1074
-
1075
- /*--------------------
1011
+ .ui.form .one.wide.field {
1012
+ width: @oneWide;
1013
+ }
1014
+ .ui.form .two.wide.field {
1015
+ width: @twoWide;
1016
+ }
1017
+ .ui.form .three.wide.field {
1018
+ width: @threeWide;
1019
+ }
1020
+ .ui.form .four.wide.field {
1021
+ width: @fourWide;
1022
+ }
1023
+ .ui.form .five.wide.field {
1024
+ width: @fiveWide;
1025
+ }
1026
+ .ui.form .six.wide.field {
1027
+ width: @sixWide;
1028
+ }
1029
+ .ui.form .seven.wide.field {
1030
+ width: @sevenWide;
1031
+ }
1032
+ .ui.form .eight.wide.field {
1033
+ width: @eightWide;
1034
+ }
1035
+ .ui.form .nine.wide.field {
1036
+ width: @nineWide;
1037
+ }
1038
+ .ui.form .ten.wide.field {
1039
+ width: @tenWide;
1040
+ }
1041
+ .ui.form .eleven.wide.field {
1042
+ width: @elevenWide;
1043
+ }
1044
+ .ui.form .twelve.wide.field {
1045
+ width: @twelveWide;
1046
+ }
1047
+ .ui.form .thirteen.wide.field {
1048
+ width: @thirteenWide;
1049
+ }
1050
+ .ui.form .fourteen.wide.field {
1051
+ width: @fourteenWide;
1052
+ }
1053
+ .ui.form .fifteen.wide.field {
1054
+ width: @fifteenWide;
1055
+ }
1056
+ .ui.form .sixteen.wide.field {
1057
+ width: @sixteenWide;
1058
+ }
1059
+ }
1060
+
1061
+ /* --------------------
1076
1062
  Equal Width
1077
- ---------------------*/
1063
+ --------------------- */
1078
1064
 
1079
1065
  & when (@variationFormEqualWidth) {
1080
- .ui[class*="equal width"].form .fields > .field,
1081
- .ui.form [class*="equal width"].fields > .field {
1082
- width: 100%;
1083
- flex: 1 1 auto;
1084
- }
1066
+ .ui[class*="equal width"].form .fields > .field,
1067
+ .ui.form [class*="equal width"].fields > .field {
1068
+ width: 100%;
1069
+ flex: 1 1 auto;
1070
+ }
1085
1071
  }
1086
1072
 
1087
1073
  & when (@variationFormInline) {
1088
- /*--------------------
1089
- Inline Fields
1090
- ---------------------*/
1074
+ /* --------------------
1075
+ Inline Fields
1076
+ --------------------- */
1091
1077
 
1092
- .ui.form .inline.fields {
1093
- margin: @fieldMargin;
1094
- align-items: center;
1095
- }
1096
- .ui.form .inline.fields .field {
1097
- margin: 0;
1098
- padding: @inlineFieldsMargin;
1099
- }
1100
-
1101
- /* Inline Label */
1102
- .ui.form .inline.fields > label,
1103
- .ui.form .inline.fields .field > label,
1104
- .ui.form .inline.fields .field > p,
1105
- .ui.form .inline.field > label,
1106
- .ui.form .inline.field > p {
1107
- display: inline-block;
1108
- width: auto;
1109
- margin-top: 0;
1110
- margin-bottom: 0;
1111
- vertical-align: baseline;
1112
- font-size: @inlineLabelFontSize;
1113
- font-weight: @inlineLabelFontWeight;
1114
- color: @inlineLabelColor;
1115
- text-transform: @inlineLabelTextTransform;
1116
- }
1117
-
1118
- /* Grouped Inline Label */
1119
- .ui.form .inline.fields > label {
1120
- margin: @groupedInlineLabelMargin;
1121
- }
1122
-
1123
- /* Inline Input */
1124
- .ui.form .inline.fields .field > input,
1125
- .ui.form .inline.fields .field > select,
1126
- .ui.form .inline.field > input,
1127
- .ui.form .inline.field > select {
1128
- display: inline-block;
1129
- width: auto;
1078
+ .ui.form .inline.fields {
1079
+ margin: @fieldMargin;
1080
+ align-items: center;
1081
+ }
1082
+ .ui.form .inline.fields .field {
1083
+ margin: 0;
1084
+ padding: @inlineFieldsMargin;
1085
+ }
1130
1086
 
1131
- margin-top: 0;
1132
- margin-bottom: 0;
1087
+ /* Inline Label */
1088
+ .ui.form .inline.fields > label,
1089
+ .ui.form .inline.fields .field > label,
1090
+ .ui.form .inline.fields .field > p,
1091
+ .ui.form .inline.field > label,
1092
+ .ui.form .inline.field > p {
1093
+ display: inline-block;
1094
+ width: auto;
1095
+ margin-top: 0;
1096
+ margin-bottom: 0;
1097
+ vertical-align: baseline;
1098
+ font-size: @inlineLabelFontSize;
1099
+ font-weight: @inlineLabelFontWeight;
1100
+ color: @inlineLabelColor;
1101
+ text-transform: @inlineLabelTextTransform;
1102
+ }
1133
1103
 
1134
- vertical-align: middle;
1135
- font-size: @inlineInputSize;
1136
- }
1137
-
1138
- .ui.form .inline.fields .field .calendar:not(.popup),
1139
- .ui.form .inline.field .calendar:not(.popup) {
1140
- display:inline-block;
1141
- }
1142
-
1143
- .ui.form .inline.fields .field .calendar:not(.popup) > .input > input,
1144
- .ui.form .inline.field .calendar:not(.popup) > .input > input {
1145
- width: @inlineCalendarWidth;
1146
- }
1147
-
1148
- /* Label */
1149
- .ui.form .inline.fields .field > :first-child,
1150
- .ui.form .inline.field > :first-child {
1151
- margin: 0 @inlineLabelDistance 0 0;
1152
- }
1153
- .ui.form .inline.fields .field > :only-child,
1154
- .ui.form .inline.field > :only-child {
1155
- margin: 0;
1156
- }
1104
+ /* Grouped Inline Label */
1105
+ .ui.form .inline.fields > label {
1106
+ margin: @groupedInlineLabelMargin;
1107
+ }
1157
1108
 
1158
- /* Wide */
1159
- .ui.form .inline.fields .wide.field {
1160
- display: flex;
1161
- align-items: center;
1162
- }
1163
- .ui.form .inline.fields .wide.field > input,
1164
- .ui.form .inline.fields .wide.field > select {
1165
- width: 100%;
1166
- }
1167
- }
1109
+ /* Inline Input */
1110
+ .ui.form .inline.fields .field > input,
1111
+ .ui.form .inline.fields .field > select,
1112
+ .ui.form .inline.field > input,
1113
+ .ui.form .inline.field > select {
1114
+ display: inline-block;
1115
+ width: auto;
1116
+ margin-top: 0;
1117
+ margin-bottom: 0;
1118
+ vertical-align: middle;
1119
+ font-size: @inlineInputSize;
1120
+ }
1121
+
1122
+ .ui.form .inline.fields .field .calendar:not(.popup),
1123
+ .ui.form .inline.field .calendar:not(.popup) {
1124
+ display: inline-block;
1125
+ }
1168
1126
 
1127
+ .ui.form .inline.fields .field .calendar:not(.popup) > .input > input,
1128
+ .ui.form .inline.field .calendar:not(.popup) > .input > input {
1129
+ width: @inlineCalendarWidth;
1130
+ }
1131
+
1132
+ /* Label */
1133
+ .ui.form .inline.fields .field > :first-child,
1134
+ .ui.form .inline.field > :first-child {
1135
+ margin: 0 @inlineLabelDistance 0 0;
1136
+ }
1137
+ .ui.form .inline.fields .field > :only-child,
1138
+ .ui.form .inline.field > :only-child {
1139
+ margin: 0;
1140
+ }
1141
+
1142
+ /* Wide */
1143
+ .ui.form .inline.fields .wide.field {
1144
+ display: flex;
1145
+ align-items: center;
1146
+ }
1147
+ .ui.form .inline.fields .wide.field > input,
1148
+ .ui.form .inline.fields .wide.field > select {
1149
+ width: 100%;
1150
+ }
1151
+ }
1169
1152
 
1170
- /*--------------------
1153
+ /* --------------------
1171
1154
  Sizes
1172
- ---------------------*/
1155
+ --------------------- */
1173
1156
 
1174
1157
  .ui.form,
1175
1158
  .ui.form .field .dropdown,
1176
1159
  .ui.form .field .dropdown .menu > .item {
1177
- font-size: @medium;
1160
+ font-size: @medium;
1178
1161
  }
1179
1162
  & when not (@variationFormSizes = false) {
1180
- each(@variationFormSizes, {
1181
- @s: @@value;
1182
- .ui.@{value}.form,
1183
- .ui.@{value}.form .field .dropdown,
1184
- .ui.@{value}.form .field .dropdown .menu > .item {
1185
- font-size: @s;
1186
- }
1187
- })
1163
+ each(@variationFormSizes, {
1164
+ @s: @@value;
1165
+ .ui.@{value}.form,
1166
+ .ui.@{value}.form .field .dropdown,
1167
+ .ui.@{value}.form .field .dropdown .menu > .item {
1168
+ font-size: @s;
1169
+ }
1170
+ });
1188
1171
  }
1189
1172
 
1190
-
1191
1173
  .loadUIOverrides();