fomantic-ui 2.9.1-beta.24 → 2.9.1-beta.26

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 (355) hide show
  1. package/.eslint/eqeqeq-rule.js +18 -0
  2. package/.eslint/index.js +3 -0
  3. package/.eslintrc.js +1 -2
  4. package/.stylelintrc.js +8 -12
  5. package/dist/components/accordion.css +3 -3
  6. package/dist/components/accordion.js +4 -4
  7. package/dist/components/accordion.min.css +2 -2
  8. package/dist/components/accordion.min.js +2 -2
  9. package/dist/components/ad.css +1 -1
  10. package/dist/components/ad.min.css +1 -1
  11. package/dist/components/api.js +19 -19
  12. package/dist/components/api.min.js +2 -2
  13. package/dist/components/breadcrumb.css +1 -1
  14. package/dist/components/breadcrumb.min.css +1 -1
  15. package/dist/components/button.css +5 -5
  16. package/dist/components/button.min.css +2 -2
  17. package/dist/components/calendar.css +1 -1
  18. package/dist/components/calendar.js +18 -17
  19. package/dist/components/calendar.min.css +1 -1
  20. package/dist/components/calendar.min.js +2 -2
  21. package/dist/components/card.css +4 -4
  22. package/dist/components/card.min.css +2 -2
  23. package/dist/components/checkbox.css +3 -3
  24. package/dist/components/checkbox.js +11 -11
  25. package/dist/components/checkbox.min.css +1 -1
  26. package/dist/components/checkbox.min.js +2 -2
  27. package/dist/components/comment.css +1 -1
  28. package/dist/components/comment.min.css +1 -1
  29. package/dist/components/container.css +2 -2
  30. package/dist/components/container.min.css +2 -2
  31. package/dist/components/dimmer.css +2 -2
  32. package/dist/components/dimmer.js +9 -9
  33. package/dist/components/dimmer.min.css +1 -1
  34. package/dist/components/dimmer.min.js +2 -2
  35. package/dist/components/divider.css +1 -1
  36. package/dist/components/divider.min.css +1 -1
  37. package/dist/components/dropdown.css +13 -13
  38. package/dist/components/dropdown.js +103 -91
  39. package/dist/components/dropdown.min.css +2 -2
  40. package/dist/components/dropdown.min.js +2 -2
  41. package/dist/components/embed.css +1 -1
  42. package/dist/components/embed.js +5 -5
  43. package/dist/components/embed.min.css +1 -1
  44. package/dist/components/embed.min.js +2 -2
  45. package/dist/components/emoji.css +3547 -3547
  46. package/dist/components/feed.css +1 -1
  47. package/dist/components/feed.min.css +1 -1
  48. package/dist/components/flag.css +265 -265
  49. package/dist/components/flag.min.css +1 -1
  50. package/dist/components/flyout.css +7 -7
  51. package/dist/components/flyout.js +10 -10
  52. package/dist/components/flyout.min.css +1 -1
  53. package/dist/components/flyout.min.js +2 -2
  54. package/dist/components/form.css +13 -13
  55. package/dist/components/form.js +77 -60
  56. package/dist/components/form.min.css +2 -2
  57. package/dist/components/form.min.js +2 -2
  58. package/dist/components/grid.css +2 -2
  59. package/dist/components/grid.min.css +2 -2
  60. package/dist/components/header.css +2 -2
  61. package/dist/components/header.min.css +2 -2
  62. package/dist/components/icon.css +1960 -1960
  63. package/dist/components/icon.min.css +2 -2
  64. package/dist/components/image.css +1 -1
  65. package/dist/components/image.min.css +1 -1
  66. package/dist/components/input.css +2 -2
  67. package/dist/components/input.min.css +2 -2
  68. package/dist/components/item.css +3 -3
  69. package/dist/components/item.min.css +2 -2
  70. package/dist/components/label.css +2 -2
  71. package/dist/components/label.min.css +2 -2
  72. package/dist/components/list.css +4 -4
  73. package/dist/components/list.min.css +2 -2
  74. package/dist/components/loader.css +1 -1
  75. package/dist/components/loader.min.css +1 -1
  76. package/dist/components/menu.css +2 -2
  77. package/dist/components/menu.min.css +1 -1
  78. package/dist/components/message.css +2 -2
  79. package/dist/components/message.min.css +2 -2
  80. package/dist/components/modal.css +2 -2
  81. package/dist/components/modal.js +4 -4
  82. package/dist/components/modal.min.css +2 -2
  83. package/dist/components/modal.min.js +2 -2
  84. package/dist/components/nag.css +1 -1
  85. package/dist/components/nag.js +5 -5
  86. package/dist/components/nag.min.css +1 -1
  87. package/dist/components/nag.min.js +2 -2
  88. package/dist/components/placeholder.css +1 -1
  89. package/dist/components/placeholder.min.css +1 -1
  90. package/dist/components/popup.css +2 -2
  91. package/dist/components/popup.js +39 -31
  92. package/dist/components/popup.min.css +2 -2
  93. package/dist/components/popup.min.js +2 -2
  94. package/dist/components/progress.css +1 -1
  95. package/dist/components/progress.js +12 -12
  96. package/dist/components/progress.min.css +1 -1
  97. package/dist/components/progress.min.js +2 -2
  98. package/dist/components/rail.css +1 -1
  99. package/dist/components/rail.min.css +1 -1
  100. package/dist/components/rating.css +31 -31
  101. package/dist/components/rating.js +6 -6
  102. package/dist/components/rating.min.css +1 -1
  103. package/dist/components/rating.min.js +2 -2
  104. package/dist/components/reset.css +1 -1
  105. package/dist/components/reset.min.css +1 -1
  106. package/dist/components/reveal.css +13 -13
  107. package/dist/components/reveal.min.css +1 -1
  108. package/dist/components/search.css +4 -4
  109. package/dist/components/search.js +16 -16
  110. package/dist/components/search.min.css +2 -2
  111. package/dist/components/search.min.js +2 -2
  112. package/dist/components/segment.css +2 -2
  113. package/dist/components/segment.min.css +2 -2
  114. package/dist/components/shape.css +1 -1
  115. package/dist/components/shape.js +5 -5
  116. package/dist/components/shape.min.css +1 -1
  117. package/dist/components/shape.min.js +2 -2
  118. package/dist/components/sidebar.css +33 -33
  119. package/dist/components/sidebar.js +13 -13
  120. package/dist/components/sidebar.min.css +1 -1
  121. package/dist/components/sidebar.min.js +2 -2
  122. package/dist/components/site.css +18 -18
  123. package/dist/components/site.js +4 -4
  124. package/dist/components/site.min.css +2 -2
  125. package/dist/components/site.min.js +2 -2
  126. package/dist/components/slider.js +50 -37
  127. package/dist/components/slider.min.js +2 -2
  128. package/dist/components/state.js +5 -5
  129. package/dist/components/state.min.js +2 -2
  130. package/dist/components/statistic.css +3 -3
  131. package/dist/components/statistic.min.css +2 -2
  132. package/dist/components/step.css +4 -4
  133. package/dist/components/step.min.css +2 -2
  134. package/dist/components/sticky.css +1 -1
  135. package/dist/components/sticky.js +8 -8
  136. package/dist/components/sticky.min.css +1 -1
  137. package/dist/components/sticky.min.js +2 -2
  138. package/dist/components/tab.css +1 -1
  139. package/dist/components/tab.js +17 -17
  140. package/dist/components/tab.min.css +1 -1
  141. package/dist/components/tab.min.js +2 -2
  142. package/dist/components/table.css +8 -2
  143. package/dist/components/table.min.css +1 -1
  144. package/dist/components/text.css +1 -1
  145. package/dist/components/text.min.css +1 -1
  146. package/dist/components/toast.css +1 -1
  147. package/dist/components/toast.js +4 -4
  148. package/dist/components/toast.min.css +1 -1
  149. package/dist/components/toast.min.js +2 -2
  150. package/dist/components/transition.css +97 -97
  151. package/dist/components/transition.js +8 -8
  152. package/dist/components/transition.min.css +1 -1
  153. package/dist/components/transition.min.js +2 -2
  154. package/dist/components/visibility.js +12 -12
  155. package/dist/components/visibility.min.js +2 -2
  156. package/dist/semantic.css +6078 -6074
  157. package/dist/semantic.js +464 -413
  158. package/dist/semantic.min.css +2 -2
  159. package/dist/semantic.min.js +2 -2
  160. package/package.json +1 -1
  161. package/src/_site/modules/embed.variables +3 -0
  162. package/src/definitions/behaviors/api.js +18 -18
  163. package/src/definitions/behaviors/form.js +76 -59
  164. package/src/definitions/behaviors/state.js +4 -4
  165. package/src/definitions/behaviors/visibility.js +11 -11
  166. package/src/definitions/collections/breadcrumb.less +2 -2
  167. package/src/definitions/collections/form.less +12 -12
  168. package/src/definitions/collections/grid.less +7 -7
  169. package/src/definitions/collections/menu.less +4 -4
  170. package/src/definitions/collections/message.less +38 -38
  171. package/src/definitions/collections/table.less +3 -3
  172. package/src/definitions/elements/button.less +12 -12
  173. package/src/definitions/elements/container.less +2 -2
  174. package/src/definitions/elements/divider.less +2 -2
  175. package/src/definitions/elements/emoji.less +5 -5
  176. package/src/definitions/elements/flag.less +11 -11
  177. package/src/definitions/elements/header.less +2 -2
  178. package/src/definitions/elements/icon.less +22 -22
  179. package/src/definitions/elements/image.less +2 -2
  180. package/src/definitions/elements/input.less +2 -2
  181. package/src/definitions/elements/label.less +4 -4
  182. package/src/definitions/elements/list.less +3 -3
  183. package/src/definitions/elements/loader.less +2 -2
  184. package/src/definitions/elements/placeholder.less +2 -2
  185. package/src/definitions/elements/rail.less +2 -2
  186. package/src/definitions/elements/reveal.less +8 -8
  187. package/src/definitions/elements/segment.less +3 -3
  188. package/src/definitions/elements/step.less +2 -2
  189. package/src/definitions/elements/text.less +2 -2
  190. package/src/definitions/globals/reset.less +2 -2
  191. package/src/definitions/globals/site.js +3 -3
  192. package/src/definitions/globals/site.less +9 -9
  193. package/src/definitions/modules/accordion.js +3 -3
  194. package/src/definitions/modules/accordion.less +2 -2
  195. package/src/definitions/modules/calendar.js +17 -16
  196. package/src/definitions/modules/calendar.less +2 -2
  197. package/src/definitions/modules/checkbox.js +10 -10
  198. package/src/definitions/modules/checkbox.less +2 -2
  199. package/src/definitions/modules/dimmer.js +8 -8
  200. package/src/definitions/modules/dimmer.less +3 -3
  201. package/src/definitions/modules/dropdown.js +102 -90
  202. package/src/definitions/modules/dropdown.less +6 -6
  203. package/src/definitions/modules/embed.js +4 -4
  204. package/src/definitions/modules/embed.less +2 -2
  205. package/src/definitions/modules/flyout.js +9 -9
  206. package/src/definitions/modules/flyout.less +5 -5
  207. package/src/definitions/modules/modal.js +3 -3
  208. package/src/definitions/modules/modal.less +7 -7
  209. package/src/definitions/modules/nag.js +4 -4
  210. package/src/definitions/modules/nag.less +3 -3
  211. package/src/definitions/modules/popup.js +38 -30
  212. package/src/definitions/modules/popup.less +2 -2
  213. package/src/definitions/modules/progress.js +11 -11
  214. package/src/definitions/modules/progress.less +2 -2
  215. package/src/definitions/modules/rating.js +5 -5
  216. package/src/definitions/modules/rating.less +14 -10
  217. package/src/definitions/modules/search.js +15 -15
  218. package/src/definitions/modules/search.less +2 -2
  219. package/src/definitions/modules/shape.js +4 -4
  220. package/src/definitions/modules/shape.less +2 -2
  221. package/src/definitions/modules/sidebar.js +12 -12
  222. package/src/definitions/modules/sidebar.less +18 -18
  223. package/src/definitions/modules/slider.js +49 -36
  224. package/src/definitions/modules/slider.less +2 -2
  225. package/src/definitions/modules/sticky.js +7 -7
  226. package/src/definitions/modules/sticky.less +2 -2
  227. package/src/definitions/modules/tab.js +16 -16
  228. package/src/definitions/modules/tab.less +2 -2
  229. package/src/definitions/modules/toast.js +3 -3
  230. package/src/definitions/modules/toast.less +5 -5
  231. package/src/definitions/modules/transition.js +7 -7
  232. package/src/definitions/modules/transition.less +2 -2
  233. package/src/definitions/views/ad.less +2 -2
  234. package/src/definitions/views/card.less +16 -16
  235. package/src/definitions/views/comment.less +2 -2
  236. package/src/definitions/views/feed.less +2 -2
  237. package/src/definitions/views/item.less +3 -3
  238. package/src/definitions/views/statistic.less +2 -2
  239. package/src/semantic.less +54 -52
  240. package/src/theme.config.example +53 -53
  241. package/src/theme.less +13 -13
  242. package/src/themes/amazon/elements/button.variables +1 -1
  243. package/src/themes/amazon/globals/site.variables +5 -5
  244. package/src/themes/basic/elements/icon.overrides +4 -4
  245. package/src/themes/basic/elements/icon.variables +2 -2
  246. package/src/themes/basic/modules/progress.variables +2 -2
  247. package/src/themes/basic/views/card.variables +3 -3
  248. package/src/themes/bookish/elements/header.variables +1 -1
  249. package/src/themes/bootstrap3/elements/button.overrides +3 -0
  250. package/src/themes/bootstrap3/elements/button.variables +8 -8
  251. package/src/themes/chubby/collections/menu.overrides +3 -0
  252. package/src/themes/chubby/collections/menu.variables +2 -2
  253. package/src/themes/chubby/elements/button.overrides +4 -4
  254. package/src/themes/chubby/elements/header.variables +1 -1
  255. package/src/themes/chubby/modules/accordion.variables +1 -1
  256. package/src/themes/chubby/views/comment.overrides +1 -1
  257. package/src/themes/chubby/views/comment.variables +4 -4
  258. package/src/themes/classic/collections/table.variables +1 -1
  259. package/src/themes/classic/elements/button.variables +17 -17
  260. package/src/themes/classic/modules/progress.variables +1 -1
  261. package/src/themes/classic/views/card.overrides +13 -13
  262. package/src/themes/classic/views/card.variables +2 -2
  263. package/src/themes/colored/modules/checkbox.overrides +3 -0
  264. package/src/themes/colored/modules/checkbox.variables +1 -1
  265. package/src/themes/default/collections/grid.variables +1 -1
  266. package/src/themes/default/collections/menu.variables +2 -2
  267. package/src/themes/default/collections/table.overrides +3 -0
  268. package/src/themes/default/collections/table.variables +1 -1
  269. package/src/themes/default/elements/container.variables +9 -9
  270. package/src/themes/default/elements/divider.variables +2 -2
  271. package/src/themes/default/elements/emoji.variables +2 -2
  272. package/src/themes/default/elements/flag.variables +2 -2
  273. package/src/themes/default/elements/header.variables +15 -15
  274. package/src/themes/default/elements/icon.variables +1979 -1979
  275. package/src/themes/default/elements/label.variables +24 -24
  276. package/src/themes/default/elements/list.variables +3 -3
  277. package/src/themes/default/elements/loader.variables +8 -8
  278. package/src/themes/default/elements/rail.variables +2 -2
  279. package/src/themes/default/elements/segment.variables +1 -1
  280. package/src/themes/default/elements/step.overrides +2 -2
  281. package/src/themes/default/elements/step.variables +1 -1
  282. package/src/themes/default/globals/colors.less +450 -450
  283. package/src/themes/default/globals/site.variables +821 -821
  284. package/src/themes/default/modules/accordion.overrides +1 -1
  285. package/src/themes/default/modules/checkbox.overrides +2 -2
  286. package/src/themes/default/modules/dimmer.variables +7 -7
  287. package/src/themes/default/modules/dropdown.overrides +8 -8
  288. package/src/themes/default/modules/dropdown.variables +2 -2
  289. package/src/themes/default/modules/flyout.variables +1 -1
  290. package/src/themes/default/modules/modal.variables +1 -1
  291. package/src/themes/default/modules/popup.variables +1 -1
  292. package/src/themes/default/modules/search.variables +1 -1
  293. package/src/themes/default/modules/sidebar.variables +1 -1
  294. package/src/themes/default/modules/slider.variables +45 -45
  295. package/src/themes/default/modules/toast.variables +6 -6
  296. package/src/themes/default/modules/transition.overrides +24 -24
  297. package/src/themes/default/views/card.variables +11 -11
  298. package/src/themes/default/views/item.variables +4 -4
  299. package/src/themes/famfamfam/elements/flag.variables +2 -2
  300. package/src/themes/fixed-width/collections/grid.variables +3 -3
  301. package/src/themes/fixed-width/modules/modal.variables +9 -9
  302. package/src/themes/flat/collections/form.overrides +1 -1
  303. package/src/themes/flat/collections/form.variables +9 -9
  304. package/src/themes/flat/globals/site.variables +50 -50
  305. package/src/themes/github/collections/form.overrides +2 -2
  306. package/src/themes/github/collections/form.variables +2 -2
  307. package/src/themes/github/collections/menu.overrides +1 -1
  308. package/src/themes/github/collections/menu.variables +4 -4
  309. package/src/themes/github/collections/message.variables +5 -5
  310. package/src/themes/github/elements/button.variables +2 -2
  311. package/src/themes/github/elements/icon.variables +2 -2
  312. package/src/themes/github/elements/segment.variables +2 -2
  313. package/src/themes/github/elements/step.overrides +1 -1
  314. package/src/themes/github/elements/step.variables +2 -2
  315. package/src/themes/github/globals/site.variables +5 -5
  316. package/src/themes/github/modules/dropdown.overrides +4 -4
  317. package/src/themes/github/modules/dropdown.variables +6 -6
  318. package/src/themes/gmail/collections/message.overrides +3 -0
  319. package/src/themes/gmail/collections/message.variables +2 -2
  320. package/src/themes/instagram/views/card.overrides +1 -1
  321. package/src/themes/instagram/views/card.variables +1 -1
  322. package/src/themes/joypixels/elements/emoji.variables +2 -2
  323. package/src/themes/material/collections/menu.variables +2 -2
  324. package/src/themes/material/elements/button.overrides +4 -4
  325. package/src/themes/material/elements/button.variables +25 -25
  326. package/src/themes/material/elements/header.variables +6 -6
  327. package/src/themes/material/elements/icon.variables +4 -4
  328. package/src/themes/material/globals/site.overrides +3 -0
  329. package/src/themes/material/globals/site.variables +52 -52
  330. package/src/themes/material/modules/dropdown.overrides +1 -1
  331. package/src/themes/material/modules/dropdown.variables +3 -3
  332. package/src/themes/material/modules/modal.overrides +1 -1
  333. package/src/themes/material/modules/modal.variables +3 -3
  334. package/src/themes/pulsar/elements/loader.overrides +4 -4
  335. package/src/themes/round/elements/button.overrides +3 -0
  336. package/src/themes/round/elements/button.variables +15 -15
  337. package/src/themes/rtl/globals/site.variables +3 -3
  338. package/src/themes/striped/modules/progress.overrides +1 -1
  339. package/src/themes/systemfont/globals/site.variables +6 -6
  340. package/src/themes/timeline/views/feed.variables +4 -4
  341. package/src/themes/twitter/elements/button.overrides +1 -1
  342. package/src/themes/twitter/elements/button.variables +1 -1
  343. package/src/themes/twitter/elements/emoji.variables +2 -2
  344. package/tasks/admin/components/init.js +1 -1
  345. package/tasks/admin/components/update.js +1 -1
  346. package/tasks/admin/distributions/create.js +4 -5
  347. package/tasks/admin/distributions/init.js +1 -1
  348. package/tasks/admin/distributions/update.js +1 -1
  349. package/tasks/config/project/config.js +2 -2
  350. package/tasks/config/project/install.js +8 -8
  351. package/tasks/config/project/release.js +1 -1
  352. package/tasks/config/tasks.js +2 -2
  353. package/tasks/docs/metadata.js +1 -1
  354. package/tasks/install.js +3 -3
  355. package/test/modules/module.spec.js +1 -1
@@ -1,9 +1,9 @@
1
- @fontPath : '../../themes/material/assets/fonts';
1
+ @fontPath: '../../themes/material/assets/fonts';
2
2
  @fonts: {
3
3
  @solid: {
4
4
  font-family: @fontName;
5
- src: url("@{fontPath}/@{fontName}.woff2") format('woff2')
6
- if(@supportIE, e(',') url("@{fontPath}/@{fontName}.woff") format('woff'));
5
+ src: url('@{fontPath}/@{fontName}.woff2') format('woff2')
6
+ if(@supportIE, e(',') url('@{fontPath}/@{fontName}.woff') format('woff'));
7
7
  font-style: normal;
8
8
  font-weight: @normal;
9
9
  font-variant: normal;
@@ -23,6 +23,6 @@
23
23
  @small: 13px;
24
24
  @medium: 16px;
25
25
  @large: 18px;
26
- @big : 20px;
26
+ @big: 20px;
27
27
  @huge: 28px;
28
28
  @massive: 32px;
@@ -0,0 +1,3 @@
1
+ /*******************************
2
+ Overrides
3
+ *******************************/
@@ -6,43 +6,43 @@
6
6
  Fonts
7
7
  -------------------- */
8
8
 
9
- @headerFont : 'Roboto', 'Helvetica Neue', Arial, Helvetica, sans-serif;
10
- @pageFont : 'Roboto', 'Helvetica Neue', Arial, Helvetica, sans-serif;
11
- @googleFontName : 'Roboto';
9
+ @headerFont: 'Roboto', 'Helvetica Neue', Arial, Helvetica, sans-serif;
10
+ @pageFont: 'Roboto', 'Helvetica Neue', Arial, Helvetica, sans-serif;
11
+ @googleFontName: 'Roboto';
12
12
 
13
13
  /* -------------------
14
14
  Base Sizes
15
15
  -------------------- */
16
16
 
17
- @emSize : 14px;
18
- @fontSize : 13px;
17
+ @emSize: 14px;
18
+ @fontSize: 13px;
19
19
 
20
20
  /* --------------
21
21
  Page
22
22
  --------------- */
23
23
 
24
- @pageBackground : #F9F9F9;
25
- @lineHeight : 1.33;
26
- @textColor : #212121;
24
+ @pageBackground: #F9F9F9;
25
+ @lineHeight: 1.33;
26
+ @textColor: #212121;
27
27
 
28
28
  /* --------------
29
29
  Page Heading
30
30
  --------------- */
31
31
 
32
- @headerLineHeight : 1.33em;
33
- @headerFontWeight : 400;
32
+ @headerLineHeight: 1.33em;
33
+ @headerFontWeight: 400;
34
34
 
35
- @h1 : 2.25rem;
36
- @h2 : 2rem;
37
- @h3 : 1.75rem;
38
- @h4 : 1.5rem;
39
- @h5 : 1.25rem;
35
+ @h1: 2.25rem;
36
+ @h2: 2rem;
37
+ @h3: 1.75rem;
38
+ @h4: 1.5rem;
39
+ @h5: 1.25rem;
40
40
 
41
41
  /* -------------------
42
42
  Paths
43
43
  -------------------- */
44
44
 
45
- @imagePath : '../../themes/material/assets/images';
45
+ @imagePath: '../../themes/material/assets/images';
46
46
 
47
47
  /* --------------
48
48
  Paragraphs
@@ -55,67 +55,67 @@
55
55
  -------------------- */
56
56
 
57
57
  /* --- Colors --- */
58
- @black : #1B1C1D;
59
- @blue : #2196F3;
60
- @green : #4CAF50;
61
- @grey : #9E9E9E;
62
- @orange : #FF9800;
63
- @pink : #E91E63;
64
- @purple : #9C27B0;
65
- @red : #F44336;
66
- @teal : #1de9b6;
67
- @yellow : #FFEB3B;
58
+ @black: #1B1C1D;
59
+ @blue: #2196F3;
60
+ @green: #4CAF50;
61
+ @grey: #9E9E9E;
62
+ @orange: #FF9800;
63
+ @pink: #E91E63;
64
+ @purple: #9C27B0;
65
+ @red: #F44336;
66
+ @teal: #1de9b6;
67
+ @yellow: #FFEB3B;
68
68
 
69
69
  /* --- Light Colors --- */
70
- @lightBlack : #333333;
71
- @lightBlue : #2979FF;
72
- @lightGreen : #00E676;
73
- @lightOrange : #FF9100;
74
- @lightPink : #F50057;
75
- @lightPurple : #D500F9;
76
- @lightRed : #FF1744;
77
- @lightTeal : #1DE9B6;
78
- @lightYellow : #FFEA00;
70
+ @lightBlack: #333333;
71
+ @lightBlue: #2979FF;
72
+ @lightGreen: #00E676;
73
+ @lightOrange: #FF9100;
74
+ @lightPink: #F50057;
75
+ @lightPurple: #D500F9;
76
+ @lightRed: #FF1744;
77
+ @lightTeal: #1DE9B6;
78
+ @lightYellow: #FFEA00;
79
79
 
80
80
  /* --- Neutrals --- */
81
- @fullBlack : #000000;
82
- @darkGrey : #AAAAAA;
83
- @lightGrey : #DCDDDE;
84
- @offWhite : #FAFAFA;
85
- @darkWhite : #F0F0F0;
86
- @white : #FFFFFF;
81
+ @fullBlack: #000000;
82
+ @darkGrey: #AAAAAA;
83
+ @lightGrey: #DCDDDE;
84
+ @offWhite: #FAFAFA;
85
+ @darkWhite: #F0F0F0;
86
+ @white: #FFFFFF;
87
87
 
88
88
  /* -------------------
89
89
  Brand Colors
90
90
  -------------------- */
91
91
 
92
- @primaryColor : @blue;
93
- @secondaryColor : @grey;
92
+ @primaryColor: @blue;
93
+ @secondaryColor: @grey;
94
94
 
95
- @lightPrimaryColor : @lightBlue;
96
- @lightSecondaryColor : @lightGrey;
95
+ @lightPrimaryColor: @lightBlue;
96
+ @lightSecondaryColor: @lightGrey;
97
97
 
98
98
  /* -------------------
99
99
  Paragraph
100
100
  -------------------- */
101
101
 
102
- @paragraphMargin : 0em 0em 1.53em;
102
+ @paragraphMargin: 0 0 1.53em;
103
103
 
104
104
  /* -------------------
105
105
  Links
106
106
  -------------------- */
107
107
 
108
- @linkColor : #009FDA;
109
- @linkUnderline : none;
110
- @linkHoverColor : lighten(@linkColor, 5);
111
- @linkHoverUnderline : @linkUnderline;
108
+ @linkColor: #009FDA;
109
+ @linkUnderline: none;
110
+ @linkHoverColor: lighten(@linkColor, 5);
111
+ @linkHoverUnderline: @linkUnderline;
112
112
 
113
113
  /* -------------------
114
114
  Highlighted Text
115
115
  -------------------- */
116
116
 
117
- @highlightBackground : #009FDA;
118
- @highlightColor : @white;
117
+ @highlightBackground: #009FDA;
118
+ @highlightColor: @white;
119
119
 
120
120
  /* -------------------
121
121
  Accents
@@ -1,5 +1,5 @@
1
1
  @import (css) url('https://fonts.googleapis.com/css2?family=Roboto');
2
2
 
3
3
  .ui.dropdown {
4
- font-family: 'Roboto';
4
+ font-family: Roboto;
5
5
  }
@@ -4,9 +4,9 @@
4
4
 
5
5
  @menuBorderRadius: @borderRadius;
6
6
  @menuBorderColor: #DADADA;
7
- @menuBoxShadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
7
+ @menuBoxShadow: 0 2px 4px rgba(0, 0, 0, 0.2);
8
8
 
9
- @menuPadding: @relative8px 0em;
9
+ @menuPadding: @relative8px 0;
10
10
  @itemVerticalPadding: 1em;
11
11
  @itemHorizontalPadding: 1.5em;
12
12
 
@@ -14,7 +14,7 @@
14
14
  @menuHeaderFontWeight: bold;
15
15
  @menuHeaderTextTransform: none;
16
16
 
17
- @selectionBorderEmWidth: 0em;
17
+ @selectionBorderEmWidth: 0;
18
18
  @selectionItemDivider: none;
19
19
 
20
20
  @labelBoxShadow: none;
@@ -1,6 +1,6 @@
1
1
  @import (css) url('https://fonts.googleapis.com/css2?family=Roboto');
2
2
 
3
3
  .ui.modal .header {
4
- font-family: "Roboto", Arial, Sans-serif !important;
4
+ font-family: Roboto, Arial, sans-serif !important;
5
5
  font-weight: 400 !important;
6
6
  }
@@ -1,11 +1,11 @@
1
- @boxShadow: 0px 10px 18px rgba(0, 0, 0, 0.22);
2
- @borderRadius: 0em;
1
+ @boxShadow: 0 10px 18px rgba(0, 0, 0, 0.22);
2
+ @borderRadius: 0;
3
3
 
4
4
  @headerBackground: @white;
5
5
  @headerVerticalPadding: 1.7142rem;
6
6
  @headerHorizontalPadding: 1.7142rem;
7
7
  @headerFontWeight: 400;
8
- @headerFontFamily: 'Roboto', "Helvetica Neue", Arial, sans-serif;
8
+ @headerFontFamily: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
9
9
  @headerBorder: none;
10
10
 
11
11
  @contentPadding: 1rem 2rem 2rem;
@@ -9,8 +9,8 @@
9
9
 
10
10
  @-webkit-keyframes loader-pulsar {
11
11
  0% {
12
- -webkit-transform: rotate(0deg);
13
- transform: rotate(0deg);
12
+ -webkit-transform: rotate(0);
13
+ transform: rotate(0);
14
14
  opacity: 0;
15
15
  }
16
16
  20% {
@@ -40,8 +40,8 @@
40
40
 
41
41
  @keyframes loader-pulsar {
42
42
  0% {
43
- -webkit-transform: rotate(0deg);
44
- transform: rotate(0deg);
43
+ -webkit-transform: rotate(0);
44
+ transform: rotate(0);
45
45
  opacity: 0;
46
46
  }
47
47
  20% {
@@ -0,0 +1,3 @@
1
+ /*******************************
2
+ Overrides
3
+ *******************************/
@@ -12,7 +12,7 @@
12
12
  @fontWeight: bold;
13
13
  @textColor: rgba(0, 0, 0, 0.6);
14
14
  @boxShadow:
15
- 0px 0px 0px 2px rgba(0, 0, 0, 0.2) inset
15
+ 0 0 0 2px rgba(0, 0, 0, 0.2) inset
16
16
  ;
17
17
 
18
18
  /* Padding */
@@ -23,14 +23,14 @@
23
23
  @iconOpacity: 0.8;
24
24
  @iconDistance: 0.4em;
25
25
  @iconTransition: opacity @defaultDuration @defaultEasing;
26
- @iconMargin: 0em @iconDistance 0em -(@iconDistance / 2);
26
+ @iconMargin: 0 @iconDistance 0 -(@iconDistance / 2);
27
27
  @iconVerticalAlign: top;
28
28
 
29
29
  /* -------------------
30
30
  Group
31
31
  -------------------- */
32
32
 
33
- @verticalBoxShadow: 0px 0px 0px 1px @borderColor inset;
33
+ @verticalBoxShadow: 0 0 0 1px @borderColor inset;
34
34
 
35
35
  /* -------------------
36
36
  States
@@ -38,15 +38,15 @@
38
38
 
39
39
  @hoverBackgroundColor: #FAFAFA;
40
40
  @hoverBackgroundImage: none;
41
- @hoverBoxShadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.3) inset;
41
+ @hoverBoxShadow: 0 0 0 2px rgba(0, 0, 0, 0.3) inset;
42
42
 
43
43
  @downBackgroundColor: #F0F0F0;
44
44
  @downBackgroundImage: none;
45
- @downBoxShadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.35) inset !important;
45
+ @downBoxShadow: 0 0 0 2px rgba(0, 0, 0, 0.35) inset !important;
46
46
 
47
47
  @activeBackgroundColor: #DDDDDD;
48
48
  @activeBackgroundImage: none;
49
- @activeBoxShadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.3) inset !important;
49
+ @activeBoxShadow: 0 0 0 2px rgba(0, 0, 0, 0.3) inset !important;
50
50
 
51
51
  @loadingBackgroundColor: #FFFFFF;
52
52
 
@@ -65,15 +65,15 @@
65
65
  @labeledIconRightShadow: none;
66
66
 
67
67
  /* Basic */
68
- @basicBoxShadow: 0px 0px 0px 1px @borderColor;
68
+ @basicBoxShadow: 0 0 0 1px @borderColor;
69
69
  @iconOffset: 0.05em;
70
70
  @basicLoadingColor: #FFFFFF;
71
71
 
72
72
  @basicHoverBackground: #FAFAFA;
73
- @basicHoverBoxShadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.15);
73
+ @basicHoverBoxShadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
74
74
 
75
75
  @basicDownBackground: rgba(0, 0, 0, 0.02);
76
- @basicDownBoxShadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2);
76
+ @basicDownBoxShadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
77
77
 
78
78
  @basicActiveBackground: @transparentBlack;
79
79
  @basicActiveColor: @selectedTextColor;
@@ -84,10 +84,10 @@
84
84
  @basicInvertedDownBackground: @transparentWhite;
85
85
  @basicInvertedActiveBackground: @transparentWhite;
86
86
 
87
- @basicInvertedBoxShadow: 0px 0px 0px 2px rgba(255, 255, 255, 0.5);
88
- @basicInvertedHoverBoxShadow: 0px 0px 0px 2px @selectedWhiteBorderColor;
89
- @basicInvertedDownBoxShadow: 0px 0px 0px 2px @selectedWhiteBorderColor;
90
- @basicInvertedActiveBoxShadow: 0px 0px 0px 2px @selectedWhiteBorderColor;
87
+ @basicInvertedBoxShadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
88
+ @basicInvertedHoverBoxShadow: 0 0 0 2px @selectedWhiteBorderColor;
89
+ @basicInvertedDownBoxShadow: 0 0 0 2px @selectedWhiteBorderColor;
90
+ @basicInvertedActiveBoxShadow: 0 0 0 2px @selectedWhiteBorderColor;
91
91
 
92
92
  @basicInvertedColor: @darkWhite;
93
93
  @basicInvertedHoverColor: @darkWhiteHover;
@@ -96,7 +96,7 @@
96
96
 
97
97
  /* Basic Group */
98
98
  @basicGroupBorder: 1px solid @borderColor;
99
- @basicGroupBoxShadow: 0px 0px 0px 1px @borderColor;
99
+ @basicGroupBoxShadow: 0 0 0 1px @borderColor;
100
100
 
101
101
  /* -------------------
102
102
  Variations
@@ -112,7 +112,7 @@
112
112
 
113
113
  /* Attached */
114
114
  @attachedOffset: -1px;
115
- @attachedBoxShadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
115
+ @attachedBoxShadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
116
116
  @attachedHorizontalPadding: 0.75em;
117
117
 
118
118
  /* Floated */
@@ -6,8 +6,8 @@
6
6
  Fonts
7
7
  -------------------- */
8
8
 
9
- @googleFontName : 'Droid Sans';
9
+ @googleFontName: 'Droid Sans';
10
10
 
11
11
  /* Kufi imported in site.overrides */
12
- @headerFont : 'Droid Arabic Kufi', 'Droid Sans', 'Helvetica Neue', Arial, Helvetica, sans-serif;
13
- @pageFont : 'Droid Arabic Kufi', 'Droid Sans', 'Helvetica Neue', Arial, Helvetica, sans-serif;
12
+ @headerFont: 'Droid Arabic Kufi', 'Droid Sans', 'Helvetica Neue', Arial, Helvetica, sans-serif;
13
+ @pageFont: 'Droid Arabic Kufi', 'Droid Sans', 'Helvetica Neue', Arial, Helvetica, sans-serif;
@@ -25,7 +25,7 @@
25
25
  }
26
26
  @keyframes progress-striped {
27
27
  0% {
28
- background-position: 0px 0;
28
+ background-position: 0 0;
29
29
  }
30
30
  100% {
31
31
  background-position: 60px 0;
@@ -2,9 +2,9 @@
2
2
  User Global Variables
3
3
  *******************************/
4
4
 
5
- @fontName : '';
6
- @headerFont : @fallbackFonts;
7
- @pageFont : @fallbackFonts;
8
- @importGoogleFonts : false;
9
- @importFonts : false;
10
- @bold : 600;
5
+ @fontName: '';
6
+ @headerFont: @fallbackFonts;
7
+ @pageFont: @fallbackFonts;
8
+ @importGoogleFonts: false;
9
+ @importFonts: false;
10
+ @bold: 600;
@@ -6,15 +6,15 @@
6
6
  Elements
7
7
  -------------------- */
8
8
 
9
- @eventMargin: 0em;
9
+ @eventMargin: 0;
10
10
  @eventDivider: none;
11
- @eventPadding: 0em;
11
+ @eventPadding: 0;
12
12
 
13
13
  /* Event Label */
14
14
  @labelWidth: 3em;
15
15
  @labelHeight: auto;
16
16
 
17
- @labeledContentMargin: 0.75em 0em 2em 0.75em;
17
+ @labeledContentMargin: 0.75em 0 2em 0.75em;
18
18
 
19
19
  /* Icon */
20
20
  @iconLabelBackground: @primaryColor;
@@ -23,7 +23,7 @@
23
23
 
24
24
  /* Metadata Group */
25
25
  @metadataDisplay: inline-block;
26
- @metadataMargin: 1em 0em 0em;
26
+ @metadataMargin: 1em 0 0;
27
27
  @metadataBackground: @white @subtleGradient;
28
28
  @metadataBorder: 1px solid @solidBorderColor;
29
29
  @metadataBorderRadius: 0.25em;
@@ -4,7 +4,7 @@
4
4
 
5
5
  .ui.primary.button {
6
6
  box-shadow:
7
- 0px 0px 0px 1px #3b88c3 inset,
7
+ 0 0 0 1px #3b88c3 inset,
8
8
  0 2px 0 rgba(255, 255, 255, 0.15) inset;
9
9
  }
10
10
  .ui.primary.button > .icon {
@@ -37,7 +37,7 @@
37
37
 
38
38
  @downBackgroundColor: #E1E8ED;
39
39
  @downColor: #292F33;
40
- @downPressedShadow: 0px 1px 4px rgba(0, 0, 0, 0.2) inset;
40
+ @downPressedShadow: 0 1px 4px rgba(0, 0, 0, 0.2) inset;
41
41
 
42
42
  @labeledIconBackgroundColor: rgba(85, 172, 238, 0.05);
43
43
  @labeledIconBorder: rgba(0, 0, 0, 0.1);
@@ -5,8 +5,8 @@
5
5
  /* --------------
6
6
  Path
7
7
  --------------- */
8
- @emojiPath: "https://twemoji.maxcdn.com/v/latest/svg/";
9
- @emojiFileType: "svg";
8
+ @emojiPath: 'https://twemoji.maxcdn.com/v/latest/svg/';
9
+ @emojiFileType: 'svg';
10
10
 
11
11
  /* --------------
12
12
  Definition
@@ -85,7 +85,7 @@ module.exports = function (callback) {
85
85
  }
86
86
 
87
87
  // clean folder
88
- if (release.outputRoot.search('../repos') == 0) {
88
+ if (release.outputRoot.startsWith('../repos')) {
89
89
  console.info('Cleaning dir', outputDirectory);
90
90
  del.sync([outputDirectory + '**/*'], { silent: true, force: true });
91
91
  }
@@ -76,7 +76,7 @@ module.exports = function (callback) {
76
76
  ? require(outputDirectory + 'package.json') // eslint-disable-line import/no-dynamic-require
77
77
  : false,
78
78
 
79
- isNewVersion = version && componentPackage.version != version,
79
+ isNewVersion = version && componentPackage.version !== version,
80
80
 
81
81
  commitMessage = isNewVersion
82
82
  ? 'Updated component to version ' + version
@@ -108,9 +108,8 @@ module.exports = function (callback) {
108
108
  createList = function (files) {
109
109
  let filenames = '';
110
110
  for (let file in files) {
111
- filenames += file == (files.length - 1)
112
- ? "'" + files[file] + "'"
113
- : "'" + files[file] + "',\n ";
111
+ filenames += "'" + files[file] + "'"
112
+ + (file === files.length - 1 ? '' : ',\n ');
114
113
  }
115
114
 
116
115
  return filenames;
@@ -131,7 +130,7 @@ module.exports = function (callback) {
131
130
  ;
132
131
  });
133
132
 
134
- if (distribution == 'CSS') {
133
+ if (distribution === 'CSS') {
135
134
  tasks.push(function () {
136
135
  let
137
136
  themes,
@@ -150,7 +149,7 @@ module.exports = function (callback) {
150
149
 
151
150
  return mergeStream(themes, components, releases);
152
151
  });
153
- } else if (distribution == 'LESS') {
152
+ } else if (distribution === 'LESS') {
154
153
  tasks.push(function () {
155
154
  let
156
155
  definitions,
@@ -84,7 +84,7 @@ module.exports = function (callback) {
84
84
  }
85
85
 
86
86
  // clean folder
87
- if (release.outputRoot.search('../repos') == 0) {
87
+ if (release.outputRoot.startsWith('../repos')) {
88
88
  console.info('Cleaning dir', outputDirectory);
89
89
  del.sync([outputDirectory + '**/*'], { silent: true, force: true });
90
90
  }
@@ -72,7 +72,7 @@ module.exports = function (callback) {
72
72
  ? require(outputDirectory + 'package.json') // eslint-disable-line import/no-dynamic-require
73
73
  : false,
74
74
 
75
- isNewVersion = version && distributionPackage.version != version,
75
+ isNewVersion = version && distributionPackage.version !== version,
76
76
 
77
77
  commitMessage = isNewVersion
78
78
  ? 'Updated distribution to version ' + version
@@ -28,7 +28,7 @@ module.exports = {
28
28
  configPath = path.normalize(directory);
29
29
  } else {
30
30
  // reached file system root, let's stop
31
- if (nextDirectory == directory) {
31
+ if (nextDirectory === directory) {
32
32
  return;
33
33
  }
34
34
  // otherwise recurse
@@ -116,7 +116,7 @@ module.exports = {
116
116
  // remove duplicates from component array
117
117
  if (Array.isArray(config.components)) {
118
118
  config.components = config.components.filter(function (component, index) {
119
- return config.components.indexOf(component) == index;
119
+ return config.components.indexOf(component) === index;
120
120
  });
121
121
  }
122
122
 
@@ -34,16 +34,16 @@ let when = {
34
34
  },
35
35
 
36
36
  allowOverwrite: function (questions) {
37
- return questions.overwrite === undefined || questions.overwrite == 'yes';
37
+ return questions.overwrite === undefined || questions.overwrite === 'yes';
38
38
  },
39
39
  notAuto: function (questions) {
40
- return questions.install !== 'auto' && (questions.overwrite === undefined || questions.overwrite == 'yes');
40
+ return questions.install !== 'auto' && (questions.overwrite === undefined || questions.overwrite === 'yes');
41
41
  },
42
42
  custom: function (questions) {
43
- return questions.install === 'custom' && (questions.overwrite === undefined || questions.overwrite == 'yes');
43
+ return questions.install === 'custom' && (questions.overwrite === undefined || questions.overwrite === 'yes');
44
44
  },
45
45
  express: function (questions) {
46
- return questions.install === 'express' && (questions.overwrite === undefined || questions.overwrite == 'yes');
46
+ return questions.install === 'express' && (questions.overwrite === undefined || questions.overwrite === 'yes');
47
47
  },
48
48
 
49
49
  // customize
@@ -100,25 +100,25 @@ module.exports = {
100
100
  folder = pathArray[pathArray.length - 1],
101
101
  nextDirectory = path.join(directory, path.sep, '..')
102
102
  ;
103
- if (folder == 'bower_components') {
103
+ if (folder === 'bower_components') {
104
104
  return {
105
105
  name: 'Bower',
106
106
  root: nextDirectory,
107
107
  };
108
108
  }
109
- if (folder == 'node_modules') {
109
+ if (folder === 'node_modules') {
110
110
  return {
111
111
  name: 'NPM',
112
112
  root: nextDirectory,
113
113
  };
114
114
  }
115
- if (folder == 'composer') {
115
+ if (folder === 'composer') {
116
116
  return {
117
117
  name: 'Composer',
118
118
  root: nextDirectory,
119
119
  };
120
120
  }
121
- if (path.resolve(directory) == path.resolve(nextDirectory)) {
121
+ if (path.resolve(directory) === path.resolve(nextDirectory)) {
122
122
  return false;
123
123
  }
124
124
 
@@ -27,7 +27,7 @@ try {
27
27
  }
28
28
 
29
29
  // looks for version in config or package.json (whichever is available)
30
- version = npmPackage && npmPackage.version !== undefined && npmPackage.name == 'fomantic-ui'
30
+ version = npmPackage && npmPackage.version !== undefined && npmPackage.name === 'fomantic-ui'
31
31
  ? npmPackage.version
32
32
  : config.version;
33
33
 
@@ -115,13 +115,13 @@ module.exports = {
115
115
  element
116
116
  ;
117
117
  if (error && error.filename && /theme.less/.test(error.filename)) {
118
- if (error.line == 9) {
118
+ if (error.line === 9) {
119
119
  element = regExp.variable.exec(error.message)[1];
120
120
  if (element) {
121
121
  console.error('Missing theme.config value for', element);
122
122
  }
123
123
  console.error('Most likely new UI was added in an update. You will need to add missing elements from theme.config.example');
124
- } else if (error.line == 84) {
124
+ } else if (error.line === 84) {
125
125
  element = regExp.element.exec(error.message)[1];
126
126
  theme = regExp.theme.exec(error.message)[1];
127
127
  console.error(theme + ' is not an available theme for ' + element);
@@ -24,7 +24,7 @@ function startsWith(str, prefix) {
24
24
  function inArray(needle, haystack) {
25
25
  let length = haystack.length;
26
26
  for (let i = 0; i < length; i++) {
27
- if (haystack[i] == needle) {
27
+ if (haystack[i] === needle) {
28
28
  return true;
29
29
  }
30
30
  }