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
@@ -8,16 +8,14 @@
8
8
  *
9
9
  */
10
10
 
11
-
12
-
13
11
  /*******************************
14
12
  Theme
15
13
  *******************************/
16
14
 
17
- @type : 'module';
18
- @element : 'flyout';
15
+ @type: "module";
16
+ @element: "flyout";
19
17
 
20
- @import (multiple) '../../theme.config';
18
+ @import (multiple) "../../theme.config";
21
19
 
22
20
  /*******************************
23
21
  Flyout
@@ -25,626 +23,626 @@
25
23
 
26
24
  /* Flyout Menu */
27
25
  .ui.flyout {
28
- position: fixed;
29
- top: 0;
30
- left: 0;
31
-
32
- backface-visibility: hidden;
33
- transition: none;
34
- will-change: transform;
35
- transform: translate3d(0, 0, 0);
36
- visibility: hidden;
37
- -webkit-overflow-scrolling: touch;
38
-
39
- height: 100%;
40
- max-height: 100%;
41
- max-width: 100%;
42
- border-radius: 0;
43
- margin: 0;
44
- overflow-y: hidden;
45
- z-index: @topLayer;
46
-
47
- background: #FFFFFF;
26
+ position: fixed;
27
+ top: 0;
28
+ left: 0;
29
+ backface-visibility: hidden;
30
+ transition: none;
31
+ will-change: transform;
32
+ transform: translate3d(0, 0, 0);
33
+ visibility: hidden;
34
+ height: 100%;
35
+ max-height: 100%;
36
+ max-width: 100%;
37
+ border-radius: 0;
38
+ margin: 0;
39
+ overflow-y: hidden;
40
+ z-index: @topLayer;
41
+ background: #fff;
42
+ outline: none;
48
43
  }
49
44
 
50
45
  /* GPU Layers for Child Elements */
51
46
  .ui.flyout > * {
52
- backface-visibility: hidden;
47
+ backface-visibility: hidden;
53
48
  }
54
49
 
55
- /*--------------
50
+ /* --------------
56
51
  Close
57
- ---------------*/
52
+ --------------- */
58
53
  .ui.flyout > .close {
59
- cursor: pointer;
60
- position: absolute;
61
- top: @closeTop;
62
- right: @closeRight;
63
- z-index: 1;
64
- opacity: @closeOpacity;
65
- font-size: @closeSize;
66
- color: @closeColor;
67
- width: @closeHitbox;
68
- height: @closeHitbox;
69
- padding: @closePadding;
70
- margin: @closeMargin;
71
- text-align: right;
54
+ cursor: pointer;
55
+ position: absolute;
56
+ top: @closeTop;
57
+ right: @closeRight;
58
+ z-index: 1;
59
+ opacity: @closeOpacity;
60
+ font-size: @closeSize;
61
+ color: @closeColor;
62
+ width: @closeHitbox;
63
+ height: @closeHitbox;
64
+ padding: @closePadding;
65
+ margin: @closeMargin;
66
+ text-align: right;
72
67
  }
73
68
 
74
69
  .ui.flyout > .close:focus,
75
70
  .ui.flyout > .close:hover {
76
- opacity: 1;
77
- outline: none;
71
+ opacity: 1;
72
+ outline: none;
78
73
  }
79
74
 
80
- /*--------------
75
+ /* --------------
81
76
  Header
82
- ---------------*/
77
+ --------------- */
83
78
  .ui.flyout > .header {
84
- display: block;
85
- background: @headerBackground;
86
- margin: @headerMargin;
87
- padding: @headerPadding;
88
- box-shadow: @headerBoxShadow;
89
- color: @headerColor;
90
- border-bottom: @headerBorder;
79
+ display: block;
80
+ background: @headerBackground;
81
+ margin: @headerMargin;
82
+ padding: @headerPadding;
83
+ box-shadow: @headerBoxShadow;
84
+ color: @headerColor;
85
+ border-bottom: @headerBorder;
91
86
  }
92
87
 
93
- /*--------------
88
+ /* --------------
94
89
  Content
95
- ---------------*/
90
+ --------------- */
96
91
  .ui.flyout > .content {
97
- display: block;
98
- width: 100%;
99
- font-size: @contentFontSize;
100
- line-height: @contentLineHeight;
101
- padding: @contentPadding;
102
- background: @contentBackground;
92
+ display: block;
93
+ width: 100%;
94
+ font-size: @contentFontSize;
95
+ line-height: @contentLineHeight;
96
+ padding: @contentPadding;
97
+ background: @contentBackground;
98
+ &.scrolling when(@variationFlyoutScrolling) {
99
+ overflow: auto;
100
+ overscroll-behavior: @overscrollBehavior;
101
+ }
103
102
  }
104
103
  .ui.flyout.left > .content,
105
104
  .ui.flyout.right > .content {
106
- min-height: @contentMinHeight;
105
+ min-height: @contentMinHeightWithoutHeader;
107
106
  }
108
-
109
- .ui.flyout.left > .scrolling.content,
110
- .ui.flyout.right > .scrolling.content{
111
- max-height: @scrollingContentMaxHeight;
112
- overflow: auto;
107
+ .ui.flyout.left > .header + .content,
108
+ .ui.flyout.right > .header + .content {
109
+ min-height: @contentMinHeight;
113
110
  }
111
+ & when(@variationFlyoutScrolling) {
112
+ .ui.flyout.left > .scrolling.content,
113
+ .ui.flyout.right > .scrolling.content {
114
+ max-height: @scrollingContentMaxHeightWithoutHeader;
115
+ }
116
+ .ui.flyout.left > .header + .scrolling.content,
117
+ .ui.flyout.right > .header + .scrolling.content {
118
+ max-height: @scrollingContentMaxHeight;
119
+ }
114
120
 
115
- .ui.flyout.top > .scrolling.content,
116
- .ui.flyout.bottom > .scrolling.content{
117
- max-height: @scrollingContentMaxHeightTopBottom;
118
- overflow: auto;
121
+ .ui.flyout.top > .scrolling.content,
122
+ .ui.flyout.bottom > .scrolling.content {
123
+ max-height: @scrollingContentMaxHeightTopBottom;
124
+ }
119
125
  }
120
126
 
121
127
  & when (@variationFlyoutActions) {
122
- /*--------------
123
- Actions
124
- ---------------*/
125
- .ui.flyout > .actions {
126
- background: @actionBackground;
127
- padding: @actionPadding;
128
- border-top: @actionBorder;
129
- text-align: @actionAlign;
130
- }
131
- .ui.flyout .actions > .button:not(.fluid) {
132
- margin-left: @buttonDistance;
133
- }
134
- & when (@variationFlyoutBasic) {
135
- .ui.ui.flyout > .basic.actions {
136
- border-top: none;
137
- }
138
- }
139
- & when (@variationFlyoutLeftActions) {
140
- .ui.flyout > .left.actions {
141
- text-align: left;
142
- & > .button:not(.fluid) {
143
- margin-left: @buttonLeftDistance;
144
- margin-right: @buttonLeftDistance;
145
- }
128
+ /* --------------
129
+ Actions
130
+ --------------- */
131
+ .ui.flyout > .actions {
132
+ background: @actionBackground;
133
+ padding: @actionPadding;
134
+ border-top: @actionBorder;
135
+ text-align: @actionAlign;
136
+ }
137
+ .ui.flyout .actions > .button:not(.fluid) {
138
+ margin-left: @buttonDistance;
139
+ }
140
+ & when (@variationFlyoutBasic) {
141
+ .ui.ui.flyout > .basic.actions {
142
+ border-top: none;
143
+ }
144
+ }
145
+ & when (@variationFlyoutLeftActions) {
146
+ .ui.flyout > .left.actions {
147
+ text-align: left;
148
+ & > .button:not(.fluid) {
149
+ margin-left: @buttonLeftDistance;
150
+ margin-right: @buttonLeftDistance;
151
+ }
152
+ }
146
153
  }
147
- }
148
154
  }
149
155
  & when (@variationFlyoutCentered) {
150
- .ui.flyout > .centered,
151
- .ui.flyout > .center.aligned {
152
- text-align: center;
153
- &.actions > .button:not(.fluid) when (@variationFlyoutActions){
154
- margin-left: @buttonCenteredDistance;
155
- margin-right: @buttonCenteredDistance;
156
+ .ui.flyout > .centered,
157
+ .ui.flyout > .center.aligned {
158
+ text-align: center;
159
+ &.actions > .button:not(.fluid) when (@variationFlyoutActions) {
160
+ margin-left: @buttonCenteredDistance;
161
+ margin-right: @buttonCenteredDistance;
162
+ }
156
163
  }
157
- }
158
164
  }
159
165
  & when (@variationFlyoutBasic) {
160
- .ui.ui.flyout > .basic.header,
161
- .ui.ui.flyout > .basic.actions {
162
- background-color: transparent;
163
- }
164
- .ui.flyout > .basic.header {
165
- border-bottom: none;
166
- }
166
+ .ui.ui.flyout > .basic.header,
167
+ .ui.ui.flyout > .basic.actions {
168
+ background-color: transparent;
169
+ }
170
+ .ui.flyout > .basic.header {
171
+ border-bottom: none;
172
+ }
167
173
  }
168
174
 
169
- /*--------------
175
+ /* --------------
170
176
  Direction
171
- ---------------*/
177
+ --------------- */
172
178
  & when (@variationFlyoutLeft) {
173
- .ui.left.flyout {
174
- right: auto;
175
- left: 0;
176
- transform: translate3d(-100%, 0, 0);
177
- }
179
+ .ui.left.flyout {
180
+ right: auto;
181
+ left: 0;
182
+ transform: translate3d(-100%, 0, 0);
183
+ }
178
184
  }
179
185
  & when (@variationFlyoutRight) {
180
- .ui.right.flyout {
181
- right: 0;
182
- left: auto;
183
- transform: translate3d(100%, 0, 0);
184
- }
186
+ .ui.right.flyout {
187
+ right: 0;
188
+ left: auto;
189
+ transform: translate3d(100%, 0, 0);
190
+ }
185
191
  }
186
192
 
187
193
  & when (@variationFlyoutTop) or (@variationFlyoutBottom) {
188
- .ui.top.flyout,
189
- .ui.bottom.flyout {
190
- width: 100%;
191
- height: auto;
192
- }
193
- & when (@variationFlyoutTop) {
194
- .ui.top.flyout {
195
- top: 0;
196
- bottom: auto;
197
- transform: translate3d(0, -100%, 0);
198
- }
199
- }
200
- & when (@variationFlyoutBottom) {
194
+ .ui.top.flyout,
201
195
  .ui.bottom.flyout {
202
- top: auto;
203
- bottom: 0;
204
- transform: translate3d(0, 100%, 0);
196
+ width: 100%;
197
+ height: auto;
198
+ }
199
+ & when (@variationFlyoutTop) {
200
+ .ui.top.flyout {
201
+ top: 0;
202
+ bottom: auto;
203
+ transform: translate3d(0, -100%, 0);
204
+ }
205
+ }
206
+ & when (@variationFlyoutBottom) {
207
+ .ui.bottom.flyout {
208
+ top: auto;
209
+ bottom: 0;
210
+ transform: translate3d(0, 100%, 0);
211
+ }
205
212
  }
206
- }
207
213
  }
208
214
 
209
-
210
- /*--------------
215
+ /* --------------
211
216
  Pushable
212
- ---------------*/
217
+ --------------- */
213
218
 
214
219
  .pushable.pushable.pushable {
215
- height: 100%;
216
- overflow-x: hidden;
217
- padding: 0;
218
- &.locked {
219
- overflow-y: hidden;
220
- background: inherit;
221
- }
220
+ height: 100%;
221
+ overflow-x: hidden;
222
+ padding: 0;
223
+ &.locked {
224
+ overflow-y: hidden;
225
+ background: inherit;
226
+ }
222
227
  }
223
228
 
224
229
  /* Whole Page */
225
230
  body.pushable {
226
- background: @canvasBackground;
227
- &.dimmed {
228
- background: inherit;
229
- }
231
+ background: @canvasBackground;
232
+ &.dimmed {
233
+ background: inherit;
234
+ }
230
235
  }
231
236
 
232
237
  /* Page Context */
233
238
  .pushable:not(body) {
234
- transform: translate3d(0, 0, 0);
235
- overflow-y: hidden;
239
+ transform: translate3d(0, 0, 0);
240
+ overflow-y: hidden;
236
241
  }
237
242
  .pushable:not(body) > .ui.flyout,
238
243
  .pushable:not(body) > .fixed,
239
244
  .pushable:not(body) > .pusher::after {
240
- position: absolute;
245
+ position: absolute;
241
246
  }
242
247
 
243
-
244
- /*--------------
248
+ /* --------------
245
249
  Fixed
246
- ---------------*/
250
+ --------------- */
247
251
 
248
252
  .pushable > .fixed {
249
- position: fixed;
250
- backface-visibility: hidden;
251
-
252
- transition: transform @duration @easing;
253
- will-change: transform;
254
- z-index: @fixedLayer;
253
+ position: fixed;
254
+ backface-visibility: hidden;
255
+ transition: transform @duration @easing;
256
+ will-change: transform;
257
+ z-index: @fixedLayer;
255
258
  }
256
259
 
257
- /*--------------
260
+ /* --------------
258
261
  Page
259
- ---------------*/
262
+ --------------- */
260
263
 
261
264
  .pushable > .pusher {
262
- position: relative;
263
- backface-visibility: hidden;
264
- min-height: 100%;
265
- transition: transform @duration @easing;
266
- z-index: @middleLayer;
267
-
268
- /* Pusher should inherit background from context */
269
- background: inherit;
270
- &:not(.overflowing) {
271
- overflow: hidden;
272
- }
265
+ position: relative;
266
+ backface-visibility: hidden;
267
+ min-height: 100%;
268
+ transition: transform @duration @easing;
269
+ z-index: @middleLayer;
270
+
271
+ /* Pusher should inherit background from context */
272
+ background: inherit;
273
+ &:not(.overflowing) {
274
+ overflow: hidden;
275
+ }
273
276
  }
274
277
 
275
278
  body.pushable > .pusher {
276
- background: @pageBackground;
279
+ background: @pageBackground;
277
280
  }
278
281
 
279
- /*--------------
282
+ /* --------------
280
283
  Dimmer
281
- ---------------*/
284
+ --------------- */
282
285
 
283
286
  .pushable > .pusher::after {
284
- position: fixed;
285
- top: 0;
286
- right: 0;
287
- content: '';
288
- background: @dimmerColor;
289
- overflow: hidden;
290
- opacity: 0;
291
- transition: @dimmerTransition;
292
- will-change: opacity;
293
- z-index: @dimmerLayer;
294
- }
295
-
296
- /*--------------
287
+ position: fixed;
288
+ top: 0;
289
+ right: 0;
290
+ content: "";
291
+ background: @dimmerColor;
292
+ overflow: hidden;
293
+ opacity: 0;
294
+ transition: @dimmerTransition;
295
+ will-change: opacity;
296
+ z-index: @dimmerLayer;
297
+ }
298
+
299
+ /* --------------
297
300
  Coupling
298
- ---------------*/
301
+ --------------- */
299
302
 
300
303
  .ui.flyout.menu .item {
301
- border-radius: 0 !important;
304
+ border-radius: 0 !important;
302
305
  }
303
306
 
304
307
  /*******************************
305
308
  States
306
309
  *******************************/
307
310
 
308
- /*--------------
311
+ /* --------------
309
312
  Dimmed
310
- ---------------*/
313
+ --------------- */
311
314
 
312
315
  .pushable > .pusher.dimmed::after {
313
- width: 100% !important;
314
- height: 100% !important;
315
- opacity: 1 !important;
316
+ width: 100% !important;
317
+ height: 100% !important;
318
+ opacity: 1 !important;
316
319
  }
317
320
  & when (@variationFlyoutBlurring) {
318
- .pushable > .pusher.dimmed.blurring:not(.closing)::after {
319
- background: @blurredBackgroundColor;
320
- -webkit-backdrop-filter: @blurredEndFilter;
321
- backdrop-filter: @blurredEndFilter;
322
- }
321
+ .pushable > .pusher.dimmed.blurring:not(.closing)::after {
322
+ background: @blurredBackgroundColor;
323
+ -webkit-backdrop-filter: @blurredEndFilter;
324
+ backdrop-filter: @blurredEndFilter;
325
+ }
323
326
  }
324
327
  .pushable > .pusher.closing.dimmed::after {
325
- opacity: 0 !important;
328
+ opacity: 0 !important;
326
329
  }
327
- /*--------------
330
+
331
+ /* --------------
328
332
  Animating
329
- ---------------*/
333
+ --------------- */
330
334
 
331
335
  .ui.animating.flyout {
332
- visibility: visible;
336
+ visibility: visible;
333
337
  }
334
338
 
335
- /*--------------
339
+ /* --------------
336
340
  Visible
337
- ---------------*/
341
+ --------------- */
338
342
 
339
343
  .ui.visible.flyout {
340
- visibility: visible;
341
- transform: translate3d(0, 0, 0);
344
+ visibility: visible;
345
+ transform: translate3d(0, 0, 0);
342
346
  }
343
347
 
344
348
  /* Shadow Direction */
345
349
  & when (@variationFlyoutLeft) or (@variationFlyoutRight) {
346
- .ui.left.visible.flyout,
347
- .ui.right.visible.flyout {
348
- box-shadow: @horizontalBoxShadow;
349
- }
350
+ .ui.left.visible.flyout,
351
+ .ui.right.visible.flyout {
352
+ box-shadow: @horizontalBoxShadow;
353
+ }
350
354
  }
351
355
  & when (@variationFlyoutTop) or (@variationFlyoutBottom) {
352
- .ui.top.visible.flyout,
353
- .ui.bottom.visible.flyout {
354
- box-shadow: @verticalBoxShadow;
355
- }
356
+ .ui.top.visible.flyout,
357
+ .ui.bottom.visible.flyout {
358
+ box-shadow: @verticalBoxShadow;
359
+ }
356
360
  }
357
361
 
358
362
  /* Visible On Load */
359
363
  & when (@variationFlyoutLeft) {
360
- .ui.visible.left.flyout ~ .fixed,
361
- .ui.visible.left.flyout ~ .pusher {
362
- transform: translate3d(@width, 0, 0);
363
- }
364
+ .ui.visible.left.flyout ~ .fixed,
365
+ .ui.visible.left.flyout ~ .pusher {
366
+ transform: translate3d(@width, 0, 0);
367
+ }
364
368
  }
365
369
  & when (@variationFlyoutRight) {
366
- .ui.visible.right.flyout ~ .fixed,
367
- .ui.visible.right.flyout ~ .pusher {
368
- transform: translate3d(-@width, 0, 0);
369
- }
370
+ .ui.visible.right.flyout ~ .fixed,
371
+ .ui.visible.right.flyout ~ .pusher {
372
+ transform: translate3d(-@width, 0, 0);
373
+ }
370
374
  }
371
375
  & when (@variationFlyoutTop) {
372
- .ui.visible.top.flyout ~ .fixed,
373
- .ui.visible.top.flyout ~ .pusher {
374
- transform: translate3d(0, @height, 0);
375
- }
376
+ .ui.visible.top.flyout ~ .fixed,
377
+ .ui.visible.top.flyout ~ .pusher {
378
+ transform: translate3d(0, @height, 0);
379
+ }
376
380
  }
377
381
  & when (@variationFlyoutBottom) {
378
- .ui.visible.bottom.flyout ~ .fixed,
379
- .ui.visible.bottom.flyout ~ .pusher {
380
- transform: translate3d(0, -@height, 0);
381
- }
382
+ .ui.visible.bottom.flyout ~ .fixed,
383
+ .ui.visible.bottom.flyout ~ .pusher {
384
+ transform: translate3d(0, -@height, 0);
385
+ }
382
386
  }
383
387
 
384
388
  & when (@variationFlyoutLeft) or (@variationFlyoutRight) {
385
- /* opposite sides visible forces content overlay */
386
- .ui.visible.left.flyout ~ .ui.visible.right.flyout ~ .fixed,
387
- .ui.visible.left.flyout ~ .ui.visible.right.flyout ~ .pusher,
388
- .ui.visible.right.flyout ~ .ui.visible.left.flyout ~ .fixed,
389
- .ui.visible.right.flyout ~ .ui.visible.left.flyout ~ .pusher {
390
- transform: translate3d(0, 0, 0);
391
- }
389
+ /* opposite sides visible forces content overlay */
390
+ .ui.visible.left.flyout ~ .ui.visible.right.flyout ~ .fixed,
391
+ .ui.visible.left.flyout ~ .ui.visible.right.flyout ~ .pusher,
392
+ .ui.visible.right.flyout ~ .ui.visible.left.flyout ~ .fixed,
393
+ .ui.visible.right.flyout ~ .ui.visible.left.flyout ~ .pusher {
394
+ transform: translate3d(0, 0, 0);
395
+ }
392
396
  }
393
397
 
394
398
  & when (@variationFlyoutInverted) {
395
- /*--------------
396
- Inverted
397
- ---------------*/
398
- .ui.flyout.inverted {
399
- background: @invertedBackground;
400
- }
401
-
402
- .ui.flyout.inverted > .close {
403
- color: @invertedCloseColor;
404
- }
405
-
406
- .ui.flyout.inverted > .header,
407
- .ui.flyout.inverted > .content {
408
- background: @invertedBackground;
409
- color: @invertedHeaderColor;
410
- }
411
- .ui.flyout.inverted > .actions {
412
- background: @invertedActionBackground;
413
- border-top: @invertedActionBorder;
414
- color: @invertedActionColor;
415
- }
399
+ /* --------------
400
+ Inverted
401
+ --------------- */
402
+ .ui.flyout.inverted {
403
+ background: @invertedBackground;
404
+ }
405
+
406
+ .ui.flyout.inverted > .close {
407
+ color: @invertedCloseColor;
408
+ }
409
+
410
+ .ui.flyout.inverted > .header,
411
+ .ui.flyout.inverted > .content {
412
+ background: @invertedBackground;
413
+ color: @invertedHeaderColor;
414
+ }
415
+ .ui.flyout.inverted > .actions {
416
+ background: @invertedActionBackground;
417
+ border-top: @invertedActionBorder;
418
+ color: @invertedActionColor;
419
+ }
416
420
  }
417
421
 
418
422
  /*******************************
419
423
  Variations
420
424
  *******************************/
421
425
 
422
- /*--------------
426
+ /* --------------
423
427
  Width
424
- ---------------*/
428
+ --------------- */
425
429
 
426
430
  /* Left / Right */
427
431
  & when (@variationFlyoutLeft) or (@variationFlyoutRight) {
428
- .ui.left.flyout,
429
- .ui.right.flyout {
430
- width: @width;
431
- }
432
- & when (@variationFlyoutThin) {
433
- .ui.thin.left.flyout,
434
- .ui.thin.right.flyout {
435
- width: @thinWidth;
436
- }
437
-
438
- .ui[class*="very thin"].left.flyout,
439
- .ui[class*="very thin"].right.flyout {
440
- width: @veryThinWidth;
441
- }
442
- }
443
-
444
- & when (@variationFlyoutWide) {
445
- .ui.wide.left.flyout,
446
- .ui.wide.right.flyout {
447
- width: @wideWidth;
448
- }
449
-
450
- .ui[class*="very wide"].left.flyout,
451
- .ui[class*="very wide"].right.flyout {
452
- width: @veryWideWidth;
453
- }
454
- }
455
-
456
- /* Left Visible */
457
- & when (@variationFlyoutLeft) {
458
- & when (@variationFlyoutThin) {
459
- .ui.visible.thin.left.flyout ~ .fixed,
460
- .ui.visible.thin.left.flyout ~ .pusher {
461
- transform: translate3d(@thinWidth, 0, 0);
462
- }
463
-
464
- .ui.visible[class*="very thin"].left.flyout ~ .fixed,
465
- .ui.visible[class*="very thin"].left.flyout ~ .pusher {
466
- transform: translate3d(@veryThinWidth, 0, 0);
467
- }
432
+ .ui.left.flyout,
433
+ .ui.right.flyout {
434
+ width: @width;
468
435
  }
469
-
470
- & when (@variationFlyoutWide) {
471
- .ui.visible.wide.left.flyout ~ .fixed,
472
- .ui.visible.wide.left.flyout ~ .pusher {
473
- transform: translate3d(@wideWidth, 0, 0);
474
- }
475
-
476
- .ui.visible[class*="very wide"].left.flyout ~ .fixed,
477
- .ui.visible[class*="very wide"].left.flyout ~ .pusher {
478
- transform: translate3d(@veryWideWidth, 0, 0);
479
- }
480
- }
481
- }
482
-
483
- /* Right Visible */
484
- & when (@variationFlyoutRight) {
485
436
  & when (@variationFlyoutThin) {
486
- .ui.visible.thin.right.flyout ~ .fixed,
487
- .ui.visible.thin.right.flyout ~ .pusher {
488
- transform: translate3d(-@thinWidth, 0, 0);
489
- }
437
+ .ui.thin.left.flyout,
438
+ .ui.thin.right.flyout {
439
+ width: @thinWidth;
440
+ }
490
441
 
491
- .ui.visible[class*="very thin"].right.flyout ~ .fixed,
492
- .ui.visible[class*="very thin"].right.flyout ~ .pusher {
493
- transform: translate3d(-@veryThinWidth, 0, 0);
494
- }
442
+ .ui[class*="very thin"].left.flyout,
443
+ .ui[class*="very thin"].right.flyout {
444
+ width: @veryThinWidth;
445
+ }
495
446
  }
496
447
 
497
448
  & when (@variationFlyoutWide) {
498
- .ui.visible.wide.right.flyout ~ .fixed,
499
- .ui.visible.wide.right.flyout ~ .pusher {
500
- transform: translate3d(-@wideWidth, 0, 0);
501
- }
449
+ .ui.wide.left.flyout,
450
+ .ui.wide.right.flyout {
451
+ width: @wideWidth;
452
+ }
453
+
454
+ .ui[class*="very wide"].left.flyout,
455
+ .ui[class*="very wide"].right.flyout {
456
+ width: @veryWideWidth;
457
+ }
458
+ }
459
+
460
+ /* Left Visible */
461
+ & when (@variationFlyoutLeft) {
462
+ & when (@variationFlyoutThin) {
463
+ .ui.visible.thin.left.flyout ~ .fixed,
464
+ .ui.visible.thin.left.flyout ~ .pusher {
465
+ transform: translate3d(@thinWidth, 0, 0);
466
+ }
467
+
468
+ .ui.visible[class*="very thin"].left.flyout ~ .fixed,
469
+ .ui.visible[class*="very thin"].left.flyout ~ .pusher {
470
+ transform: translate3d(@veryThinWidth, 0, 0);
471
+ }
472
+ }
473
+
474
+ & when (@variationFlyoutWide) {
475
+ .ui.visible.wide.left.flyout ~ .fixed,
476
+ .ui.visible.wide.left.flyout ~ .pusher {
477
+ transform: translate3d(@wideWidth, 0, 0);
478
+ }
479
+
480
+ .ui.visible[class*="very wide"].left.flyout ~ .fixed,
481
+ .ui.visible[class*="very wide"].left.flyout ~ .pusher {
482
+ transform: translate3d(@veryWideWidth, 0, 0);
483
+ }
484
+ }
485
+ }
486
+
487
+ /* Right Visible */
488
+ & when (@variationFlyoutRight) {
489
+ & when (@variationFlyoutThin) {
490
+ .ui.visible.thin.right.flyout ~ .fixed,
491
+ .ui.visible.thin.right.flyout ~ .pusher {
492
+ transform: translate3d(-@thinWidth, 0, 0);
493
+ }
494
+
495
+ .ui.visible[class*="very thin"].right.flyout ~ .fixed,
496
+ .ui.visible[class*="very thin"].right.flyout ~ .pusher {
497
+ transform: translate3d(-@veryThinWidth, 0, 0);
498
+ }
499
+ }
500
+
501
+ & when (@variationFlyoutWide) {
502
+ .ui.visible.wide.right.flyout ~ .fixed,
503
+ .ui.visible.wide.right.flyout ~ .pusher {
504
+ transform: translate3d(-@wideWidth, 0, 0);
505
+ }
506
+
507
+ .ui.visible[class*="very wide"].right.flyout ~ .fixed,
508
+ .ui.visible[class*="very wide"].right.flyout ~ .pusher {
509
+ transform: translate3d(-@veryWideWidth, 0, 0);
510
+ }
511
+ }
512
+ }
513
+
514
+ & when (@variationFlyoutFullscreen) {
515
+ /* Fullscreen */
516
+ .ui.fullscreen.flyout {
517
+ width: 100%;
518
+ }
519
+ }
520
+
521
+ /* -------------------
522
+ Column Width
523
+ -------------------- */
524
+
525
+ & when (@variationFlyoutColumnWidth) {
526
+ /* Sizing Combinations */
527
+
528
+ .ui[class*="one wide"].flyout:not(.fullscreen) {
529
+ width: @oneWide;
530
+ }
531
+
532
+ .ui[class*="two wide"].flyout:not(.fullscreen) {
533
+ width: @twoWide;
534
+ }
535
+
536
+ .ui[class*="three wide"].flyout:not(.fullscreen) {
537
+ width: @threeWide;
538
+ }
539
+
540
+ .ui[class*="four wide"].flyout:not(.fullscreen) {
541
+ width: @fourWide;
542
+ }
543
+
544
+ .ui[class*="five wide"].flyout:not(.fullscreen) {
545
+ width: @fiveWide;
546
+ }
547
+
548
+ .ui[class*="six wide"].flyout:not(.fullscreen) {
549
+ width: @sixWide;
550
+ }
502
551
 
503
- .ui.visible[class*="very wide"].right.flyout ~ .fixed,
504
- .ui.visible[class*="very wide"].right.flyout ~ .pusher {
505
- transform: translate3d(-@veryWideWidth, 0, 0);
506
- }
507
- }
508
- }
552
+ .ui[class*="seven wide"].flyout:not(.fullscreen) {
553
+ width: @sevenWide;
554
+ }
509
555
 
510
- & when (@variationFlyoutFullscreen) {
511
- /* Fullscreen */
512
- .ui.fullscreen.flyout {
513
- width: 100%;
514
- }
515
- }
556
+ .ui[class*="eight wide"].flyout:not(.fullscreen) {
557
+ width: @eightWide;
558
+ }
516
559
 
560
+ .ui[class*="nine wide"].flyout:not(.fullscreen) {
561
+ width: @nineWide;
562
+ }
517
563
 
518
- /*-------------------
519
- Column Width
520
- --------------------*/
564
+ .ui[class*="ten wide"].flyout:not(.fullscreen) {
565
+ width: @tenWide;
566
+ }
521
567
 
522
- & when (@variationFlyoutColumnWidth) {
523
-
524
- /* Sizing Combinations */
568
+ .ui[class*="eleven wide"].flyout:not(.fullscreen) {
569
+ width: @elevenWide;
570
+ }
525
571
 
526
- .ui[class*="one wide"].flyout:not(.fullscreen) {
527
- width: @oneWide;
528
- }
572
+ .ui[class*="twelve wide"].flyout:not(.fullscreen) {
573
+ width: @twelveWide;
574
+ }
529
575
 
530
- .ui[class*="two wide"].flyout:not(.fullscreen) {
531
- width: @twoWide;
532
- }
533
-
534
- .ui[class*="three wide"].flyout:not(.fullscreen) {
535
- width: @threeWide;
536
- }
576
+ .ui[class*="thirteen wide"].flyout:not(.fullscreen) {
577
+ width: @thirteenWide;
578
+ }
537
579
 
538
- .ui[class*="four wide"].flyout:not(.fullscreen) {
539
- width: @fourWide;
540
- }
580
+ .ui[class*="fourteen wide"].flyout:not(.fullscreen) {
581
+ width: @fourteenWide;
582
+ }
541
583
 
542
- .ui[class*="five wide"].flyout:not(.fullscreen) {
543
- width: @fiveWide;
544
- }
545
-
546
- .ui[class*="six wide"].flyout:not(.fullscreen) {
547
- width: @sixWide;
548
- }
584
+ .ui[class*="fifteen wide"].flyout:not(.fullscreen) {
585
+ width: @fifteenWide;
586
+ }
549
587
 
550
- .ui[class*="seven wide"].flyout:not(.fullscreen) {
551
- width: @sevenWide;
588
+ .ui[class*="sixteen wide"].flyout:not(.fullscreen) {
589
+ width: @sixteenWide;
590
+ }
552
591
  }
553
-
554
- .ui[class*="eight wide"].flyout:not(.fullscreen) {
555
- width: @eightWide;
556
- }
557
-
558
- .ui[class*="nine wide"].flyout:not(.fullscreen) {
559
- width: @nineWide;
560
- }
561
-
562
- .ui[class*="ten wide"].flyout:not(.fullscreen) {
563
- width: @tenWide;
564
- }
565
-
566
- .ui[class*="eleven wide"].flyout:not(.fullscreen) {
567
- width: @elevenWide;
568
- }
569
-
570
- .ui[class*="twelve wide"].flyout:not(.fullscreen) {
571
- width: @twelveWide;
572
- }
573
-
574
- .ui[class*="thirteen wide"].flyout:not(.fullscreen) {
575
- width: @thirteenWide;
576
- }
577
-
578
- .ui[class*="fourteen wide"].flyout:not(.fullscreen) {
579
- width: @fourteenWide;
580
- }
581
-
582
- .ui[class*="fifteen wide"].flyout:not(.fullscreen) {
583
- width: @fifteenWide;
584
- }
585
-
586
- .ui[class*="sixteen wide"].flyout:not(.fullscreen) {
587
- width: @sixteenWide;
588
- }
589
- }
590
592
  }
591
593
 
592
-
593
-
594
594
  /*******************************
595
595
  Animations
596
596
  *******************************/
597
597
 
598
598
  & when (@variationFlyoutOverlay) {
599
- /*--------------
600
- Overlay
601
- ---------------*/
599
+ /* --------------
600
+ Overlay
601
+ --------------- */
602
602
 
603
- /* Set-up */
604
- .ui.overlay.flyout {
605
- z-index: @topLayer;
606
- }
603
+ /* Set-up */
604
+ .ui.overlay.flyout {
605
+ z-index: @topLayer;
606
+ }
607
607
 
608
- /* Initial */
609
- & when (@variationFlyoutLeft) {
610
- .ui.left.overlay.flyout {
611
- transform: translate3d(-100%, 0, 0);
608
+ /* Initial */
609
+ & when (@variationFlyoutLeft) {
610
+ .ui.left.overlay.flyout {
611
+ transform: translate3d(-100%, 0, 0);
612
+ }
612
613
  }
613
- }
614
- & when (@variationFlyoutRight) {
615
- .ui.right.overlay.flyout {
616
- transform: translate3d(100%, 0, 0);
614
+ & when (@variationFlyoutRight) {
615
+ .ui.right.overlay.flyout {
616
+ transform: translate3d(100%, 0, 0);
617
+ }
617
618
  }
618
- }
619
- & when (@variationFlyoutTop) {
620
- .ui.top.overlay.flyout {
621
- transform: translate3d(0%, -100%, 0);
619
+ & when (@variationFlyoutTop) {
620
+ .ui.top.overlay.flyout {
621
+ transform: translate3d(0, -100%, 0);
622
+ }
622
623
  }
623
- }
624
- & when (@variationFlyoutBottom) {
625
- .ui.bottom.overlay.flyout {
626
- transform: translate3d(0%, 100%, 0);
624
+ & when (@variationFlyoutBottom) {
625
+ .ui.bottom.overlay.flyout {
626
+ transform: translate3d(0, 100%, 0);
627
+ }
627
628
  }
628
- }
629
629
 
630
- /* Animation */
631
- .animating.ui.overlay.flyout,
632
- .ui.visible.overlay.flyout {
633
- transition: transform @duration @easing;
634
- }
635
-
636
- /* End - flyout */
637
- .ui.visible.overlay.flyout {
638
- transform: translate3d(0%, 0, 0);
639
- }
640
-
641
- /* End - Pusher */
642
- .ui.visible.overlay.flyout ~ .fixed,
643
- .ui.visible.overlay.flyout ~ .pusher {
644
- transform: none !important;
645
- }
646
- }
630
+ /* Animation */
631
+ .animating.ui.overlay.flyout,
632
+ .ui.visible.overlay.flyout {
633
+ transition: transform @duration @easing;
634
+ }
647
635
 
636
+ /* End - flyout */
637
+ .ui.visible.overlay.flyout {
638
+ transform: translate3d(0, 0, 0);
639
+ }
648
640
 
641
+ /* End - Pusher */
642
+ .ui.visible.overlay.flyout ~ .fixed,
643
+ .ui.visible.overlay.flyout ~ .pusher {
644
+ transform: none !important;
645
+ }
646
+ }
649
647
 
650
648
  .loadUIOverrides();