fomantic-ui 2.9.1-beta.3 → 2.9.1-beta.30

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 (540) hide show
  1. package/.eslint/eqeqeq-rule.js +18 -0
  2. package/.eslint/index.js +26 -0
  3. package/.eslint/no-extra-parens-rule.js +17 -0
  4. package/.eslint/package.json +11 -0
  5. package/.eslintrc.js +124 -0
  6. package/.github/workflows/ci.yml +37 -4
  7. package/.github/workflows/nightly.yml +1 -1
  8. package/.github/workflows/release.yml +1 -1
  9. package/.prettierrc.js +12 -0
  10. package/.stylelintrc.js +48 -0
  11. package/README.md +1 -1
  12. package/dist/components/accordion.css +35 -53
  13. package/dist/components/accordion.js +568 -595
  14. package/dist/components/accordion.min.css +2 -2
  15. package/dist/components/accordion.min.js +2 -2
  16. package/dist/components/ad.css +34 -45
  17. package/dist/components/ad.min.css +2 -2
  18. package/dist/components/api.js +1157 -1179
  19. package/dist/components/api.min.js +2 -2
  20. package/dist/components/breadcrumb.css +5 -5
  21. package/dist/components/breadcrumb.min.css +2 -2
  22. package/dist/components/button.css +709 -1121
  23. package/dist/components/button.min.css +2 -2
  24. package/dist/components/calendar.css +24 -27
  25. package/dist/components/calendar.js +1934 -1809
  26. package/dist/components/calendar.min.css +2 -2
  27. package/dist/components/calendar.min.js +2 -2
  28. package/dist/components/card.css +219 -365
  29. package/dist/components/card.min.css +2 -2
  30. package/dist/components/checkbox.css +119 -187
  31. package/dist/components/checkbox.js +842 -841
  32. package/dist/components/checkbox.min.css +2 -2
  33. package/dist/components/checkbox.min.js +2 -2
  34. package/dist/components/comment.css +41 -59
  35. package/dist/components/comment.min.css +2 -2
  36. package/dist/components/container.css +7 -6
  37. package/dist/components/container.min.css +2 -2
  38. package/dist/components/dimmer.css +53 -172
  39. package/dist/components/dimmer.js +706 -737
  40. package/dist/components/dimmer.min.css +2 -2
  41. package/dist/components/dimmer.min.js +2 -2
  42. package/dist/components/divider.css +43 -61
  43. package/dist/components/divider.min.css +2 -2
  44. package/dist/components/dropdown.css +252 -386
  45. package/dist/components/dropdown.js +4179 -4236
  46. package/dist/components/dropdown.min.css +2 -2
  47. package/dist/components/dropdown.min.js +2 -2
  48. package/dist/components/embed.css +18 -29
  49. package/dist/components/embed.js +645 -675
  50. package/dist/components/embed.min.css +2 -2
  51. package/dist/components/embed.min.js +2 -2
  52. package/dist/components/emoji.css +9 -9
  53. package/dist/components/emoji.min.css +1 -1
  54. package/dist/components/feed.css +35 -57
  55. package/dist/components/feed.min.css +2 -2
  56. package/dist/components/flag.css +6 -4
  57. package/dist/components/flag.min.css +2 -2
  58. package/dist/components/flyout.css +86 -141
  59. package/dist/components/flyout.js +1457 -1465
  60. package/dist/components/flyout.min.css +2 -2
  61. package/dist/components/flyout.min.js +2 -2
  62. package/dist/components/form.css +244 -339
  63. package/dist/components/form.js +2020 -2004
  64. package/dist/components/form.min.css +2 -2
  65. package/dist/components/form.min.js +2 -2
  66. package/dist/components/grid.css +172 -319
  67. package/dist/components/grid.min.css +2 -2
  68. package/dist/components/header.css +118 -142
  69. package/dist/components/header.min.css +2 -2
  70. package/dist/components/icon.css +660 -718
  71. package/dist/components/icon.min.css +2 -2
  72. package/dist/components/image.css +39 -63
  73. package/dist/components/image.min.css +2 -2
  74. package/dist/components/input.css +356 -274
  75. package/dist/components/input.min.css +2 -2
  76. package/dist/components/item.css +84 -131
  77. package/dist/components/item.min.css +2 -2
  78. package/dist/components/label.css +359 -410
  79. package/dist/components/label.min.css +2 -2
  80. package/dist/components/list.css +49 -70
  81. package/dist/components/list.min.css +2 -2
  82. package/dist/components/loader.css +67 -155
  83. package/dist/components/loader.min.css +2 -2
  84. package/dist/components/menu.css +269 -431
  85. package/dist/components/menu.min.css +1 -1
  86. package/dist/components/message.css +125 -197
  87. package/dist/components/message.min.css +2 -2
  88. package/dist/components/modal.css +119 -154
  89. package/dist/components/modal.js +1488 -1486
  90. package/dist/components/modal.min.css +2 -2
  91. package/dist/components/modal.min.js +2 -2
  92. package/dist/components/nag.css +53 -63
  93. package/dist/components/nag.js +520 -526
  94. package/dist/components/nag.min.css +2 -2
  95. package/dist/components/nag.min.js +2 -2
  96. package/dist/components/placeholder.css +22 -42
  97. package/dist/components/placeholder.min.css +2 -2
  98. package/dist/components/popup.css +423 -201
  99. package/dist/components/popup.js +1454 -1456
  100. package/dist/components/popup.min.css +2 -2
  101. package/dist/components/popup.min.js +2 -2
  102. package/dist/components/progress.css +106 -211
  103. package/dist/components/progress.js +969 -997
  104. package/dist/components/progress.min.css +2 -2
  105. package/dist/components/progress.min.js +2 -2
  106. package/dist/components/rail.css +15 -20
  107. package/dist/components/rail.min.css +1 -1
  108. package/dist/components/rating.css +80 -121
  109. package/dist/components/rating.js +505 -523
  110. package/dist/components/rating.min.css +2 -2
  111. package/dist/components/rating.min.js +2 -2
  112. package/dist/components/reset.css +8 -13
  113. package/dist/components/reset.min.css +2 -2
  114. package/dist/components/reveal.css +44 -83
  115. package/dist/components/reveal.min.css +2 -2
  116. package/dist/components/search.css +69 -98
  117. package/dist/components/search.js +1493 -1534
  118. package/dist/components/search.min.css +2 -2
  119. package/dist/components/search.min.js +2 -2
  120. package/dist/components/segment.css +148 -224
  121. package/dist/components/segment.min.css +2 -2
  122. package/dist/components/shape.css +14 -30
  123. package/dist/components/shape.js +781 -810
  124. package/dist/components/shape.min.css +2 -2
  125. package/dist/components/shape.min.js +2 -2
  126. package/dist/components/sidebar.css +103 -206
  127. package/dist/components/sidebar.js +1061 -1099
  128. package/dist/components/sidebar.min.css +2 -2
  129. package/dist/components/sidebar.min.js +2 -2
  130. package/dist/components/site.css +28 -41
  131. package/dist/components/site.js +436 -476
  132. package/dist/components/site.min.css +2 -2
  133. package/dist/components/site.min.js +2 -2
  134. package/dist/components/slider.css +93 -121
  135. package/dist/components/slider.js +1310 -1311
  136. package/dist/components/slider.min.css +1 -1
  137. package/dist/components/slider.min.js +2 -2
  138. package/dist/components/state.js +639 -657
  139. package/dist/components/state.min.js +2 -2
  140. package/dist/components/statistic.css +75 -116
  141. package/dist/components/statistic.min.css +2 -2
  142. package/dist/components/step.css +77 -150
  143. package/dist/components/step.min.css +2 -2
  144. package/dist/components/sticky.css +1 -5
  145. package/dist/components/sticky.js +848 -901
  146. package/dist/components/sticky.min.css +2 -2
  147. package/dist/components/sticky.min.js +2 -2
  148. package/dist/components/tab.css +10 -14
  149. package/dist/components/tab.js +922 -965
  150. package/dist/components/tab.min.css +2 -2
  151. package/dist/components/tab.min.js +2 -2
  152. package/dist/components/table.css +547 -774
  153. package/dist/components/table.min.css +2 -2
  154. package/dist/components/text.css +32 -32
  155. package/dist/components/text.min.css +1 -1
  156. package/dist/components/toast.css +69 -147
  157. package/dist/components/toast.js +910 -884
  158. package/dist/components/toast.min.css +2 -2
  159. package/dist/components/toast.min.js +2 -2
  160. package/dist/components/transition.css +369 -1280
  161. package/dist/components/transition.js +1047 -1077
  162. package/dist/components/transition.min.css +2 -2
  163. package/dist/components/transition.min.js +2 -2
  164. package/dist/components/visibility.js +1213 -1245
  165. package/dist/components/visibility.min.js +2 -2
  166. package/dist/semantic.css +5637 -8398
  167. package/dist/semantic.js +29021 -29405
  168. package/dist/semantic.min.css +2 -2
  169. package/dist/semantic.min.js +2 -2
  170. package/dist/themes/basic/assets/fonts/icons.woff2 +0 -0
  171. package/dist/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  172. package/dist/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  173. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  174. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  175. package/dist/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  176. package/dist/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  177. package/dist/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  178. package/dist/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  179. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  180. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  181. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  182. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  183. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  184. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  185. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  186. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  187. package/dist/themes/github/assets/fonts/octicons.woff2 +0 -0
  188. package/examples/.eslintrc.js +6 -0
  189. package/examples/assets/show-examples.js +13 -13
  190. package/examples/components/sticky-context.html +1 -1
  191. package/examples/fixed.html +2 -2
  192. package/examples/grid.html +4 -4
  193. package/examples/login.html +1 -1
  194. package/examples/responsive.html +1 -1
  195. package/examples/sticky.html +3 -3
  196. package/gulpfile.js +10 -11
  197. package/package.json +18 -11
  198. package/scripts/nightly-version.js +83 -75
  199. package/src/_site/collections/menu.overrides +1 -1
  200. package/src/_site/elements/flag.variables +2 -2
  201. package/src/_site/globals/site.variables +1 -1
  202. package/src/_site/modules/embed.variables +3 -0
  203. package/src/definitions/behaviors/api.js +1158 -1180
  204. package/src/definitions/behaviors/form.js +2019 -2003
  205. package/src/definitions/behaviors/state.js +645 -663
  206. package/src/definitions/behaviors/visibility.js +1212 -1244
  207. package/src/definitions/collections/breadcrumb.less +43 -47
  208. package/src/definitions/collections/form.less +866 -884
  209. package/src/definitions/collections/grid.less +1680 -1699
  210. package/src/definitions/collections/menu.less +1521 -1544
  211. package/src/definitions/collections/message.less +294 -298
  212. package/src/definitions/collections/table.less +1657 -1661
  213. package/src/definitions/elements/button.less +1714 -1756
  214. package/src/definitions/elements/container.less +211 -211
  215. package/src/definitions/elements/divider.less +198 -211
  216. package/src/definitions/elements/emoji.less +41 -48
  217. package/src/definitions/elements/flag.less +46 -48
  218. package/src/definitions/elements/header.less +351 -359
  219. package/src/definitions/elements/icon.less +541 -484
  220. package/src/definitions/elements/image.less +216 -227
  221. package/src/definitions/elements/input.less +692 -698
  222. package/src/definitions/elements/label.less +784 -806
  223. package/src/definitions/elements/list.less +810 -814
  224. package/src/definitions/elements/loader.less +273 -268
  225. package/src/definitions/elements/placeholder.less +173 -170
  226. package/src/definitions/elements/rail.less +93 -93
  227. package/src/definitions/elements/reveal.less +192 -198
  228. package/src/definitions/elements/segment.less +742 -749
  229. package/src/definitions/elements/step.less +423 -437
  230. package/src/definitions/elements/text.less +34 -36
  231. package/src/definitions/globals/reset.less +11 -8
  232. package/src/definitions/globals/site.js +435 -475
  233. package/src/definitions/globals/site.less +108 -110
  234. package/src/definitions/modules/accordion.js +567 -594
  235. package/src/definitions/modules/accordion.less +244 -248
  236. package/src/definitions/modules/calendar.js +1933 -1808
  237. package/src/definitions/modules/calendar.less +100 -97
  238. package/src/definitions/modules/checkbox.js +841 -840
  239. package/src/definitions/modules/checkbox.less +531 -552
  240. package/src/definitions/modules/dimmer.js +705 -736
  241. package/src/definitions/modules/dimmer.less +294 -305
  242. package/src/definitions/modules/dropdown.js +4178 -4235
  243. package/src/definitions/modules/dropdown.less +1568 -1598
  244. package/src/definitions/modules/embed.js +644 -674
  245. package/src/definitions/modules/embed.less +82 -84
  246. package/src/definitions/modules/flyout.js +1456 -1464
  247. package/src/definitions/modules/flyout.less +445 -456
  248. package/src/definitions/modules/modal.js +1487 -1485
  249. package/src/definitions/modules/modal.less +458 -467
  250. package/src/definitions/modules/nag.js +519 -525
  251. package/src/definitions/modules/nag.less +136 -149
  252. package/src/definitions/modules/popup.js +1453 -1455
  253. package/src/definitions/modules/popup.less +737 -692
  254. package/src/definitions/modules/progress.js +968 -996
  255. package/src/definitions/modules/progress.less +523 -499
  256. package/src/definitions/modules/rating.js +504 -522
  257. package/src/definitions/modules/rating.less +98 -103
  258. package/src/definitions/modules/search.js +1492 -1533
  259. package/src/definitions/modules/search.less +374 -394
  260. package/src/definitions/modules/shape.js +780 -809
  261. package/src/definitions/modules/shape.less +70 -79
  262. package/src/definitions/modules/sidebar.js +1060 -1098
  263. package/src/definitions/modules/sidebar.less +463 -476
  264. package/src/definitions/modules/slider.js +1309 -1310
  265. package/src/definitions/modules/slider.less +309 -310
  266. package/src/definitions/modules/sticky.js +864 -917
  267. package/src/definitions/modules/sticky.less +17 -25
  268. package/src/definitions/modules/tab.js +921 -964
  269. package/src/definitions/modules/tab.less +48 -54
  270. package/src/definitions/modules/toast.js +909 -883
  271. package/src/definitions/modules/toast.less +589 -589
  272. package/src/definitions/modules/transition.js +1046 -1076
  273. package/src/definitions/modules/transition.less +65 -31
  274. package/src/definitions/views/ad.less +207 -208
  275. package/src/definitions/views/card.less +955 -973
  276. package/src/definitions/views/comment.less +192 -200
  277. package/src/definitions/views/feed.less +222 -226
  278. package/src/definitions/views/item.less +437 -448
  279. package/src/definitions/views/statistic.less +273 -279
  280. package/src/semantic.less +8 -6
  281. package/src/theme.config.example +53 -53
  282. package/src/theme.less +30 -33
  283. package/src/themes/amazon/elements/button.overrides +23 -24
  284. package/src/themes/amazon/elements/button.variables +18 -23
  285. package/src/themes/amazon/globals/site.variables +16 -17
  286. package/src/themes/basic/assets/fonts/icons.woff2 +0 -0
  287. package/src/themes/basic/collections/table.overrides +0 -1
  288. package/src/themes/basic/collections/table.variables +3 -3
  289. package/src/themes/basic/elements/button.overrides +0 -1
  290. package/src/themes/basic/elements/button.variables +9 -9
  291. package/src/themes/basic/elements/icon.overrides +9 -169
  292. package/src/themes/basic/elements/icon.variables +161 -18
  293. package/src/themes/basic/elements/step.overrides +2 -2
  294. package/src/themes/basic/elements/step.variables +2 -2
  295. package/src/themes/basic/globals/reset.overrides +1 -1
  296. package/src/themes/basic/globals/reset.variables +1 -1
  297. package/src/themes/basic/modules/progress.variables +2 -2
  298. package/src/themes/basic/views/card.overrides +0 -1
  299. package/src/themes/basic/views/card.variables +6 -6
  300. package/src/themes/bookish/elements/header.overrides +4 -4
  301. package/src/themes/bookish/elements/header.variables +5 -5
  302. package/src/themes/bootstrap3/elements/button.overrides +3 -0
  303. package/src/themes/bootstrap3/elements/button.variables +20 -25
  304. package/src/themes/chubby/collections/form.overrides +9 -9
  305. package/src/themes/chubby/collections/form.variables +3 -3
  306. package/src/themes/chubby/collections/menu.overrides +3 -0
  307. package/src/themes/chubby/collections/menu.variables +3 -3
  308. package/src/themes/chubby/elements/button.overrides +8 -10
  309. package/src/themes/chubby/elements/button.variables +10 -10
  310. package/src/themes/chubby/elements/header.overrides +1 -1
  311. package/src/themes/chubby/elements/header.variables +4 -4
  312. package/src/themes/chubby/modules/accordion.overrides +2 -2
  313. package/src/themes/chubby/modules/accordion.variables +4 -4
  314. package/src/themes/chubby/views/comment.overrides +5 -5
  315. package/src/themes/chubby/views/comment.variables +11 -11
  316. package/src/themes/classic/collections/table.variables +3 -3
  317. package/src/themes/classic/elements/button.variables +36 -43
  318. package/src/themes/classic/elements/header.variables +4 -4
  319. package/src/themes/classic/modules/progress.variables +3 -3
  320. package/src/themes/classic/views/card.overrides +25 -27
  321. package/src/themes/classic/views/card.variables +7 -7
  322. package/src/themes/colored/modules/checkbox.overrides +3 -0
  323. package/src/themes/colored/modules/checkbox.variables +1 -3
  324. package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  325. package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  326. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  327. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  328. package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  329. package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  330. package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  331. package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  332. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  333. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  334. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  335. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  336. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  337. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  338. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  339. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  340. package/src/themes/default/collections/breadcrumb.variables +4 -4
  341. package/src/themes/default/collections/form.variables +15 -16
  342. package/src/themes/default/collections/grid.overrides +0 -1
  343. package/src/themes/default/collections/grid.variables +14 -16
  344. package/src/themes/default/collections/menu.variables +31 -45
  345. package/src/themes/default/collections/message.variables +84 -123
  346. package/src/themes/default/collections/table.overrides +3 -0
  347. package/src/themes/default/collections/table.variables +30 -34
  348. package/src/themes/default/elements/button.variables +45 -52
  349. package/src/themes/default/elements/container.variables +8 -16
  350. package/src/themes/default/elements/divider.overrides +8 -9
  351. package/src/themes/default/elements/divider.variables +5 -6
  352. package/src/themes/default/elements/emoji.overrides +0 -1
  353. package/src/themes/default/elements/emoji.variables +3555 -3555
  354. package/src/themes/default/elements/flag.variables +1594 -1594
  355. package/src/themes/default/elements/header.overrides +0 -1
  356. package/src/themes/default/elements/header.variables +21 -21
  357. package/src/themes/default/elements/icon.variables +2023 -2009
  358. package/src/themes/default/elements/image.variables +6 -7
  359. package/src/themes/default/elements/input.variables +11 -12
  360. package/src/themes/default/elements/label.variables +25 -26
  361. package/src/themes/default/elements/list.variables +17 -21
  362. package/src/themes/default/elements/loader.variables +16 -17
  363. package/src/themes/default/elements/placeholder.variables +12 -9
  364. package/src/themes/default/elements/rail.variables +4 -5
  365. package/src/themes/default/elements/reveal.variables +1 -1
  366. package/src/themes/default/elements/segment.variables +24 -36
  367. package/src/themes/default/elements/step.overrides +4 -4
  368. package/src/themes/default/elements/step.variables +19 -22
  369. package/src/themes/default/elements/text.variables +2 -3
  370. package/src/themes/default/globals/colors.less +588 -588
  371. package/src/themes/default/globals/reset.overrides +63 -59
  372. package/src/themes/default/globals/reset.variables +1 -1
  373. package/src/themes/default/globals/site.variables +1075 -1123
  374. package/src/themes/default/globals/variation.variables +13 -4
  375. package/src/themes/default/modules/accordion.overrides +11 -11
  376. package/src/themes/default/modules/accordion.variables +15 -20
  377. package/src/themes/default/modules/calendar.variables +2 -0
  378. package/src/themes/default/modules/chatroom.variables +1 -1
  379. package/src/themes/default/modules/checkbox.overrides +8 -9
  380. package/src/themes/default/modules/checkbox.variables +24 -33
  381. package/src/themes/default/modules/dimmer.variables +14 -17
  382. package/src/themes/default/modules/dropdown.overrides +17 -17
  383. package/src/themes/default/modules/dropdown.variables +29 -31
  384. package/src/themes/default/modules/embed.variables +9 -13
  385. package/src/themes/default/modules/flyout.variables +8 -8
  386. package/src/themes/default/modules/modal.variables +64 -67
  387. package/src/themes/default/modules/nag.variables +11 -14
  388. package/src/themes/default/modules/popup.variables +14 -13
  389. package/src/themes/default/modules/progress.variables +17 -19
  390. package/src/themes/default/modules/rating.variables +10 -12
  391. package/src/themes/default/modules/search.variables +12 -17
  392. package/src/themes/default/modules/shape.variables +7 -8
  393. package/src/themes/default/modules/sidebar.variables +4 -4
  394. package/src/themes/default/modules/slider.variables +55 -54
  395. package/src/themes/default/modules/sticky.variables +1 -1
  396. package/src/themes/default/modules/toast.variables +8 -8
  397. package/src/themes/default/modules/transition.overrides +936 -915
  398. package/src/themes/default/modules/transition.variables +8 -1
  399. package/src/themes/default/views/ad.variables +1 -1
  400. package/src/themes/default/views/card.variables +33 -45
  401. package/src/themes/default/views/comment.variables +7 -9
  402. package/src/themes/default/views/feed.variables +10 -10
  403. package/src/themes/default/views/item.variables +20 -23
  404. package/src/themes/default/views/statistic.variables +8 -8
  405. package/src/themes/duo/elements/loader.variables +1 -1
  406. package/src/themes/famfamfam/elements/flag.overrides +263 -268
  407. package/src/themes/famfamfam/elements/flag.variables +4 -4
  408. package/src/themes/fixed-width/collections/grid.variables +4 -4
  409. package/src/themes/fixed-width/modules/modal.variables +11 -13
  410. package/src/themes/flat/collections/form.overrides +9 -9
  411. package/src/themes/flat/collections/form.variables +16 -17
  412. package/src/themes/flat/globals/site.variables +69 -74
  413. package/src/themes/github/assets/fonts/octicons.woff2 +0 -0
  414. package/src/themes/github/collections/breadcrumb.variables +0 -1
  415. package/src/themes/github/collections/form.overrides +7 -8
  416. package/src/themes/github/collections/form.variables +16 -18
  417. package/src/themes/github/collections/grid.variables +1 -2
  418. package/src/themes/github/collections/menu.overrides +2 -2
  419. package/src/themes/github/collections/menu.variables +24 -26
  420. package/src/themes/github/collections/message.overrides +3 -3
  421. package/src/themes/github/collections/message.variables +12 -14
  422. package/src/themes/github/collections/table.variables +2 -2
  423. package/src/themes/github/elements/button.overrides +0 -1
  424. package/src/themes/github/elements/button.variables +26 -30
  425. package/src/themes/github/elements/header.variables +2 -2
  426. package/src/themes/github/elements/icon.overrides +3 -208
  427. package/src/themes/github/elements/icon.variables +234 -19
  428. package/src/themes/github/elements/image.variables +1 -1
  429. package/src/themes/github/elements/input.overrides +16 -16
  430. package/src/themes/github/elements/input.variables +4 -5
  431. package/src/themes/github/elements/label.overrides +3 -3
  432. package/src/themes/github/elements/label.variables +0 -1
  433. package/src/themes/github/elements/segment.variables +9 -10
  434. package/src/themes/github/elements/step.overrides +13 -13
  435. package/src/themes/github/elements/step.variables +6 -6
  436. package/src/themes/github/globals/site.variables +16 -16
  437. package/src/themes/github/modules/dropdown.overrides +18 -19
  438. package/src/themes/github/modules/dropdown.variables +8 -10
  439. package/src/themes/github/modules/popup.variables +0 -2
  440. package/src/themes/gmail/collections/message.overrides +3 -0
  441. package/src/themes/gmail/collections/message.variables +4 -4
  442. package/src/themes/instagram/views/card.overrides +4 -5
  443. package/src/themes/instagram/views/card.variables +7 -8
  444. package/src/themes/joypixels/elements/emoji.overrides +0 -2
  445. package/src/themes/joypixels/elements/emoji.variables +3554 -3554
  446. package/src/themes/material/collections/menu.overrides +1 -1
  447. package/src/themes/material/collections/menu.variables +4 -4
  448. package/src/themes/material/elements/button.overrides +7 -9
  449. package/src/themes/material/elements/button.variables +44 -46
  450. package/src/themes/material/elements/header.overrides +3 -3
  451. package/src/themes/material/elements/header.variables +8 -10
  452. package/src/themes/material/elements/icon.overrides +3 -934
  453. package/src/themes/material/elements/icon.variables +958 -18
  454. package/src/themes/material/globals/site.overrides +3 -0
  455. package/src/themes/material/globals/site.variables +83 -84
  456. package/src/themes/material/modules/dropdown.overrides +2 -2
  457. package/src/themes/material/modules/dropdown.variables +5 -5
  458. package/src/themes/material/modules/modal.overrides +3 -3
  459. package/src/themes/material/modules/modal.variables +4 -5
  460. package/src/themes/pulsar/elements/loader.overrides +23 -61
  461. package/src/themes/raised/elements/button.variables +8 -9
  462. package/src/themes/resetcss/globals/reset.overrides +115 -33
  463. package/src/themes/resetcss/globals/reset.variables +1 -1
  464. package/src/themes/round/elements/button.overrides +3 -0
  465. package/src/themes/round/elements/button.variables +33 -38
  466. package/src/themes/rtl/globals/site.overrides +1 -1
  467. package/src/themes/rtl/globals/site.variables +5 -6
  468. package/src/themes/striped/modules/progress.overrides +20 -16
  469. package/src/themes/systemfont/globals/reset.overrides +1 -1
  470. package/src/themes/systemfont/globals/site.variables +6 -6
  471. package/src/themes/timeline/views/feed.overrides +12 -12
  472. package/src/themes/timeline/views/feed.variables +8 -8
  473. package/src/themes/twitter/elements/button.overrides +4 -5
  474. package/src/themes/twitter/elements/button.variables +17 -18
  475. package/src/themes/twitter/elements/emoji.variables +3555 -3555
  476. package/tasks/.eslintrc.js +9 -0
  477. package/tasks/README.md +2 -4
  478. package/tasks/admin/components/create.js +268 -277
  479. package/tasks/admin/components/init.js +123 -130
  480. package/tasks/admin/components/update.js +151 -159
  481. package/tasks/admin/distributions/create.js +183 -189
  482. package/tasks/admin/distributions/init.js +125 -132
  483. package/tasks/admin/distributions/update.js +147 -154
  484. package/tasks/admin/publish.js +5 -9
  485. package/tasks/admin/register.js +37 -39
  486. package/tasks/admin/release.js +8 -12
  487. package/tasks/build/assets.js +43 -40
  488. package/tasks/build/css.js +230 -217
  489. package/tasks/build/javascript.js +120 -114
  490. package/tasks/build.js +11 -11
  491. package/tasks/check-install.js +15 -17
  492. package/tasks/clean.js +6 -6
  493. package/tasks/collections/README.md +3 -5
  494. package/tasks/collections/admin.js +34 -36
  495. package/tasks/collections/build.js +18 -20
  496. package/tasks/collections/docs.js +10 -12
  497. package/tasks/collections/install.js +10 -12
  498. package/tasks/collections/rtl.js +9 -11
  499. package/tasks/collections/various.js +9 -11
  500. package/tasks/config/admin/github.js +17 -19
  501. package/tasks/config/admin/oauth.example.js +4 -4
  502. package/tasks/config/admin/release.js +98 -98
  503. package/tasks/config/admin/templates/README.md +8 -8
  504. package/tasks/config/admin/templates/bower.json +3 -2
  505. package/tasks/config/admin/templates/component-package.js +9 -10
  506. package/tasks/config/admin/templates/css-package.js +19 -21
  507. package/tasks/config/admin/templates/less-package.js +12 -14
  508. package/tasks/config/admin/templates/package.json +5 -5
  509. package/tasks/config/defaults.js +116 -116
  510. package/tasks/config/docs.js +23 -23
  511. package/tasks/config/npm/gulpfile.js +13 -14
  512. package/tasks/config/project/config.js +124 -136
  513. package/tasks/config/project/install.js +722 -719
  514. package/tasks/config/project/release.js +34 -41
  515. package/tasks/config/tasks.js +168 -167
  516. package/tasks/config/user.js +28 -29
  517. package/tasks/docs/build.js +100 -96
  518. package/tasks/docs/metadata.js +91 -98
  519. package/tasks/docs/serve.js +84 -82
  520. package/tasks/install.js +373 -382
  521. package/tasks/rtl/build.js +2 -4
  522. package/tasks/rtl/watch.js +2 -4
  523. package/tasks/version.js +4 -6
  524. package/tasks/watch.js +29 -31
  525. package/test/.eslintrc.js +23 -0
  526. package/test/meteor/assets.js +11 -14
  527. package/test/meteor/fonts.js +12 -13
  528. package/test/modules/accordion.spec.js +6 -8
  529. package/test/modules/checkbox.spec.js +5 -7
  530. package/test/modules/dropdown.spec.js +5 -7
  531. package/test/modules/modal.spec.js +6 -8
  532. package/test/modules/module.spec.js +158 -178
  533. package/test/modules/popup.spec.js +5 -7
  534. package/test/modules/search.spec.js +5 -7
  535. package/test/modules/shape.spec.js +5 -7
  536. package/test/modules/sidebar.spec.js +5 -7
  537. package/test/modules/tab.spec.js +6 -8
  538. package/test/modules/transition.spec.js +5 -7
  539. package/test/modules/video.spec.js +5 -7
  540. package/.github/workflows/codeql.yml +0 -68
@@ -12,130 +12,129 @@
12
12
  Theme
13
13
  *******************************/
14
14
 
15
- @type : 'collection';
16
- @element : 'message';
15
+ @type: "collection";
16
+ @element: "message";
17
17
 
18
- @import (multiple) '../../theme.config';
18
+ @import (multiple) "../../theme.config";
19
19
 
20
20
  /*******************************
21
21
  Message
22
22
  *******************************/
23
23
 
24
24
  .ui.message {
25
- position: relative;
26
- min-height: 1em;
27
- margin: @verticalMargin 0;
28
- background: @background;
29
- padding: @padding;
30
- line-height: @lineHeight;
31
- color: @textColor;
32
- transition: @transition;
33
- border-radius: @borderRadius;
34
- box-shadow: @boxShadow;
25
+ position: relative;
26
+ min-height: 1em;
27
+ margin: @verticalMargin 0;
28
+ background: @background;
29
+ padding: @padding;
30
+ line-height: @lineHeight;
31
+ color: @textColor;
32
+ transition: @transition;
33
+ border-radius: @borderRadius;
34
+ box-shadow: @boxShadow;
35
35
  }
36
36
 
37
37
  .ui.message:first-child {
38
- margin-top: 0;
38
+ margin-top: 0;
39
39
  }
40
40
  .ui.message:last-child {
41
- margin-bottom: 0;
41
+ margin-bottom: 0;
42
42
  }
43
43
 
44
-
45
- /*--------------
44
+ /* --------------
46
45
  Content
47
- ---------------*/
46
+ --------------- */
48
47
 
49
48
  /* Header */
50
49
  .ui.message .header {
51
- display: @headerDisplay;
52
- font-family: @headerFont;
53
- font-weight: @headerFontWeight;
54
- margin: @headerMargin;
50
+ display: @headerDisplay;
51
+ font-family: @headerFont;
52
+ font-weight: @headerFontWeight;
53
+ margin: @headerMargin;
55
54
  }
56
55
 
57
56
  /* Default font size */
58
57
  .ui.message .header:not(.ui) {
59
- font-size: @headerFontSize;
58
+ font-size: @headerFontSize;
60
59
  }
61
60
 
62
61
  /* Paragraph */
63
62
  .ui.message p {
64
- opacity: @messageTextOpacity;
65
- margin: @messageParagraphMargin 0;
63
+ opacity: @messageTextOpacity;
64
+ margin: @messageParagraphMargin 0;
66
65
  }
67
66
  .ui.message p:first-child {
68
- margin-top: 0;
67
+ margin-top: 0;
69
68
  }
70
69
  .ui.message p:last-child {
71
- margin-bottom: 0;
70
+ margin-bottom: 0;
72
71
  }
73
72
  .ui.message .header + p {
74
- margin-top: @headerParagraphDistance;
73
+ margin-top: @headerParagraphDistance;
75
74
  }
76
75
 
77
76
  /* List */
78
77
  .ui.message .list:not(.ui) {
79
- text-align: left;
80
- padding: 0;
81
- opacity: @listOpacity;
82
- list-style-position: @listStylePosition;
83
- margin: @listMargin 0 0;
78
+ text-align: left;
79
+ padding: 0;
80
+ opacity: @listOpacity;
81
+ list-style-position: @listStylePosition;
82
+ margin: @listMargin 0 0;
84
83
  }
85
84
  .ui.message .list:not(.ui):first-child {
86
- margin-top: 0;
85
+ margin-top: 0;
87
86
  }
88
87
  .ui.message .list:not(.ui):last-child {
89
- margin-bottom: 0;
88
+ margin-bottom: 0;
90
89
  }
91
90
  .ui.message .list:not(.ui) li {
92
- position: relative;
93
- list-style-type: none;
94
- margin: 0 0 @listItemMargin @listItemIndent;
95
- padding: 0;
91
+ position: relative;
92
+ list-style-type: none;
93
+ margin: 0 0 @listItemMargin @listItemIndent;
94
+ padding: 0;
96
95
  }
97
96
  .ui.message .list:not(.ui) li::before {
98
- position: absolute;
99
- content: '';
100
- left: -1em;
101
- height: 100%;
102
- vertical-align: baseline;
97
+ position: absolute;
98
+ content: "";
99
+ left: -1em;
100
+ height: 100%;
101
+ vertical-align: baseline;
103
102
  }
104
103
  .ui.message .list:not(.ui) li:last-child {
105
- margin-bottom: 0;
104
+ margin-bottom: 0;
106
105
  }
107
106
 
108
107
  & when (@variationMessageIcon) {
109
- /* Icon */
110
- .ui.icon.message > .icons,
111
- .ui.icon.message > i.icon {
112
- margin-right: @iconDistance;
113
- &:last-child {
114
- margin: 0 0 0 @iconDistance;
108
+ /* Icon */
109
+ .ui.icon.message > .icons,
110
+ .ui.icon.message > i.icon {
111
+ margin-right: @iconDistance;
112
+ &:last-child {
113
+ margin: 0 0 0 @iconDistance;
114
+ }
115
115
  }
116
- }
117
116
  }
118
117
 
119
118
  /* Close Icon */
120
119
  .ui.message > .close.icon {
121
- cursor: pointer;
122
- position: absolute;
123
- margin: 0;
124
- top: @closeTopDistance;
125
- right: @closeRightDistance;
126
- opacity: @closeOpacity;
127
- transition: @closeTransition;
120
+ cursor: pointer;
121
+ position: absolute;
122
+ margin: 0;
123
+ top: @closeTopDistance;
124
+ right: @closeRightDistance;
125
+ opacity: @closeOpacity;
126
+ transition: @closeTransition;
128
127
  }
129
128
  .ui.message > .close.icon:hover {
130
- opacity: 1;
129
+ opacity: 1;
131
130
  }
132
131
 
133
132
  /* First / Last Element */
134
133
  .ui.message > :first-child {
135
- margin-top: 0;
134
+ margin-top: 0;
136
135
  }
137
136
  .ui.message > :last-child {
138
- margin-bottom: 0;
137
+ margin-bottom: 0;
139
138
  }
140
139
 
141
140
  /*******************************
@@ -143,307 +142,304 @@
143
142
  *******************************/
144
143
 
145
144
  .ui.dropdown .menu > .message {
146
- margin: 0 -@borderWidth;
145
+ margin: 0 -@borderWidth;
147
146
  }
148
147
 
149
148
  /*******************************
150
149
  States
151
150
  *******************************/
152
151
 
153
- /*--------------
152
+ /* --------------
154
153
  Visible
155
- ---------------*/
154
+ --------------- */
156
155
 
157
156
  .ui.visible.visible.visible.visible.message {
158
- display: block;
157
+ display: block;
159
158
  }
160
159
 
161
160
  .ui.icon.visible.visible.visible.visible.message {
162
- display: flex;
161
+ display: flex;
163
162
  }
164
163
 
165
- /*--------------
164
+ /* --------------
166
165
  Hidden
167
- ---------------*/
166
+ --------------- */
168
167
 
169
168
  .ui.hidden.hidden.hidden.hidden.message {
170
- display: none;
169
+ display: none;
171
170
  }
172
171
 
173
-
174
172
  /*******************************
175
173
  Variations
176
174
  *******************************/
177
175
  & when (@variationMessageCentered) {
178
- .ui.centered.message,
179
- .ui.center.aligned.message {
180
- text-align: center;
181
- justify-content: center;
182
- & > .content {
183
- flex: 0 0 auto;
176
+ .ui.centered.message,
177
+ .ui.center.aligned.message {
178
+ text-align: center;
179
+ justify-content: center;
180
+ & > .content {
181
+ flex: 0 0 auto;
182
+ }
184
183
  }
185
- }
186
184
  }
187
185
  & when (@variationMessageRightAligned) {
188
- .ui.right.aligned.message {
189
- text-align: right;
190
- }
186
+ .ui.right.aligned.message {
187
+ text-align: right;
188
+ }
191
189
  }
192
190
 
193
191
  & when (@variationMessageCompact) {
194
- /*--------------
195
- Compact
196
- ---------------*/
192
+ /* --------------
193
+ Compact
194
+ --------------- */
197
195
 
198
- .ui.compact.message {
199
- display: inline-block;
200
- }
201
- .ui.compact.icon.message {
202
- display: inline-flex;
203
- width: auto;
204
- }
196
+ .ui.compact.message {
197
+ display: inline-block;
198
+ }
199
+ .ui.compact.icon.message {
200
+ display: inline-flex;
201
+ width: auto;
202
+ }
205
203
  }
206
204
 
207
205
  & when (@variationMessageAttached) {
208
- /*--------------
209
- Attached
210
- ---------------*/
211
-
212
- .ui.attached.message {
213
- margin-bottom: @attachedYOffset;
214
- border-radius: @borderRadius @borderRadius 0 0;
215
- box-shadow: @attachedBoxShadow;
216
- margin-left: @attachedXOffset;
217
- margin-right: @attachedXOffset;
218
- }
219
- .ui.attached + .ui.attached.message:not(.top):not(.bottom) {
220
- margin-top: @attachedYOffset;
221
- border-radius: 0;
222
- }
223
- .ui.bottom.attached.message {
224
- margin-top: @attachedYOffset;
225
- border-radius: 0 0 @borderRadius @borderRadius;
226
- box-shadow: @attachedBottomBoxShadow;
227
- }
228
- .ui.bottom.attached.message:not(:last-child) {
229
- margin-bottom: @verticalMargin;
230
- }
231
- & when (@variationMessageIcon) {
232
- .ui.attached.icon.message {
233
- width: auto;
206
+ /* --------------
207
+ Attached
208
+ --------------- */
209
+
210
+ .ui.attached.message {
211
+ margin-bottom: @attachedYOffset;
212
+ border-radius: @borderRadius @borderRadius 0 0;
213
+ box-shadow: @attachedBoxShadow;
214
+ margin-left: @attachedXOffset;
215
+ margin-right: @attachedXOffset;
216
+ }
217
+ .ui.attached + .ui.attached.message:not(.top):not(.bottom) {
218
+ margin-top: @attachedYOffset;
219
+ border-radius: 0;
220
+ }
221
+ .ui.bottom.attached.message {
222
+ margin-top: @attachedYOffset;
223
+ border-radius: 0 0 @borderRadius @borderRadius;
224
+ box-shadow: @attachedBottomBoxShadow;
225
+ }
226
+ .ui.bottom.attached.message:not(:last-child) {
227
+ margin-bottom: @verticalMargin;
228
+ }
229
+ & when (@variationMessageIcon) {
230
+ .ui.attached.icon.message {
231
+ width: auto;
232
+ }
234
233
  }
235
- }
236
234
  }
237
235
 
238
236
  & when (@variationMessageIcon) {
239
- /*--------------
240
- Icon
241
- ---------------*/
242
-
243
- .ui.icon.message {
244
- display: flex;
245
- width: 100%;
246
- align-items: center;
247
- }
248
- .ui.icon.message > .icons,
249
- .ui.icon.message > i.icon:not(.close) {
250
- display: block;
251
- flex: 0 0 auto;
252
- width: auto;
253
- line-height: 1;
254
- vertical-align: @iconVerticalAlign;
255
- font-size: @iconSize;
256
- opacity: @iconOpacity;
257
- }
258
- .ui.icon.message > .content {
259
- display: block;
260
- flex: 1 1 auto;
261
- vertical-align: @iconVerticalAlign;
262
- }
237
+ /* --------------
238
+ Icon
239
+ --------------- */
240
+
241
+ .ui.icon.message {
242
+ display: flex;
243
+ width: 100%;
244
+ align-items: center;
245
+ }
246
+ .ui.icon.message > .icons,
247
+ .ui.icon.message > i.icon:not(.close) {
248
+ display: block;
249
+ flex: 0 0 auto;
250
+ width: auto;
251
+ line-height: 1;
252
+ vertical-align: @iconVerticalAlign;
253
+ font-size: @iconSize;
254
+ opacity: @iconOpacity;
255
+ }
256
+ .ui.icon.message > .content {
257
+ display: block;
258
+ flex: 1 1 auto;
259
+ vertical-align: @iconVerticalAlign;
260
+ }
263
261
 
264
- .ui.icon.message > .icons + .content,
265
- .ui.icon.message > i.icon:not(.close) + .content {
266
- padding-left: @iconContentDistance;
267
- }
268
- .ui.icon.message > i.circular {
269
- width: 1em;
270
- }
262
+ .ui.icon.message > .icons + .content,
263
+ .ui.icon.message > i.icon:not(.close) + .content {
264
+ padding-left: @iconContentDistance;
265
+ }
266
+ .ui.icon.message > i.circular {
267
+ width: 1em;
268
+ }
271
269
  }
272
270
 
273
271
  & when (@variationMessageFloating) {
274
- /*--------------
275
- Floating
276
- ---------------*/
272
+ /* --------------
273
+ Floating
274
+ --------------- */
277
275
 
278
- .ui.floating.message {
279
- box-shadow: @floatingBoxShadow;
280
- }
276
+ .ui.floating.message {
277
+ box-shadow: @floatingBoxShadow;
278
+ }
281
279
  }
282
280
 
283
-
284
- /*--------------
281
+ /* --------------
285
282
  Colors
286
- ---------------*/
283
+ --------------- */
287
284
 
288
- /*--------------
285
+ /* --------------
289
286
  Types
290
- ---------------*/
287
+ --------------- */
291
288
  & when not (@variationMessageConsequences = false) {
292
-
293
- @consequences: {
294
- @positive: {
295
- background : @positiveBackgroundColor;
296
- header : @positiveHeaderColor;
297
- boxShadow : @positiveBoxShadow;
298
- boxFloatShadow : @positiveBoxFloatingShadow;
299
- text : @positiveTextColor;
300
- invertedText : @positiveBorderColor;
301
- };
302
- @negative: {
303
- background : @negativeBackgroundColor;
304
- header : @negativeHeaderColor;
305
- boxShadow : @negativeBoxShadow;
306
- boxFloatShadow : @negativeBoxFloatingShadow;
307
- text : @negativeTextColor;
308
- invertedText : @negativeBorderColor;
309
- };
310
- @info: {
311
- background : @infoBackgroundColor;
312
- header : @infoHeaderColor;
313
- boxShadow : @infoBoxShadow;
314
- boxFloatShadow : @infoBoxFloatingShadow;
315
- text : @infoTextColor;
316
- invertedText : @formInfoLabelBackground;
317
- };
318
- @warning: {
319
- background : @warningBackgroundColor;
320
- header : @warningHeaderColor;
321
- boxShadow : @warningBoxShadow;
322
- boxFloatShadow : @warningBoxFloatingShadow;
323
- text : @warningTextColor;
324
- invertedText : @formWarningLabelBackground;
325
- };
326
- @error: {
327
- background : @errorBackgroundColor;
328
- header : @errorHeaderColor;
329
- boxShadow : @errorBoxShadow;
330
- boxFloatShadow : @errorBoxFloatingShadow;
331
- text : @errorTextColor;
332
- invertedText : @formErrorLabelBackground;
289
+ @consequences: {
290
+ @positive: {
291
+ background: @positiveBackgroundColor;
292
+ header: @positiveHeaderColor;
293
+ boxShadow: @positiveBoxShadow;
294
+ boxFloatShadow: @positiveBoxFloatingShadow;
295
+ text: @positiveTextColor;
296
+ invertedText: @positiveBorderColor;
297
+ };
298
+ @negative: {
299
+ background: @negativeBackgroundColor;
300
+ header: @negativeHeaderColor;
301
+ boxShadow: @negativeBoxShadow;
302
+ boxFloatShadow: @negativeBoxFloatingShadow;
303
+ text: @negativeTextColor;
304
+ invertedText: @negativeBorderColor;
305
+ };
306
+ @info: {
307
+ background: @infoBackgroundColor;
308
+ header: @infoHeaderColor;
309
+ boxShadow: @infoBoxShadow;
310
+ boxFloatShadow: @infoBoxFloatingShadow;
311
+ text: @infoTextColor;
312
+ invertedText: @formInfoLabelBackground;
313
+ };
314
+ @warning: {
315
+ background: @warningBackgroundColor;
316
+ header: @warningHeaderColor;
317
+ boxShadow: @warningBoxShadow;
318
+ boxFloatShadow: @warningBoxFloatingShadow;
319
+ text: @warningTextColor;
320
+ invertedText: @formWarningLabelBackground;
321
+ };
322
+ @error: {
323
+ background: @errorBackgroundColor;
324
+ header: @errorHeaderColor;
325
+ boxShadow: @errorBoxShadow;
326
+ boxFloatShadow: @errorBoxFloatingShadow;
327
+ text: @errorTextColor;
328
+ invertedText: @formErrorLabelBackground;
329
+ };
330
+ @success: {
331
+ background: @successBackgroundColor;
332
+ header: @successHeaderColor;
333
+ boxShadow: @successBoxShadow;
334
+ boxFloatShadow: @successBoxFloatingShadow;
335
+ text: @successTextColor;
336
+ invertedText: @formSuccessLabelBackground;
337
+ };
333
338
  };
334
- @success: {
335
- background : @successBackgroundColor;
336
- header : @successHeaderColor;
337
- boxShadow : @successBoxShadow;
338
- boxFloatShadow : @successBoxFloatingShadow;
339
- text : @successTextColor;
340
- invertedText : @formSuccessLabelBackground;
341
- };
342
- }
343
-
344
- /* Colors */
345
-
346
- each(@variationMessageConsequences, {
347
- @color: @value;
348
- @bg: @consequences[@@color][background];
349
- @hd: @consequences[@@color][header];
350
- @bs: @consequences[@@color][boxShadow];
351
- @bfs: @consequences[@@color][boxFloatShadow];
352
- @t: @consequences[@@color][text];
353
- @it: @consequences[@@color][invertedText];
354
-
355
- .ui.@{color}.message {
356
- background-color: @bg;
357
- color: @t;
358
- }
359
339
 
360
- .ui.@{color}.message,
361
- .ui.attached.@{color}.message {
362
- box-shadow: @bs;
363
- }
364
- & when (@variationMessageFloating) {
365
- .ui.floating.@{color}.message {
366
- box-shadow: @bfs;
367
- }
368
- }
369
- .ui.@{color}.message .header {
370
- color: @hd;
371
- }
372
- & when (@variationMessageInverted) {
373
- .ui.inverted.@{color}.message,
374
- .ui.inverted.@{color}.message .header {
375
- color: @it;
376
- }
377
- }
378
- })
340
+ /* Colors */
341
+
342
+ each(@variationMessageConsequences, {
343
+ @color: @value;
344
+ @bg: @consequences[@@color][background];
345
+ @hd: @consequences[@@color][header];
346
+ @bs: @consequences[@@color][boxShadow];
347
+ @bfs: @consequences[@@color][boxFloatShadow];
348
+ @t: @consequences[@@color][text];
349
+ @it: @consequences[@@color][invertedText];
350
+
351
+ .ui.@{color}.message {
352
+ background-color: @bg;
353
+ color: @t;
354
+ }
355
+
356
+ .ui.@{color}.message,
357
+ .ui.attached.@{color}.message {
358
+ box-shadow: @bs;
359
+ }
360
+ & when (@variationMessageFloating) {
361
+ .ui.floating.@{color}.message {
362
+ box-shadow: @bfs;
363
+ }
364
+ }
365
+ .ui.@{color}.message .header {
366
+ color: @hd;
367
+ }
368
+ & when (@variationMessageInverted) {
369
+ .ui.inverted.@{color}.message,
370
+ .ui.inverted.@{color}.message .header {
371
+ color: @it;
372
+ }
373
+ }
374
+ });
379
375
  }
380
376
  & when not (@variationMessageColors = false) {
381
- each(@variationMessageColors, {
382
- @color: @value;
383
- @bg: @colors[@@color][background];
384
- @hd: @colors[@@color][header];
385
- @bs: @colors[@@color][boxShadow];
386
- @bfs: @colors[@@color][boxFloatShadow];
387
- @t: @colors[@@color][text];
388
- @isVeryDark: @colors[@@color][isVeryDark];
389
-
390
- .ui.@{color}.message {
391
- & when not (@isVeryDark) {
392
- background-color: @bg;
393
- color: @t;
394
- }
395
- & when (@isVeryDark) {
396
- background-color: @black;
397
- color: @invertedTextColor;
398
- }
399
- }
377
+ each(@variationMessageColors, {
378
+ @color: @value;
379
+ @bg: @colors[@@color][background];
380
+ @hd: @colors[@@color][header];
381
+ @bs: @colors[@@color][boxShadow];
382
+ @bfs: @colors[@@color][boxFloatShadow];
383
+ @t: @colors[@@color][text];
384
+ @isVeryDark: @colors[@@color][isVeryDark];
385
+
386
+ .ui.@{color}.message {
387
+ & when not (@isVeryDark) {
388
+ background-color: @bg;
389
+ color: @t;
390
+ }
391
+ & when (@isVeryDark) {
392
+ background-color: @black;
393
+ color: @invertedTextColor;
394
+ }
395
+ }
400
396
 
401
- .ui.@{color}.message,
402
- .ui.attached.@{color}.message {
403
- & when not (@isVeryDark) {
404
- box-shadow: @bs;
405
- }
406
- }
407
- & when (@variationMessageFloating) {
408
- .ui.floating.@{color}.message {
409
- & when not (@isVeryDark) {
410
- box-shadow: @bfs;
397
+ .ui.@{color}.message,
398
+ .ui.attached.@{color}.message {
399
+ & when not (@isVeryDark) {
400
+ box-shadow: @bs;
401
+ }
402
+ }
403
+ & when (@variationMessageFloating) {
404
+ .ui.floating.@{color}.message {
405
+ & when not (@isVeryDark) {
406
+ box-shadow: @bfs;
407
+ }
408
+ }
411
409
  }
412
- }
413
- }
414
410
 
415
- .ui.@{color}.message .header {
416
- & when not (@isVeryDark) {
417
- color: @hd;
418
- }
419
- & when (@isVeryDark) {
420
- color: @invertedTextColor;
421
- }
422
- }
423
- })
411
+ .ui.@{color}.message .header {
412
+ & when not (@isVeryDark) {
413
+ color: @hd;
414
+ }
415
+ & when (@isVeryDark) {
416
+ color: @invertedTextColor;
417
+ }
418
+ }
419
+ });
424
420
  }
425
421
 
426
422
  & when (@variationMessageInverted) {
427
- .ui.inverted.message {
428
- background-color: @black;
429
- color: @invertedTextColor;
430
- }
423
+ .ui.inverted.message {
424
+ background-color: @black;
425
+ color: @invertedTextColor;
426
+ }
431
427
  }
432
428
 
433
- /*--------------
429
+ /* --------------
434
430
  Sizes
435
- ---------------*/
431
+ --------------- */
436
432
 
437
433
  .ui.message {
438
- font-size: @relativeMedium;
434
+ font-size: @relativeMedium;
439
435
  }
440
436
  & when not (@variationMessageSizes = false) {
441
- each(@variationMessageSizes, {
442
- @s: @{value}MessageSize;
443
- .ui.@{value}.message {
444
- font-size: @@s;
445
- }
446
- })
437
+ each(@variationMessageSizes, {
438
+ @s: @{value}MessageSize;
439
+ .ui.@{value}.message {
440
+ font-size: @@s;
441
+ }
442
+ });
447
443
  }
448
444
 
449
445
  .loadUIOverrides();