fomantic-ui 2.9.1-beta.8 → 2.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (521) hide show
  1. package/.eslint/eqeqeq-rule.js +18 -0
  2. package/.eslint/index.js +29 -0
  3. package/.eslint/no-extra-parens-rule.js +17 -0
  4. package/.eslint/package.json +11 -0
  5. package/.eslintrc.js +123 -0
  6. package/.github/auto_assign.yml +0 -1
  7. package/.github/workflows/ci.yml +37 -4
  8. package/.github/workflows/nightly.yml +1 -1
  9. package/.github/workflows/release.yml +1 -1
  10. package/.prettierrc.js +12 -0
  11. package/.stylelintrc.js +48 -0
  12. package/CHANGELOG.md +112 -0
  13. package/README.md +1 -1
  14. package/dist/components/accordion.css +35 -53
  15. package/dist/components/accordion.js +568 -595
  16. package/dist/components/accordion.min.css +2 -2
  17. package/dist/components/accordion.min.js +3 -3
  18. package/dist/components/ad.css +34 -45
  19. package/dist/components/ad.min.css +2 -2
  20. package/dist/components/api.js +1157 -1179
  21. package/dist/components/api.min.js +3 -3
  22. package/dist/components/breadcrumb.css +5 -5
  23. package/dist/components/breadcrumb.min.css +2 -2
  24. package/dist/components/button.css +709 -1111
  25. package/dist/components/button.min.css +2 -2
  26. package/dist/components/calendar.css +24 -27
  27. package/dist/components/calendar.js +1934 -1809
  28. package/dist/components/calendar.min.css +2 -2
  29. package/dist/components/calendar.min.js +3 -3
  30. package/dist/components/card.css +219 -365
  31. package/dist/components/card.min.css +2 -2
  32. package/dist/components/checkbox.css +120 -191
  33. package/dist/components/checkbox.js +842 -841
  34. package/dist/components/checkbox.min.css +2 -2
  35. package/dist/components/checkbox.min.js +3 -3
  36. package/dist/components/comment.css +41 -59
  37. package/dist/components/comment.min.css +2 -2
  38. package/dist/components/container.css +7 -6
  39. package/dist/components/container.min.css +2 -2
  40. package/dist/components/dimmer.css +53 -172
  41. package/dist/components/dimmer.js +706 -737
  42. package/dist/components/dimmer.min.css +2 -2
  43. package/dist/components/dimmer.min.js +3 -3
  44. package/dist/components/divider.css +43 -61
  45. package/dist/components/divider.min.css +2 -2
  46. package/dist/components/dropdown.css +252 -386
  47. package/dist/components/dropdown.js +4195 -4236
  48. package/dist/components/dropdown.min.css +2 -2
  49. package/dist/components/dropdown.min.js +3 -3
  50. package/dist/components/embed.css +18 -29
  51. package/dist/components/embed.js +645 -675
  52. package/dist/components/embed.min.css +2 -2
  53. package/dist/components/embed.min.js +3 -3
  54. package/dist/components/emoji.css +3556 -3556
  55. package/dist/components/emoji.min.css +1 -1
  56. package/dist/components/feed.css +35 -57
  57. package/dist/components/feed.min.css +2 -2
  58. package/dist/components/flag.css +270 -268
  59. package/dist/components/flag.min.css +2 -2
  60. package/dist/components/flyout.css +95 -141
  61. package/dist/components/flyout.js +1514 -1465
  62. package/dist/components/flyout.min.css +2 -2
  63. package/dist/components/flyout.min.js +3 -3
  64. package/dist/components/form.css +244 -339
  65. package/dist/components/form.js +2022 -2004
  66. package/dist/components/form.min.css +2 -2
  67. package/dist/components/form.min.js +3 -3
  68. package/dist/components/grid.css +183 -329
  69. package/dist/components/grid.min.css +2 -2
  70. package/dist/components/header.css +118 -142
  71. package/dist/components/header.min.css +2 -2
  72. package/dist/components/icon.css +662 -745
  73. package/dist/components/icon.min.css +2 -2
  74. package/dist/components/image.css +39 -63
  75. package/dist/components/image.min.css +2 -2
  76. package/dist/components/input.css +356 -274
  77. package/dist/components/input.min.css +2 -2
  78. package/dist/components/item.css +84 -131
  79. package/dist/components/item.min.css +2 -2
  80. package/dist/components/label.css +359 -410
  81. package/dist/components/label.min.css +2 -2
  82. package/dist/components/list.css +49 -70
  83. package/dist/components/list.min.css +2 -2
  84. package/dist/components/loader.css +67 -155
  85. package/dist/components/loader.min.css +2 -2
  86. package/dist/components/menu.css +270 -431
  87. package/dist/components/menu.min.css +1 -1
  88. package/dist/components/message.css +125 -197
  89. package/dist/components/message.min.css +2 -2
  90. package/dist/components/modal.css +120 -154
  91. package/dist/components/modal.js +1544 -1486
  92. package/dist/components/modal.min.css +2 -2
  93. package/dist/components/modal.min.js +3 -3
  94. package/dist/components/nag.css +53 -63
  95. package/dist/components/nag.js +520 -526
  96. package/dist/components/nag.min.css +2 -2
  97. package/dist/components/nag.min.js +3 -3
  98. package/dist/components/placeholder.css +22 -42
  99. package/dist/components/placeholder.min.css +2 -2
  100. package/dist/components/popup.css +424 -202
  101. package/dist/components/popup.js +1456 -1456
  102. package/dist/components/popup.min.css +2 -2
  103. package/dist/components/popup.min.js +3 -3
  104. package/dist/components/progress.css +106 -211
  105. package/dist/components/progress.js +969 -997
  106. package/dist/components/progress.min.css +2 -2
  107. package/dist/components/progress.min.js +3 -3
  108. package/dist/components/rail.css +15 -20
  109. package/dist/components/rail.min.css +1 -1
  110. package/dist/components/rating.css +80 -121
  111. package/dist/components/rating.js +507 -523
  112. package/dist/components/rating.min.css +2 -2
  113. package/dist/components/rating.min.js +3 -3
  114. package/dist/components/reset.css +8 -13
  115. package/dist/components/reset.min.css +2 -2
  116. package/dist/components/reveal.css +44 -83
  117. package/dist/components/reveal.min.css +2 -2
  118. package/dist/components/search.css +69 -98
  119. package/dist/components/search.js +1520 -1534
  120. package/dist/components/search.min.css +2 -2
  121. package/dist/components/search.min.js +3 -3
  122. package/dist/components/segment.css +148 -224
  123. package/dist/components/segment.min.css +2 -2
  124. package/dist/components/shape.css +14 -30
  125. package/dist/components/shape.js +783 -810
  126. package/dist/components/shape.min.css +2 -2
  127. package/dist/components/shape.min.js +3 -3
  128. package/dist/components/sidebar.css +103 -206
  129. package/dist/components/sidebar.js +1061 -1099
  130. package/dist/components/sidebar.min.css +2 -2
  131. package/dist/components/sidebar.min.js +3 -3
  132. package/dist/components/site.css +28 -41
  133. package/dist/components/site.js +436 -476
  134. package/dist/components/site.min.css +2 -2
  135. package/dist/components/site.min.js +3 -3
  136. package/dist/components/slider.css +93 -121
  137. package/dist/components/slider.js +1310 -1311
  138. package/dist/components/slider.min.css +1 -1
  139. package/dist/components/slider.min.js +3 -3
  140. package/dist/components/state.js +638 -657
  141. package/dist/components/state.min.js +3 -3
  142. package/dist/components/statistic.css +75 -116
  143. package/dist/components/statistic.min.css +2 -2
  144. package/dist/components/step.css +77 -150
  145. package/dist/components/step.min.css +2 -2
  146. package/dist/components/sticky.css +1 -5
  147. package/dist/components/sticky.js +847 -901
  148. package/dist/components/sticky.min.css +2 -2
  149. package/dist/components/sticky.min.js +3 -3
  150. package/dist/components/tab.css +10 -14
  151. package/dist/components/tab.js +902 -966
  152. package/dist/components/tab.min.css +2 -2
  153. package/dist/components/tab.min.js +3 -3
  154. package/dist/components/table.css +547 -774
  155. package/dist/components/table.min.css +2 -2
  156. package/dist/components/text.css +32 -32
  157. package/dist/components/text.min.css +1 -1
  158. package/dist/components/toast.css +69 -147
  159. package/dist/components/toast.js +910 -884
  160. package/dist/components/toast.min.css +2 -2
  161. package/dist/components/toast.min.js +3 -3
  162. package/dist/components/transition.css +299 -1356
  163. package/dist/components/transition.js +1048 -1077
  164. package/dist/components/transition.min.css +2 -2
  165. package/dist/components/transition.min.js +3 -3
  166. package/dist/components/visibility.js +1213 -1245
  167. package/dist/components/visibility.min.js +3 -3
  168. package/dist/semantic.css +9344 -12298
  169. package/dist/semantic.js +29181 -29423
  170. package/dist/semantic.min.css +3 -3
  171. package/dist/semantic.min.js +3 -3
  172. package/dist/themes/basic/assets/fonts/icons.woff2 +0 -0
  173. package/dist/themes/github/assets/fonts/octicons.woff2 +0 -0
  174. package/examples/.eslintrc.js +6 -0
  175. package/examples/assets/library/jquery.min.js +2 -4
  176. package/examples/assets/show-examples.js +13 -13
  177. package/examples/attached.html +1 -1
  178. package/examples/bootstrap.html +1 -1
  179. package/examples/components/button.html +1 -1
  180. package/examples/components/card.html +6 -6
  181. package/examples/components/input.html +1 -1
  182. package/examples/components/menu.html +1 -1
  183. package/examples/components/site.html +1 -1
  184. package/examples/components/sticky-context.html +2 -2
  185. package/examples/components/table.html +1 -1
  186. package/examples/fixed.html +3 -3
  187. package/examples/grid.html +5 -5
  188. package/examples/homepage.html +1 -1
  189. package/examples/login.html +2 -2
  190. package/examples/responsive.html +2 -2
  191. package/examples/sticky.html +4 -4
  192. package/examples/theming.html +1 -1
  193. package/gulpfile.js +13 -11
  194. package/package.json +17 -8
  195. package/scripts/nightly-version.js +83 -75
  196. package/src/_site/collections/menu.overrides +1 -1
  197. package/src/_site/elements/flag.variables +2 -2
  198. package/src/_site/globals/site.variables +1 -1
  199. package/src/_site/modules/embed.variables +3 -0
  200. package/src/definitions/behaviors/api.js +1158 -1180
  201. package/src/definitions/behaviors/form.js +2021 -2003
  202. package/src/definitions/behaviors/state.js +644 -663
  203. package/src/definitions/behaviors/visibility.js +1212 -1244
  204. package/src/definitions/collections/breadcrumb.less +43 -47
  205. package/src/definitions/collections/form.less +866 -884
  206. package/src/definitions/collections/grid.less +1681 -1699
  207. package/src/definitions/collections/menu.less +1522 -1544
  208. package/src/definitions/collections/message.less +294 -298
  209. package/src/definitions/collections/table.less +1657 -1661
  210. package/src/definitions/elements/button.less +1716 -1750
  211. package/src/definitions/elements/container.less +211 -211
  212. package/src/definitions/elements/divider.less +198 -211
  213. package/src/definitions/elements/emoji.less +41 -48
  214. package/src/definitions/elements/flag.less +46 -48
  215. package/src/definitions/elements/header.less +351 -359
  216. package/src/definitions/elements/icon.less +541 -484
  217. package/src/definitions/elements/image.less +216 -227
  218. package/src/definitions/elements/input.less +692 -699
  219. package/src/definitions/elements/label.less +784 -806
  220. package/src/definitions/elements/list.less +810 -814
  221. package/src/definitions/elements/loader.less +273 -268
  222. package/src/definitions/elements/placeholder.less +173 -170
  223. package/src/definitions/elements/rail.less +93 -93
  224. package/src/definitions/elements/reveal.less +192 -198
  225. package/src/definitions/elements/segment.less +742 -749
  226. package/src/definitions/elements/step.less +423 -437
  227. package/src/definitions/elements/text.less +34 -36
  228. package/src/definitions/globals/reset.less +11 -8
  229. package/src/definitions/globals/site.js +435 -475
  230. package/src/definitions/globals/site.less +108 -110
  231. package/src/definitions/modules/accordion.js +567 -594
  232. package/src/definitions/modules/accordion.less +244 -248
  233. package/src/definitions/modules/calendar.js +1933 -1808
  234. package/src/definitions/modules/calendar.less +100 -97
  235. package/src/definitions/modules/checkbox.js +841 -840
  236. package/src/definitions/modules/checkbox.less +531 -552
  237. package/src/definitions/modules/dimmer.js +705 -736
  238. package/src/definitions/modules/dimmer.less +294 -305
  239. package/src/definitions/modules/dropdown.js +4194 -4235
  240. package/src/definitions/modules/dropdown.less +1568 -1598
  241. package/src/definitions/modules/embed.js +644 -674
  242. package/src/definitions/modules/embed.less +82 -84
  243. package/src/definitions/modules/flyout.js +1513 -1464
  244. package/src/definitions/modules/flyout.less +453 -455
  245. package/src/definitions/modules/modal.js +1543 -1485
  246. package/src/definitions/modules/modal.less +459 -467
  247. package/src/definitions/modules/nag.js +519 -525
  248. package/src/definitions/modules/nag.less +136 -149
  249. package/src/definitions/modules/popup.js +1455 -1455
  250. package/src/definitions/modules/popup.less +738 -693
  251. package/src/definitions/modules/progress.js +968 -996
  252. package/src/definitions/modules/progress.less +523 -499
  253. package/src/definitions/modules/rating.js +506 -522
  254. package/src/definitions/modules/rating.less +98 -103
  255. package/src/definitions/modules/search.js +1519 -1533
  256. package/src/definitions/modules/search.less +374 -394
  257. package/src/definitions/modules/shape.js +782 -809
  258. package/src/definitions/modules/shape.less +70 -79
  259. package/src/definitions/modules/sidebar.js +1060 -1098
  260. package/src/definitions/modules/sidebar.less +463 -476
  261. package/src/definitions/modules/slider.js +1309 -1310
  262. package/src/definitions/modules/slider.less +309 -310
  263. package/src/definitions/modules/sticky.js +863 -917
  264. package/src/definitions/modules/sticky.less +17 -25
  265. package/src/definitions/modules/tab.js +901 -965
  266. package/src/definitions/modules/tab.less +48 -54
  267. package/src/definitions/modules/toast.js +909 -883
  268. package/src/definitions/modules/toast.less +589 -589
  269. package/src/definitions/modules/transition.js +1047 -1076
  270. package/src/definitions/modules/transition.less +58 -59
  271. package/src/definitions/views/ad.less +207 -208
  272. package/src/definitions/views/card.less +955 -973
  273. package/src/definitions/views/comment.less +192 -200
  274. package/src/definitions/views/feed.less +222 -226
  275. package/src/definitions/views/item.less +437 -448
  276. package/src/definitions/views/statistic.less +273 -279
  277. package/src/semantic.less +8 -6
  278. package/src/theme.config.example +53 -53
  279. package/src/theme.less +44 -35
  280. package/src/themes/amazon/elements/button.overrides +23 -24
  281. package/src/themes/amazon/elements/button.variables +18 -23
  282. package/src/themes/amazon/globals/site.variables +16 -17
  283. package/src/themes/basic/assets/fonts/icons.woff2 +0 -0
  284. package/src/themes/basic/collections/table.overrides +0 -1
  285. package/src/themes/basic/collections/table.variables +3 -3
  286. package/src/themes/basic/elements/button.overrides +0 -1
  287. package/src/themes/basic/elements/button.variables +9 -9
  288. package/src/themes/basic/elements/icon.overrides +9 -169
  289. package/src/themes/basic/elements/icon.variables +161 -18
  290. package/src/themes/basic/elements/step.overrides +2 -2
  291. package/src/themes/basic/elements/step.variables +2 -2
  292. package/src/themes/basic/globals/reset.overrides +1 -1
  293. package/src/themes/basic/globals/reset.variables +1 -1
  294. package/src/themes/basic/modules/progress.variables +2 -2
  295. package/src/themes/basic/views/card.overrides +0 -1
  296. package/src/themes/basic/views/card.variables +6 -6
  297. package/src/themes/bookish/elements/header.overrides +4 -4
  298. package/src/themes/bookish/elements/header.variables +5 -5
  299. package/src/themes/bootstrap3/elements/button.overrides +3 -0
  300. package/src/themes/bootstrap3/elements/button.variables +20 -25
  301. package/src/themes/chubby/collections/form.overrides +9 -9
  302. package/src/themes/chubby/collections/form.variables +3 -3
  303. package/src/themes/chubby/collections/menu.overrides +3 -0
  304. package/src/themes/chubby/collections/menu.variables +3 -3
  305. package/src/themes/chubby/elements/button.overrides +8 -10
  306. package/src/themes/chubby/elements/button.variables +10 -10
  307. package/src/themes/chubby/elements/header.overrides +1 -1
  308. package/src/themes/chubby/elements/header.variables +4 -4
  309. package/src/themes/chubby/modules/accordion.overrides +2 -2
  310. package/src/themes/chubby/modules/accordion.variables +4 -4
  311. package/src/themes/chubby/views/comment.overrides +5 -5
  312. package/src/themes/chubby/views/comment.variables +11 -11
  313. package/src/themes/classic/collections/table.variables +3 -3
  314. package/src/themes/classic/elements/button.variables +36 -43
  315. package/src/themes/classic/elements/header.variables +4 -4
  316. package/src/themes/classic/modules/progress.variables +3 -3
  317. package/src/themes/classic/views/card.overrides +25 -27
  318. package/src/themes/classic/views/card.variables +7 -7
  319. package/src/themes/colored/modules/checkbox.overrides +3 -0
  320. package/src/themes/colored/modules/checkbox.variables +1 -3
  321. package/src/themes/default/collections/breadcrumb.variables +4 -4
  322. package/src/themes/default/collections/form.variables +15 -16
  323. package/src/themes/default/collections/grid.overrides +0 -1
  324. package/src/themes/default/collections/grid.variables +15 -16
  325. package/src/themes/default/collections/menu.variables +31 -45
  326. package/src/themes/default/collections/message.variables +84 -123
  327. package/src/themes/default/collections/table.overrides +3 -0
  328. package/src/themes/default/collections/table.variables +30 -34
  329. package/src/themes/default/elements/button.variables +44 -53
  330. package/src/themes/default/elements/container.variables +8 -16
  331. package/src/themes/default/elements/divider.overrides +8 -9
  332. package/src/themes/default/elements/divider.variables +5 -6
  333. package/src/themes/default/elements/emoji.overrides +0 -1
  334. package/src/themes/default/elements/emoji.variables +3556 -3556
  335. package/src/themes/default/elements/flag.variables +1595 -1595
  336. package/src/themes/default/elements/header.overrides +0 -1
  337. package/src/themes/default/elements/header.variables +21 -21
  338. package/src/themes/default/elements/icon.variables +2016 -2012
  339. package/src/themes/default/elements/image.variables +6 -7
  340. package/src/themes/default/elements/input.variables +11 -12
  341. package/src/themes/default/elements/label.variables +25 -26
  342. package/src/themes/default/elements/list.variables +17 -21
  343. package/src/themes/default/elements/loader.variables +16 -17
  344. package/src/themes/default/elements/placeholder.variables +12 -9
  345. package/src/themes/default/elements/rail.variables +4 -5
  346. package/src/themes/default/elements/reveal.variables +1 -1
  347. package/src/themes/default/elements/segment.variables +24 -36
  348. package/src/themes/default/elements/step.overrides +4 -4
  349. package/src/themes/default/elements/step.variables +19 -22
  350. package/src/themes/default/elements/text.variables +2 -3
  351. package/src/themes/default/globals/colors.less +588 -588
  352. package/src/themes/default/globals/reset.overrides +63 -59
  353. package/src/themes/default/globals/reset.variables +1 -1
  354. package/src/themes/default/globals/site.variables +1074 -1123
  355. package/src/themes/default/globals/variation.variables +6 -4
  356. package/src/themes/default/modules/accordion.overrides +11 -11
  357. package/src/themes/default/modules/accordion.variables +15 -20
  358. package/src/themes/default/modules/calendar.variables +2 -0
  359. package/src/themes/default/modules/chatroom.variables +1 -1
  360. package/src/themes/default/modules/checkbox.overrides +9 -13
  361. package/src/themes/default/modules/checkbox.variables +24 -33
  362. package/src/themes/default/modules/dimmer.variables +14 -17
  363. package/src/themes/default/modules/dropdown.overrides +17 -17
  364. package/src/themes/default/modules/dropdown.variables +29 -31
  365. package/src/themes/default/modules/embed.variables +9 -13
  366. package/src/themes/default/modules/flyout.variables +10 -8
  367. package/src/themes/default/modules/modal.variables +64 -67
  368. package/src/themes/default/modules/nag.variables +11 -14
  369. package/src/themes/default/modules/popup.variables +14 -13
  370. package/src/themes/default/modules/progress.variables +17 -19
  371. package/src/themes/default/modules/rating.variables +10 -12
  372. package/src/themes/default/modules/search.variables +12 -17
  373. package/src/themes/default/modules/shape.variables +7 -8
  374. package/src/themes/default/modules/sidebar.variables +4 -4
  375. package/src/themes/default/modules/slider.variables +55 -54
  376. package/src/themes/default/modules/sticky.variables +1 -1
  377. package/src/themes/default/modules/toast.variables +8 -8
  378. package/src/themes/default/modules/transition.overrides +936 -915
  379. package/src/themes/default/modules/transition.variables +1 -1
  380. package/src/themes/default/views/ad.variables +1 -1
  381. package/src/themes/default/views/card.variables +33 -45
  382. package/src/themes/default/views/comment.variables +7 -9
  383. package/src/themes/default/views/feed.variables +10 -10
  384. package/src/themes/default/views/item.variables +20 -23
  385. package/src/themes/default/views/statistic.variables +8 -8
  386. package/src/themes/duo/elements/loader.variables +1 -1
  387. package/src/themes/famfamfam/elements/flag.overrides +263 -268
  388. package/src/themes/famfamfam/elements/flag.variables +4 -4
  389. package/src/themes/fixed-width/collections/grid.variables +4 -4
  390. package/src/themes/fixed-width/modules/modal.variables +11 -13
  391. package/src/themes/flat/collections/form.overrides +9 -9
  392. package/src/themes/flat/collections/form.variables +16 -17
  393. package/src/themes/flat/globals/site.variables +69 -74
  394. package/src/themes/github/assets/fonts/octicons.woff2 +0 -0
  395. package/src/themes/github/collections/breadcrumb.variables +0 -1
  396. package/src/themes/github/collections/form.overrides +7 -8
  397. package/src/themes/github/collections/form.variables +16 -18
  398. package/src/themes/github/collections/grid.variables +1 -2
  399. package/src/themes/github/collections/menu.overrides +2 -2
  400. package/src/themes/github/collections/menu.variables +24 -26
  401. package/src/themes/github/collections/message.overrides +3 -3
  402. package/src/themes/github/collections/message.variables +12 -14
  403. package/src/themes/github/collections/table.variables +2 -2
  404. package/src/themes/github/elements/button.overrides +0 -1
  405. package/src/themes/github/elements/button.variables +26 -30
  406. package/src/themes/github/elements/header.variables +2 -2
  407. package/src/themes/github/elements/icon.overrides +3 -208
  408. package/src/themes/github/elements/icon.variables +234 -19
  409. package/src/themes/github/elements/image.variables +1 -1
  410. package/src/themes/github/elements/input.overrides +16 -16
  411. package/src/themes/github/elements/input.variables +4 -5
  412. package/src/themes/github/elements/label.overrides +3 -3
  413. package/src/themes/github/elements/label.variables +0 -1
  414. package/src/themes/github/elements/segment.variables +9 -10
  415. package/src/themes/github/elements/step.overrides +13 -13
  416. package/src/themes/github/elements/step.variables +6 -6
  417. package/src/themes/github/globals/site.variables +16 -16
  418. package/src/themes/github/modules/dropdown.overrides +18 -19
  419. package/src/themes/github/modules/dropdown.variables +8 -10
  420. package/src/themes/github/modules/popup.variables +0 -2
  421. package/src/themes/gmail/collections/message.overrides +3 -0
  422. package/src/themes/gmail/collections/message.variables +4 -4
  423. package/src/themes/instagram/views/card.overrides +4 -5
  424. package/src/themes/instagram/views/card.variables +7 -8
  425. package/src/themes/joypixels/elements/emoji.overrides +0 -2
  426. package/src/themes/joypixels/elements/emoji.variables +3554 -3554
  427. package/src/themes/material/collections/menu.overrides +1 -1
  428. package/src/themes/material/collections/menu.variables +4 -4
  429. package/src/themes/material/elements/button.overrides +7 -9
  430. package/src/themes/material/elements/button.variables +44 -46
  431. package/src/themes/material/elements/header.overrides +3 -3
  432. package/src/themes/material/elements/header.variables +8 -10
  433. package/src/themes/material/elements/icon.overrides +3 -934
  434. package/src/themes/material/elements/icon.variables +958 -18
  435. package/src/themes/material/globals/site.overrides +3 -0
  436. package/src/themes/material/globals/site.variables +83 -84
  437. package/src/themes/material/modules/dropdown.overrides +2 -2
  438. package/src/themes/material/modules/dropdown.variables +5 -5
  439. package/src/themes/material/modules/modal.overrides +3 -3
  440. package/src/themes/material/modules/modal.variables +4 -5
  441. package/src/themes/pulsar/elements/loader.overrides +23 -61
  442. package/src/themes/raised/elements/button.variables +8 -9
  443. package/src/themes/resetcss/globals/reset.overrides +115 -33
  444. package/src/themes/resetcss/globals/reset.variables +1 -1
  445. package/src/themes/round/elements/button.overrides +3 -0
  446. package/src/themes/round/elements/button.variables +33 -38
  447. package/src/themes/rtl/globals/site.overrides +1 -1
  448. package/src/themes/rtl/globals/site.variables +5 -6
  449. package/src/themes/striped/modules/progress.overrides +20 -16
  450. package/src/themes/systemfont/globals/reset.overrides +1 -1
  451. package/src/themes/systemfont/globals/site.variables +6 -6
  452. package/src/themes/timeline/views/feed.overrides +12 -12
  453. package/src/themes/timeline/views/feed.variables +8 -8
  454. package/src/themes/twitter/elements/button.overrides +4 -5
  455. package/src/themes/twitter/elements/button.variables +17 -18
  456. package/src/themes/twitter/elements/emoji.variables +3556 -3556
  457. package/tasks/.eslintrc.js +9 -0
  458. package/tasks/README.md +2 -4
  459. package/tasks/admin/components/create.js +268 -277
  460. package/tasks/admin/components/init.js +123 -129
  461. package/tasks/admin/components/update.js +151 -158
  462. package/tasks/admin/distributions/create.js +183 -189
  463. package/tasks/admin/distributions/init.js +125 -131
  464. package/tasks/admin/distributions/update.js +147 -153
  465. package/tasks/admin/publish.js +5 -9
  466. package/tasks/admin/register.js +37 -39
  467. package/tasks/admin/release.js +8 -12
  468. package/tasks/build/assets.js +43 -40
  469. package/tasks/build/css.js +230 -217
  470. package/tasks/build/javascript.js +120 -114
  471. package/tasks/build.js +11 -11
  472. package/tasks/check-install.js +15 -17
  473. package/tasks/clean.js +6 -6
  474. package/tasks/collections/README.md +3 -5
  475. package/tasks/collections/admin.js +34 -36
  476. package/tasks/collections/build.js +19 -21
  477. package/tasks/collections/docs.js +11 -13
  478. package/tasks/collections/install.js +11 -13
  479. package/tasks/collections/rtl.js +9 -12
  480. package/tasks/collections/various.js +10 -12
  481. package/tasks/config/admin/github.js +17 -19
  482. package/tasks/config/admin/oauth.example.js +4 -4
  483. package/tasks/config/admin/release.js +98 -98
  484. package/tasks/config/admin/templates/README.md +8 -8
  485. package/tasks/config/admin/templates/bower.json +3 -2
  486. package/tasks/config/admin/templates/component-package.js +9 -10
  487. package/tasks/config/admin/templates/css-package.js +19 -21
  488. package/tasks/config/admin/templates/less-package.js +12 -14
  489. package/tasks/config/admin/templates/package.json +6 -6
  490. package/tasks/config/defaults.js +116 -116
  491. package/tasks/config/docs.js +23 -23
  492. package/tasks/config/npm/gulpfile.js +15 -14
  493. package/tasks/config/project/config.js +124 -136
  494. package/tasks/config/project/install.js +722 -719
  495. package/tasks/config/project/release.js +34 -41
  496. package/tasks/config/tasks.js +168 -167
  497. package/tasks/config/user.js +28 -32
  498. package/tasks/docs/build.js +100 -96
  499. package/tasks/docs/metadata.js +91 -98
  500. package/tasks/docs/serve.js +84 -82
  501. package/tasks/install.js +373 -382
  502. package/tasks/rtl/build.js +4 -3
  503. package/tasks/rtl/watch.js +4 -3
  504. package/tasks/version.js +4 -6
  505. package/tasks/watch.js +29 -31
  506. package/test/.eslintrc.js +23 -0
  507. package/test/meteor/assets.js +11 -14
  508. package/test/meteor/fonts.js +12 -13
  509. package/test/modules/accordion.spec.js +6 -8
  510. package/test/modules/checkbox.spec.js +5 -7
  511. package/test/modules/dropdown.spec.js +5 -7
  512. package/test/modules/modal.spec.js +6 -8
  513. package/test/modules/module.spec.js +158 -178
  514. package/test/modules/popup.spec.js +5 -7
  515. package/test/modules/search.spec.js +5 -7
  516. package/test/modules/shape.spec.js +5 -7
  517. package/test/modules/sidebar.spec.js +5 -7
  518. package/test/modules/tab.spec.js +6 -8
  519. package/test/modules/transition.spec.js +5 -7
  520. package/test/modules/video.spec.js +5 -7
  521. package/.github/workflows/codeql.yml +0 -68
@@ -11,987 +11,1008 @@
11
11
  */
12
12
 
13
13
  & when (@variationTransitionBrowse) {
14
- /*--------------
15
- Browse
16
- ---------------*/
17
-
18
- .transition.browse {
19
- animation-duration: 500ms;
20
- }
21
- .transition.browse.in {
22
- animation-name: browseIn;
23
- }
24
- .transition.browse.out,
25
- .transition.browse.left.out {
26
- animation-name: browseOutLeft;
27
- }
28
- .transition.browse.right.out {
29
- animation-name: browseOutRight;
30
- }
31
-
32
- /* In */
33
- @keyframes browseIn {
34
- 0% {
35
- transform: scale(0.8) translateZ(0px);
36
- z-index: -1;
37
- }
38
- 10% {
39
- transform: scale(0.8) translateZ(0px);
40
- z-index: -1;
41
- opacity: 0.7;
42
- }
43
- 80% {
44
- transform: scale(1.05) translateZ(0px);
45
- opacity: 1;
46
- z-index: 999;
47
- }
48
- 100% {
49
- transform: scale(1) translateZ(0px);
50
- z-index: 999;
51
- }
52
- }
53
-
54
- /* Out */
55
- @keyframes browseOutLeft {
56
- 0% {
57
- z-index: 999;
58
- transform: translateX(0%) rotateY(0deg) rotateX(0deg);
59
- }
60
- 50% {
61
- z-index: -1;
62
- transform: translateX(-105%) rotateY(35deg) rotateX(10deg) translateZ(-10px);
63
- }
64
- 80% {
65
- opacity: 1;
66
- }
67
- 100% {
68
- z-index: -1;
69
- transform: translateX(0%) rotateY(0deg) rotateX(0deg) translateZ(-10px);
70
- opacity: 0;
71
- }
72
- }
73
- @keyframes browseOutRight {
74
- 0% {
75
- z-index: 999;
76
- transform: translateX(0%) rotateY(0deg) rotateX(0deg);
77
- }
78
- 50% {
79
- z-index: 1;
80
- transform: translateX(105%) rotateY(35deg) rotateX(10deg) translateZ(-10px);
81
- }
82
- 80% {
83
- opacity: 1;
84
- }
85
- 100% {
86
- z-index: 1;
87
- transform: translateX(0%) rotateY(0deg) rotateX(0deg) translateZ(-10px);
88
- opacity: 0;
89
- }
90
- }
14
+ /* --------------
15
+ Browse
16
+ --------------- */
17
+
18
+ .transition.browse {
19
+ animation-duration: 500ms;
20
+ }
21
+ .transition.browse.in {
22
+ animation-name: browseIn;
23
+ }
24
+ .transition.browse.out,
25
+ .transition.browse.left.out {
26
+ animation-name: browseOutLeft;
27
+ }
28
+ .transition.browse.right.out {
29
+ animation-name: browseOutRight;
30
+ }
31
+
32
+ /* In */
33
+ @keyframes browseIn {
34
+ 0% {
35
+ transform: scale(0.8) translateZ(0);
36
+ z-index: -1;
37
+ }
38
+ 10% {
39
+ transform: scale(0.8) translateZ(0);
40
+ z-index: -1;
41
+ opacity: 0.7;
42
+ }
43
+ 80% {
44
+ transform: scale(1.05) translateZ(0);
45
+ opacity: 1;
46
+ z-index: 999;
47
+ }
48
+ 100% {
49
+ transform: scale(1) translateZ(0);
50
+ z-index: 999;
51
+ }
52
+ }
53
+
54
+ /* Out */
55
+ @keyframes browseOutLeft {
56
+ 0% {
57
+ z-index: 999;
58
+ transform: translateX(0) rotateY(0) rotateX(0);
59
+ }
60
+ 50% {
61
+ z-index: -1;
62
+ transform: translateX(-105%) rotateY(35deg) rotateX(10deg) translateZ(-10px);
63
+ }
64
+ 80% {
65
+ opacity: 1;
66
+ }
67
+ 100% {
68
+ z-index: -1;
69
+ transform: translateX(0) rotateY(0) rotateX(0) translateZ(-10px);
70
+ opacity: 0;
71
+ }
72
+ }
73
+ @keyframes browseOutRight {
74
+ 0% {
75
+ z-index: 999;
76
+ transform: translateX(0) rotateY(0) rotateX(0);
77
+ }
78
+ 50% {
79
+ z-index: 1;
80
+ transform: translateX(105%) rotateY(35deg) rotateX(10deg) translateZ(-10px);
81
+ }
82
+ 80% {
83
+ opacity: 1;
84
+ }
85
+ 100% {
86
+ z-index: 1;
87
+ transform: translateX(0) rotateY(0) rotateX(0) translateZ(-10px);
88
+ opacity: 0;
89
+ }
90
+ }
91
91
  }
92
92
 
93
93
  & when (@variationTransitionDrop) {
94
- /*--------------
95
- Drop
96
- ---------------*/
97
-
98
- .drop.transition {
99
- transform-origin: top center;
100
- animation-duration: 400ms;
101
- animation-timing-function: cubic-bezier(0.34, 1.61, 0.7, 1);
102
- }
103
- .drop.transition.in {
104
- animation-name: dropIn;
105
- }
106
- .drop.transition.out {
107
- animation-name: dropOut;
108
- }
109
-
110
- /* Drop */
111
- @keyframes dropIn {
112
- 0% {
113
- opacity: 0;
114
- transform: scale(0);
115
- }
116
- 100% {
117
- opacity: 1;
118
- transform: scale(1);
119
- }
120
- }
121
- @keyframes dropOut {
122
- 0% {
123
- opacity: 1;
124
- transform: scale(1);
125
- }
126
- 100% {
127
- opacity: 0;
128
- transform: scale(0);
129
- }
130
- }
94
+ /* --------------
95
+ Drop
96
+ --------------- */
97
+
98
+ .drop.transition {
99
+ transform-origin: top center;
100
+ animation-duration: 400ms;
101
+ animation-timing-function: cubic-bezier(0.34, 1.61, 0.7, 1);
102
+ }
103
+ .drop.transition.in {
104
+ animation-name: dropIn;
105
+ }
106
+ .drop.transition.out {
107
+ animation-name: dropOut;
108
+ }
109
+
110
+ /* Drop */
111
+ @keyframes dropIn {
112
+ 0% {
113
+ opacity: 0;
114
+ transform: scale(0);
115
+ }
116
+ 100% {
117
+ opacity: 1;
118
+ transform: scale(1);
119
+ }
120
+ }
121
+ @keyframes dropOut {
122
+ 0% {
123
+ opacity: 1;
124
+ transform: scale(1);
125
+ }
126
+ 100% {
127
+ opacity: 0;
128
+ transform: scale(0);
129
+ }
130
+ }
131
131
  }
132
132
 
133
133
  & when (@variationTransitionFade) {
134
- /*--------------
135
- Fade
136
- ---------------*/
137
-
138
- .transition.fade.in {
139
- animation-name: fadeIn;
140
- }
141
- .transition[class*="fade up"].in {
142
- animation-name: fadeInUp;
143
- }
144
- .transition[class*="fade down"].in {
145
- animation-name: fadeInDown;
146
- }
147
- .transition[class*="fade left"].in {
148
- animation-name: fadeInLeft;
149
- }
150
- .transition[class*="fade right"].in {
151
- animation-name: fadeInRight;
152
- }
153
-
154
- .transition.fade.out {
155
- animation-name: fadeOut;
156
- }
157
- .transition[class*="fade up"].out {
158
- animation-name: fadeOutUp;
159
- }
160
- .transition[class*="fade down"].out {
161
- animation-name: fadeOutDown;
162
- }
163
- .transition[class*="fade left"].out {
164
- animation-name: fadeOutLeft;
165
- }
166
- .transition[class*="fade right"].out {
167
- animation-name: fadeOutRight;
168
- }
169
-
170
- /* In */
171
- @keyframes fadeIn {
172
- 0% {
173
- opacity: 0;
174
- }
175
- 100% {
176
- opacity: 1;
177
- }
178
- }
179
- @keyframes fadeInUp {
180
- 0% {
181
- opacity: 0;
182
- transform: translateY(10%);
183
- }
184
- 100% {
185
- opacity: 1;
186
- transform: translateY(0%);
187
- }
188
- }
189
- @keyframes fadeInDown {
190
- 0% {
191
- opacity: 0;
192
- transform: translateY(-10%);
193
- }
194
- 100% {
195
- opacity: 1;
196
- transform: translateY(0%);
197
- }
198
- }
199
- @keyframes fadeInLeft {
200
- 0% {
201
- opacity: 0;
202
- transform: translateX(10%);
203
- }
204
- 100% {
205
- opacity: 1;
206
- transform: translateX(0%);
207
- }
208
- }
209
- @keyframes fadeInRight {
210
- 0% {
211
- opacity: 0;
212
- transform: translateX(-10%);
213
- }
214
- 100% {
215
- opacity: 1;
216
- transform: translateX(0%);
217
- }
218
- }
219
-
220
- /* Out */
221
- @keyframes fadeOut {
222
- 0% {
223
- opacity: 1;
224
- }
225
- 100% {
226
- opacity: 0;
227
- }
228
- }
229
- @keyframes fadeOutUp {
230
- 0% {
231
- opacity: 1;
232
- transform: translateY(0%);
233
- }
234
- 100% {
235
- opacity: 0;
236
- transform: translateY(5%);
237
- }
238
- }
239
- @keyframes fadeOutDown {
240
- 0% {
241
- opacity: 1;
242
- transform: translateY(0%);
243
- }
244
- 100% {
245
- opacity: 0;
246
- transform: translateY(-5%);
247
- }
248
- }
249
- @keyframes fadeOutLeft {
250
- 0% {
251
- opacity: 1;
252
- transform: translateX(0%);
253
- }
254
- 100% {
255
- opacity: 0;
256
- transform: translateX(5%);
257
- }
258
- }
259
- @keyframes fadeOutRight {
260
- 0% {
261
- opacity: 1;
262
- transform: translateX(0%);
263
- }
264
- 100% {
265
- opacity: 0;
266
- transform: translateX(-5%);
267
- }
268
- }
134
+ /* --------------
135
+ Fade
136
+ --------------- */
137
+
138
+ .transition.fade.in {
139
+ animation-name: fadeIn;
140
+ }
141
+ .transition[class*="fade up"].in {
142
+ animation-name: fadeInUp;
143
+ }
144
+ .transition[class*="fade down"].in {
145
+ animation-name: fadeInDown;
146
+ }
147
+ .transition[class*="fade left"].in {
148
+ animation-name: fadeInLeft;
149
+ }
150
+ .transition[class*="fade right"].in {
151
+ animation-name: fadeInRight;
152
+ }
153
+
154
+ .transition.fade.out {
155
+ animation-name: fadeOut;
156
+ }
157
+ .transition[class*="fade up"].out {
158
+ animation-name: fadeOutUp;
159
+ }
160
+ .transition[class*="fade down"].out {
161
+ animation-name: fadeOutDown;
162
+ }
163
+ .transition[class*="fade left"].out {
164
+ animation-name: fadeOutLeft;
165
+ }
166
+ .transition[class*="fade right"].out {
167
+ animation-name: fadeOutRight;
168
+ }
169
+
170
+ /* In */
171
+ @keyframes fadeIn {
172
+ 0% {
173
+ opacity: 0;
174
+ }
175
+ 100% {
176
+ opacity: 1;
177
+ }
178
+ }
179
+ @keyframes fadeInUp {
180
+ 0% {
181
+ opacity: 0;
182
+ transform: translateY(10%);
183
+ }
184
+ 100% {
185
+ opacity: 1;
186
+ transform: translateY(0);
187
+ }
188
+ }
189
+ @keyframes fadeInDown {
190
+ 0% {
191
+ opacity: 0;
192
+ transform: translateY(-10%);
193
+ }
194
+ 100% {
195
+ opacity: 1;
196
+ transform: translateY(0);
197
+ }
198
+ }
199
+ @keyframes fadeInLeft {
200
+ 0% {
201
+ opacity: 0;
202
+ transform: translateX(10%);
203
+ }
204
+ 100% {
205
+ opacity: 1;
206
+ transform: translateX(0);
207
+ }
208
+ }
209
+ @keyframes fadeInRight {
210
+ 0% {
211
+ opacity: 0;
212
+ transform: translateX(-10%);
213
+ }
214
+ 100% {
215
+ opacity: 1;
216
+ transform: translateX(0);
217
+ }
218
+ }
219
+
220
+ /* Out */
221
+ @keyframes fadeOut {
222
+ 0% {
223
+ opacity: 1;
224
+ }
225
+ 100% {
226
+ opacity: 0;
227
+ }
228
+ }
229
+ @keyframes fadeOutUp {
230
+ 0% {
231
+ opacity: 1;
232
+ transform: translateY(0);
233
+ }
234
+ 100% {
235
+ opacity: 0;
236
+ transform: translateY(5%);
237
+ }
238
+ }
239
+ @keyframes fadeOutDown {
240
+ 0% {
241
+ opacity: 1;
242
+ transform: translateY(0);
243
+ }
244
+ 100% {
245
+ opacity: 0;
246
+ transform: translateY(-5%);
247
+ }
248
+ }
249
+ @keyframes fadeOutLeft {
250
+ 0% {
251
+ opacity: 1;
252
+ transform: translateX(0);
253
+ }
254
+ 100% {
255
+ opacity: 0;
256
+ transform: translateX(5%);
257
+ }
258
+ }
259
+ @keyframes fadeOutRight {
260
+ 0% {
261
+ opacity: 1;
262
+ transform: translateX(0);
263
+ }
264
+ 100% {
265
+ opacity: 0;
266
+ transform: translateX(-5%);
267
+ }
268
+ }
269
269
  }
270
270
 
271
271
  & when (@variationTransitionFlip) {
272
- /*--------------
273
- Flips
274
- ---------------*/
275
-
276
- .flip.transition.in,
277
- .flip.transition.out {
278
- animation-duration: 600ms;
279
- }
280
- .horizontal.flip.transition.in {
281
- animation-name: horizontalFlipIn;
282
- }
283
- .horizontal.flip.transition.out {
284
- animation-name: horizontalFlipOut;
285
- }
286
- .vertical.flip.transition.in {
287
- animation-name: verticalFlipIn;
288
- }
289
- .vertical.flip.transition.out {
290
- animation-name: verticalFlipOut;
291
- }
292
-
293
- /* In */
294
- @keyframes horizontalFlipIn {
295
- 0% {
296
- transform: perspective(2000px) rotateY(-90deg);
297
- opacity: 0;
298
- }
299
- 100% {
300
- transform: perspective(2000px) rotateY(0deg);
301
- opacity: 1;
302
- }
303
- }
304
- @keyframes verticalFlipIn {
305
- 0% {
306
- transform: perspective(2000px) rotateX(-90deg);
307
- opacity: 0;
308
- }
309
- 100% {
310
- transform: perspective(2000px) rotateX(0deg);
311
- opacity: 1;
312
- }
313
- }
314
-
315
- /* Out */
316
- @keyframes horizontalFlipOut {
317
- 0% {
318
- transform: perspective(2000px) rotateY(0deg);
319
- opacity: 1;
320
- }
321
- 100% {
322
- transform: perspective(2000px) rotateY(90deg);
323
- opacity: 0;
324
- }
325
- }
326
- @keyframes verticalFlipOut {
327
- 0% {
328
- transform: perspective(2000px) rotateX(0deg);
329
- opacity: 1;
330
- }
331
- 100% {
332
- transform: perspective(2000px) rotateX(-90deg);
333
- opacity: 0;
334
- }
335
- }
272
+ /* --------------
273
+ Flips
274
+ --------------- */
275
+
276
+ .flip.transition.in,
277
+ .flip.transition.out {
278
+ animation-duration: 600ms;
279
+ }
280
+ .horizontal.flip.transition.in {
281
+ animation-name: horizontalFlipIn;
282
+ }
283
+ .horizontal.flip.transition.out {
284
+ animation-name: horizontalFlipOut;
285
+ }
286
+ .vertical.flip.transition.in {
287
+ animation-name: verticalFlipIn;
288
+ }
289
+ .vertical.flip.transition.out {
290
+ animation-name: verticalFlipOut;
291
+ }
292
+
293
+ /* In */
294
+ @keyframes horizontalFlipIn {
295
+ 0% {
296
+ transform: perspective(2000px) rotateY(-90deg);
297
+ opacity: 0;
298
+ }
299
+ 100% {
300
+ transform: perspective(2000px) rotateY(0);
301
+ opacity: 1;
302
+ }
303
+ }
304
+ @keyframes verticalFlipIn {
305
+ 0% {
306
+ transform: perspective(2000px) rotateX(-90deg);
307
+ opacity: 0;
308
+ }
309
+ 100% {
310
+ transform: perspective(2000px) rotateX(0);
311
+ opacity: 1;
312
+ }
313
+ }
314
+
315
+ /* Out */
316
+ @keyframes horizontalFlipOut {
317
+ 0% {
318
+ transform: perspective(2000px) rotateY(0);
319
+ opacity: 1;
320
+ }
321
+ 100% {
322
+ transform: perspective(2000px) rotateY(90deg);
323
+ opacity: 0;
324
+ }
325
+ }
326
+ @keyframes verticalFlipOut {
327
+ 0% {
328
+ transform: perspective(2000px) rotateX(0);
329
+ opacity: 1;
330
+ }
331
+ 100% {
332
+ transform: perspective(2000px) rotateX(-90deg);
333
+ opacity: 0;
334
+ }
335
+ }
336
336
  }
337
337
 
338
338
  & when (@variationTransitionScale) {
339
- /*--------------
340
- Scale
341
- ---------------*/
342
-
343
- .scale.transition.in {
344
- animation-name: scaleIn;
345
- }
346
- .scale.transition.out {
347
- animation-name: scaleOut;
348
- }
349
-
350
- @keyframes scaleIn {
351
- 0% {
352
- opacity: 0;
353
- transform: scale(0.8);
354
- }
355
- 100% {
356
- opacity: 1;
357
- transform: scale(1);
358
- }
359
- }
360
-
361
- /* Out */
362
- @keyframes scaleOut {
363
- 0% {
364
- opacity: 1;
365
- transform: scale(1);
366
- }
367
- 100% {
368
- opacity: 0;
369
- transform: scale(0.9);
370
- }
371
- }
339
+ /* --------------
340
+ Scale
341
+ --------------- */
342
+
343
+ .scale.transition.in {
344
+ animation-name: scaleIn;
345
+ }
346
+ .scale.transition.out {
347
+ animation-name: scaleOut;
348
+ }
349
+
350
+ @keyframes scaleIn {
351
+ 0% {
352
+ opacity: 0;
353
+ transform: scale(0.8);
354
+ }
355
+ 100% {
356
+ opacity: 1;
357
+ transform: scale(1);
358
+ }
359
+ }
360
+
361
+ /* Out */
362
+ @keyframes scaleOut {
363
+ 0% {
364
+ opacity: 1;
365
+ transform: scale(1);
366
+ }
367
+ 100% {
368
+ opacity: 0;
369
+ transform: scale(0.9);
370
+ }
371
+ }
372
372
  }
373
373
 
374
374
  & when (@variationTransitionFly) {
375
- /*--------------
376
- Fly
377
- ---------------*/
378
-
379
- /* Inward */
380
- .transition.fly {
381
- animation-duration: 0.6s;
382
- transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
383
- }
384
- .transition.fly.in {
385
- animation-name: flyIn;
386
- }
387
- .transition[class*="fly up"].in {
388
- animation-name: flyInUp;
389
- }
390
- .transition[class*="fly down"].in {
391
- animation-name: flyInDown;
392
- }
393
- .transition[class*="fly left"].in {
394
- animation-name: flyInLeft;
395
- }
396
- .transition[class*="fly right"].in {
397
- animation-name: flyInRight;
398
- }
399
-
400
- /* Outward */
401
- .transition.fly.out {
402
- animation-name: flyOut;
403
- }
404
- .transition[class*="fly up"].out {
405
- animation-name: flyOutUp;
406
- }
407
- .transition[class*="fly down"].out {
408
- animation-name: flyOutDown;
409
- }
410
- .transition[class*="fly left"].out {
411
- animation-name: flyOutLeft;
412
- }
413
- .transition[class*="fly right"].out {
414
- animation-name: flyOutRight;
415
- }
416
-
417
- /* In */
418
- @keyframes flyIn {
419
- 0% {
420
- opacity: 0;
421
- transform: scale3d(.3, .3, .3);
422
- }
423
- 20% {
424
- transform: scale3d(1.1, 1.1, 1.1);
425
- }
426
- 40% {
427
- transform: scale3d(.9, .9, .9);
428
- }
429
- 60% {
430
- opacity: 1;
431
- transform: scale3d(1.03, 1.03, 1.03);
432
- }
433
- 80% {
434
- transform: scale3d(.97, .97, .97);
435
- }
436
- 100% {
437
- opacity: 1;
438
- transform: scale3d(1, 1, 1);
439
- }
440
- }
441
- @keyframes flyInUp {
442
- 0% {
443
- opacity: 0;
444
- transform: translate3d(0, 1500px, 0);
445
- }
446
- 60% {
447
- opacity: 1;
448
- transform: translate3d(0, -20px, 0);
449
- }
450
- 75% {
451
- transform: translate3d(0, 10px, 0);
452
- }
453
- 90% {
454
- transform: translate3d(0, -5px, 0);
455
- }
456
- 100% {
457
- transform: translate3d(0, 0, 0);
458
- }
459
- }
460
- @keyframes flyInDown {
461
- 0% {
462
- opacity: 0;
463
- transform: translate3d(0, -1500px, 0);
464
- }
465
- 60% {
466
- opacity: 1;
467
- transform: translate3d(0, 25px, 0);
468
- }
469
- 75% {
470
- transform: translate3d(0, -10px, 0);
471
- }
472
- 90% {
473
- transform: translate3d(0, 5px, 0);
474
- }
475
- 100% {
476
- transform: none;
477
- }
478
- }
479
- @keyframes flyInLeft {
480
- 0% {
481
- opacity: 0;
482
- transform: translate3d(1500px, 0, 0);
483
- }
484
- 60% {
485
- opacity: 1;
486
- transform: translate3d(-25px, 0, 0);
487
- }
488
- 75% {
489
- transform: translate3d(10px, 0, 0);
490
- }
491
- 90% {
492
- transform: translate3d(-5px, 0, 0);
493
- }
494
- 100% {
495
- transform: none;
496
- }
497
- }
498
- @keyframes flyInRight {
499
- 0% {
500
- opacity: 0;
501
- transform: translate3d(-1500px, 0, 0);
502
- }
503
- 60% {
504
- opacity: 1;
505
- transform: translate3d(25px, 0, 0);
506
- }
507
- 75% {
508
- transform: translate3d(-10px, 0, 0);
509
- }
510
- 90% {
511
- transform: translate3d(5px, 0, 0);
512
- }
513
- 100% {
514
- transform: none;
515
- }
516
- }
517
-
518
- /* Out */
519
- @keyframes flyOut {
520
- 20% {
521
- transform: scale3d(.9, .9, .9);
522
- }
523
- 50%, 55% {
524
- opacity: 1;
525
- transform: scale3d(1.1, 1.1, 1.1);
526
- }
527
- 100% {
528
- opacity: 0;
529
- transform: scale3d(.3, .3, .3);
530
- }
531
- }
532
- @keyframes flyOutUp {
533
- 20% {
534
- transform: translate3d(0, 10px, 0);
535
- }
536
- 40%, 45% {
537
- opacity: 1;
538
- transform: translate3d(0, -20px, 0);
539
- }
540
- 100% {
541
- opacity: 0;
542
- transform: translate3d(0, 2000px, 0);
543
- }
544
- }
545
- @keyframes flyOutDown {
546
- 20% {
547
- transform: translate3d(0, -10px, 0);
375
+ /* --------------
376
+ Fly
377
+ --------------- */
378
+
379
+ /* Inward */
380
+ .transition.fly {
381
+ animation-duration: 0.6s;
382
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
383
+ }
384
+ .transition.fly.in {
385
+ animation-name: flyIn;
386
+ }
387
+ .transition[class*="fly up"].in {
388
+ animation-name: flyInUp;
389
+ }
390
+ .transition[class*="fly down"].in {
391
+ animation-name: flyInDown;
392
+ }
393
+ .transition[class*="fly left"].in {
394
+ animation-name: flyInLeft;
395
+ }
396
+ .transition[class*="fly right"].in {
397
+ animation-name: flyInRight;
398
+ }
399
+
400
+ /* Outward */
401
+ .transition.fly.out {
402
+ animation-name: flyOut;
403
+ }
404
+ .transition[class*="fly up"].out {
405
+ animation-name: flyOutUp;
406
+ }
407
+ .transition[class*="fly down"].out {
408
+ animation-name: flyOutDown;
409
+ }
410
+ .transition[class*="fly left"].out {
411
+ animation-name: flyOutLeft;
412
+ }
413
+ .transition[class*="fly right"].out {
414
+ animation-name: flyOutRight;
415
+ }
416
+
417
+ /* In */
418
+ @keyframes flyIn {
419
+ 0% {
420
+ opacity: 0;
421
+ transform: scale3d(0.3, 0.3, 0.3);
422
+ }
423
+ 20% {
424
+ transform: scale3d(1.1, 1.1, 1.1);
425
+ }
426
+ 40% {
427
+ transform: scale3d(0.9, 0.9, 0.9);
428
+ }
429
+ 60% {
430
+ opacity: 1;
431
+ transform: scale3d(1.03, 1.03, 1.03);
432
+ }
433
+ 80% {
434
+ transform: scale3d(0.97, 0.97, 0.97);
435
+ }
436
+ 100% {
437
+ opacity: 1;
438
+ transform: scale3d(1, 1, 1);
439
+ }
440
+ }
441
+ @keyframes flyInUp {
442
+ 0% {
443
+ opacity: 0;
444
+ transform: translate3d(0, 1500px, 0);
445
+ }
446
+ 60% {
447
+ opacity: 1;
448
+ transform: translate3d(0, -20px, 0);
449
+ }
450
+ 75% {
451
+ transform: translate3d(0, 10px, 0);
452
+ }
453
+ 90% {
454
+ transform: translate3d(0, -5px, 0);
455
+ }
456
+ 100% {
457
+ transform: translate3d(0, 0, 0);
458
+ }
459
+ }
460
+ @keyframes flyInDown {
461
+ 0% {
462
+ opacity: 0;
463
+ transform: translate3d(0, -1500px, 0);
464
+ }
465
+ 60% {
466
+ opacity: 1;
467
+ transform: translate3d(0, 25px, 0);
468
+ }
469
+ 75% {
470
+ transform: translate3d(0, -10px, 0);
471
+ }
472
+ 90% {
473
+ transform: translate3d(0, 5px, 0);
474
+ }
475
+ 100% {
476
+ transform: none;
477
+ }
478
+ }
479
+ @keyframes flyInLeft {
480
+ 0% {
481
+ opacity: 0;
482
+ transform: translate3d(1500px, 0, 0);
483
+ }
484
+ 60% {
485
+ opacity: 1;
486
+ transform: translate3d(-25px, 0, 0);
487
+ }
488
+ 75% {
489
+ transform: translate3d(10px, 0, 0);
490
+ }
491
+ 90% {
492
+ transform: translate3d(-5px, 0, 0);
493
+ }
494
+ 100% {
495
+ transform: none;
496
+ }
497
+ }
498
+ @keyframes flyInRight {
499
+ 0% {
500
+ opacity: 0;
501
+ transform: translate3d(-1500px, 0, 0);
502
+ }
503
+ 60% {
504
+ opacity: 1;
505
+ transform: translate3d(25px, 0, 0);
506
+ }
507
+ 75% {
508
+ transform: translate3d(-10px, 0, 0);
509
+ }
510
+ 90% {
511
+ transform: translate3d(5px, 0, 0);
512
+ }
513
+ 100% {
514
+ transform: none;
515
+ }
516
+ }
517
+
518
+ /* Out */
519
+ @keyframes flyOut {
520
+ 20% {
521
+ transform: scale3d(0.9, 0.9, 0.9);
522
+ }
523
+ 50%,
524
+ 55% {
525
+ opacity: 1;
526
+ transform: scale3d(1.1, 1.1, 1.1);
527
+ }
528
+ 100% {
529
+ opacity: 0;
530
+ transform: scale3d(0.3, 0.3, 0.3);
531
+ }
532
+ }
533
+ @keyframes flyOutUp {
534
+ 20% {
535
+ transform: translate3d(0, 10px, 0);
536
+ }
537
+ 40%,
538
+ 45% {
539
+ opacity: 1;
540
+ transform: translate3d(0, -20px, 0);
541
+ }
542
+ 100% {
543
+ opacity: 0;
544
+ transform: translate3d(0, 2000px, 0);
545
+ }
546
+ }
547
+ @keyframes flyOutDown {
548
+ 20% {
549
+ transform: translate3d(0, -10px, 0);
550
+ }
551
+ 40%,
552
+ 45% {
553
+ opacity: 1;
554
+ transform: translate3d(0, 20px, 0);
555
+ }
556
+ 100% {
557
+ opacity: 0;
558
+ transform: translate3d(0, -2000px, 0);
559
+ }
560
+ }
561
+ @keyframes flyOutRight {
562
+ 20% {
563
+ opacity: 1;
564
+ transform: translate3d(20px, 0, 0);
565
+ }
566
+ 100% {
567
+ opacity: 0;
568
+ transform: translate3d(-2000px, 0, 0);
569
+ }
570
+ }
571
+ @keyframes flyOutLeft {
572
+ 20% {
573
+ opacity: 1;
574
+ transform: translate3d(-20px, 0, 0);
575
+ }
576
+ 100% {
577
+ opacity: 0;
578
+ transform: translate3d(2000px, 0, 0);
579
+ }
548
580
  }
549
- 40%, 45% {
550
- opacity: 1;
551
- transform: translate3d(0, 20px, 0);
552
- }
553
- 100% {
554
- opacity: 0;
555
- transform: translate3d(0, -2000px, 0);
556
- }
557
- }
558
- @keyframes flyOutRight {
559
- 20% {
560
- opacity: 1;
561
- transform: translate3d(20px, 0, 0);
562
- }
563
- 100% {
564
- opacity: 0;
565
- transform: translate3d(-2000px, 0, 0);
566
- }
567
- }
568
- @keyframes flyOutLeft {
569
- 20% {
570
- opacity: 1;
571
- transform: translate3d(-20px, 0, 0);
572
- }
573
- 100% {
574
- opacity: 0;
575
- transform: translate3d(2000px, 0, 0);
576
- }
577
- }
578
581
  }
579
582
 
580
583
  & when (@variationTransitionSlide) {
581
- /*--------------
582
- Slide
583
- ---------------*/
584
-
585
- .transition.slide.in,
586
- .transition[class*="slide down"].in {
587
- animation-name: slideInY;
588
- transform-origin: top center;
589
- }
590
- .transition[class*="slide up"].in {
591
- animation-name: slideInY;
592
- transform-origin: bottom center;
593
- }
594
- .transition[class*="slide left"].in {
595
- animation-name: slideInX;
596
- transform-origin: right center;
597
- }
598
- .transition[class*="slide right"].in {
599
- animation-name: slideInX;
600
- transform-origin: left center;
601
- }
602
-
603
- .transition.slide.out,
604
- .transition[class*="slide down"].out {
605
- animation-name: slideOutY;
606
- transform-origin: top center;
607
- }
608
- .transition[class*="slide up"].out {
609
- animation-name: slideOutY;
610
- transform-origin: bottom center;
611
- }
612
- .transition[class*="slide left"].out {
613
- animation-name: slideOutX;
614
- transform-origin: right center;
615
- }
616
- .transition[class*="slide right"].out {
617
- animation-name: slideOutX;
618
- transform-origin: left center;
619
- }
620
-
621
- /* In */
622
- @keyframes slideInY {
623
- 0% {
624
- opacity: 0;
625
- transform: scaleY(0);
626
- }
627
- 100% {
628
- opacity: 1;
629
- transform: scaleY(1);
630
- }
631
- }
632
- @keyframes slideInX {
633
- 0% {
634
- opacity: 0;
635
- transform: scaleX(0);
636
- }
637
- 100% {
638
- opacity: 1;
639
- transform: scaleX(1);
640
- }
641
- }
642
-
643
- /* Out */
644
- @keyframes slideOutY {
645
- 0% {
646
- opacity: 1;
647
- transform: scaleY(1);
648
- }
649
- 100% {
650
- opacity: 0;
651
- transform: scaleY(0);
652
- }
653
- }
654
- @keyframes slideOutX {
655
- 0% {
656
- opacity: 1;
657
- transform: scaleX(1);
658
- }
659
- 100% {
660
- opacity: 0;
661
- transform: scaleX(0);
662
- }
663
- }
584
+ /* --------------
585
+ Slide
586
+ --------------- */
587
+
588
+ .transition.slide.in,
589
+ .transition[class*="slide down"].in {
590
+ animation-name: slideInY;
591
+ transform-origin: top center;
592
+ }
593
+ .transition[class*="slide up"].in {
594
+ animation-name: slideInY;
595
+ transform-origin: bottom center;
596
+ }
597
+ .transition[class*="slide left"].in {
598
+ animation-name: slideInX;
599
+ transform-origin: right center;
600
+ }
601
+ .transition[class*="slide right"].in {
602
+ animation-name: slideInX;
603
+ transform-origin: left center;
604
+ }
605
+
606
+ .transition.slide.out,
607
+ .transition[class*="slide down"].out {
608
+ animation-name: slideOutY;
609
+ transform-origin: top center;
610
+ }
611
+ .transition[class*="slide up"].out {
612
+ animation-name: slideOutY;
613
+ transform-origin: bottom center;
614
+ }
615
+ .transition[class*="slide left"].out {
616
+ animation-name: slideOutX;
617
+ transform-origin: right center;
618
+ }
619
+ .transition[class*="slide right"].out {
620
+ animation-name: slideOutX;
621
+ transform-origin: left center;
622
+ }
623
+
624
+ /* In */
625
+ @keyframes slideInY {
626
+ 0% {
627
+ opacity: 0;
628
+ transform: scaleY(0);
629
+ }
630
+ 100% {
631
+ opacity: 1;
632
+ transform: scaleY(1);
633
+ }
634
+ }
635
+ @keyframes slideInX {
636
+ 0% {
637
+ opacity: 0;
638
+ transform: scaleX(0);
639
+ }
640
+ 100% {
641
+ opacity: 1;
642
+ transform: scaleX(1);
643
+ }
644
+ }
645
+
646
+ /* Out */
647
+ @keyframes slideOutY {
648
+ 0% {
649
+ opacity: 1;
650
+ transform: scaleY(1);
651
+ }
652
+ 100% {
653
+ opacity: 0;
654
+ transform: scaleY(0);
655
+ }
656
+ }
657
+ @keyframes slideOutX {
658
+ 0% {
659
+ opacity: 1;
660
+ transform: scaleX(1);
661
+ }
662
+ 100% {
663
+ opacity: 0;
664
+ transform: scaleX(0);
665
+ }
666
+ }
664
667
  }
665
668
 
666
669
  & when (@variationTransitionSwing) {
667
- /*--------------
668
- Swing
669
- ---------------*/
670
-
671
- .transition.swing {
672
- animation-duration: 800ms;
673
- }
674
-
675
- .transition[class*="swing down"].in {
676
- animation-name: swingInX;
677
- transform-origin: top center;
678
- }
679
- .transition[class*="swing up"].in {
680
- animation-name: swingInX;
681
- transform-origin: bottom center;
682
- }
683
- .transition[class*="swing left"].in {
684
- animation-name: swingInY;
685
- transform-origin: right center;
686
- }
687
- .transition[class*="swing right"].in {
688
- animation-name: swingInY;
689
- transform-origin: left center;
690
- }
691
-
692
- .transition.swing.out,
693
- .transition[class*="swing down"].out {
694
- animation-name: swingOutX;
695
- transform-origin: top center;
696
- }
697
- .transition[class*="swing up"].out {
698
- animation-name: swingOutX;
699
- transform-origin: bottom center;
700
- }
701
- .transition[class*="swing left"].out {
702
- animation-name: swingOutY;
703
- transform-origin: right center;
704
- }
705
- .transition[class*="swing right"].out {
706
- animation-name: swingOutY;
707
- transform-origin: left center;
708
- }
709
-
710
- /* In */
711
- @keyframes swingInX {
712
- 0% {
713
- transform: perspective(1000px) rotateX(90deg);
714
- opacity: 0;
715
- }
716
- 40% {
717
- transform: perspective(1000px) rotateX(-30deg);
718
- opacity: 1;
719
- }
720
- 60% {
721
- transform: perspective(1000px) rotateX(15deg);
722
- }
723
- 80% {
724
- transform: perspective(1000px) rotateX(-7.5deg);
725
- }
726
- 100% {
727
- transform: perspective(1000px) rotateX(0deg);
728
- }
729
- }
730
- @keyframes swingInY {
731
- 0% {
732
- transform: perspective(1000px) rotateY(-90deg);
733
- opacity: 0;
734
- }
735
- 40% {
736
- transform: perspective(1000px) rotateY(30deg);
737
- opacity: 1;
738
- }
739
- 60% {
740
- transform: perspective(1000px) rotateY(-17.5deg);
741
- }
742
- 80% {
743
- transform: perspective(1000px) rotateY(7.5deg);
744
- }
745
- 100% {
746
- transform: perspective(1000px) rotateY(0deg);
747
- }
748
- }
749
-
750
- /* Out */
751
- @keyframes swingOutX {
752
- 0% {
753
- transform: perspective(1000px) rotateX(0deg);
754
- }
755
- 40% {
756
- transform: perspective(1000px) rotateX(-7.5deg);
757
- }
758
- 60% {
759
- transform: perspective(1000px) rotateX(17.5deg);
760
- }
761
- 80% {
762
- transform: perspective(1000px) rotateX(-30deg);
763
- opacity: 1;
764
- }
765
- 100% {
766
- transform: perspective(1000px) rotateX(90deg);
767
- opacity: 0;
768
- }
769
- }
770
- @keyframes swingOutY {
771
- 0% {
772
- transform: perspective(1000px) rotateY(0deg);
773
- }
774
- 40% {
775
- transform: perspective(1000px) rotateY(7.5deg);
776
- }
777
- 60% {
778
- transform: perspective(1000px) rotateY(-10deg);
779
- }
780
- 80% {
781
- transform: perspective(1000px) rotateY(30deg);
782
- opacity: 1;
783
- }
784
- 100% {
785
- transform: perspective(1000px) rotateY(-90deg);
786
- opacity: 0;
787
- }
788
- }
670
+ /* --------------
671
+ Swing
672
+ --------------- */
673
+
674
+ .transition.swing {
675
+ animation-duration: 800ms;
676
+ }
677
+
678
+ .transition[class*="swing down"].in {
679
+ animation-name: swingInX;
680
+ transform-origin: top center;
681
+ }
682
+ .transition[class*="swing up"].in {
683
+ animation-name: swingInX;
684
+ transform-origin: bottom center;
685
+ }
686
+ .transition[class*="swing left"].in {
687
+ animation-name: swingInY;
688
+ transform-origin: right center;
689
+ }
690
+ .transition[class*="swing right"].in {
691
+ animation-name: swingInY;
692
+ transform-origin: left center;
693
+ }
694
+
695
+ .transition.swing.out,
696
+ .transition[class*="swing down"].out {
697
+ animation-name: swingOutX;
698
+ transform-origin: top center;
699
+ }
700
+ .transition[class*="swing up"].out {
701
+ animation-name: swingOutX;
702
+ transform-origin: bottom center;
703
+ }
704
+ .transition[class*="swing left"].out {
705
+ animation-name: swingOutY;
706
+ transform-origin: right center;
707
+ }
708
+ .transition[class*="swing right"].out {
709
+ animation-name: swingOutY;
710
+ transform-origin: left center;
711
+ }
712
+
713
+ /* In */
714
+ @keyframes swingInX {
715
+ 0% {
716
+ transform: perspective(1000px) rotateX(90deg);
717
+ opacity: 0;
718
+ }
719
+ 40% {
720
+ transform: perspective(1000px) rotateX(-30deg);
721
+ opacity: 1;
722
+ }
723
+ 60% {
724
+ transform: perspective(1000px) rotateX(15deg);
725
+ }
726
+ 80% {
727
+ transform: perspective(1000px) rotateX(-7.5deg);
728
+ }
729
+ 100% {
730
+ transform: perspective(1000px) rotateX(0);
731
+ }
732
+ }
733
+ @keyframes swingInY {
734
+ 0% {
735
+ transform: perspective(1000px) rotateY(-90deg);
736
+ opacity: 0;
737
+ }
738
+ 40% {
739
+ transform: perspective(1000px) rotateY(30deg);
740
+ opacity: 1;
741
+ }
742
+ 60% {
743
+ transform: perspective(1000px) rotateY(-17.5deg);
744
+ }
745
+ 80% {
746
+ transform: perspective(1000px) rotateY(7.5deg);
747
+ }
748
+ 100% {
749
+ transform: perspective(1000px) rotateY(0);
750
+ }
751
+ }
752
+
753
+ /* Out */
754
+ @keyframes swingOutX {
755
+ 0% {
756
+ transform: perspective(1000px) rotateX(0);
757
+ }
758
+ 40% {
759
+ transform: perspective(1000px) rotateX(-7.5deg);
760
+ }
761
+ 60% {
762
+ transform: perspective(1000px) rotateX(17.5deg);
763
+ }
764
+ 80% {
765
+ transform: perspective(1000px) rotateX(-30deg);
766
+ opacity: 1;
767
+ }
768
+ 100% {
769
+ transform: perspective(1000px) rotateX(90deg);
770
+ opacity: 0;
771
+ }
772
+ }
773
+ @keyframes swingOutY {
774
+ 0% {
775
+ transform: perspective(1000px) rotateY(0);
776
+ }
777
+ 40% {
778
+ transform: perspective(1000px) rotateY(7.5deg);
779
+ }
780
+ 60% {
781
+ transform: perspective(1000px) rotateY(-10deg);
782
+ }
783
+ 80% {
784
+ transform: perspective(1000px) rotateY(30deg);
785
+ opacity: 1;
786
+ }
787
+ 100% {
788
+ transform: perspective(1000px) rotateY(-90deg);
789
+ opacity: 0;
790
+ }
791
+ }
789
792
  }
790
793
 
791
794
  & when (@variationTransitionZoom) {
792
- /*--------------
793
- Zoom
794
- ---------------*/
795
-
796
- .transition.zoom.in {
797
- animation-name: zoomIn;
798
- }
799
- .transition.zoom.out {
800
- animation-name: zoomOut;
801
- }
802
- @keyframes zoomIn {
803
- 0% {
804
- opacity: 1;
805
- transform: scale(0);
806
- }
807
- 100% {
808
- opacity: 1;
809
- transform: scale(1);
810
- }
811
- }
812
- @keyframes zoomOut {
813
- 0% {
814
- opacity: 1;
815
- transform: scale(1);
816
- }
817
- 100% {
818
- opacity: 1;
819
- transform: scale(0);
820
- }
821
- }
795
+ /* --------------
796
+ Zoom
797
+ --------------- */
798
+
799
+ .transition.zoom.in {
800
+ animation-name: zoomIn;
801
+ }
802
+ .transition.zoom.out {
803
+ animation-name: zoomOut;
804
+ }
805
+ @keyframes zoomIn {
806
+ 0% {
807
+ opacity: 1;
808
+ transform: scale(0);
809
+ }
810
+ 100% {
811
+ opacity: 1;
812
+ transform: scale(1);
813
+ }
814
+ }
815
+ @keyframes zoomOut {
816
+ 0% {
817
+ opacity: 1;
818
+ transform: scale(1);
819
+ }
820
+ 100% {
821
+ opacity: 1;
822
+ transform: scale(0);
823
+ }
824
+ }
822
825
  }
823
826
 
824
-
825
827
  /*******************************
826
828
  Static Animations
827
829
  *******************************/
828
830
 
829
- /*--------------
831
+ /* --------------
830
832
  Emphasis
831
- ---------------*/
833
+ --------------- */
832
834
 
833
835
  & when (@variationTransitionFlash) {
834
- .flash.transition {
835
- animation-duration: 750ms;
836
- animation-name: flash;
837
- }
836
+ .flash.transition {
837
+ animation-duration: 750ms;
838
+ animation-name: flash;
839
+ }
838
840
  }
839
841
  & when (@variationTransitionShake) {
840
- .shake.transition {
841
- animation-duration: 750ms;
842
- animation-name: shake;
843
- }
842
+ .shake.transition {
843
+ animation-duration: 750ms;
844
+ animation-name: shake;
845
+ }
844
846
  }
845
847
  & when (@variationTransitionBounce) {
846
- .bounce.transition {
847
- animation-duration: 750ms;
848
- animation-name: bounce;
849
- }
848
+ .bounce.transition {
849
+ animation-duration: 750ms;
850
+ animation-name: bounce;
851
+ }
850
852
  }
851
853
  & when (@variationTransitionTada) {
852
- .tada.transition {
853
- animation-duration: 750ms;
854
- animation-name: tada;
855
- }
854
+ .tada.transition {
855
+ animation-duration: 750ms;
856
+ animation-name: tada;
857
+ }
856
858
  }
857
859
  & when (@variationTransitionPulse) {
858
- .pulse.transition {
859
- animation-duration: 500ms;
860
- animation-name: pulse;
861
- }
860
+ .pulse.transition {
861
+ animation-duration: 500ms;
862
+ animation-name: pulse;
863
+ }
862
864
  }
863
865
  & when (@variationTransitionJiggle) {
864
- .jiggle.transition {
865
- animation-duration: 750ms;
866
- animation-name: jiggle;
867
- }
866
+ .jiggle.transition {
867
+ animation-duration: 750ms;
868
+ animation-name: jiggle;
869
+ }
868
870
  }
869
871
  & when (@variationTransitionGlow) {
870
- .transition.glow {
871
- animation-duration: 2000ms;
872
- animation-timing-function: cubic-bezier(0.190, 1.000, 0.220, 1.000);
873
- }
874
-
875
- .transition.glow {
876
- animation-name: glow;
877
- }
872
+ .transition.glow {
873
+ animation-duration: 2000ms;
874
+ animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
875
+ }
876
+
877
+ .transition.glow {
878
+ animation-name: glow;
879
+ }
878
880
  }
879
881
 
880
882
  & when (@variationTransitionFlash) {
881
- /* Flash */
882
- @keyframes flash {
883
- 0%, 50%, 100% {
884
- opacity: 1;
885
- }
886
- 25%, 75% {
887
- opacity: 0;
883
+ /* Flash */
884
+ @keyframes flash {
885
+ 0%,
886
+ 50%,
887
+ 100% {
888
+ opacity: 1;
889
+ }
890
+ 25%,
891
+ 75% {
892
+ opacity: 0;
893
+ }
888
894
  }
889
- }
890
895
  }
891
896
  & when (@variationTransitionShake) {
892
- /* Shake */
893
- @keyframes shake {
894
- 0%, 100% {
895
- transform: translateX(0);
897
+ /* Shake */
898
+ @keyframes shake {
899
+ 0%,
900
+ 100% {
901
+ transform: translateX(0);
902
+ }
903
+ 10%,
904
+ 30%,
905
+ 50%,
906
+ 70%,
907
+ 90% {
908
+ transform: translateX(-10px);
909
+ }
910
+ 20%,
911
+ 40%,
912
+ 60%,
913
+ 80% {
914
+ transform: translateX(10px);
915
+ }
896
916
  }
897
- 10%, 30%, 50%, 70%, 90% {
898
- transform: translateX(-10px);
899
- }
900
- 20%, 40%, 60%, 80% {
901
- transform: translateX(10px);
902
- }
903
- }
904
917
  }
905
918
  & when (@variationTransitionBounce) {
906
- /* Bounce */
907
- @keyframes bounce {
908
- 0%, 20%, 50%, 80%, 100% {
909
- transform: translateY(0);
910
- }
911
- 40% {
912
- transform: translateY(-30px);
913
- }
914
- 60% {
915
- transform: translateY(-15px);
919
+ /* Bounce */
920
+ @keyframes bounce {
921
+ 0%,
922
+ 20%,
923
+ 50%,
924
+ 80%,
925
+ 100% {
926
+ transform: translateY(0);
927
+ }
928
+ 40% {
929
+ transform: translateY(-30px);
930
+ }
931
+ 60% {
932
+ transform: translateY(-15px);
933
+ }
916
934
  }
917
- }
918
935
  }
919
936
  & when (@variationTransitionTada) {
920
- /* Tada */
921
- @keyframes tada {
922
- 0% {
923
- transform: scale(1);
924
- }
925
- 10%, 20% {
926
- transform: scale(0.9) rotate(-3deg);
927
- }
928
- 30%, 50%, 70%, 90% {
929
- transform: scale(1.1) rotate(3deg);
930
- }
931
- 40%, 60%, 80% {
932
- transform: scale(1.1) rotate(-3deg);
937
+ /* Tada */
938
+ @keyframes tada {
939
+ 0% {
940
+ transform: scale(1);
941
+ }
942
+ 10%,
943
+ 20% {
944
+ transform: scale(0.9) rotate(-3deg);
945
+ }
946
+ 30%,
947
+ 50%,
948
+ 70%,
949
+ 90% {
950
+ transform: scale(1.1) rotate(3deg);
951
+ }
952
+ 40%,
953
+ 60%,
954
+ 80% {
955
+ transform: scale(1.1) rotate(-3deg);
956
+ }
957
+ 100% {
958
+ transform: scale(1) rotate(0);
959
+ }
933
960
  }
934
- 100% {
935
- transform: scale(1) rotate(0);
936
- }
937
- }
938
961
  }
939
962
  & when (@variationTransitionPulse) {
940
- /* Pulse */
941
- @keyframes pulse {
942
- 0% {
943
- transform: scale(1);
944
- opacity: 1;
945
- }
946
- 50% {
947
- transform: scale(0.9);
948
- opacity: 0.7;
963
+ /* Pulse */
964
+ @keyframes pulse {
965
+ 0% {
966
+ transform: scale(1);
967
+ opacity: 1;
968
+ }
969
+ 50% {
970
+ transform: scale(0.9);
971
+ opacity: 0.7;
972
+ }
973
+ 100% {
974
+ transform: scale(1);
975
+ opacity: 1;
976
+ }
949
977
  }
950
- 100% {
951
- transform: scale(1);
952
- opacity: 1;
953
- }
954
- }
955
-
956
978
  }
957
979
  & when (@variationTransitionJiggle) {
958
- /* Jiggle */
959
- @keyframes jiggle {
960
- 0% {
961
- transform: scale3d(1, 1, 1);
962
- }
963
- 30% {
964
- transform: scale3d(1.25, 0.75, 1);
965
- }
966
- 40% {
967
- transform: scale3d(0.75, 1.25, 1);
968
- }
969
- 50% {
970
- transform: scale3d(1.15, 0.85, 1);
980
+ /* Jiggle */
981
+ @keyframes jiggle {
982
+ 0% {
983
+ transform: scale3d(1, 1, 1);
984
+ }
985
+ 30% {
986
+ transform: scale3d(1.25, 0.75, 1);
987
+ }
988
+ 40% {
989
+ transform: scale3d(0.75, 1.25, 1);
990
+ }
991
+ 50% {
992
+ transform: scale3d(1.15, 0.85, 1);
993
+ }
994
+ 65% {
995
+ transform: scale3d(0.95, 1.05, 1);
996
+ }
997
+ 75% {
998
+ transform: scale3d(1.05, 0.95, 1);
999
+ }
1000
+ 100% {
1001
+ transform: scale3d(1, 1, 1);
1002
+ }
971
1003
  }
972
- 65% {
973
- transform: scale3d(.95, 1.05, 1);
974
- }
975
- 75% {
976
- transform: scale3d(1.05, .95, 1);
977
- }
978
- 100% {
979
- transform: scale3d(1, 1, 1);
980
- }
981
- }
982
1004
  }
983
1005
  & when (@variationTransitionGlow) {
984
- /* Glow */
985
- @keyframes glow {
986
- 0% {
987
- background-color: #FCFCFD;
1006
+ /* Glow */
1007
+ @keyframes glow {
1008
+ 0% {
1009
+ background-color: #fcfcfd;
1010
+ }
1011
+ 30% {
1012
+ background-color: #fff6cd;
1013
+ }
1014
+ 100% {
1015
+ background-color: #fcfcfd;
1016
+ }
988
1017
  }
989
- 30% {
990
- background-color: #FFF6CD;
991
- }
992
- 100% {
993
- background-color: #FCFCFD;
994
- }
995
- }
996
1018
  }
997
-