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
@@ -8,12 +8,11 @@
8
8
  *
9
9
  */
10
10
 
11
-
12
11
  /*******************************
13
12
  Theme
14
13
  *******************************/
15
14
 
16
- @type : 'module';
15
+ @type : 'module';
17
16
  @element : 'toast';
18
17
 
19
18
  @import (multiple) '../../theme.config';
@@ -25,417 +24,417 @@
25
24
  .ui.toast-container {
26
25
  position: fixed;
27
26
  z-index: 9999;
28
- &.absolute {
29
- position: absolute;
30
- }
31
- &.ui.attached when (@variationToastAttached) {
32
- width: 100%;
33
- left: 0;
34
- & .vertical.attached when (@variationToastVertical) {
35
- border-radius: 0;
36
- }
37
- &.ui.ui .attached.actions .button when (@variationToastActions) {
38
- border-radius: 0;
27
+ &.absolute {
28
+ position: absolute;
39
29
  }
40
- & .toast-box {
41
- margin: 0;
42
- width: 100%;
43
- border-radius: 0;
44
- & > .ui.toast,
45
- > .ui.message {
46
- margin-left: 0;
47
- }
48
- & when (@variationToastFloating) {
49
- &.floating,
50
- &.hoverfloating:hover {
51
- border: none;
52
- }
53
- }
54
- & > .vertical > .content when (@variationToastVertical) {
55
- flex: 1;
56
- }
57
- & > * {
30
+ &.ui.attached when (@variationToastAttached) {
58
31
  width: 100%;
59
- border-radius: 0;
60
- & > .vertical:not(.actions) when (@variationToastVertical) {
61
- flex: 1;
32
+ left: 0;
33
+ & .vertical.attached when (@variationToastVertical) {
34
+ border-radius: 0;
35
+ }
36
+ &.ui.ui .attached.actions .button when (@variationToastActions) {
37
+ border-radius: 0;
38
+ }
39
+ & .toast-box {
40
+ margin: 0;
41
+ width: 100%;
42
+ border-radius: 0;
43
+ & > .ui.toast,
44
+ > .ui.message {
45
+ margin-left: 0;
46
+ }
47
+ & when (@variationToastFloating) {
48
+ &.floating,
49
+ &.hoverfloating:hover {
50
+ border: none;
51
+ }
52
+ }
53
+ & > .vertical > .content when (@variationToastVertical) {
54
+ flex: 1;
55
+ }
56
+ & > * {
57
+ width: 100%;
58
+ border-radius: 0;
59
+ & > .vertical:not(.actions) when (@variationToastVertical) {
60
+ flex: 1;
61
+ }
62
+ }
63
+ & > .attached.actions when (@variationToastActions) {
64
+ margin-right: @toastLeftRightMargin;
65
+ }
66
+ }
67
+ &.top when (@variationToastTop) {
68
+ top: 0;
69
+ }
70
+ &.bottom when (@variationToastBottom) {
71
+ bottom: 0;
62
72
  }
63
- }
64
- & > .attached.actions when (@variationToastActions) {
65
- margin-right: @toastLeftRightMargin;
66
- }
67
73
  }
68
74
  &.top when (@variationToastTop) {
69
- top: 0;
75
+ &.right when (@variationToastRight) {
76
+ top: @toastContainerDistance;
77
+ right: @toastContainerDistance;
78
+ margin-left: @toastContainerDistance;
79
+ }
80
+ &.left when (@variationToastLeft) {
81
+ top: @toastContainerDistance;
82
+ left: @toastContainerDistance;
83
+ margin-right: @toastContainerDistance;
84
+ }
85
+ &.center when (@variationToastCenter) {
86
+ left: 50%;
87
+ transform: translate(-50%, 0);
88
+ top: @toastContainerDistance;
89
+ }
70
90
  }
71
91
  &.bottom when (@variationToastBottom) {
72
- bottom: 0;
73
- }
74
- }
75
- &.top when (@variationToastTop) {
76
- &.right when (@variationToastRight) {
77
- top: @toastContainerDistance;
78
- right: @toastContainerDistance;
79
- margin-left: @toastContainerDistance;
80
- }
81
- &.left when (@variationToastLeft) {
82
- top: @toastContainerDistance;
83
- left: @toastContainerDistance;
84
- margin-right: @toastContainerDistance;
85
- }
86
- &.center when (@variationToastCenter) {
87
- left: 50%;
88
- transform: translate(-50%, 0);
89
- top: @toastContainerDistance;
90
- }
91
- }
92
- &.bottom when (@variationToastBottom) {
93
- &.right when (@variationToastRight) {
94
- bottom: @toastContainerDistance;
95
- right: @toastContainerDistance;
96
- margin-left: @toastContainerDistance;
97
- }
98
- &.left when (@variationToastLeft) {
99
- bottom: @toastContainerDistance;
100
- left: @toastContainerDistance;
101
- margin-right: @toastContainerDistance;
102
- }
103
- &.center when (@variationToastCenter) {
104
- left: 50%;
105
- transform: translate(-50%, 0);
106
- bottom: @toastContainerDistance;
107
- }
108
- }
109
- &.centered when (@variationToastCentered) {
110
- transform: translate(-50%, -50%);
111
- top: 50%;
112
- left: 50%;
113
- }
114
- & .visible.toast-box,
115
- .animating.toast-box,
116
- .toast-box {
117
- display: table !important;
118
- }
119
- &.horizontal when (@variationToastHorizontal) {
120
- display: flex;
121
- flex-direction: row;
122
- & .toast-box {
123
- margin-right: @toastBoxMarginRight;
124
- }
125
- }
126
- & .toast-box {
127
- margin-bottom: @toastBoxMarginBottom;
128
- border-radius: @defaultBorderRadius;
129
- cursor: default;
130
- will-change: transform, opacity;
131
- &:hover {
132
- opacity: @toastOpacityOnHover;
133
- }
134
- &:not(.unclickable):hover {
135
- cursor: @toastCursorOnHover;
136
- }
137
- & when (@variationToastFloating) {
138
- &.floating,
139
- &.hoverfloating:hover {
140
- box-shadow: @floatingShadow;
141
- border: @toastBoxBorder;
142
- }
143
- }
144
- & when (@variationToastCompact) {
145
- &.compact,
146
- > .compact {
147
- width: @toastWidth;
148
- }
149
- }
150
- & > .ui.toast,
151
- > .ui.message {
152
- margin: @toastMargin;
153
- position: relative;
154
- }
155
- & > .attached.progress when (@variationToastProgress) {
156
- z-index:1;
157
- &.bottom {
158
- margin: @toastMarginProgress -@toastLeftRightMargin @toastMarginBottom;
159
- }
160
- &.top {
161
- margin: @toastMarginBottom -@toastLeftRightMargin @toastMarginProgress;
162
- }
163
- & .bar {
164
- min-width: 0;
165
- }
166
- &.info .bar.bar.bar {
167
- background: @toastInfoProgressColor;
168
- }
169
- &.warning .bar.bar.bar {
170
- background: @toastWarningProgressColor;
171
- }
172
- &.success .bar.bar.bar {
173
- background: @toastSuccessProgressColor;
174
- }
175
- &.error .bar.bar.bar {
176
- background: @toastErrorProgressColor;
177
- }
178
- &.neutral .bar.bar.bar {
179
- background: @toastNeutralProgressColor;
180
- }
181
- }
182
- & > .ui.message when (@variationToastMessage) {
183
- & > .close.icon when (@variationToastClose){
184
- top: @toastCloseTopDistance;
185
- right: @toastCloseRightDistance;
186
- }
187
- & > .actions:last-child when (@variationToastActions) {
188
- margin-bottom: @toastActionMargin;
189
- }
190
- &.icon when (@variationToastIcon) {
191
- align-items: inherit;
192
- & > :not(.icon):not(.actions) {
193
- padding-left: @toastIconMessageContentPadding;
92
+ &.right when (@variationToastRight) {
93
+ bottom: @toastContainerDistance;
94
+ right: @toastContainerDistance;
95
+ margin-left: @toastContainerDistance;
194
96
  }
195
- & > i.icon:not(.close) when (@variationToastIcon) {
196
- display: inline-block;
197
- position: absolute;
198
- width: @toastIconMessageWidth;
199
- top: 50%;
200
- transform: translateY(-50%);
201
- }
202
- &:not(.vertical) {
203
- &.actions > i.icon:not(.close) when (@variationToastActions) and (@variationToastIcon) {
204
- top: e(%("calc(50%% - %d)", @toastIconCenteredAdjustment));
205
- transform: none;
206
- }
207
- &.icon.icon.icon when (@variationToastIcon){
208
- display: block;
209
- }
97
+ &.left when (@variationToastLeft) {
98
+ bottom: @toastContainerDistance;
99
+ left: @toastContainerDistance;
100
+ margin-right: @toastContainerDistance;
101
+ }
102
+ &.center when (@variationToastCenter) {
103
+ left: 50%;
104
+ transform: translate(-50%, 0);
105
+ bottom: @toastContainerDistance;
210
106
  }
211
- }
212
107
  }
213
- & .ui.toast {
214
- & > .close.icon when (@variationToastClose){
215
- cursor: pointer;
216
- margin: 0;
217
- opacity: @toastCloseOpacity;
218
- transition: @toastCloseTransition;
108
+ &.centered when (@variationToastCentered) {
109
+ transform: translate(-50%, -50%);
110
+ top: 50%;
111
+ left: 50%;
112
+ }
113
+ & .visible.toast-box,
114
+ .animating.toast-box,
115
+ .toast-box {
116
+ display: table !important;
117
+ }
118
+ &.horizontal when (@variationToastHorizontal) {
119
+ display: flex;
120
+ flex-direction: row;
121
+ & .toast-box {
122
+ margin-right: @toastBoxMarginRight;
123
+ }
124
+ }
125
+ & .toast-box {
126
+ margin-bottom: @toastBoxMarginBottom;
127
+ border-radius: @defaultBorderRadius;
128
+ cursor: default;
129
+ will-change: transform, opacity;
219
130
  &:hover {
220
- opacity: 1;
221
- }
222
- }
223
- &.vertical > .close.icon when (@variationToastVertical) and (@variationToastClose) {
224
- margin-top: -@toastCloseTopDistance;
225
- margin-right: -@toastCloseTopDistance;
226
- }
227
- &:not(.vertical) > .close.icon when (@variationToastClose) {
228
- position: absolute;
229
- top: @toastCloseTopDistance;
230
- &:not(.left) {
231
- right: @toastCloseRightDistance;
131
+ opacity: @toastOpacityOnHover;
232
132
  }
233
- &.left {
234
- margin-left: -@toastCloseRightDistance;
133
+ &:not(.unclickable):hover {
134
+ cursor: @toastCursorOnHover;
235
135
  }
236
- }
237
- }
238
- & .ui.card when (@variationToastCard) {
239
- margin:0;
240
- &.attached:not(.vertical) when (@variationToastAttached) {
241
- &.bottom {
242
- border-top-left-radius: 0;
243
- border-top-right-radius: 0;
244
- &.horizontal {
245
- & > .image > img {
246
- border-top-left-radius: 0;
136
+ & when (@variationToastFloating) {
137
+ &.floating,
138
+ &.hoverfloating:hover {
139
+ box-shadow: @floatingShadow;
140
+ border: @toastBoxBorder;
247
141
  }
248
- & > .image:last-child > img {
249
- border-top-right-radius: 0;
142
+ }
143
+ & when (@variationToastCompact) {
144
+ &.compact,
145
+ > .compact {
146
+ width: @toastWidth;
250
147
  }
251
- }
252
148
  }
253
- &.top {
254
- border-bottom-left-radius: 0;
255
- border-bottom-right-radius: 0;
256
- &.horizontal {
257
- & > .image > img {
258
- border-bottom-left-radius: 0;
149
+ & > .ui.toast,
150
+ > .ui.message {
151
+ margin: @toastMargin;
152
+ position: relative;
153
+ }
154
+ & > .attached.progress when (@variationToastProgress) {
155
+ z-index: 1;
156
+ &.bottom {
157
+ margin: @toastMarginProgress -@toastLeftRightMargin @toastMarginBottom;
259
158
  }
260
- & > .image:last-child > img {
261
- border-bottom-right-radius: 0;
159
+ &.top {
160
+ margin: @toastMarginBottom -@toastLeftRightMargin @toastMarginProgress;
161
+ }
162
+ & .bar {
163
+ min-width: 0;
164
+ }
165
+ &.info .bar.bar.bar {
166
+ background: @toastInfoProgressColor;
167
+ }
168
+ &.warning .bar.bar.bar {
169
+ background: @toastWarningProgressColor;
170
+ }
171
+ &.success .bar.bar.bar {
172
+ background: @toastSuccessProgressColor;
173
+ }
174
+ &.error .bar.bar.bar {
175
+ background: @toastErrorProgressColor;
176
+ }
177
+ &.neutral .bar.bar.bar {
178
+ background: @toastNeutralProgressColor;
262
179
  }
263
- }
264
- }
265
- }
266
- &.horizontal.actions when (@variationToastActions) {
267
- & > .image > img {
268
- border-bottom-left-radius: 0;
269
180
  }
270
- & > .image:last-child > img {
271
- border-bottom-right-radius: 0;
181
+ & > .ui.message when (@variationToastMessage) {
182
+ & > .close.icon when (@variationToastClose) {
183
+ top: @toastCloseTopDistance;
184
+ right: @toastCloseRightDistance;
185
+ }
186
+ & > .actions:last-child when (@variationToastActions) {
187
+ margin-bottom: @toastActionMargin;
188
+ }
189
+ &.icon when (@variationToastIcon) {
190
+ align-items: inherit;
191
+ & > :not(.icon):not(.actions) {
192
+ padding-left: @toastIconMessageContentPadding;
193
+ }
194
+ & > i.icon:not(.close) when (@variationToastIcon) {
195
+ display: inline-block;
196
+ position: absolute;
197
+ width: @toastIconMessageWidth;
198
+ top: 50%;
199
+ transform: translateY(-50%);
200
+ }
201
+ &:not(.vertical) {
202
+ &.actions > i.icon:not(.close) when (@variationToastActions) and (@variationToastIcon) {
203
+ top: e(%("calc(50%% - %d)", @toastIconCenteredAdjustment));
204
+ transform: none;
205
+ }
206
+ &.icon.icon.icon when (@variationToastIcon) {
207
+ display: block;
208
+ }
209
+ }
210
+ }
272
211
  }
273
- }
274
- }
275
- & .progressing {
276
- animation-iteration-count: 1;
277
- animation-timing-function: linear;
278
- & when (@variationToastProgress) {
279
- &.up {
280
- animation-name: progressUp;
212
+ & .ui.toast {
213
+ & > .close.icon when (@variationToastClose) {
214
+ cursor: pointer;
215
+ margin: 0;
216
+ opacity: @toastCloseOpacity;
217
+ transition: @toastCloseTransition;
218
+ &:hover {
219
+ opacity: 1;
220
+ }
221
+ }
222
+ &.vertical > .close.icon when (@variationToastVertical) and (@variationToastClose) {
223
+ margin-top: -@toastCloseTopDistance;
224
+ margin-right: -@toastCloseTopDistance;
225
+ }
226
+ &:not(.vertical) > .close.icon when (@variationToastClose) {
227
+ position: absolute;
228
+ top: @toastCloseTopDistance;
229
+ &:not(.left) {
230
+ right: @toastCloseRightDistance;
231
+ }
232
+ &.left {
233
+ margin-left: -@toastCloseRightDistance;
234
+ }
235
+ }
281
236
  }
282
- &.down {
283
- animation-name: progressDown;
237
+ & .ui.card when (@variationToastCard) {
238
+ margin: 0;
239
+ &.attached:not(.vertical) when (@variationToastAttached) {
240
+ &.bottom {
241
+ border-top-left-radius: 0;
242
+ border-top-right-radius: 0;
243
+ &.horizontal {
244
+ & > .image > img {
245
+ border-top-left-radius: 0;
246
+ }
247
+ & > .image:last-child > img {
248
+ border-top-right-radius: 0;
249
+ }
250
+ }
251
+ }
252
+ &.top {
253
+ border-bottom-left-radius: 0;
254
+ border-bottom-right-radius: 0;
255
+ &.horizontal {
256
+ & > .image > img {
257
+ border-bottom-left-radius: 0;
258
+ }
259
+ & > .image:last-child > img {
260
+ border-bottom-right-radius: 0;
261
+ }
262
+ }
263
+ }
264
+ }
265
+ &.horizontal.actions when (@variationToastActions) {
266
+ & > .image > img {
267
+ border-bottom-left-radius: 0;
268
+ }
269
+ & > .image:last-child > img {
270
+ border-bottom-right-radius: 0;
271
+ }
272
+ }
284
273
  }
285
- }
286
- &.wait {
287
- animation-name: progressWait;
288
- }
289
- }
290
- &:hover .pausable.progressing {
291
- animation-play-state: paused;
292
- }
293
- & .ui.toast:not(.vertical) {
294
- display:block;
295
- }
296
- & :not(.comment) {
297
- &:not(.card) .actions when (@variationToastActions) {
298
- margin: @toastActionMarginTop @toastActionMargin @toastActionMargin @toastActionMargin;
299
- }
300
- & .actions when (@variationToastActions) {
301
- padding: @toastActionPadding @toastActionPadding @toastActionPaddingBottom @toastActionPadding;
302
- text-align: right;
303
- &.attached:not(.vertical) when (@variationToastAttached) {
304
- margin-right: @toastLeftRightMargin;
274
+ & .progressing {
275
+ animation-iteration-count: 1;
276
+ animation-timing-function: linear;
277
+ & when (@variationToastProgress) {
278
+ &.up {
279
+ animation-name: progressUp;
280
+ }
281
+ &.down {
282
+ animation-name: progressDown;
283
+ }
284
+ }
285
+ &.wait {
286
+ animation-name: progressWait;
287
+ }
305
288
  }
306
- &:not(.basic):not(.attached) {
307
- background: @toastActionBackground;
308
- border-top: @toastActionBorder;
289
+ &:hover .pausable.progressing {
290
+ animation-play-state: paused;
309
291
  }
310
- &.left {
311
- text-align: left;
292
+ & .ui.toast:not(.vertical) {
293
+ display: block;
312
294
  }
313
- }
314
- }
315
- & when (@variationToastVertical) {
316
- & .vertical.actions > .button,
317
- & > .vertical > .vertical.vertical,
318
- & > .vertical.vertical.vertical {
319
- display: flex;
320
- }
321
- }
322
- & :not(.comment) .vertical.actions when (@variationToastVertical) and (@variationToastActions) {
323
- flex-direction: column;
324
- & > .button {
325
- justify-content: center;
326
- }
327
- &.attached > .button when (@variationToastAttached) {
328
- align-items: center;
329
- }
330
- &:not(.attached) {
331
- border-top: 0;
332
- margin-top: -@toastActionPaddingBottom;
333
- margin-bottom: -@toastActionPaddingBottom;
334
- margin-left: @toastActionMarginLeft;
335
- justify-content: space-around;
336
- &:not(.basic) {
337
- border-left: @toastActionBorder;
338
- }
339
- & > .button:not(:last-child) {
340
- margin-bottom: @toastActionMarginBottom;
295
+ & :not(.comment) {
296
+ &:not(.card) .actions when (@variationToastActions) {
297
+ margin: @toastActionMarginTop @toastActionMargin @toastActionMargin @toastActionMargin;
298
+ }
299
+ & .actions when (@variationToastActions) {
300
+ padding: @toastActionPadding @toastActionPadding @toastActionPaddingBottom @toastActionPadding;
301
+ text-align: right;
302
+ &.attached:not(.vertical) when (@variationToastAttached) {
303
+ margin-right: @toastLeftRightMargin;
304
+ }
305
+ &:not(.basic):not(.attached) {
306
+ background: @toastActionBackground;
307
+ border-top: @toastActionBorder;
308
+ }
309
+ &.left {
310
+ text-align: left;
311
+ }
312
+ }
341
313
  }
342
- &.top {
343
- justify-content: flex-start;
314
+ & when (@variationToastVertical) {
315
+ & .vertical.actions > .button,
316
+ & > .vertical > .vertical.vertical,
317
+ & > .vertical.vertical.vertical {
318
+ display: flex;
319
+ }
344
320
  }
345
- &.bottom {
346
- justify-content: flex-end;
321
+ & :not(.comment) .vertical.actions when (@variationToastVertical) and (@variationToastActions) {
322
+ flex-direction: column;
323
+ & > .button {
324
+ justify-content: center;
325
+ }
326
+ &.attached > .button when (@variationToastAttached) {
327
+ align-items: center;
328
+ }
329
+ &:not(.attached) {
330
+ border-top: 0;
331
+ margin-top: -@toastActionPaddingBottom;
332
+ margin-bottom: -@toastActionPaddingBottom;
333
+ margin-left: @toastActionMarginLeft;
334
+ justify-content: space-around;
335
+ &:not(.basic) {
336
+ border-left: @toastActionBorder;
337
+ }
338
+ & > .button:not(:last-child) {
339
+ margin-bottom: @toastActionMarginBottom;
340
+ }
341
+ &.top {
342
+ justify-content: flex-start;
343
+ }
344
+ &.bottom {
345
+ justify-content: flex-end;
346
+ }
347
+ }
347
348
  }
348
- }
349
349
  }
350
- }
351
350
  }
352
351
 
353
352
  .ui.vertical.attached when (@variationToastVertical) and (@variationToastAttached) {
354
- &:not(.left) {
355
- &.card when (@variationToastCard) {
356
- & > .image > img {
357
- border-top-right-radius: 0;
358
- }
359
- &.horizontal > .image:last-child > img {
360
- border-top-right-radius: 0;
361
- border-bottom-right-radius: 0;
362
- }
363
- }
364
- &.card,
365
- &.toast {
366
- border-top-right-radius: 0;
367
- border-bottom-right-radius: 0;
368
- }
369
- &.actions when (@variationToastActions) {
370
- border-top-right-radius: @toastBorderRadius;
371
- border-bottom-right-radius: @toastBorderRadius;
372
- & .button:first-child,
373
- .button:last-child {
374
- border-top-left-radius: 0;
375
- border-bottom-left-radius: 0;
376
- }
377
- }
378
- &.message when (@variationToastMessage) {
379
- border-top-right-radius: 0;
380
- border-bottom-left-radius: @toastBorderRadius;
381
- }
382
- }
383
- &.left {
384
- &.card when (@variationToastCard) {
385
- & > .image > img {
386
- border-top-left-radius: 0;
387
- }
388
- &.horizontal > .image > img {
389
- border-top-left-radius: 0;
390
- border-bottom-left-radius: 0;
391
- }
392
- }
393
- &.card,
394
- &.toast {
395
- border-top-left-radius: 0;
396
- border-bottom-left-radius: 0;
397
- }
398
- &.actions when (@variationToastActions) {
399
- border-top-left-radius: @toastBorderRadius;
400
- border-bottom-left-radius: @toastBorderRadius;
401
- & .button:first-child,
402
- .button:last-child {
403
- border-top-right-radius: 0;
404
- border-bottom-right-radius: 0;
405
- }
406
- }
407
- &.message.message.message when (@variationToastMessage) {
408
- border-top-right-radius: @toastBorderRadius;
409
- border-bottom-right-radius: @toastBorderRadius;
410
- }
411
- }
353
+ &:not(.left) {
354
+ &.card when (@variationToastCard) {
355
+ & > .image > img {
356
+ border-top-right-radius: 0;
357
+ }
358
+ &.horizontal > .image:last-child > img {
359
+ border-top-right-radius: 0;
360
+ border-bottom-right-radius: 0;
361
+ }
362
+ }
363
+ &.card,
364
+ &.toast {
365
+ border-top-right-radius: 0;
366
+ border-bottom-right-radius: 0;
367
+ }
368
+ &.actions when (@variationToastActions) {
369
+ border-top-right-radius: @toastBorderRadius;
370
+ border-bottom-right-radius: @toastBorderRadius;
371
+ & .button:first-child,
372
+ .button:last-child {
373
+ border-top-left-radius: 0;
374
+ border-bottom-left-radius: 0;
375
+ }
376
+ }
377
+ &.message when (@variationToastMessage) {
378
+ border-top-right-radius: 0;
379
+ border-bottom-left-radius: @toastBorderRadius;
380
+ }
381
+ }
382
+ &.left {
383
+ &.card when (@variationToastCard) {
384
+ & > .image > img {
385
+ border-top-left-radius: 0;
386
+ }
387
+ &.horizontal > .image > img {
388
+ border-top-left-radius: 0;
389
+ border-bottom-left-radius: 0;
390
+ }
391
+ }
392
+ &.card,
393
+ &.toast {
394
+ border-top-left-radius: 0;
395
+ border-bottom-left-radius: 0;
396
+ }
397
+ &.actions when (@variationToastActions) {
398
+ border-top-left-radius: @toastBorderRadius;
399
+ border-bottom-left-radius: @toastBorderRadius;
400
+ & .button:first-child,
401
+ .button:last-child {
402
+ border-top-right-radius: 0;
403
+ border-bottom-right-radius: 0;
404
+ }
405
+ }
406
+ &.message.message.message when (@variationToastMessage) {
407
+ border-top-right-radius: @toastBorderRadius;
408
+ border-bottom-right-radius: @toastBorderRadius;
409
+ }
410
+ }
412
411
  }
413
412
 
414
413
  .ui.attached:not(.vertical) when (@variationToastAttached) {
415
- &:not(.top) {
416
- &.actions when (@variationToastActions) {
417
- border-bottom-left-radius: @toastBorderRadius;
418
- border-bottom-right-radius: @toastBorderRadius;
419
- & .button:first-child {
420
- border-bottom-left-radius: @toastBorderRadius;
421
- }
422
- & .button:last-child {
423
- border-bottom-right-radius: @toastBorderRadius;
424
- }
425
- }
426
- }
427
- &.top {
428
- &.actions when (@variationToastActions) {
429
- border-top-left-radius: @toastBorderRadius;
430
- border-top-right-radius: @toastBorderRadius;
431
- & .button:first-child {
432
- border-top-left-radius: @toastBorderRadius;
433
- }
434
- & .button:last-child {
435
- border-top-right-radius: @toastBorderRadius;
436
- }
437
- }
438
- }
414
+ &:not(.top) {
415
+ &.actions when (@variationToastActions) {
416
+ border-bottom-left-radius: @toastBorderRadius;
417
+ border-bottom-right-radius: @toastBorderRadius;
418
+ & .button:first-child {
419
+ border-bottom-left-radius: @toastBorderRadius;
420
+ }
421
+ & .button:last-child {
422
+ border-bottom-right-radius: @toastBorderRadius;
423
+ }
424
+ }
425
+ }
426
+ &.top {
427
+ &.actions when (@variationToastActions) {
428
+ border-top-left-radius: @toastBorderRadius;
429
+ border-top-right-radius: @toastBorderRadius;
430
+ & .button:first-child {
431
+ border-top-left-radius: @toastBorderRadius;
432
+ }
433
+ & .button:last-child {
434
+ border-top-right-radius: @toastBorderRadius;
435
+ }
436
+ }
437
+ }
439
438
  }
440
439
 
441
440
  /*******************************
@@ -449,149 +448,148 @@
449
448
  margin: @toastMargin;
450
449
  color: @toastInvertedTextColor;
451
450
  background-color: @toastNeutralColor;
452
- & > .content > .header {
453
- font-weight: bold;
454
- color: inherit;
455
- margin:0;
456
- }
457
- &.info when (@variationToastInfo) {
458
- background-color: @toastInfoColor;
459
- color: @toastTextColor;
460
- }
461
- &.warning when (@variationToastWarning) {
462
- background-color: @toastWarningColor;
463
- color: @toastTextColor;
464
- }
465
- &.success when (@variationToastSuccess) {
466
- background-color: @toastSuccessColor;
467
- color: @toastTextColor;
468
- }
469
- &.error when (@variationToastError) {
470
- background-color: @toastErrorColor;
471
- color: @toastTextColor;
472
- }
473
- &.neutral {
474
- background-color: @toastNeutralColor;
475
- color: @toastNeutralTextColor;
476
- }
477
- & > i.icon:not(.close) when (@variationToastIcon) {
478
- font-size: @toastIconFontSize;
479
- }
480
- &:not(.vertical) {
481
- &:not(.centered):not(.center) {
482
- & > i.icon:not(.close) when (@variationToastIcon) {
483
- position: absolute;
484
- }
485
- & > .ui.image when (@variationToastImage) {
486
- position: absolute;
487
- }
488
- }
489
- & > i.icon:not(.close) when (@variationToastIcon) {
490
- & + .content {
491
- padding-left: @toastIconContentPadding;
492
- }
493
- }
494
- & > .close.icon + .content when (@variationToastClose){
495
- padding-left: @toastCloseDistance;
496
- }
497
- & > .ui.image when (@variationToastImage) {
498
- &.avatar + .content {
499
- padding-left: @toastAvatarImageContentPadding;
500
- min-height: @toastAvatarImageHeight;
501
- }
502
- &.mini + .content {
503
- padding-left: @toastMiniImageContentPadding;
504
- min-height: @toastMiniImageHeight;
505
- }
506
- &.tiny + .content {
507
- padding-left: @toastTinyImageContentPadding;
508
- min-height: @toastTinyImageHeight;
509
- }
510
- &.small + .content {
511
- padding-left: @toastSmallImageContentPadding;
512
- min-height: @toastSmallImageHeight;
513
- }
514
- }
515
- &:not(.centered):not(.center) when (@variationToastImage) or (@variationToastIcon) {
516
- & > .centered.image,
517
- > .centered.icon {
518
- transform: translateY(-50%);
519
- top: 50%;
520
- }
451
+ & > .content > .header {
452
+ font-weight: bold;
453
+ color: inherit;
454
+ margin: 0;
521
455
  }
522
- &.actions > .centered.image when (@variationToastActions) and (@variationToastImage) {
523
- top: e(%("calc(50%% - %d)", @toastImageCenteredAdjustment));
456
+ &.info when (@variationToastInfo) {
457
+ background-color: @toastInfoColor;
458
+ color: @toastTextColor;
524
459
  }
525
- &.actions > .centered.icon when (@variationToastActions) and (@variationToastIcon) {
526
- top: e(%("calc(50%% - %d)", @toastIconCenteredAdjustment));
460
+ &.warning when (@variationToastWarning) {
461
+ background-color: @toastWarningColor;
462
+ color: @toastTextColor;
527
463
  }
528
- }
529
- &.vertical when (@variationToastVertical) {
530
- & > .content {
531
- flex-grow: 1;
464
+ &.success when (@variationToastSuccess) {
465
+ background-color: @toastSuccessColor;
466
+ color: @toastTextColor;
532
467
  }
533
- &.attached when (@variationToastAttached){
534
- flex-grow: 1;
468
+ &.error when (@variationToastError) {
469
+ background-color: @toastErrorColor;
470
+ color: @toastTextColor;
535
471
  }
536
- & > .close.icon + .content when (@variationToastClose){
537
- padding-left: @toastCloseDistanceVertical;
472
+ &.neutral {
473
+ background-color: @toastNeutralColor;
474
+ color: @toastNeutralTextColor;
538
475
  }
539
- & when (@variationToastImage) or (@variationToastIcon) {
540
- & > .ui.image + .content,
541
- > i.icon:not(.close) + .content {
542
- padding-left: @toastImageContentPadding;
543
- }
476
+ & > i.icon:not(.close) when (@variationToastIcon) {
477
+ font-size: @toastIconFontSize;
544
478
  }
545
- & > .ui.image when (@variationToastImage){
546
- align-self: flex-start;
547
- flex-shrink:0; /* IE11 fix */
479
+ &:not(.vertical) {
480
+ &:not(.centered):not(.center) {
481
+ & > i.icon:not(.close) when (@variationToastIcon) {
482
+ position: absolute;
483
+ }
484
+ & > .ui.image when (@variationToastImage) {
485
+ position: absolute;
486
+ }
487
+ }
488
+ & > i.icon:not(.close) when (@variationToastIcon) {
489
+ & + .content {
490
+ padding-left: @toastIconContentPadding;
491
+ }
492
+ }
493
+ & > .close.icon + .content when (@variationToastClose) {
494
+ padding-left: @toastCloseDistance;
495
+ }
496
+ & > .ui.image when (@variationToastImage) {
497
+ &.avatar + .content {
498
+ padding-left: @toastAvatarImageContentPadding;
499
+ min-height: @toastAvatarImageHeight;
500
+ }
501
+ &.mini + .content {
502
+ padding-left: @toastMiniImageContentPadding;
503
+ min-height: @toastMiniImageHeight;
504
+ }
505
+ &.tiny + .content {
506
+ padding-left: @toastTinyImageContentPadding;
507
+ min-height: @toastTinyImageHeight;
508
+ }
509
+ &.small + .content {
510
+ padding-left: @toastSmallImageContentPadding;
511
+ min-height: @toastSmallImageHeight;
512
+ }
513
+ }
514
+ &:not(.centered):not(.center) when (@variationToastImage) or (@variationToastIcon) {
515
+ & > .centered.image,
516
+ > .centered.icon {
517
+ transform: translateY(-50%);
518
+ top: 50%;
519
+ }
520
+ }
521
+ &.actions > .centered.image when (@variationToastActions) and (@variationToastImage) {
522
+ top: e(%("calc(50%% - %d)", @toastImageCenteredAdjustment));
523
+ }
524
+ &.actions > .centered.icon when (@variationToastActions) and (@variationToastIcon) {
525
+ top: e(%("calc(50%% - %d)", @toastIconCenteredAdjustment));
526
+ }
548
527
  }
549
- & when (@variationToastImage) or (@variationToastIcon) {
550
- & > .centered.image,
551
- > .centered.icon {
552
- align-self: center;
553
- }
528
+ &.vertical when (@variationToastVertical) {
529
+ & > .content {
530
+ flex-grow: 1;
531
+ }
532
+ &.attached when (@variationToastAttached) {
533
+ flex-grow: 1;
534
+ }
535
+ & > .close.icon + .content when (@variationToastClose) {
536
+ padding-left: @toastCloseDistanceVertical;
537
+ }
538
+ & when (@variationToastImage) or (@variationToastIcon) {
539
+ & > .ui.image + .content,
540
+ > i.icon:not(.close) + .content {
541
+ padding-left: @toastImageContentPadding;
542
+ }
543
+ }
544
+ & > .ui.image when (@variationToastImage) {
545
+ align-self: flex-start;
546
+ flex-shrink: 0; /* IE11 fix */
547
+ }
548
+ & when (@variationToastImage) or (@variationToastIcon) {
549
+ & > .centered.image,
550
+ > .centered.icon {
551
+ align-self: center;
552
+ }
553
+ }
554
554
  }
555
- }
556
555
 
557
- &.attached when (@variationToastAttached) {
558
- &.bottom {
559
- border-top-left-radius: 0;
560
- border-top-right-radius: 0;
561
- }
562
- &.top {
563
- border-bottom-left-radius: 0;
564
- border-bottom-right-radius: 0;
556
+ &.attached when (@variationToastAttached) {
557
+ &.bottom {
558
+ border-top-left-radius: 0;
559
+ border-top-right-radius: 0;
560
+ }
561
+ &.top {
562
+ border-bottom-left-radius: 0;
563
+ border-bottom-right-radius: 0;
564
+ }
565
565
  }
566
- }
567
566
 
568
- &.ui.ui.ui.image when (@variationToastImage) {
569
- padding: 0;
570
- & > .content {
571
- padding-top: @inputVerticalPadding;
572
- padding-bottom: @inputVerticalPadding;
573
- padding-right: @inputHorizontalPadding;
574
- }
575
- & > .actions when (@variationToastActions) {
576
- margin: 0;
577
- }
578
- & > .ui.image {
579
- border-top-left-radius: @defaultBorderRadius;
580
- border-bottom-left-radius: @defaultBorderRadius;
581
- &.mini {
582
- min-width: @toastImageMiniImageAdjustment;
583
- & + .content {
584
- min-height: @toastImageMiniImageAdjustment;
585
- padding-left: @toastImageMiniImagePadding;
586
- }
587
- }
588
- }
589
- }
567
+ &.ui.ui.ui.image when (@variationToastImage) {
568
+ padding: 0;
569
+ & > .content {
570
+ padding-top: @inputVerticalPadding;
571
+ padding-bottom: @inputVerticalPadding;
572
+ padding-right: @inputHorizontalPadding;
573
+ }
574
+ & > .actions when (@variationToastActions) {
575
+ margin: 0;
576
+ }
577
+ & > .ui.image {
578
+ border-top-left-radius: @defaultBorderRadius;
579
+ border-bottom-left-radius: @defaultBorderRadius;
580
+ &.mini {
581
+ min-width: @toastImageMiniImageAdjustment;
582
+ & + .content {
583
+ min-height: @toastImageMiniImageAdjustment;
584
+ padding-left: @toastImageMiniImagePadding;
585
+ }
586
+ }
587
+ }
588
+ }
590
589
  }
591
590
 
592
-
593
591
  .ui.hoverfloating.message:hover when (@variationToastMessage) and (@variationToastFloating) {
594
- box-shadow: 0 0 0 1px inset, @floatingShadow;
592
+ box-shadow: 0 0 0 1px inset, @floatingShadow;
595
593
  }
596
594
 
597
595
  .ui.center.toast-container .toast-box,
@@ -604,114 +602,114 @@
604
602
  }
605
603
 
606
604
  & when (@variationToastCentered) {
607
- .ui.ui.toast-container .toast-box .centered.toast,
608
- .ui.ui.toast-container .toast-box .center.aligned.toast {
609
- text-align: center;
610
- display: flex;
611
- justify-content: center;
605
+ .ui.ui.toast-container .toast-box .centered.toast,
606
+ .ui.ui.toast-container .toast-box .center.aligned.toast {
607
+ text-align: center;
608
+ display: flex;
609
+ justify-content: center;
612
610
 
613
- & > .content,
614
- & > .ui.image,
615
- & > i.icon:not(.close) {
616
- align-self: center;
611
+ & > .content,
612
+ & > .ui.image,
613
+ & > i.icon:not(.close) {
614
+ align-self: center;
615
+ }
617
616
  }
618
- }
619
617
 
620
- .ui.toast-container .toast-box .toast .centered.content,
621
- .ui.toast-container .toast-box .toast .center.aligned.content {
622
- text-align: center;
623
- }
618
+ .ui.toast-container .toast-box .toast .centered.content,
619
+ .ui.toast-container .toast-box .toast .center.aligned.content {
620
+ text-align: center;
621
+ }
624
622
 
625
- .ui.toast-container .toast-box .centered.actions,
626
- .ui.toast-container .toast-box .center.aligned.actions {
627
- text-align: center;
623
+ .ui.toast-container .toast-box .centered.actions,
624
+ .ui.toast-container .toast-box .center.aligned.actions {
625
+ text-align: center;
628
626
 
629
- &:not(.attached) > .button:not(.fluid) {
630
- margin-left: @toastActionCenteredMargin;
631
- margin-right: @toastActionCenteredMargin;
627
+ &:not(.attached) > .button:not(.fluid) {
628
+ margin-left: @toastActionCenteredMargin;
629
+ margin-right: @toastActionCenteredMargin;
630
+ }
632
631
  }
633
- }
634
632
  }
635
633
 
636
- /*--------------
634
+ /* --------------
637
635
  Colors
638
636
  -------------- */
639
637
  & when not (@variationToastColors = false) {
640
- each(@variationToastColors, {
641
- @color: @value;
642
- @c: @colors[@@color][color];
643
- @l: @colors[@@color][light];
638
+ each(@variationToastColors, {
639
+ @color: @value;
640
+ @c: @colors[@@color][color];
641
+ @l: @colors[@@color][light];
644
642
 
645
- .ui.@{color}.toast {
646
- background-color: @c;
647
- color: @toastTextColor;
648
- }
649
- & when (@variationToastInverted) {
650
- .ui.inverted.@{color}.toast,
651
- .ui.toast-container .toast-box > .inverted.@{color}.attached.progress .bar {
652
- background-color: @l;
653
- color: @toastInvertedTextColor;
654
- }
655
- }
656
- })
643
+ .ui.@{color}.toast {
644
+ background-color: @c;
645
+ color: @toastTextColor;
646
+ }
647
+ & when (@variationToastInverted) {
648
+ .ui.inverted.@{color}.toast,
649
+ .ui.toast-container .toast-box > .inverted.@{color}.attached.progress .bar {
650
+ background-color: @l;
651
+ color: @toastInvertedTextColor;
652
+ }
653
+ }
654
+ })
657
655
  }
658
656
 
659
657
  & when (@variationToastInverted) {
660
- .ui.inverted.toast {
661
- color: @toastTextColor;
662
- background-color: @toastInvertedColor;
663
- }
658
+ .ui.inverted.toast {
659
+ color: @toastTextColor;
660
+ background-color: @toastInvertedColor;
661
+ }
664
662
  }
665
663
 
666
664
  @media only screen and (max-width: @mobileToastBreakpoint) {
667
- .ui.toast-container .toast-box {
668
- &.toast-box,
669
- & > .compact,
670
- & > .vertical > *,
671
- & > * {
672
- width: auto;
673
- max-width: 100%;
674
- }
675
- & > *:not(.vertical) {
676
- min-width: @mobileWidth;
677
- }
678
- & when (@variationToastCard) {
679
- & > .ui.card.horizontal,
680
- > .vertical > .ui.horizontal.card {
681
- min-width: initial;
682
- }
683
- }
684
- }
665
+ .ui.toast-container .toast-box {
666
+ &.toast-box,
667
+ & > .compact,
668
+ & > .vertical > *,
669
+ & > * {
670
+ width: auto;
671
+ max-width: 100%;
672
+ }
673
+ & > *:not(.vertical) {
674
+ min-width: @mobileWidth;
675
+ }
676
+ & when (@variationToastCard) {
677
+ & > .ui.card.horizontal,
678
+ > .vertical > .ui.horizontal.card {
679
+ min-width: initial;
680
+ }
681
+ }
682
+ }
685
683
  }
686
684
 
687
- /*---------------
685
+ /* ---------------
688
686
  Progress Bar
689
- ----------------*/
687
+ ---------------- */
690
688
  & when (@variationToastProgress) {
691
- @keyframes progressDown {
692
- 0% {
693
- width: 100%;
689
+ @keyframes progressDown {
690
+ 0% {
691
+ width: 100%;
692
+ }
693
+ 100% {
694
+ width: 0;
695
+ }
694
696
  }
695
- 100% {
696
- width: 0;
697
+ @keyframes progressUp {
698
+ 0% {
699
+ width: 0;
700
+ }
701
+ 100% {
702
+ width: 100%;
703
+ }
697
704
  }
698
- }
699
- @keyframes progressUp {
705
+ }
706
+ @keyframes progressWait {
700
707
  0% {
701
- width: 0;
708
+ opacity: 1;
702
709
  }
703
710
  100% {
704
- width: 100%;
711
+ opacity: 0;
705
712
  }
706
- }
707
- }
708
- @keyframes progressWait {
709
- 0% {
710
- opacity: 1;
711
- }
712
- 100% {
713
- opacity: 0;
714
- }
715
713
  }
716
714
 
717
715
  .loadUIOverrides();