fomantic-ui 2.9.1-beta.2 → 2.9.1-beta.21

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 (493) hide show
  1. package/.eslintrc.js +111 -0
  2. package/.github/workflows/ci.yml +14 -4
  3. package/.stylelintrc.js +59 -0
  4. package/dist/components/accordion.css +19 -26
  5. package/dist/components/accordion.js +568 -595
  6. package/dist/components/accordion.min.css +1 -1
  7. package/dist/components/accordion.min.js +2 -2
  8. package/dist/components/ad.css +31 -41
  9. package/dist/components/ad.min.css +1 -1
  10. package/dist/components/api.js +1156 -1179
  11. package/dist/components/api.min.js +2 -2
  12. package/dist/components/breadcrumb.css +1 -1
  13. package/dist/components/breadcrumb.min.css +1 -1
  14. package/dist/components/button.css +71 -106
  15. package/dist/components/button.min.css +1 -1
  16. package/dist/components/calendar.css +18 -16
  17. package/dist/components/calendar.js +1902 -1809
  18. package/dist/components/calendar.min.css +2 -2
  19. package/dist/components/calendar.min.js +2 -2
  20. package/dist/components/card.css +83 -115
  21. package/dist/components/card.min.css +1 -1
  22. package/dist/components/checkbox.css +47 -64
  23. package/dist/components/checkbox.js +842 -841
  24. package/dist/components/checkbox.min.css +1 -1
  25. package/dist/components/checkbox.min.js +2 -2
  26. package/dist/components/comment.css +37 -51
  27. package/dist/components/comment.min.css +1 -1
  28. package/dist/components/container.css +6 -5
  29. package/dist/components/container.min.css +2 -2
  30. package/dist/components/dimmer.css +31 -41
  31. package/dist/components/dimmer.js +708 -737
  32. package/dist/components/dimmer.min.css +1 -1
  33. package/dist/components/dimmer.min.js +2 -2
  34. package/dist/components/divider.css +32 -44
  35. package/dist/components/divider.min.css +1 -1
  36. package/dist/components/dropdown.css +129 -166
  37. package/dist/components/dropdown.js +4161 -4234
  38. package/dist/components/dropdown.min.css +2 -2
  39. package/dist/components/dropdown.min.js +2 -2
  40. package/dist/components/embed.css +13 -19
  41. package/dist/components/embed.js +651 -675
  42. package/dist/components/embed.min.css +1 -1
  43. package/dist/components/embed.min.js +2 -2
  44. package/dist/components/emoji.css +7 -6
  45. package/dist/components/feed.css +24 -32
  46. package/dist/components/feed.min.css +1 -1
  47. package/dist/components/flag.css +5 -3
  48. package/dist/components/flag.min.css +1 -1
  49. package/dist/components/flyout.css +44 -58
  50. package/dist/components/flyout.js +1464 -1465
  51. package/dist/components/flyout.min.css +2 -2
  52. package/dist/components/flyout.min.js +2 -2
  53. package/dist/components/form.css +85 -111
  54. package/dist/components/form.js +1979 -2004
  55. package/dist/components/form.min.css +1 -1
  56. package/dist/components/form.min.js +2 -2
  57. package/dist/components/grid.css +70 -96
  58. package/dist/components/grid.min.css +1 -1
  59. package/dist/components/header.css +47 -65
  60. package/dist/components/header.min.css +1 -1
  61. package/dist/components/icon.css +45 -66
  62. package/dist/components/icon.min.css +2 -2
  63. package/dist/components/image.css +32 -42
  64. package/dist/components/image.min.css +1 -1
  65. package/dist/components/input.css +182 -65
  66. package/dist/components/input.min.css +2 -2
  67. package/dist/components/item.css +55 -77
  68. package/dist/components/item.min.css +1 -1
  69. package/dist/components/label.css +68 -91
  70. package/dist/components/label.min.css +2 -2
  71. package/dist/components/list.css +44 -59
  72. package/dist/components/list.min.css +1 -1
  73. package/dist/components/loader.css +16 -22
  74. package/dist/components/loader.min.css +1 -1
  75. package/dist/components/menu.css +126 -186
  76. package/dist/components/message.css +25 -35
  77. package/dist/components/message.min.css +1 -1
  78. package/dist/components/modal.css +39 -40
  79. package/dist/components/modal.js +1491 -1485
  80. package/dist/components/modal.min.css +2 -2
  81. package/dist/components/modal.min.js +2 -2
  82. package/dist/components/nag.css +21 -28
  83. package/dist/components/nag.js +518 -526
  84. package/dist/components/nag.min.css +2 -2
  85. package/dist/components/nag.min.js +2 -2
  86. package/dist/components/placeholder.css +10 -12
  87. package/dist/components/placeholder.min.css +1 -1
  88. package/dist/components/popup.css +352 -59
  89. package/dist/components/popup.js +1437 -1456
  90. package/dist/components/popup.min.css +2 -2
  91. package/dist/components/popup.min.js +2 -2
  92. package/dist/components/progress.css +29 -39
  93. package/dist/components/progress.js +969 -997
  94. package/dist/components/progress.min.css +1 -1
  95. package/dist/components/progress.min.js +2 -2
  96. package/dist/components/rail.css +15 -20
  97. package/dist/components/rail.min.css +1 -1
  98. package/dist/components/rating.css +9 -13
  99. package/dist/components/rating.js +505 -523
  100. package/dist/components/rating.min.css +1 -1
  101. package/dist/components/rating.min.js +2 -2
  102. package/dist/components/reset.css +1 -1
  103. package/dist/components/reset.min.css +1 -1
  104. package/dist/components/reveal.css +19 -26
  105. package/dist/components/reveal.min.css +1 -1
  106. package/dist/components/search.css +43 -58
  107. package/dist/components/search.js +1498 -1534
  108. package/dist/components/search.min.css +2 -2
  109. package/dist/components/search.min.js +2 -2
  110. package/dist/components/segment.css +64 -83
  111. package/dist/components/segment.min.css +2 -2
  112. package/dist/components/shape.css +10 -14
  113. package/dist/components/shape.js +792 -809
  114. package/dist/components/shape.min.css +1 -1
  115. package/dist/components/shape.min.js +2 -2
  116. package/dist/components/sidebar.css +43 -58
  117. package/dist/components/sidebar.js +1071 -1098
  118. package/dist/components/sidebar.min.css +2 -2
  119. package/dist/components/sidebar.min.js +2 -2
  120. package/dist/components/site.css +5 -5
  121. package/dist/components/site.js +462 -476
  122. package/dist/components/site.min.css +1 -1
  123. package/dist/components/site.min.js +2 -2
  124. package/dist/components/slider.css +27 -37
  125. package/dist/components/slider.js +1287 -1306
  126. package/dist/components/slider.min.js +2 -2
  127. package/dist/components/state.js +639 -657
  128. package/dist/components/state.min.js +2 -2
  129. package/dist/components/statistic.css +32 -41
  130. package/dist/components/statistic.min.css +2 -2
  131. package/dist/components/step.css +26 -35
  132. package/dist/components/step.min.css +1 -1
  133. package/dist/components/sticky.css +1 -1
  134. package/dist/components/sticky.js +857 -902
  135. package/dist/components/sticky.min.css +1 -1
  136. package/dist/components/sticky.min.js +2 -2
  137. package/dist/components/tab.css +6 -8
  138. package/dist/components/tab.js +922 -963
  139. package/dist/components/tab.min.css +1 -1
  140. package/dist/components/tab.min.js +2 -2
  141. package/dist/components/table.css +93 -119
  142. package/dist/components/table.min.css +2 -2
  143. package/dist/components/text.css +1 -1
  144. package/dist/components/text.min.css +1 -1
  145. package/dist/components/toast.css +4 -6
  146. package/dist/components/toast.js +886 -887
  147. package/dist/components/toast.min.css +1 -1
  148. package/dist/components/toast.min.js +2 -2
  149. package/dist/components/transition.css +179 -42
  150. package/dist/components/transition.js +1041 -1077
  151. package/dist/components/transition.min.css +2 -2
  152. package/dist/components/transition.min.js +2 -2
  153. package/dist/components/visibility.js +1220 -1244
  154. package/dist/components/visibility.min.js +2 -2
  155. package/dist/semantic.css +2558 -1807
  156. package/dist/semantic.js +28960 -29413
  157. package/dist/semantic.min.css +2 -2
  158. package/dist/semantic.min.js +2 -2
  159. package/dist/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  160. package/dist/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  161. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  162. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  163. package/dist/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  164. package/dist/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  165. package/dist/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  166. package/dist/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  167. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  168. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  169. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  170. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  171. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  172. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  173. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  174. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  175. package/examples/assets/show-examples.js +13 -13
  176. package/gulpfile.js +9 -10
  177. package/package.json +13 -8
  178. package/scripts/nightly-version.js +81 -75
  179. package/src/_site/collections/menu.overrides +1 -1
  180. package/src/_site/elements/flag.variables +2 -2
  181. package/src/_site/globals/site.variables +1 -1
  182. package/src/definitions/behaviors/api.js +1157 -1180
  183. package/src/definitions/behaviors/form.js +1978 -2003
  184. package/src/definitions/behaviors/state.js +645 -663
  185. package/src/definitions/behaviors/visibility.js +1219 -1243
  186. package/src/definitions/collections/breadcrumb.less +41 -45
  187. package/src/definitions/collections/form.less +864 -882
  188. package/src/definitions/collections/grid.less +1689 -1697
  189. package/src/definitions/collections/menu.less +1490 -1508
  190. package/src/definitions/collections/message.less +292 -295
  191. package/src/definitions/collections/table.less +1616 -1620
  192. package/src/definitions/elements/button.less +1710 -1754
  193. package/src/definitions/elements/container.less +209 -209
  194. package/src/definitions/elements/divider.less +200 -209
  195. package/src/definitions/elements/emoji.less +38 -45
  196. package/src/definitions/elements/flag.less +44 -46
  197. package/src/definitions/elements/header.less +337 -345
  198. package/src/definitions/elements/icon.less +516 -451
  199. package/src/definitions/elements/image.less +219 -225
  200. package/src/definitions/elements/input.less +657 -663
  201. package/src/definitions/elements/label.less +783 -804
  202. package/src/definitions/elements/list.less +808 -812
  203. package/src/definitions/elements/loader.less +269 -266
  204. package/src/definitions/elements/placeholder.less +171 -168
  205. package/src/definitions/elements/rail.less +91 -91
  206. package/src/definitions/elements/reveal.less +190 -196
  207. package/src/definitions/elements/segment.less +738 -747
  208. package/src/definitions/elements/step.less +424 -435
  209. package/src/definitions/elements/text.less +32 -34
  210. package/src/definitions/globals/reset.less +9 -6
  211. package/src/definitions/globals/site.js +461 -475
  212. package/src/definitions/globals/site.less +106 -108
  213. package/src/definitions/modules/accordion.js +567 -594
  214. package/src/definitions/modules/accordion.less +242 -246
  215. package/src/definitions/modules/calendar.js +1901 -1808
  216. package/src/definitions/modules/calendar.less +98 -95
  217. package/src/definitions/modules/checkbox.js +841 -840
  218. package/src/definitions/modules/checkbox.less +524 -545
  219. package/src/definitions/modules/dimmer.js +707 -736
  220. package/src/definitions/modules/dimmer.less +300 -303
  221. package/src/definitions/modules/dropdown.js +4160 -4233
  222. package/src/definitions/modules/dropdown.less +1570 -1596
  223. package/src/definitions/modules/embed.js +650 -674
  224. package/src/definitions/modules/embed.less +80 -82
  225. package/src/definitions/modules/flyout.js +1463 -1464
  226. package/src/definitions/modules/flyout.less +444 -454
  227. package/src/definitions/modules/modal.js +1490 -1484
  228. package/src/definitions/modules/modal.less +459 -465
  229. package/src/definitions/modules/nag.js +517 -525
  230. package/src/definitions/modules/nag.less +134 -147
  231. package/src/definitions/modules/popup.js +1436 -1455
  232. package/src/definitions/modules/popup.less +733 -690
  233. package/src/definitions/modules/progress.js +968 -996
  234. package/src/definitions/modules/progress.less +521 -497
  235. package/src/definitions/modules/rating.js +504 -522
  236. package/src/definitions/modules/rating.less +94 -101
  237. package/src/definitions/modules/search.js +1497 -1533
  238. package/src/definitions/modules/search.less +373 -392
  239. package/src/definitions/modules/shape.js +791 -808
  240. package/src/definitions/modules/shape.less +68 -77
  241. package/src/definitions/modules/sidebar.js +1070 -1097
  242. package/src/definitions/modules/sidebar.less +462 -474
  243. package/src/definitions/modules/slider.js +1286 -1305
  244. package/src/definitions/modules/slider.less +307 -308
  245. package/src/definitions/modules/sticky.js +873 -918
  246. package/src/definitions/modules/sticky.less +22 -23
  247. package/src/definitions/modules/tab.js +921 -962
  248. package/src/definitions/modules/tab.less +46 -52
  249. package/src/definitions/modules/toast.js +885 -886
  250. package/src/definitions/modules/toast.less +584 -586
  251. package/src/definitions/modules/transition.js +1040 -1076
  252. package/src/definitions/modules/transition.less +62 -28
  253. package/src/definitions/views/ad.less +205 -206
  254. package/src/definitions/views/card.less +963 -969
  255. package/src/definitions/views/comment.less +190 -198
  256. package/src/definitions/views/feed.less +220 -224
  257. package/src/definitions/views/item.less +435 -446
  258. package/src/definitions/views/statistic.less +271 -277
  259. package/src/theme.less +29 -32
  260. package/src/themes/amazon/elements/button.overrides +23 -24
  261. package/src/themes/amazon/elements/button.variables +11 -11
  262. package/src/themes/amazon/globals/site.variables +2 -3
  263. package/src/themes/basic/collections/table.overrides +0 -1
  264. package/src/themes/basic/collections/table.variables +3 -3
  265. package/src/themes/basic/elements/button.overrides +0 -1
  266. package/src/themes/basic/elements/button.variables +2 -2
  267. package/src/themes/basic/elements/icon.overrides +12 -13
  268. package/src/themes/basic/elements/icon.variables +13 -13
  269. package/src/themes/basic/elements/step.overrides +2 -2
  270. package/src/themes/basic/elements/step.variables +2 -2
  271. package/src/themes/basic/globals/reset.overrides +1 -1
  272. package/src/themes/basic/globals/reset.variables +1 -1
  273. package/src/themes/basic/views/card.overrides +0 -1
  274. package/src/themes/basic/views/card.variables +3 -3
  275. package/src/themes/bookish/elements/header.overrides +3 -3
  276. package/src/themes/bookish/elements/header.variables +2 -2
  277. package/src/themes/bootstrap3/elements/button.variables +7 -8
  278. package/src/themes/chubby/collections/form.overrides +9 -9
  279. package/src/themes/chubby/collections/form.variables +3 -3
  280. package/src/themes/chubby/collections/menu.variables +1 -1
  281. package/src/themes/chubby/elements/button.overrides +7 -9
  282. package/src/themes/chubby/elements/button.variables +2 -2
  283. package/src/themes/chubby/elements/header.variables +3 -3
  284. package/src/themes/chubby/modules/accordion.overrides +2 -2
  285. package/src/themes/chubby/modules/accordion.variables +3 -3
  286. package/src/themes/chubby/views/comment.overrides +5 -5
  287. package/src/themes/chubby/views/comment.variables +4 -4
  288. package/src/themes/classic/collections/table.variables +2 -2
  289. package/src/themes/classic/elements/button.variables +20 -21
  290. package/src/themes/classic/elements/header.variables +3 -3
  291. package/src/themes/classic/modules/progress.variables +1 -1
  292. package/src/themes/classic/views/card.overrides +14 -14
  293. package/src/themes/classic/views/card.variables +4 -4
  294. package/src/themes/colored/modules/checkbox.variables +1 -1
  295. package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  296. package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  297. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  298. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  299. package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  300. package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  301. package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  302. package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  303. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  304. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  305. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  306. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  307. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  308. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  309. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  310. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  311. package/src/themes/default/collections/breadcrumb.variables +4 -4
  312. package/src/themes/default/collections/form.variables +12 -12
  313. package/src/themes/default/collections/grid.overrides +0 -1
  314. package/src/themes/default/collections/grid.variables +14 -16
  315. package/src/themes/default/collections/menu.variables +19 -31
  316. package/src/themes/default/collections/message.variables +83 -84
  317. package/src/themes/default/collections/table.variables +16 -18
  318. package/src/themes/default/elements/button.variables +30 -31
  319. package/src/themes/default/elements/container.variables +4 -12
  320. package/src/themes/default/elements/divider.overrides +8 -9
  321. package/src/themes/default/elements/divider.variables +4 -5
  322. package/src/themes/default/elements/emoji.overrides +0 -1
  323. package/src/themes/default/elements/emoji.variables +3555 -3555
  324. package/src/themes/default/elements/flag.variables +1594 -1594
  325. package/src/themes/default/elements/header.overrides +0 -1
  326. package/src/themes/default/elements/header.variables +16 -16
  327. package/src/themes/default/elements/icon.variables +2017 -2001
  328. package/src/themes/default/elements/image.variables +6 -7
  329. package/src/themes/default/elements/input.variables +10 -10
  330. package/src/themes/default/elements/label.variables +19 -20
  331. package/src/themes/default/elements/list.variables +16 -16
  332. package/src/themes/default/elements/loader.variables +15 -16
  333. package/src/themes/default/elements/placeholder.variables +6 -7
  334. package/src/themes/default/elements/rail.variables +4 -5
  335. package/src/themes/default/elements/segment.variables +18 -29
  336. package/src/themes/default/elements/step.overrides +4 -4
  337. package/src/themes/default/elements/step.variables +14 -16
  338. package/src/themes/default/elements/text.variables +2 -3
  339. package/src/themes/default/globals/colors.less +588 -588
  340. package/src/themes/default/globals/reset.overrides +57 -57
  341. package/src/themes/default/globals/reset.variables +1 -1
  342. package/src/themes/default/globals/site.variables +869 -875
  343. package/src/themes/default/globals/variation.variables +13 -4
  344. package/src/themes/default/modules/accordion.overrides +11 -11
  345. package/src/themes/default/modules/accordion.variables +14 -15
  346. package/src/themes/default/modules/calendar.variables +2 -0
  347. package/src/themes/default/modules/chatroom.variables +1 -1
  348. package/src/themes/default/modules/checkbox.overrides +6 -7
  349. package/src/themes/default/modules/checkbox.variables +17 -22
  350. package/src/themes/default/modules/dimmer.variables +7 -8
  351. package/src/themes/default/modules/dropdown.overrides +17 -17
  352. package/src/themes/default/modules/dropdown.variables +20 -21
  353. package/src/themes/default/modules/embed.variables +9 -10
  354. package/src/themes/default/modules/flyout.variables +6 -6
  355. package/src/themes/default/modules/modal.variables +18 -18
  356. package/src/themes/default/modules/nag.variables +11 -14
  357. package/src/themes/default/modules/popup.variables +14 -13
  358. package/src/themes/default/modules/progress.variables +10 -11
  359. package/src/themes/default/modules/rating.variables +10 -11
  360. package/src/themes/default/modules/search.variables +9 -11
  361. package/src/themes/default/modules/shape.variables +6 -6
  362. package/src/themes/default/modules/sidebar.variables +4 -4
  363. package/src/themes/default/modules/slider.variables +48 -49
  364. package/src/themes/default/modules/sticky.variables +1 -1
  365. package/src/themes/default/modules/toast.variables +1 -1
  366. package/src/themes/default/modules/transition.overrides +936 -915
  367. package/src/themes/default/modules/transition.variables +8 -1
  368. package/src/themes/default/views/card.variables +20 -22
  369. package/src/themes/default/views/comment.variables +6 -8
  370. package/src/themes/default/views/feed.variables +6 -6
  371. package/src/themes/default/views/item.variables +6 -9
  372. package/src/themes/default/views/statistic.variables +8 -8
  373. package/src/themes/duo/elements/loader.variables +1 -1
  374. package/src/themes/famfamfam/elements/flag.overrides +263 -268
  375. package/src/themes/famfamfam/elements/flag.variables +3 -3
  376. package/src/themes/fixed-width/collections/grid.variables +1 -1
  377. package/src/themes/fixed-width/modules/modal.variables +3 -5
  378. package/src/themes/flat/collections/form.overrides +9 -9
  379. package/src/themes/flat/collections/form.variables +4 -5
  380. package/src/themes/flat/globals/site.variables +61 -66
  381. package/src/themes/github/collections/breadcrumb.variables +0 -1
  382. package/src/themes/github/collections/form.overrides +7 -8
  383. package/src/themes/github/collections/form.variables +12 -13
  384. package/src/themes/github/collections/grid.variables +1 -2
  385. package/src/themes/github/collections/menu.overrides +2 -2
  386. package/src/themes/github/collections/menu.variables +11 -12
  387. package/src/themes/github/collections/message.overrides +3 -3
  388. package/src/themes/github/collections/message.variables +5 -5
  389. package/src/themes/github/collections/table.variables +1 -1
  390. package/src/themes/github/elements/button.overrides +0 -1
  391. package/src/themes/github/elements/button.variables +14 -14
  392. package/src/themes/github/elements/header.variables +2 -2
  393. package/src/themes/github/elements/icon.overrides +179 -179
  394. package/src/themes/github/elements/icon.variables +10 -10
  395. package/src/themes/github/elements/image.variables +1 -1
  396. package/src/themes/github/elements/input.overrides +16 -16
  397. package/src/themes/github/elements/input.variables +3 -3
  398. package/src/themes/github/elements/label.overrides +3 -3
  399. package/src/themes/github/elements/label.variables +0 -1
  400. package/src/themes/github/elements/segment.variables +2 -3
  401. package/src/themes/github/elements/step.overrides +13 -13
  402. package/src/themes/github/elements/step.variables +2 -2
  403. package/src/themes/github/globals/site.variables +2 -2
  404. package/src/themes/github/modules/dropdown.overrides +18 -19
  405. package/src/themes/github/modules/dropdown.variables +1 -1
  406. package/src/themes/github/modules/popup.variables +0 -2
  407. package/src/themes/instagram/views/card.overrides +3 -4
  408. package/src/themes/instagram/views/card.variables +3 -4
  409. package/src/themes/joypixels/elements/emoji.overrides +0 -2
  410. package/src/themes/joypixels/elements/emoji.variables +3554 -3554
  411. package/src/themes/material/collections/menu.variables +1 -1
  412. package/src/themes/material/elements/button.overrides +6 -8
  413. package/src/themes/material/elements/button.variables +28 -28
  414. package/src/themes/material/elements/header.overrides +2 -2
  415. package/src/themes/material/elements/header.variables +2 -4
  416. package/src/themes/material/elements/icon.overrides +932 -932
  417. package/src/themes/material/elements/icon.variables +11 -11
  418. package/src/themes/material/globals/site.variables +78 -79
  419. package/src/themes/material/modules/dropdown.overrides +1 -1
  420. package/src/themes/material/modules/dropdown.variables +1 -1
  421. package/src/themes/material/modules/modal.overrides +2 -2
  422. package/src/themes/material/modules/modal.variables +1 -2
  423. package/src/themes/pulsar/elements/loader.overrides +58 -58
  424. package/src/themes/raised/elements/button.variables +8 -8
  425. package/src/themes/resetcss/globals/reset.overrides +115 -33
  426. package/src/themes/resetcss/globals/reset.variables +1 -1
  427. package/src/themes/round/elements/button.variables +11 -14
  428. package/src/themes/rtl/globals/site.variables +5 -6
  429. package/src/themes/striped/modules/progress.overrides +20 -16
  430. package/src/themes/systemfont/globals/reset.overrides +1 -1
  431. package/src/themes/systemfont/globals/site.variables +5 -5
  432. package/src/themes/timeline/views/feed.overrides +12 -12
  433. package/src/themes/timeline/views/feed.variables +4 -4
  434. package/src/themes/twitter/elements/button.overrides +4 -5
  435. package/src/themes/twitter/elements/button.variables +6 -7
  436. package/src/themes/twitter/elements/emoji.variables +3555 -3555
  437. package/tasks/admin/components/create.js +274 -276
  438. package/tasks/admin/components/init.js +123 -130
  439. package/tasks/admin/components/update.js +149 -157
  440. package/tasks/admin/distributions/create.js +184 -187
  441. package/tasks/admin/distributions/init.js +123 -130
  442. package/tasks/admin/distributions/update.js +145 -152
  443. package/tasks/admin/publish.js +5 -7
  444. package/tasks/admin/register.js +36 -38
  445. package/tasks/admin/release.js +8 -10
  446. package/tasks/build/assets.js +42 -39
  447. package/tasks/build/css.js +225 -216
  448. package/tasks/build/javascript.js +118 -113
  449. package/tasks/build.js +10 -10
  450. package/tasks/check-install.js +14 -16
  451. package/tasks/clean.js +5 -5
  452. package/tasks/collections/admin.js +34 -36
  453. package/tasks/collections/build.js +18 -20
  454. package/tasks/collections/docs.js +9 -11
  455. package/tasks/collections/install.js +9 -11
  456. package/tasks/collections/rtl.js +9 -11
  457. package/tasks/collections/various.js +8 -10
  458. package/tasks/config/admin/github.js +17 -17
  459. package/tasks/config/admin/oauth.example.js +4 -4
  460. package/tasks/config/admin/release.js +98 -98
  461. package/tasks/config/admin/templates/component-package.js +9 -10
  462. package/tasks/config/admin/templates/css-package.js +18 -20
  463. package/tasks/config/admin/templates/less-package.js +11 -13
  464. package/tasks/config/defaults.js +116 -114
  465. package/tasks/config/docs.js +23 -23
  466. package/tasks/config/npm/gulpfile.js +8 -9
  467. package/tasks/config/project/config.js +127 -134
  468. package/tasks/config/project/install.js +715 -713
  469. package/tasks/config/project/release.js +32 -38
  470. package/tasks/config/tasks.js +165 -156
  471. package/tasks/config/user.js +23 -26
  472. package/tasks/docs/build.js +97 -95
  473. package/tasks/docs/metadata.js +90 -96
  474. package/tasks/docs/serve.js +80 -81
  475. package/tasks/install.js +370 -378
  476. package/tasks/rtl/build.js +2 -2
  477. package/tasks/rtl/watch.js +2 -2
  478. package/tasks/version.js +4 -4
  479. package/tasks/watch.js +28 -30
  480. package/test/meteor/assets.js +10 -13
  481. package/test/meteor/fonts.js +12 -13
  482. package/test/modules/accordion.spec.js +6 -8
  483. package/test/modules/checkbox.spec.js +5 -7
  484. package/test/modules/dropdown.spec.js +5 -7
  485. package/test/modules/modal.spec.js +6 -8
  486. package/test/modules/module.spec.js +158 -178
  487. package/test/modules/popup.spec.js +5 -7
  488. package/test/modules/search.spec.js +5 -7
  489. package/test/modules/shape.spec.js +5 -7
  490. package/test/modules/sidebar.spec.js +5 -7
  491. package/test/modules/tab.spec.js +6 -8
  492. package/test/modules/transition.spec.js +5 -7
  493. package/test/modules/video.spec.js +5 -7
@@ -12,803 +12,797 @@
12
12
  Theme
13
13
  *******************************/
14
14
 
15
- @type : 'element';
15
+ @type : 'element';
16
16
  @element : 'input';
17
17
 
18
18
  @import (multiple) '../../theme.config';
19
19
 
20
-
21
20
  /*******************************
22
21
  Standard
23
22
  *******************************/
24
23
 
25
-
26
- /*--------------------
24
+ /* --------------------
27
25
  Inputs
28
- ---------------------*/
26
+ --------------------- */
29
27
 
30
28
  .ui.input {
31
- position: relative;
32
- font-weight: @normal;
33
- font-style: normal;
34
- display: inline-flex;
35
- color: @inputColor;
29
+ position: relative;
30
+ font-weight: @normal;
31
+ font-style: normal;
32
+ display: inline-flex;
33
+ color: @inputColor;
36
34
  }
37
35
  .ui.input > input {
38
- margin: 0;
39
- max-width: 100%;
40
- flex: 1 0 auto;
41
- outline: none;
42
- -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
43
- text-align: @textAlign;
44
- line-height: @lineHeight;
45
-
46
- font-family: @inputFont;
47
-
48
- background: @background;
49
- border: @border;
50
- color: @inputColor;
51
- border-radius: @borderRadius;
52
- transition: @transition;
53
-
54
- box-shadow: @boxShadow;
55
- &:not([type="color"]) {
56
- padding: @padding;
57
- }
58
- &::-webkit-calendar-picker-indicator {
59
- padding: 0;
60
- opacity: @iconOpacity;
61
- transition: @iconTransition;
62
- cursor: pointer;
63
- }
36
+ margin: 0;
37
+ max-width: 100%;
38
+ flex: 1 0 auto;
39
+ outline: none;
40
+ -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
41
+ text-align: @textAlign;
42
+ line-height: @lineHeight;
43
+ font-family: @inputFont;
44
+ background: @background;
45
+ border: @border;
46
+ color: @inputColor;
47
+ border-radius: @borderRadius;
48
+ transition: @transition;
49
+ box-shadow: @boxShadow;
50
+ &:not([type="color"]) {
51
+ padding: @padding;
52
+ }
53
+ &::-webkit-calendar-picker-indicator {
54
+ padding: 0;
55
+ opacity: @iconOpacity;
56
+ transition: @iconTransition;
57
+ cursor: pointer;
58
+ }
64
59
  }
65
60
 
66
-
67
- /*--------------------
61
+ /* --------------------
68
62
  Placeholder
69
- ---------------------*/
63
+ --------------------- */
70
64
 
71
65
  /* browsers require these rules separate */
72
66
 
73
67
  .ui.input > input::-webkit-input-placeholder {
74
- color: @placeholderColor;
68
+ color: @placeholderColor;
75
69
  }
76
70
  .ui.input > input::-moz-placeholder {
77
- color: @placeholderColor;
78
- opacity: 1;
71
+ color: @placeholderColor;
72
+ opacity: 1;
79
73
  }
80
- .ui.input > input:-ms-input-placeholder when (@supportIE){
81
- color: @placeholderColor;
74
+ .ui.input > input:-ms-input-placeholder when (@supportIE) {
75
+ color: @placeholderColor;
82
76
  }
83
77
 
84
-
85
78
  /*******************************
86
79
  States
87
80
  *******************************/
88
81
  & when (@variationInputDisabled) {
89
- /*--------------------
90
- Disabled
91
- ---------------------*/
82
+ /* --------------------
83
+ Disabled
84
+ --------------------- */
92
85
 
93
- .ui.disabled.input,
94
- .ui.input:not(.disabled) input[disabled] {
95
- opacity: @disabledOpacity;
96
- }
86
+ .ui.disabled.input,
87
+ .ui.input:not(.disabled) input[disabled] {
88
+ opacity: @disabledOpacity;
89
+ }
97
90
 
98
- .ui.disabled.input > input,
99
- .ui.input:not(.disabled) input[disabled] {
100
- pointer-events: none;
101
- }
91
+ .ui.disabled.input > input,
92
+ .ui.input:not(.disabled) input[disabled] {
93
+ pointer-events: @disabledPointerEvents;
94
+ }
102
95
  }
103
96
 
104
- /*--------------------
97
+ /* --------------------
105
98
  Active
106
- ---------------------*/
99
+ --------------------- */
107
100
 
108
101
  .ui.input > input:active,
109
102
  .ui.input.down input {
110
- border-color: @downBorderColor;
111
- background: @downBackground;
112
- color: @downColor;
113
- box-shadow: @downBoxShadow;
103
+ border-color: @downBorderColor;
104
+ background: @downBackground;
105
+ color: @downColor;
106
+ box-shadow: @downBoxShadow;
114
107
  }
115
108
 
116
109
  & when (@variationInputLoading) {
117
- /*--------------------
118
- Loading
119
- ---------------------*/
120
-
121
- .ui.loading.loading.input > i.icon::before {
122
- position: absolute;
123
- content: '';
124
- top: 50%;
125
- left: 50%;
126
-
127
- margin: @loaderMargin;
128
- width: @loaderSize;
129
- height: @loaderSize;
130
-
131
- border-radius: @circularRadius;
132
- border: @loaderLineWidth solid @loaderFillColor;
133
- }
134
- .ui.loading.loading.input > i.icon::after {
135
- position: absolute;
136
- content: '';
137
- top: 50%;
138
- left: 50%;
139
-
140
- margin: @loaderMargin;
141
- width: @loaderSize;
142
- height: @loaderSize;
143
-
144
- animation: loader @loaderSpeed infinite linear;
145
-
146
- border: @loaderLineWidth solid @loaderLineColor;
147
- border-radius: @circularRadius;
148
-
149
- box-shadow: 0 0 0 1px transparent;
150
- }
110
+ /* --------------------
111
+ Loading
112
+ --------------------- */
113
+
114
+ .ui.loading.loading.input > i.icon::before {
115
+ position: absolute;
116
+ content: '';
117
+ top: 50%;
118
+ left: 50%;
119
+ margin: @loaderMargin;
120
+ width: @loaderSize;
121
+ height: @loaderSize;
122
+ border-radius: @circularRadius;
123
+ border: @loaderLineWidth solid @loaderFillColor;
124
+ }
125
+ .ui.loading.loading.input > i.icon::after {
126
+ position: absolute;
127
+ content: '';
128
+ top: 50%;
129
+ left: 50%;
130
+ margin: @loaderMargin;
131
+ width: @loaderSize;
132
+ height: @loaderSize;
133
+ animation: loader @loaderSpeed infinite linear;
134
+ border: @loaderLineWidth solid @loaderLineColor;
135
+ border-radius: @circularRadius;
136
+ box-shadow: 0 0 0 1px transparent;
137
+ }
151
138
  }
152
139
 
153
-
154
- /*--------------------
140
+ /* --------------------
155
141
  Focus
156
- ---------------------*/
142
+ --------------------- */
157
143
 
158
144
  .ui.input.focus > input,
159
- .ui.input > input:focus {
160
- border-color: @focusBorderColor;
161
- background: @focusBackground;
162
- color: @focusColor;
163
- box-shadow: @focusBoxShadow;
145
+ .ui.input > input:focus {
146
+ border-color: @focusBorderColor;
147
+ background: @focusBackground;
148
+ color: @focusColor;
149
+ box-shadow: @focusBoxShadow;
164
150
  }
165
151
  .ui.input.focus > input::-webkit-input-placeholder,
166
152
  .ui.input > input:focus::-webkit-input-placeholder {
167
- color: @placeholderFocusColor;
153
+ color: @placeholderFocusColor;
168
154
  }
169
155
  .ui.input.focus > input::-moz-placeholder,
170
156
  .ui.input > input:focus::-moz-placeholder {
171
- color: @placeholderFocusColor;
157
+ color: @placeholderFocusColor;
172
158
  }
173
159
  & when (@supportIE) {
174
- .ui.input.focus > input:-ms-input-placeholder,
175
- .ui.input > input:focus:-ms-input-placeholder {
176
- color: @placeholderFocusColor;
177
- }
160
+ .ui.input.focus > input:-ms-input-placeholder,
161
+ .ui.input > input:focus:-ms-input-placeholder {
162
+ color: @placeholderFocusColor;
163
+ }
178
164
  }
179
165
 
180
-
181
166
  & when not (@variationInputStates = false) {
182
- /*--------------------
183
- States
184
- ---------------------*/
185
- each(@variationInputStates, {
186
- @state: @value;
187
-
188
- .ui.input.@{state} > input {
189
- background-color: @formStates[@@state][background];
190
- border-color: @formStates[@@state][borderColor];
191
- color: @formStates[@@state][color];
192
- box-shadow: @formStates[@@state][boxShadow];
193
- }
194
- & when (@state=error) {
195
- .ui.input > input:not(:placeholder-shown):invalid {
196
- background-color: @formStates[@@state][background];
197
- border-color: @formStates[@@state][borderColor];
198
- color: @formStates[@@state][color];
199
- box-shadow: @formStates[@@state][boxShadow];
200
- }
201
- .ui.input > input:not(:-ms-input-placeholder):invalid when (@supportIE){
202
- background-color: @formStates[@@state][background];
203
- border-color: @formStates[@@state][borderColor];
204
- color: @formStates[@@state][color];
205
- box-shadow: @formStates[@@state][boxShadow];
206
- }
207
- }
208
-
209
- /* Placeholder */
210
- .ui.input.@{state} > input::-webkit-input-placeholder {
211
- color: @formStates[@@state][inputPlaceholderColor];
212
- }
213
- .ui.input.@{state} > input::-moz-placeholder {
214
- color: @formStates[@@state][inputPlaceholderColor];
215
- }
216
- .ui.input.@{state} > input:-ms-input-placeholder when (@supportIE) {
217
- color: @formStates[@@state][inputPlaceholderColor] !important;
218
- }
219
-
220
- /* Focused Placeholder */
221
- .ui.input.@{state} > input:focus::-webkit-input-placeholder {
222
- color: @formStates[@@state][inputPlaceholderFocusColor];
223
- }
224
- .ui.input.@{state} > input:focus::-moz-placeholder {
225
- color: @formStates[@@state][inputPlaceholderFocusColor];
226
- }
227
- .ui.input.@{state} > input:focus:-ms-input-placeholder when (@supportIE){
228
- color: @formStates[@@state][inputPlaceholderFocusColor] !important;
229
- }
230
- })
167
+ /* --------------------
168
+ States
169
+ --------------------- */
170
+ each(@variationInputStates, {
171
+ @state: @value;
172
+
173
+ .ui.input.@{state} > input {
174
+ background-color: @formStates[@@state][background];
175
+ border-color: @formStates[@@state][borderColor];
176
+ color: @formStates[@@state][color];
177
+ box-shadow: @formStates[@@state][boxShadow];
178
+ }
179
+ & when (@state=error) and (@variationInputInvalid) {
180
+ .ui.input > input:not(:placeholder-shown):invalid {
181
+ background-color: @formStates[@@state][background];
182
+ border-color: @formStates[@@state][borderColor];
183
+ color: @formStates[@@state][color];
184
+ box-shadow: @formStates[@@state][boxShadow];
185
+ }
186
+ .ui.input > input:not(:-ms-input-placeholder):invalid when (@supportIE){
187
+ background-color: @formStates[@@state][background];
188
+ border-color: @formStates[@@state][borderColor];
189
+ color: @formStates[@@state][color];
190
+ box-shadow: @formStates[@@state][boxShadow];
191
+ }
192
+ }
193
+
194
+ /* Placeholder */
195
+ .ui.input.@{state} > input::-webkit-input-placeholder {
196
+ color: @formStates[@@state][inputPlaceholderColor];
197
+ }
198
+ .ui.input.@{state} > input::-moz-placeholder {
199
+ color: @formStates[@@state][inputPlaceholderColor];
200
+ }
201
+ .ui.input.@{state} > input:-ms-input-placeholder when (@supportIE) {
202
+ color: @formStates[@@state][inputPlaceholderColor] !important;
203
+ }
204
+
205
+ /* Focused Placeholder */
206
+ .ui.input.@{state} > input:focus::-webkit-input-placeholder {
207
+ color: @formStates[@@state][inputPlaceholderFocusColor];
208
+ }
209
+ .ui.input.@{state} > input:focus::-moz-placeholder {
210
+ color: @formStates[@@state][inputPlaceholderFocusColor];
211
+ }
212
+ .ui.input.@{state} > input:focus:-ms-input-placeholder when (@supportIE){
213
+ color: @formStates[@@state][inputPlaceholderFocusColor] !important;
214
+ }
215
+ })
231
216
  }
217
+
232
218
  /*******************************
233
219
  Variations
234
220
  *******************************/
235
221
 
236
222
  & when (@variationInputTransparent) {
237
- /*--------------------
238
- Transparent
239
- ---------------------*/
240
-
241
-
242
- .ui.transparent.input > textarea,
243
- .ui.transparent.input > input {
244
- border-color: transparent !important;
245
- background-color: transparent !important;
246
- padding: 0;
247
- box-shadow: none !important;
248
- border-radius: 0 !important;
249
- }
250
- .field .ui.transparent.input > textarea {
251
- padding: @padding;
252
- }
253
-
254
- /* Transparent Icon */
255
- :not(.field) > .ui.transparent.icon.input > i.icon {
256
- width: @transparentIconWidth;
257
- }
258
- :not(.field) > .ui.ui.ui.transparent.icon.input > input {
259
- padding-left: 0;
260
- padding-right: @transparentIconMargin;
261
- }
262
- :not(.field) > .ui.ui.ui.transparent[class*="left icon"].input > input {
263
- padding-left: @transparentIconMargin;
264
- padding-right: 0;
265
- }
266
- & when (@variationInputInverted) {
267
- /* Transparent Inverted */
268
- .ui.transparent.inverted.input {
269
- color: @transparentInvertedColor;
270
- }
271
- .ui.ui.transparent.inverted.input > textarea,
272
- .ui.ui.transparent.inverted.input > input {
273
- color: inherit;
274
- }
223
+ /* --------------------
224
+ Transparent
225
+ --------------------- */
226
+
227
+ .ui.transparent.input > textarea,
228
+ .ui.transparent.input > input {
229
+ border-color: transparent !important;
230
+ background-color: transparent !important;
231
+ padding: 0;
232
+ box-shadow: none !important;
233
+ border-radius: 0 !important;
234
+ }
235
+ .field .ui.transparent.input > textarea {
236
+ padding: @padding;
237
+ }
238
+
239
+ /* Transparent Icon */
240
+ :not(.field) > .ui.transparent.icon.input > i.icon {
241
+ width: @transparentIconWidth;
242
+ }
243
+ :not(.field) > .ui.ui.ui.transparent.icon.input > input {
244
+ padding-left: 0;
245
+ padding-right: @transparentIconMargin;
246
+ }
247
+ :not(.field) > .ui.ui.ui.transparent[class*="left icon"].input > input {
248
+ padding-left: @transparentIconMargin;
249
+ padding-right: 0;
250
+ }
251
+ & when (@variationInputInverted) {
252
+ /* Transparent Inverted */
253
+ .ui.transparent.inverted.input {
254
+ color: @transparentInvertedColor;
255
+ }
256
+ .ui.ui.transparent.inverted.input > textarea,
257
+ .ui.ui.transparent.inverted.input > input {
258
+ color: inherit;
259
+ }
275
260
 
276
- .ui.transparent.inverted.input > input::-webkit-input-placeholder {
277
- color: @transparentInvertedPlaceholderColor;
278
- }
279
- .ui.transparent.inverted.input > input::-moz-placeholder {
280
- color: @transparentInvertedPlaceholderColor;
281
- }
282
- .ui.transparent.inverted.input > input:-ms-input-placeholder when (@supportIE) {
283
- color: @transparentInvertedPlaceholderColor;
261
+ .ui.transparent.inverted.input > input::-webkit-input-placeholder {
262
+ color: @transparentInvertedPlaceholderColor;
263
+ }
264
+ .ui.transparent.inverted.input > input::-moz-placeholder {
265
+ color: @transparentInvertedPlaceholderColor;
266
+ }
267
+ .ui.transparent.inverted.input > input:-ms-input-placeholder when (@supportIE) {
268
+ color: @transparentInvertedPlaceholderColor;
269
+ }
284
270
  }
285
- }
286
271
  }
287
272
 
288
273
  & when (@variationInputIcon) {
289
- /*--------------------
290
- Icon
291
- ---------------------*/
292
-
293
- .ui.icon.input > i.icon {
294
- cursor: default;
295
- position: absolute;
296
- line-height: 1;
297
- text-align: center;
298
- top: 0;
299
- right: 0;
300
- margin: 0;
301
- height: 100%;
302
-
303
- width: @iconWidth;
304
- opacity: @iconOpacity;
305
- border-radius: 0 @borderRadius @borderRadius 0;
306
- transition: @iconTransition;
307
- }
308
- .ui.icon.input > i.icon:not(.link) {
309
- pointer-events: none;
310
- }
311
- .ui.ui.ui.ui.icon.input:not(.corner) > textarea,
312
- .ui.ui.ui.ui.icon.input:not(.corner) > input {
313
- padding-right: @iconMargin;
314
- }
315
-
316
- .ui.icon.input > i.icon::before,
317
- .ui.icon.input > i.icon::after {
318
- left: 0;
319
- position: absolute;
320
- text-align: center;
321
- top: 50%;
322
- width: 100%;
323
- margin-top: @iconOffset;
324
- }
325
- .ui.icon.input > i.link.icon {
326
- cursor: pointer;
327
- }
328
- .ui.icon.input > i.circular.icon {
329
- top: @circularIconVerticalOffset;
330
- right: @circularIconHorizontalOffset;
331
- }
332
-
333
- /* Left Icon Input */
334
- .ui[class*="left icon"].input > i.icon {
335
- right: auto;
336
- left: @borderWidth;
337
- border-radius: @borderRadius 0 0 @borderRadius;
338
- }
339
- .ui[class*="left icon"].input > i.circular.icon {
340
- right: auto;
341
- left: @circularIconHorizontalOffset;
342
- }
343
- .ui.ui.ui.ui[class*="left icon"]:not([class*="left corner"]).input > textarea,
344
- .ui.ui.ui.ui[class*="left icon"]:not([class*="left corner"]).input > input {
345
- padding-left: @iconMargin;
346
- }
347
- .ui.ui.ui.ui[class*="left icon"]:not(.corner).input > textarea,
348
- .ui.ui.ui.ui[class*="left icon"]:not(.corner).input > input {
349
- padding-right: @horizontalPadding;
350
- }
351
-
352
- /* Focus */
353
- .ui.input > input:focus::-webkit-calendar-picker-indicator,
354
- .ui.icon.input > textarea:focus ~ i.icon,
355
- .ui.icon.input > input:focus ~ i.icon {
356
- opacity: @iconFocusOpacity;
357
- }
274
+ /* --------------------
275
+ Icon
276
+ --------------------- */
277
+
278
+ .ui.icon.input > i.icon {
279
+ cursor: default;
280
+ position: absolute;
281
+ line-height: 1;
282
+ text-align: center;
283
+ top: 0;
284
+ right: 0;
285
+ margin: 0;
286
+ height: 100%;
287
+ width: @iconWidth;
288
+ opacity: @iconOpacity;
289
+ border-radius: 0 @borderRadius @borderRadius 0;
290
+ transition: @iconTransition;
291
+ }
292
+ .ui.icon.input > i.icon:not(.link) {
293
+ pointer-events: none;
294
+ }
295
+ .ui.ui.ui.ui.icon.input:not(.corner) > textarea,
296
+ .ui.ui.ui.ui.icon.input:not(.corner) > input {
297
+ padding-right: @iconMargin;
298
+ }
299
+
300
+ .ui.icon.input > i.icon::before,
301
+ .ui.icon.input > i.icon::after {
302
+ left: 0;
303
+ position: absolute;
304
+ text-align: center;
305
+ top: 50%;
306
+ width: 100%;
307
+ margin-top: @iconOffset;
308
+ }
309
+ .ui.icon.input > i.link.icon {
310
+ cursor: pointer;
311
+ }
312
+ .ui.icon.input > i.circular.icon {
313
+ top: @circularIconVerticalOffset;
314
+ right: @circularIconHorizontalOffset;
315
+ }
316
+
317
+ /* Left Icon Input */
318
+ .ui[class*="left icon"].input > i.icon {
319
+ right: auto;
320
+ left: @borderWidth;
321
+ border-radius: @borderRadius 0 0 @borderRadius;
322
+ }
323
+ .ui[class*="left icon"].input > i.circular.icon {
324
+ right: auto;
325
+ left: @circularIconHorizontalOffset;
326
+ }
327
+ .ui.ui.ui.ui[class*="left icon"]:not([class*="left corner"]).input > textarea,
328
+ .ui.ui.ui.ui[class*="left icon"]:not([class*="left corner"]).input > input {
329
+ padding-left: @iconMargin;
330
+ }
331
+ .ui.ui.ui.ui[class*="left icon"]:not(.corner).input > textarea,
332
+ .ui.ui.ui.ui[class*="left icon"]:not(.corner).input > input {
333
+ padding-right: @horizontalPadding;
334
+ }
335
+
336
+ /* Focus */
337
+ .ui.input > input:focus::-webkit-calendar-picker-indicator,
338
+ .ui.icon.input > textarea:focus ~ i.icon,
339
+ .ui.icon.input > input:focus ~ i.icon {
340
+ opacity: @iconFocusOpacity;
341
+ }
358
342
  }
359
343
 
360
344
  & when (@variationInputLabeled) {
361
- /*--------------------
362
- Labeled
363
- ---------------------*/
345
+ /* --------------------
346
+ Labeled
347
+ --------------------- */
364
348
 
365
- /* Adjacent Label */
366
- .ui.labeled.input > .label {
367
- flex: 0 0 auto;
368
- margin: 0;
369
- font-size: @relativeMedium;
370
- }
371
- .ui.labeled.input > .label:not(.corner) {
372
- padding-top: @verticalPadding;
373
- padding-bottom: @verticalPadding;
374
- }
375
-
376
- /* Regular Label on Left */
377
- .ui.labeled.input:not([class*="corner labeled"]) .label:first-child {
378
- border-top-right-radius: 0;
379
- border-bottom-right-radius: 0;
380
- }
381
- .ui.labeled.input:not([class*="corner labeled"]) .label:first-child + input {
382
- border-top-left-radius: 0;
383
- border-bottom-left-radius: 0;
384
- border-left-color: transparent;
385
- }
386
- .ui.labeled.input:not([class*="corner labeled"]) .label:first-child + input:focus {
387
- border-left-color: @focusBorderColor;
388
- }
389
-
390
- /* Regular Label on Right */
391
- .ui[class*="right labeled"].input > input {
392
- border-top-right-radius: 0 !important;
393
- border-bottom-right-radius: 0 !important;
394
- border-right-color: transparent !important;
395
- }
396
- .ui[class*="right labeled"].input > input + .label {
397
- border-top-left-radius: 0;
398
- border-bottom-left-radius: 0;
399
- }
400
-
401
- .ui[class*="right labeled"].input > input:focus {
402
- border-right-color: @focusBorderColor !important;
403
- }
404
- }
405
-
406
- & when (@variationInputCorner) {
407
- /* Corner Label */
408
- .ui.labeled.input .corner.label {
409
- top: @labelCornerTop;
410
- right: @labelCornerRight;
411
- font-size: @labelCornerSize;
412
- border-radius: 0 @borderRadius 0 0;
413
- }
414
-
415
- /* Spacing with corner label */
416
- .ui[class*="corner labeled"]:not([class*="left corner labeled"]).input > .ui.dropdown,
417
- .ui[class*="corner labeled"]:not([class*="left corner labeled"]).input > textarea,
418
- .ui[class*="corner labeled"]:not([class*="left corner labeled"]).input > input {
419
- padding-right: @labeledMargin;
420
- }
421
- .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > .ui.dropdown,
422
- .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > textarea,
423
- .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > input {
424
- padding-right: @labeledIconInputMargin;
425
- }
426
- .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > i.icon {
427
- margin-right: @labeledIconMargin;
428
- }
349
+ /* Adjacent Label */
350
+ .ui.labeled.input > .label {
351
+ flex: 0 0 auto;
352
+ margin: 0;
353
+ font-size: @relativeMedium;
354
+ }
355
+ .ui.labeled.input > .label:not(.corner) {
356
+ padding-top: @verticalPadding;
357
+ padding-bottom: @verticalPadding;
358
+ }
429
359
 
430
- /* Left Labeled */
431
- .ui[class*="left icon"].input > .ui.dropdown,
432
- .ui[class*="left corner labeled"].input > .ui.dropdown,
433
- .ui[class*="left corner labeled"].input > textarea,
434
- .ui[class*="left corner labeled"].input > input {
435
- padding-left: @labeledMargin;
436
- }
437
- & when (@variationInputIcon) {
438
- .ui[class*="corner labeled"]:not([class*="left corner labeled"])[class*="left icon"].input > .ui.dropdown,
439
- .ui[class*="corner labeled"]:not([class*="left corner labeled"])[class*="left icon"].input > textarea,
440
- .ui[class*="corner labeled"]:not([class*="left corner labeled"])[class*="left icon"].input > input {
441
- padding-right: @labeledIconInputMargin;
360
+ /* Regular Label on Left */
361
+ .ui.labeled.input:not([class*="corner labeled"]) .label:first-child {
362
+ border-top-right-radius: 0;
363
+ border-bottom-right-radius: 0;
442
364
  }
443
- .ui[class*="left corner labeled"][class*="left icon"].input > .ui.dropdown,
444
- .ui[class*="left corner labeled"][class*="left icon"].input > textarea,
445
- .ui[class*="left corner labeled"][class*="left icon"].input > input {
446
- padding-left: @labeledAndIconMargin;
365
+ .ui.labeled.input:not([class*="corner labeled"]) .label:first-child + input {
366
+ border-top-left-radius: 0;
367
+ border-bottom-left-radius: 0;
368
+ border-left-color: transparent;
447
369
  }
448
- .ui[class*="left corner labeled"].icon.input > i.icon {
449
- margin-left: @labeledIconMargin;
370
+ .ui.labeled.input:not([class*="corner labeled"]) .label:first-child + input:focus {
371
+ border-left-color: @focusBorderColor;
450
372
  }
451
- .ui[class*="left corner labeled"].icon:not([class*="left icon"]).input > input {
452
- padding-right: @labeledMargin;
373
+
374
+ /* Regular Label on Right */
375
+ .ui[class*="right labeled"].input > input {
376
+ border-top-right-radius: 0 !important;
377
+ border-bottom-right-radius: 0 !important;
378
+ border-right-color: transparent !important;
453
379
  }
454
- .ui[class*="corner labeled"]:not([class*="left corner labeled"]).icon:not([class*="left icon"]).input > input {
455
- padding-right: @labeledMargin * 2;
380
+ .ui[class*="right labeled"].input > input + .label {
381
+ border-top-left-radius: 0;
382
+ border-bottom-left-radius: 0;
456
383
  }
457
- }
458
384
 
459
- .ui[class*="left icon"].input > .ui.dropdown,
460
- .ui[class*="left corner labeled"].input > .ui.dropdown {
461
- & > .search {
462
- padding-left: @labeledMargin;
385
+ .ui[class*="right labeled"].input > input:focus {
386
+ border-right-color: @focusBorderColor !important;
463
387
  }
464
- & > .menu {
465
- padding-left: @labeledIconMargin;
466
- & > .item {
388
+ }
389
+
390
+ & when (@variationInputCorner) {
391
+ /* Corner Label */
392
+ .ui.labeled.input .corner.label {
393
+ top: @labelCornerTop;
394
+ right: @labelCornerRight;
395
+ font-size: @labelCornerSize;
396
+ border-radius: 0 @borderRadius 0 0;
397
+ }
398
+
399
+ /* Spacing with corner label */
400
+ .ui[class*="corner labeled"]:not([class*="left corner labeled"]).input > .ui.dropdown,
401
+ .ui[class*="corner labeled"]:not([class*="left corner labeled"]).input > textarea,
402
+ .ui[class*="corner labeled"]:not([class*="left corner labeled"]).input > input {
403
+ padding-right: @labeledMargin;
404
+ }
405
+ .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > .ui.dropdown,
406
+ .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > textarea,
407
+ .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > input {
408
+ padding-right: @labeledIconInputMargin;
409
+ }
410
+ .ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > i.icon {
411
+ margin-right: @labeledIconMargin;
412
+ }
413
+
414
+ /* Left Labeled */
415
+ .ui[class*="left icon"].input > .ui.dropdown:first-child,
416
+ .ui[class*="left icon"].input > i.icon + .ui.dropdown,
417
+ .ui[class*="left corner labeled"].input > .ui.dropdown,
418
+ .ui[class*="left corner labeled"].input > textarea,
419
+ .ui[class*="left corner labeled"].input > input {
467
420
  padding-left: @labeledMargin;
468
- margin-left: -@labeledIconMargin;
469
- }
470
421
  }
471
- }
472
- .ui[class*="left corner labeled"][class*="left icon"].input > .ui.dropdown {
473
- & > .search {
474
- padding-left: @labeledAndIconMargin;
422
+ & when (@variationInputIcon) {
423
+ .ui[class*="corner labeled"]:not([class*="left corner labeled"])[class*="left icon"].input > .ui.dropdown,
424
+ .ui[class*="corner labeled"]:not([class*="left corner labeled"])[class*="left icon"].input > textarea,
425
+ .ui[class*="corner labeled"]:not([class*="left corner labeled"])[class*="left icon"].input > input {
426
+ padding-right: @labeledIconInputMargin;
427
+ }
428
+ .ui.ui[class*="left corner labeled"][class*="left icon"].input > .ui.dropdown,
429
+ .ui.ui[class*="left corner labeled"][class*="left icon"].input > textarea,
430
+ .ui.ui[class*="left corner labeled"][class*="left icon"].input > input {
431
+ padding-left: @labeledAndIconMargin;
432
+ }
433
+ .ui[class*="left corner labeled"].icon.input > i.icon {
434
+ margin-left: @labeledIconMargin;
435
+ }
436
+ .ui[class*="left corner labeled"].icon:not([class*="left icon"]).input > input {
437
+ padding-right: @labeledMargin;
438
+ }
439
+ .ui[class*="corner labeled"]:not([class*="left corner labeled"]).icon:not([class*="left icon"]).input > input {
440
+ padding-right: @labeledMargin * 2;
441
+ }
475
442
  }
476
- & > .menu > .item {
477
- padding-left: @labeledAndIconMargin;
443
+
444
+ .ui[class*="left icon"].input > .ui.dropdown,
445
+ .ui[class*="left corner labeled"].input > .ui.dropdown {
446
+ & > .search {
447
+ padding-left: @labeledMargin;
448
+ }
449
+ & > .menu {
450
+ padding-left: @labeledIconMargin;
451
+ & > .item {
452
+ padding-left: @labeledMargin;
453
+ margin-left: -@labeledIconMargin;
454
+ }
455
+ }
478
456
  }
479
- }
480
- .ui.icon.input:not([class*="left icon"]) > .ui.dropdown,
481
- .ui[class*="corner labeled"]:not([class*="left corner labeled"]).input > .ui.dropdown {
482
- & > .search {
483
- padding-right: @labeledMargin + @labeledIconInputMargin;
457
+ .ui[class*="left corner labeled"][class*="left icon"].input > .ui.dropdown {
458
+ & > .search {
459
+ padding-left: @labeledAndIconMargin;
460
+ }
461
+ & > .menu > .item {
462
+ padding-left: @labeledAndIconMargin;
463
+ }
484
464
  }
485
- & > .remove.icon,
486
- > .dropdown.icon {
487
- padding-right: @labeledMargin;
465
+ .ui.icon.input:not([class*="left icon"]) > .ui.dropdown,
466
+ .ui[class*="corner labeled"]:not([class*="left corner labeled"]).input > .ui.dropdown {
467
+ & > .search {
468
+ padding-right: @labeledMargin + @labeledIconInputMargin;
469
+ }
470
+ & > .remove.icon,
471
+ > .dropdown.icon {
472
+ padding-right: @labeledMargin;
473
+ }
488
474
  }
489
- }
490
- .ui[class*="corner labeled"]:not([class*="left corner labeled"]).icon:not([class*="left icon"]).input > .ui.dropdown {
491
- & > .search {
492
- padding-right: @labeledAndIconMargin + @labeledIconInputMargin;
475
+ @supports selector(:has(.f)) {
476
+ .ui.icon.input:not([class*="left icon"]) > .ui.dropdown > .dropdown.icon {
477
+ padding-right: initial;
478
+ }
479
+ .ui.icon.input:not([class*="left icon"]):not(:has(.ui.dropdown~input)) > .ui.dropdown > .dropdown.icon {
480
+ padding-right: @labeledMargin;
481
+ }
493
482
  }
494
- & > .remove.icon,
495
- > .dropdown.icon {
496
- padding-right: @labeledAndIconMargin;
483
+ .ui.ui[class*="corner labeled"]:not([class*="left corner labeled"]).icon:not([class*="left icon"]).input > .ui.dropdown {
484
+ & > .search {
485
+ padding-right: @labeledAndIconMargin + @labeledIconInputMargin;
486
+ }
487
+ & > .remove.icon,
488
+ > .dropdown.icon {
489
+ padding-right: @labeledAndIconMargin;
490
+ }
491
+ }
492
+ .ui.icon.input > .ui.visible.dropdown ~ i.icon,
493
+ .ui.icon.input > .ui.active.dropdown ~ i.icon,
494
+ .ui[class*="corner labeled"].input > .ui.visible.dropdown ~ .ui.corner.label,
495
+ .ui[class*="corner labeled"].input > .ui.active.dropdown ~ .ui.corner.label {
496
+ z-index: @labeledDropdownZIndex;
497
497
  }
498
- }
499
- .ui.icon.input > .ui.visible.dropdown ~ i.icon,
500
- .ui.icon.input > .ui.active.dropdown ~ i.icon,
501
- .ui[class*="corner labeled"].input > .ui.visible.dropdown ~ .ui.corner.label,
502
- .ui[class*="corner labeled"].input > .ui.active.dropdown ~ .ui.corner.label {
503
- z-index: @labeledDropdownZIndex;
504
- }
505
498
  }
506
499
  & when (@variationInputIcon) {
507
- .ui.icon.input > textarea ~ i.icon {
508
- height: @textareaIconHeight;
509
- }
510
- :not(.field) > .ui.transparent.icon.input > textarea ~ i.icon {
511
- height: @transparentTextareaIconHeight;
512
- }
500
+ .ui.icon.input > textarea ~ i.icon {
501
+ height: @textareaIconHeight;
502
+ }
503
+ :not(.field) > .ui.transparent.icon.input > textarea ~ i.icon {
504
+ height: @transparentTextareaIconHeight;
505
+ }
513
506
  }
514
507
  & when (@variationInputCorner) {
515
- /* Corner Label Position */
516
- .ui.input > .ui.corner.label {
517
- top: @borderWidth;
518
- right: @borderWidth;
519
- }
520
- .ui.input > .ui.left.corner.label {
521
- right: auto;
522
- left: @borderWidth;
523
- }
508
+ /* Corner Label Position */
509
+ .ui.input > .ui.corner.label {
510
+ top: @borderWidth;
511
+ right: @borderWidth;
512
+ }
513
+ .ui.input > .ui.left.corner.label {
514
+ right: auto;
515
+ left: @borderWidth;
516
+ }
524
517
  }
525
518
 
526
519
  & when ((@variationInputLabeled) or (@variationInputAction)) and not (@variationInputStates = false) {
527
- /* Labeled and action input states */
528
- each(@variationInputStates, {
529
- @state: @value;
530
- @borderColor: @formStates[@@state][borderColor];
531
-
532
- .ui.form .field.@{state} > .ui.action.input > .ui.button,
533
- .ui.form .field.@{state} > .ui.labeled.input:not([class*="corner labeled"]) > .ui.label,
534
- .ui.action.input.@{state} > .ui.button,
535
- .ui.labeled.input.@{state}:not([class*="corner labeled"]) > .ui.label {
536
- border-top: @borderWidth solid @borderColor;
537
- border-bottom: @borderWidth solid @borderColor;
538
- }
539
- .ui.form .field.@{state} > .ui[class*="left action"].input > .ui.button,
540
- .ui.form .field.@{state} > .ui.labeled.input:not(.right):not([class*="corner labeled"]) > .ui.label,
541
- .ui[class*="left action"].input.@{state} > .ui.button,
542
- .ui.labeled.input.@{state}:not(.right):not([class*="corner labeled"]) > .ui.label {
543
- border-left: @borderWidth solid @borderColor;
544
- }
545
- .ui.form .field.@{state} > .ui.action.input:not([class*="left action"]) > input + .ui.button,
546
- .ui.form .field.@{state} > .ui.right.labeled.input:not([class*="corner labeled"]) > input + .ui.label,
547
- .ui.action.input.@{state}:not([class*="left action"]) > input + .ui.button,
548
- .ui.right.labeled.input.@{state}:not([class*="corner labeled"]) > input + .ui.label {
549
- border-right: @borderWidth solid @borderColor;
550
- }
551
- .ui.form .field.@{state} > .ui.right.labeled.input:not([class*="corner labeled"]) > .ui.label:first-child,
552
- .ui.right.labeled.input.@{state}:not([class*="corner labeled"]) > .ui.label:first-child {
553
- border-left: @borderWidth solid @borderColor;
554
- }
555
- })
520
+ /* Labeled and action input states */
521
+ each(@variationInputStates, {
522
+ @state: @value;
523
+ @borderColor: @formStates[@@state][borderColor];
524
+
525
+ .ui.form .field.@{state} > .ui.action.input > .ui.button,
526
+ .ui.form .field.@{state} > .ui.labeled.input:not([class*="corner labeled"]) > .ui.label,
527
+ .ui.action.input.@{state} > .ui.button,
528
+ .ui.labeled.input.@{state}:not([class*="corner labeled"]) > .ui.label {
529
+ border-top: @borderWidth solid @borderColor;
530
+ border-bottom: @borderWidth solid @borderColor;
531
+ }
532
+ .ui.form .field.@{state} > .ui[class*="left action"].input > .ui.button,
533
+ .ui.form .field.@{state} > .ui.labeled.input:not(.right):not([class*="corner labeled"]) > .ui.label,
534
+ .ui[class*="left action"].input.@{state} > .ui.button,
535
+ .ui.labeled.input.@{state}:not(.right):not([class*="corner labeled"]) > .ui.label {
536
+ border-left: @borderWidth solid @borderColor;
537
+ }
538
+ .ui.form .field.@{state} > .ui.action.input:not([class*="left action"]) > input + .ui.button,
539
+ .ui.form .field.@{state} > .ui.right.labeled.input:not([class*="corner labeled"]) > input + .ui.label,
540
+ .ui.action.input.@{state}:not([class*="left action"]) > input + .ui.button,
541
+ .ui.right.labeled.input.@{state}:not([class*="corner labeled"]) > input + .ui.label {
542
+ border-right: @borderWidth solid @borderColor;
543
+ }
544
+ .ui.form .field.@{state} > .ui.right.labeled.input:not([class*="corner labeled"]) > .ui.label:first-child,
545
+ .ui.right.labeled.input.@{state}:not([class*="corner labeled"]) > .ui.label:first-child {
546
+ border-left: @borderWidth solid @borderColor;
547
+ }
548
+ })
556
549
  }
557
550
 
558
551
  & when (@variationInputAction) {
559
- /*--------------------
560
- Action
561
- ---------------------*/
562
-
563
- .ui.action.input > .button,
564
- .ui.action.input > .buttons {
565
- display: flex;
566
- align-items: center;
567
- flex: 0 0 auto;
568
- }
569
- .ui.action.input > .button,
570
- .ui.action.input > .buttons > .button {
571
- padding-top: @verticalPadding;
572
- padding-bottom: @verticalPadding;
573
- margin: 0;
574
- }
552
+ /* --------------------
553
+ Action
554
+ --------------------- */
575
555
 
576
- /* Input when ui Left*/
577
- .ui[class*="left action"].input > input {
578
- border-top-left-radius: 0;
579
- border-bottom-left-radius: 0;
580
- border-left-color: transparent;
581
- }
556
+ .ui.action.input > .button,
557
+ .ui.action.input > .buttons {
558
+ display: flex;
559
+ align-items: center;
560
+ flex: 0 0 auto;
561
+ }
562
+ .ui.action.input > .button,
563
+ .ui.action.input > .buttons > .button {
564
+ padding-top: @verticalPadding;
565
+ padding-bottom: @verticalPadding;
566
+ margin: 0;
567
+ }
582
568
 
583
- /* Input when ui Right*/
584
- .ui.action.input:not([class*="left action"]) > input {
585
- border-top-right-radius: 0;
586
- border-bottom-right-radius: 0;
587
- border-right-color: transparent;
588
- }
569
+ /* Input when ui Left */
570
+ .ui[class*="left action"].input > input {
571
+ border-top-left-radius: 0;
572
+ border-bottom-left-radius: 0;
573
+ border-left-color: transparent;
574
+ }
589
575
 
590
- /* Button and Dropdown */
591
- .ui.action.input > .dropdown:first-child,
592
- .ui.action.input > .button:first-child,
593
- .ui.action.input > .buttons:first-child > .button {
594
- border-radius: @borderRadius 0 0 @borderRadius;
595
- }
596
- .ui.action.input > .dropdown:not(:first-child),
597
- .ui.action.input > .button:not(:first-child),
598
- .ui.action.input > .buttons:not(:first-child) > .button {
599
- border-radius: 0;
600
- }
601
- .ui.action.input > .dropdown:last-child,
602
- .ui.action.input > .button:last-child,
603
- .ui.action.input > .buttons:last-child > .button {
604
- border-radius: 0 @borderRadius @borderRadius 0;
605
- }
576
+ /* Input when ui Right */
577
+ .ui.action.input:not([class*="left action"]) > input {
578
+ border-top-right-radius: 0;
579
+ border-bottom-right-radius: 0;
580
+ border-right-color: transparent;
581
+ }
606
582
 
607
- /* Input Focus */
608
- .ui.action.input:not([class*="left action"]) > input:focus {
609
- border-right-color: @focusBorderColor;
610
- }
583
+ /* Button and Dropdown */
584
+ .ui.action.input > .dropdown:first-child,
585
+ .ui.action.input > .button:first-child,
586
+ .ui.action.input > .buttons:first-child > .button {
587
+ border-radius: @borderRadius 0 0 @borderRadius;
588
+ }
589
+ .ui.action.input > .dropdown:not(:first-child),
590
+ .ui.action.input > .button:not(:first-child),
591
+ .ui.action.input > .buttons:not(:first-child) > .button {
592
+ border-radius: 0;
593
+ }
594
+ .ui.action.input > .dropdown:last-child,
595
+ .ui.action.input > .button:last-child,
596
+ .ui.action.input > .buttons:last-child > .button {
597
+ border-radius: 0 @borderRadius @borderRadius 0;
598
+ }
611
599
 
612
- .ui.ui[class*="left action"].input > input:focus {
613
- border-left-color: @focusBorderColor;
614
- }
600
+ /* Input Focus */
601
+ .ui.action.input:not([class*="left action"]) > input:focus {
602
+ border-right-color: @focusBorderColor;
603
+ }
604
+
605
+ .ui.ui[class*="left action"].input > input:focus {
606
+ border-left-color: @focusBorderColor;
607
+ }
615
608
  }
616
609
 
617
610
  & when (@variationInputInverted) {
618
- /*--------------------
619
- Inverted
620
- ---------------------*/
611
+ /* --------------------
612
+ Inverted
613
+ --------------------- */
621
614
 
622
- /* Standard */
623
- .ui.inverted.input > input {
624
- border: none;
625
- }
615
+ /* Standard */
616
+ .ui.inverted.input > input {
617
+ border: none;
618
+ }
626
619
  }
627
620
 
628
621
  & when (@variationInputFluid) {
629
- /*--------------------
630
- Fluid
631
- ---------------------*/
622
+ /* --------------------
623
+ Fluid
624
+ --------------------- */
632
625
 
633
- .ui.fluid.input {
634
- display: flex;
635
- }
636
- .ui.fluid.input > input {
637
- width: 0 !important;
638
- }
626
+ .ui.fluid.input {
627
+ display: flex;
628
+ }
629
+ .ui.fluid.input > input {
630
+ width: 0 !important;
631
+ }
639
632
  }
640
633
 
641
-
642
634
  & when (@variationInputFile) {
643
- /*--------------------
644
- File
645
- ---------------------*/
646
-
647
- /* width hack for chrome/edge */
648
- .ui.file.input {
649
- width: 100%;
650
- & input[type="file"] {
651
- width: 0;
635
+ /* --------------------
636
+ File
637
+ --------------------- */
638
+
639
+ /* width hack for chrome/edge */
640
+ .ui.file.input {
641
+ width: 100%;
642
+ & input[type="file"] {
643
+ width: 0;
644
+ }
652
645
  }
653
- }
654
646
 
655
- .ui.form .field > input[type="file"],
656
- .ui.file.input:not(.action) input[type="file"] {
657
- padding: 0;
658
- }
647
+ .ui.form .field > input[type="file"],
648
+ .ui.file.input:not(.action) input[type="file"] {
649
+ padding: 0;
650
+ }
659
651
 
660
- .ui.action.file.input input[type="file"]::-webkit-file-upload-button {
661
- display: none;
662
- }
663
- .ui.form .field input[type="file"]::-webkit-file-upload-button,
664
- .ui.file.input input[type="file"]::-webkit-file-upload-button {
665
- border: none;
666
- cursor: pointer;
667
- padding: @padding;
668
- margin-right: @fileButtonMargin;
669
- background: @fileButtonBackground;
670
- font-weight: @fileButtonFontWeight;
671
- color: @fileButtonTextColor;
672
- &:hover {
673
- background: @fileButtonBackgroundHover;
674
- color: @fileButtonTextColor;
652
+ .ui.action.file.input input[type="file"]::-webkit-file-upload-button {
653
+ display: none;
675
654
  }
676
- }
677
- & when (@supportIE) {
678
- .ui.action.file.input input[type="file"]::-ms-browse {
679
- display: none;
680
- }
681
- .ui.form .field input[type="file"]::-ms-browse,
682
- .ui.file.input input[type="file"]::-ms-browse {
683
- border: none;
684
- cursor: pointer;
685
- padding: @padding;
686
- margin: 0;
687
- background: @fileButtonBackground;
688
- font-weight: @fileButtonFontWeight;
689
- color: @fileButtonTextColor;
690
- &:hover {
691
- background: @fileButtonBackgroundHover;
655
+ .ui.form .field input[type="file"]::-webkit-file-upload-button,
656
+ .ui.file.input input[type="file"]::-webkit-file-upload-button {
657
+ border: none;
658
+ cursor: pointer;
659
+ padding: @padding;
660
+ margin-right: @fileButtonMargin;
661
+ background: @fileButtonBackground;
662
+ font-weight: @fileButtonFontWeight;
692
663
  color: @fileButtonTextColor;
693
- }
694
- }
695
- /* IE needs additional styling for input field :S */
696
- @media all and (-ms-high-contrast: none) {
697
- .ui.file.input > input[type="file"],
698
- input[type="file"].ui.file.input {
699
- padding: 0 !important;
700
- }
664
+ &:hover {
665
+ background: @fileButtonBackgroundHover;
666
+ color: @fileButtonTextColor;
667
+ }
701
668
  }
702
- }
669
+ & when (@supportIE) {
670
+ .ui.action.file.input input[type="file"]::-ms-browse {
671
+ display: none;
672
+ }
673
+ .ui.form .field input[type="file"]::-ms-browse,
674
+ .ui.file.input input[type="file"]::-ms-browse {
675
+ border: none;
676
+ cursor: pointer;
677
+ padding: @padding;
678
+ margin: 0;
679
+ background: @fileButtonBackground;
680
+ font-weight: @fileButtonFontWeight;
681
+ color: @fileButtonTextColor;
682
+ &:hover {
683
+ background: @fileButtonBackgroundHover;
684
+ color: @fileButtonTextColor;
685
+ }
686
+ }
703
687
 
704
- .ui.action.file.input input[type="file"]::file-selector-button {
705
- display: none;
706
- }
707
- .ui.form .field input[type="file"]::file-selector-button,
708
- .ui.file.input input[type="file"]::file-selector-button {
709
- border: none;
710
- cursor: pointer;
711
- padding: @padding;
712
- margin-right: @fileButtonMargin;
713
- background: @fileButtonBackground;
714
- font-weight: @fileButtonFontWeight;
715
- color: @fileButtonTextColor;
716
- &:hover {
717
- background: @fileButtonBackgroundHover;
718
- color: @fileButtonTextColor;
688
+ /* IE needs additional styling for input field :S */
689
+ @media all and (-ms-high-contrast: none) {
690
+ .ui.file.input > input[type="file"],
691
+ input[type="file"].ui.file.input {
692
+ padding: 0 !important;
693
+ }
694
+ }
719
695
  }
720
- }
721
696
 
722
- .ui.form .field input[type="file"]:required:invalid,
723
- .ui.file.input input[type="file"]:required:invalid {
724
- color: @negativeTextColor;
725
- background: @negativeBackgroundColor ;
726
- border-color: @negativeBorderColor;
727
- }
728
-
729
- input[type="file"].ui.invisible.file.input,
730
- .ui.invisible.file.input input[type="file"] {
731
- left: -99999px;
732
- position: absolute;
733
- }
734
-
735
- input[type="file"].ui.file.input:focus + label.ui.button:not(.basic):not(.tertiary),
736
- .ui.file.input input[type="file"]:focus + label.ui.button:not(.basic):not(.tertiary) {
737
- background: @fileButtonBackgroundHover;
738
- color: @hoveredTextColor;
739
- &.inverted {
740
- background: @fileButtonInvertedBackgroundHover;
697
+ .ui.action.file.input input[type="file"]::file-selector-button {
698
+ display: none;
699
+ }
700
+ .ui.form .field input[type="file"]::file-selector-button,
701
+ .ui.file.input input[type="file"]::file-selector-button {
702
+ border: none;
703
+ cursor: pointer;
704
+ padding: @padding;
705
+ margin-right: @fileButtonMargin;
706
+ background: @fileButtonBackground;
707
+ font-weight: @fileButtonFontWeight;
708
+ color: @fileButtonTextColor;
709
+ &:hover {
710
+ background: @fileButtonBackgroundHover;
711
+ color: @fileButtonTextColor;
712
+ }
713
+ }
714
+ & when (@variationInputInvalid) {
715
+ .ui.form .field input[type="file"]:required:invalid,
716
+ .ui.file.input input[type="file"]:required:invalid {
717
+ color: @negativeTextColor;
718
+ background: @negativeBackgroundColor;
719
+ border-color: @negativeBorderColor;
720
+ }
741
721
  }
742
- }
743
-
744
- /* this is related to existing buttons, so the button color variable is used here! */
745
- & when not (@variationButtonColors = false) {
746
- each(@variationButtonColors, {
747
- @color: @value;
748
- @h: @colors[@@color][hover];
749
- @lh: @colors[@@color][lightHover];
750
-
751
- input[type="file"].ui.file.input:focus + label.ui.@{color}.button:not(.basic):not(.tertiary),
752
- .ui.file.input input[type="file"]:focus + label.ui.@{color}.button:not(.basic):not(.tertiary) {
753
- background-color: @h;
754
- color: @white;
755
- &.inverted when (@variationButtonInverted) {
756
- background-color: @lh;
757
- }
758
- }
759
- })
760
- }
761
722
 
762
- & when not (@variationInputColors = false) {
763
- each(@variationInputColors, {
764
- @color: @value;
765
- @c: @colors[@@color][color];
766
- @h: @colors[@@color][hover];
723
+ input[type="file"].ui.invisible.file.input,
724
+ .ui.invisible.file.input input[type="file"] {
725
+ left: -99999px;
726
+ position: absolute;
727
+ }
767
728
 
768
- input[type="file"].ui.@{color}.file.input::-webkit-file-upload-button,
769
- .ui.@{color}.file.input input[type="file"]::-webkit-file-upload-button {
770
- background: @c;
771
- color: @white;
772
- &:hover {
773
- background: @h;
774
- }
775
- }
776
- & when (@supportIE) {
777
- input[type="file"].ui.@{color}.file.input::-ms-browse,
778
- .ui.@{color}.file.input input[type="file"]::-ms-browse {
779
- background: @c;
780
- color: @white;
781
- &:hover {
782
- background: @h;
783
- }
784
- }
785
- }
786
- input[type="file"].ui.@{color}.file.input::file-selector-button,
787
- .ui.@{color}.file.input input[type="file"]::file-selector-button {
788
- background: @c;
789
- color: @white;
790
- &:hover {
791
- background: @h;
729
+ input[type="file"].ui.file.input:focus + label.ui.button:not(.basic):not(.tertiary),
730
+ .ui.file.input input[type="file"]:focus + label.ui.button:not(.basic):not(.tertiary) {
731
+ background: @fileButtonBackgroundHover;
732
+ color: @hoveredTextColor;
733
+ &.inverted {
734
+ background: @fileButtonInvertedBackgroundHover;
792
735
  }
793
- }
794
- })
736
+ }
737
+
738
+ /* this is related to existing buttons, so the button color variable is used here! */
739
+ & when not (@variationButtonColors = false) {
740
+ each(@variationButtonColors, {
741
+ @color: @value;
742
+ @h: @colors[@@color][hover];
743
+ @lh: @colors[@@color][lightHover];
744
+
745
+ input[type="file"].ui.file.input:focus + label.ui.@{color}.button:not(.basic):not(.tertiary),
746
+ .ui.file.input input[type="file"]:focus + label.ui.@{color}.button:not(.basic):not(.tertiary) {
747
+ background-color: @h;
748
+ color: @white;
749
+ &.inverted when (@variationButtonInverted) {
750
+ background-color: @lh;
751
+ }
752
+ }
753
+ })
754
+ }
755
+
756
+ & when not (@variationInputColors = false) {
757
+ each(@variationInputColors, {
758
+ @color: @value;
759
+ @c: @colors[@@color][color];
760
+ @h: @colors[@@color][hover];
761
+
762
+ input[type="file"].ui.@{color}.file.input::-webkit-file-upload-button,
763
+ .ui.@{color}.file.input input[type="file"]::-webkit-file-upload-button {
764
+ background: @c;
765
+ color: @white;
766
+ &:hover {
767
+ background: @h;
768
+ }
769
+ }
770
+ & when (@supportIE) {
771
+ input[type="file"].ui.@{color}.file.input::-ms-browse,
772
+ .ui.@{color}.file.input input[type="file"]::-ms-browse {
773
+ background: @c;
774
+ color: @white;
775
+ &:hover {
776
+ background: @h;
777
+ }
778
+ }
779
+ }
780
+ input[type="file"].ui.@{color}.file.input::file-selector-button,
781
+ .ui.@{color}.file.input input[type="file"]::file-selector-button {
782
+ background: @c;
783
+ color: @white;
784
+ &:hover {
785
+ background: @h;
786
+ }
787
+ }
788
+ })
795
789
  }
796
790
  }
797
791
 
798
- /*--------------------
792
+ /* --------------------
799
793
  Size
800
- ---------------------*/
794
+ --------------------- */
801
795
 
802
796
  .ui.input {
803
- font-size: @relativeMedium;
797
+ font-size: @relativeMedium;
804
798
  }
805
799
  & when not (@variationInputSizes = false) {
806
- each(@variationInputSizes, {
807
- @s: @{value}InputSize;
808
- .ui.@{value}.input {
809
- font-size: @@s;
810
- }
811
- })
800
+ each(@variationInputSizes, {
801
+ @s: @{value}InputSize;
802
+ .ui.@{value}.input {
803
+ font-size: @@s;
804
+ }
805
+ })
812
806
  }
813
807
 
814
808
  .loadUIOverrides();