fomantic-ui 2.9.1-beta.4 → 2.9.1-beta.40

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 (552) 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/README.md +1 -1
  13. package/dist/components/accordion.css +35 -53
  14. package/dist/components/accordion.js +568 -595
  15. package/dist/components/accordion.min.css +2 -2
  16. package/dist/components/accordion.min.js +3 -3
  17. package/dist/components/ad.css +34 -45
  18. package/dist/components/ad.min.css +2 -2
  19. package/dist/components/api.js +1157 -1179
  20. package/dist/components/api.min.js +3 -3
  21. package/dist/components/breadcrumb.css +5 -5
  22. package/dist/components/breadcrumb.min.css +2 -2
  23. package/dist/components/button.css +709 -1121
  24. package/dist/components/button.min.css +2 -2
  25. package/dist/components/calendar.css +24 -27
  26. package/dist/components/calendar.js +1934 -1809
  27. package/dist/components/calendar.min.css +2 -2
  28. package/dist/components/calendar.min.js +3 -3
  29. package/dist/components/card.css +219 -365
  30. package/dist/components/card.min.css +2 -2
  31. package/dist/components/checkbox.css +120 -191
  32. package/dist/components/checkbox.js +842 -841
  33. package/dist/components/checkbox.min.css +2 -2
  34. package/dist/components/checkbox.min.js +3 -3
  35. package/dist/components/comment.css +41 -59
  36. package/dist/components/comment.min.css +2 -2
  37. package/dist/components/container.css +7 -6
  38. package/dist/components/container.min.css +2 -2
  39. package/dist/components/dimmer.css +53 -172
  40. package/dist/components/dimmer.js +706 -737
  41. package/dist/components/dimmer.min.css +2 -2
  42. package/dist/components/dimmer.min.js +3 -3
  43. package/dist/components/divider.css +43 -61
  44. package/dist/components/divider.min.css +2 -2
  45. package/dist/components/dropdown.css +252 -386
  46. package/dist/components/dropdown.js +4179 -4236
  47. package/dist/components/dropdown.min.css +2 -2
  48. package/dist/components/dropdown.min.js +3 -3
  49. package/dist/components/embed.css +18 -29
  50. package/dist/components/embed.js +645 -675
  51. package/dist/components/embed.min.css +2 -2
  52. package/dist/components/embed.min.js +3 -3
  53. package/dist/components/emoji.css +3556 -3556
  54. package/dist/components/emoji.min.css +1 -1
  55. package/dist/components/feed.css +35 -57
  56. package/dist/components/feed.min.css +2 -2
  57. package/dist/components/flag.css +270 -268
  58. package/dist/components/flag.min.css +2 -2
  59. package/dist/components/flyout.css +94 -141
  60. package/dist/components/flyout.js +1460 -1465
  61. package/dist/components/flyout.min.css +2 -2
  62. package/dist/components/flyout.min.js +3 -3
  63. package/dist/components/form.css +244 -339
  64. package/dist/components/form.js +2020 -2004
  65. package/dist/components/form.min.css +2 -2
  66. package/dist/components/form.min.js +3 -3
  67. package/dist/components/grid.css +183 -329
  68. package/dist/components/grid.min.css +2 -2
  69. package/dist/components/header.css +118 -142
  70. package/dist/components/header.min.css +2 -2
  71. package/dist/components/icon.css +665 -745
  72. package/dist/components/icon.min.css +2 -2
  73. package/dist/components/image.css +39 -63
  74. package/dist/components/image.min.css +2 -2
  75. package/dist/components/input.css +356 -274
  76. package/dist/components/input.min.css +2 -2
  77. package/dist/components/item.css +84 -131
  78. package/dist/components/item.min.css +2 -2
  79. package/dist/components/label.css +359 -410
  80. package/dist/components/label.min.css +2 -2
  81. package/dist/components/list.css +49 -70
  82. package/dist/components/list.min.css +2 -2
  83. package/dist/components/loader.css +67 -155
  84. package/dist/components/loader.min.css +2 -2
  85. package/dist/components/menu.css +269 -431
  86. package/dist/components/menu.min.css +1 -1
  87. package/dist/components/message.css +125 -197
  88. package/dist/components/message.min.css +2 -2
  89. package/dist/components/modal.css +119 -154
  90. package/dist/components/modal.js +1488 -1486
  91. package/dist/components/modal.min.css +2 -2
  92. package/dist/components/modal.min.js +3 -3
  93. package/dist/components/nag.css +53 -63
  94. package/dist/components/nag.js +520 -526
  95. package/dist/components/nag.min.css +2 -2
  96. package/dist/components/nag.min.js +3 -3
  97. package/dist/components/placeholder.css +22 -42
  98. package/dist/components/placeholder.min.css +2 -2
  99. package/dist/components/popup.css +424 -202
  100. package/dist/components/popup.js +1454 -1456
  101. package/dist/components/popup.min.css +2 -2
  102. package/dist/components/popup.min.js +3 -3
  103. package/dist/components/progress.css +106 -211
  104. package/dist/components/progress.js +969 -997
  105. package/dist/components/progress.min.css +2 -2
  106. package/dist/components/progress.min.js +3 -3
  107. package/dist/components/rail.css +15 -20
  108. package/dist/components/rail.min.css +1 -1
  109. package/dist/components/rating.css +80 -121
  110. package/dist/components/rating.js +505 -523
  111. package/dist/components/rating.min.css +2 -2
  112. package/dist/components/rating.min.js +3 -3
  113. package/dist/components/reset.css +8 -13
  114. package/dist/components/reset.min.css +2 -2
  115. package/dist/components/reveal.css +44 -83
  116. package/dist/components/reveal.min.css +2 -2
  117. package/dist/components/search.css +69 -98
  118. package/dist/components/search.js +1520 -1534
  119. package/dist/components/search.min.css +2 -2
  120. package/dist/components/search.min.js +3 -3
  121. package/dist/components/segment.css +148 -224
  122. package/dist/components/segment.min.css +2 -2
  123. package/dist/components/shape.css +14 -30
  124. package/dist/components/shape.js +781 -810
  125. package/dist/components/shape.min.css +2 -2
  126. package/dist/components/shape.min.js +3 -3
  127. package/dist/components/sidebar.css +103 -206
  128. package/dist/components/sidebar.js +1061 -1099
  129. package/dist/components/sidebar.min.css +2 -2
  130. package/dist/components/sidebar.min.js +3 -3
  131. package/dist/components/site.css +28 -41
  132. package/dist/components/site.js +436 -476
  133. package/dist/components/site.min.css +2 -2
  134. package/dist/components/site.min.js +3 -3
  135. package/dist/components/slider.css +93 -121
  136. package/dist/components/slider.js +1310 -1311
  137. package/dist/components/slider.min.css +1 -1
  138. package/dist/components/slider.min.js +3 -3
  139. package/dist/components/state.js +639 -657
  140. package/dist/components/state.min.js +3 -3
  141. package/dist/components/statistic.css +75 -116
  142. package/dist/components/statistic.min.css +2 -2
  143. package/dist/components/step.css +77 -150
  144. package/dist/components/step.min.css +2 -2
  145. package/dist/components/sticky.css +1 -5
  146. package/dist/components/sticky.js +848 -901
  147. package/dist/components/sticky.min.css +2 -2
  148. package/dist/components/sticky.min.js +3 -3
  149. package/dist/components/tab.css +10 -14
  150. package/dist/components/tab.js +902 -966
  151. package/dist/components/tab.min.css +2 -2
  152. package/dist/components/tab.min.js +3 -3
  153. package/dist/components/table.css +547 -774
  154. package/dist/components/table.min.css +2 -2
  155. package/dist/components/text.css +32 -32
  156. package/dist/components/text.min.css +1 -1
  157. package/dist/components/toast.css +69 -147
  158. package/dist/components/toast.js +910 -884
  159. package/dist/components/toast.min.css +2 -2
  160. package/dist/components/toast.min.js +3 -3
  161. package/dist/components/transition.css +369 -1280
  162. package/dist/components/transition.js +1047 -1077
  163. package/dist/components/transition.min.css +2 -2
  164. package/dist/components/transition.min.js +3 -3
  165. package/dist/components/visibility.js +1213 -1245
  166. package/dist/components/visibility.min.js +3 -3
  167. package/dist/semantic.css +9482 -12264
  168. package/dist/semantic.js +29051 -29426
  169. package/dist/semantic.min.css +3 -3
  170. package/dist/semantic.min.js +3 -3
  171. package/dist/themes/basic/assets/fonts/icons.woff2 +0 -0
  172. package/dist/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  173. package/dist/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  174. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  175. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  176. package/dist/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  177. package/dist/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  178. package/dist/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  179. package/dist/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  180. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  181. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  182. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  183. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  184. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  185. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  186. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  187. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  188. package/dist/themes/github/assets/fonts/octicons.woff2 +0 -0
  189. package/examples/.eslintrc.js +6 -0
  190. package/examples/assets/library/jquery.min.js +2 -4
  191. package/examples/assets/show-examples.js +13 -13
  192. package/examples/attached.html +1 -1
  193. package/examples/bootstrap.html +1 -1
  194. package/examples/components/button.html +1 -1
  195. package/examples/components/card.html +6 -6
  196. package/examples/components/input.html +1 -1
  197. package/examples/components/menu.html +1 -1
  198. package/examples/components/site.html +1 -1
  199. package/examples/components/sticky-context.html +2 -2
  200. package/examples/components/table.html +1 -1
  201. package/examples/fixed.html +3 -3
  202. package/examples/grid.html +5 -5
  203. package/examples/homepage.html +1 -1
  204. package/examples/login.html +2 -2
  205. package/examples/responsive.html +2 -2
  206. package/examples/sticky.html +4 -4
  207. package/examples/theming.html +1 -1
  208. package/gulpfile.js +13 -11
  209. package/package.json +17 -10
  210. package/scripts/nightly-version.js +83 -75
  211. package/src/_site/collections/menu.overrides +1 -1
  212. package/src/_site/elements/flag.variables +2 -2
  213. package/src/_site/globals/site.variables +1 -1
  214. package/src/_site/modules/embed.variables +3 -0
  215. package/src/definitions/behaviors/api.js +1158 -1180
  216. package/src/definitions/behaviors/form.js +2019 -2003
  217. package/src/definitions/behaviors/state.js +645 -663
  218. package/src/definitions/behaviors/visibility.js +1212 -1244
  219. package/src/definitions/collections/breadcrumb.less +43 -47
  220. package/src/definitions/collections/form.less +866 -884
  221. package/src/definitions/collections/grid.less +1681 -1699
  222. package/src/definitions/collections/menu.less +1521 -1544
  223. package/src/definitions/collections/message.less +294 -298
  224. package/src/definitions/collections/table.less +1657 -1661
  225. package/src/definitions/elements/button.less +1714 -1756
  226. package/src/definitions/elements/container.less +211 -211
  227. package/src/definitions/elements/divider.less +198 -211
  228. package/src/definitions/elements/emoji.less +41 -48
  229. package/src/definitions/elements/flag.less +46 -48
  230. package/src/definitions/elements/header.less +351 -359
  231. package/src/definitions/elements/icon.less +541 -484
  232. package/src/definitions/elements/image.less +216 -227
  233. package/src/definitions/elements/input.less +692 -698
  234. package/src/definitions/elements/label.less +784 -806
  235. package/src/definitions/elements/list.less +810 -814
  236. package/src/definitions/elements/loader.less +273 -268
  237. package/src/definitions/elements/placeholder.less +173 -170
  238. package/src/definitions/elements/rail.less +93 -93
  239. package/src/definitions/elements/reveal.less +192 -198
  240. package/src/definitions/elements/segment.less +742 -749
  241. package/src/definitions/elements/step.less +423 -437
  242. package/src/definitions/elements/text.less +34 -36
  243. package/src/definitions/globals/reset.less +11 -8
  244. package/src/definitions/globals/site.js +435 -475
  245. package/src/definitions/globals/site.less +108 -110
  246. package/src/definitions/modules/accordion.js +567 -594
  247. package/src/definitions/modules/accordion.less +244 -248
  248. package/src/definitions/modules/calendar.js +1933 -1808
  249. package/src/definitions/modules/calendar.less +100 -97
  250. package/src/definitions/modules/checkbox.js +841 -840
  251. package/src/definitions/modules/checkbox.less +531 -552
  252. package/src/definitions/modules/dimmer.js +705 -736
  253. package/src/definitions/modules/dimmer.less +294 -305
  254. package/src/definitions/modules/dropdown.js +4178 -4235
  255. package/src/definitions/modules/dropdown.less +1568 -1598
  256. package/src/definitions/modules/embed.js +644 -674
  257. package/src/definitions/modules/embed.less +82 -84
  258. package/src/definitions/modules/flyout.js +1459 -1464
  259. package/src/definitions/modules/flyout.less +452 -455
  260. package/src/definitions/modules/modal.js +1487 -1485
  261. package/src/definitions/modules/modal.less +458 -467
  262. package/src/definitions/modules/nag.js +519 -525
  263. package/src/definitions/modules/nag.less +136 -149
  264. package/src/definitions/modules/popup.js +1453 -1455
  265. package/src/definitions/modules/popup.less +738 -693
  266. package/src/definitions/modules/progress.js +968 -996
  267. package/src/definitions/modules/progress.less +523 -499
  268. package/src/definitions/modules/rating.js +504 -522
  269. package/src/definitions/modules/rating.less +98 -103
  270. package/src/definitions/modules/search.js +1519 -1533
  271. package/src/definitions/modules/search.less +374 -394
  272. package/src/definitions/modules/shape.js +780 -809
  273. package/src/definitions/modules/shape.less +70 -79
  274. package/src/definitions/modules/sidebar.js +1060 -1098
  275. package/src/definitions/modules/sidebar.less +463 -476
  276. package/src/definitions/modules/slider.js +1309 -1310
  277. package/src/definitions/modules/slider.less +309 -310
  278. package/src/definitions/modules/sticky.js +864 -917
  279. package/src/definitions/modules/sticky.less +17 -25
  280. package/src/definitions/modules/tab.js +901 -965
  281. package/src/definitions/modules/tab.less +48 -54
  282. package/src/definitions/modules/toast.js +909 -883
  283. package/src/definitions/modules/toast.less +589 -589
  284. package/src/definitions/modules/transition.js +1046 -1076
  285. package/src/definitions/modules/transition.less +65 -31
  286. package/src/definitions/views/ad.less +207 -208
  287. package/src/definitions/views/card.less +955 -973
  288. package/src/definitions/views/comment.less +192 -200
  289. package/src/definitions/views/feed.less +222 -226
  290. package/src/definitions/views/item.less +437 -448
  291. package/src/definitions/views/statistic.less +273 -279
  292. package/src/semantic.less +8 -6
  293. package/src/theme.config.example +53 -53
  294. package/src/theme.less +44 -35
  295. package/src/themes/amazon/elements/button.overrides +23 -24
  296. package/src/themes/amazon/elements/button.variables +18 -23
  297. package/src/themes/amazon/globals/site.variables +16 -17
  298. package/src/themes/basic/assets/fonts/icons.woff2 +0 -0
  299. package/src/themes/basic/collections/table.overrides +0 -1
  300. package/src/themes/basic/collections/table.variables +3 -3
  301. package/src/themes/basic/elements/button.overrides +0 -1
  302. package/src/themes/basic/elements/button.variables +9 -9
  303. package/src/themes/basic/elements/icon.overrides +9 -169
  304. package/src/themes/basic/elements/icon.variables +161 -18
  305. package/src/themes/basic/elements/step.overrides +2 -2
  306. package/src/themes/basic/elements/step.variables +2 -2
  307. package/src/themes/basic/globals/reset.overrides +1 -1
  308. package/src/themes/basic/globals/reset.variables +1 -1
  309. package/src/themes/basic/modules/progress.variables +2 -2
  310. package/src/themes/basic/views/card.overrides +0 -1
  311. package/src/themes/basic/views/card.variables +6 -6
  312. package/src/themes/bookish/elements/header.overrides +4 -4
  313. package/src/themes/bookish/elements/header.variables +5 -5
  314. package/src/themes/bootstrap3/elements/button.overrides +3 -0
  315. package/src/themes/bootstrap3/elements/button.variables +20 -25
  316. package/src/themes/chubby/collections/form.overrides +9 -9
  317. package/src/themes/chubby/collections/form.variables +3 -3
  318. package/src/themes/chubby/collections/menu.overrides +3 -0
  319. package/src/themes/chubby/collections/menu.variables +3 -3
  320. package/src/themes/chubby/elements/button.overrides +8 -10
  321. package/src/themes/chubby/elements/button.variables +10 -10
  322. package/src/themes/chubby/elements/header.overrides +1 -1
  323. package/src/themes/chubby/elements/header.variables +4 -4
  324. package/src/themes/chubby/modules/accordion.overrides +2 -2
  325. package/src/themes/chubby/modules/accordion.variables +4 -4
  326. package/src/themes/chubby/views/comment.overrides +5 -5
  327. package/src/themes/chubby/views/comment.variables +11 -11
  328. package/src/themes/classic/collections/table.variables +3 -3
  329. package/src/themes/classic/elements/button.variables +36 -43
  330. package/src/themes/classic/elements/header.variables +4 -4
  331. package/src/themes/classic/modules/progress.variables +3 -3
  332. package/src/themes/classic/views/card.overrides +25 -27
  333. package/src/themes/classic/views/card.variables +7 -7
  334. package/src/themes/colored/modules/checkbox.overrides +3 -0
  335. package/src/themes/colored/modules/checkbox.variables +1 -3
  336. package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  337. package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  338. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  339. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  340. package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  341. package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  342. package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  343. package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  344. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  345. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  346. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  347. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  348. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  349. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  350. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  351. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  352. package/src/themes/default/collections/breadcrumb.variables +4 -4
  353. package/src/themes/default/collections/form.variables +15 -16
  354. package/src/themes/default/collections/grid.overrides +0 -1
  355. package/src/themes/default/collections/grid.variables +15 -16
  356. package/src/themes/default/collections/menu.variables +31 -45
  357. package/src/themes/default/collections/message.variables +84 -123
  358. package/src/themes/default/collections/table.overrides +3 -0
  359. package/src/themes/default/collections/table.variables +30 -34
  360. package/src/themes/default/elements/button.variables +44 -53
  361. package/src/themes/default/elements/container.variables +8 -16
  362. package/src/themes/default/elements/divider.overrides +8 -9
  363. package/src/themes/default/elements/divider.variables +5 -6
  364. package/src/themes/default/elements/emoji.overrides +0 -1
  365. package/src/themes/default/elements/emoji.variables +3556 -3556
  366. package/src/themes/default/elements/flag.variables +1595 -1595
  367. package/src/themes/default/elements/header.overrides +0 -1
  368. package/src/themes/default/elements/header.variables +21 -21
  369. package/src/themes/default/elements/icon.variables +2016 -2009
  370. package/src/themes/default/elements/image.variables +6 -7
  371. package/src/themes/default/elements/input.variables +11 -12
  372. package/src/themes/default/elements/label.variables +25 -26
  373. package/src/themes/default/elements/list.variables +17 -21
  374. package/src/themes/default/elements/loader.variables +16 -17
  375. package/src/themes/default/elements/placeholder.variables +12 -9
  376. package/src/themes/default/elements/rail.variables +4 -5
  377. package/src/themes/default/elements/reveal.variables +1 -1
  378. package/src/themes/default/elements/segment.variables +24 -36
  379. package/src/themes/default/elements/step.overrides +4 -4
  380. package/src/themes/default/elements/step.variables +19 -22
  381. package/src/themes/default/elements/text.variables +2 -3
  382. package/src/themes/default/globals/colors.less +588 -588
  383. package/src/themes/default/globals/reset.overrides +63 -59
  384. package/src/themes/default/globals/reset.variables +1 -1
  385. package/src/themes/default/globals/site.variables +1075 -1123
  386. package/src/themes/default/globals/variation.variables +13 -4
  387. package/src/themes/default/modules/accordion.overrides +11 -11
  388. package/src/themes/default/modules/accordion.variables +15 -20
  389. package/src/themes/default/modules/calendar.variables +2 -0
  390. package/src/themes/default/modules/chatroom.variables +1 -1
  391. package/src/themes/default/modules/checkbox.overrides +9 -13
  392. package/src/themes/default/modules/checkbox.variables +24 -33
  393. package/src/themes/default/modules/dimmer.variables +14 -17
  394. package/src/themes/default/modules/dropdown.overrides +17 -17
  395. package/src/themes/default/modules/dropdown.variables +29 -31
  396. package/src/themes/default/modules/embed.variables +9 -13
  397. package/src/themes/default/modules/flyout.variables +10 -8
  398. package/src/themes/default/modules/modal.variables +64 -67
  399. package/src/themes/default/modules/nag.variables +11 -14
  400. package/src/themes/default/modules/popup.variables +14 -13
  401. package/src/themes/default/modules/progress.variables +17 -19
  402. package/src/themes/default/modules/rating.variables +10 -12
  403. package/src/themes/default/modules/search.variables +12 -17
  404. package/src/themes/default/modules/shape.variables +7 -8
  405. package/src/themes/default/modules/sidebar.variables +4 -4
  406. package/src/themes/default/modules/slider.variables +55 -54
  407. package/src/themes/default/modules/sticky.variables +1 -1
  408. package/src/themes/default/modules/toast.variables +8 -8
  409. package/src/themes/default/modules/transition.overrides +936 -915
  410. package/src/themes/default/modules/transition.variables +8 -1
  411. package/src/themes/default/views/ad.variables +1 -1
  412. package/src/themes/default/views/card.variables +33 -45
  413. package/src/themes/default/views/comment.variables +7 -9
  414. package/src/themes/default/views/feed.variables +10 -10
  415. package/src/themes/default/views/item.variables +20 -23
  416. package/src/themes/default/views/statistic.variables +8 -8
  417. package/src/themes/duo/elements/loader.variables +1 -1
  418. package/src/themes/famfamfam/elements/flag.overrides +263 -268
  419. package/src/themes/famfamfam/elements/flag.variables +4 -4
  420. package/src/themes/fixed-width/collections/grid.variables +4 -4
  421. package/src/themes/fixed-width/modules/modal.variables +11 -13
  422. package/src/themes/flat/collections/form.overrides +9 -9
  423. package/src/themes/flat/collections/form.variables +16 -17
  424. package/src/themes/flat/globals/site.variables +69 -74
  425. package/src/themes/github/assets/fonts/octicons.woff2 +0 -0
  426. package/src/themes/github/collections/breadcrumb.variables +0 -1
  427. package/src/themes/github/collections/form.overrides +7 -8
  428. package/src/themes/github/collections/form.variables +16 -18
  429. package/src/themes/github/collections/grid.variables +1 -2
  430. package/src/themes/github/collections/menu.overrides +2 -2
  431. package/src/themes/github/collections/menu.variables +24 -26
  432. package/src/themes/github/collections/message.overrides +3 -3
  433. package/src/themes/github/collections/message.variables +12 -14
  434. package/src/themes/github/collections/table.variables +2 -2
  435. package/src/themes/github/elements/button.overrides +0 -1
  436. package/src/themes/github/elements/button.variables +26 -30
  437. package/src/themes/github/elements/header.variables +2 -2
  438. package/src/themes/github/elements/icon.overrides +3 -208
  439. package/src/themes/github/elements/icon.variables +234 -19
  440. package/src/themes/github/elements/image.variables +1 -1
  441. package/src/themes/github/elements/input.overrides +16 -16
  442. package/src/themes/github/elements/input.variables +4 -5
  443. package/src/themes/github/elements/label.overrides +3 -3
  444. package/src/themes/github/elements/label.variables +0 -1
  445. package/src/themes/github/elements/segment.variables +9 -10
  446. package/src/themes/github/elements/step.overrides +13 -13
  447. package/src/themes/github/elements/step.variables +6 -6
  448. package/src/themes/github/globals/site.variables +16 -16
  449. package/src/themes/github/modules/dropdown.overrides +18 -19
  450. package/src/themes/github/modules/dropdown.variables +8 -10
  451. package/src/themes/github/modules/popup.variables +0 -2
  452. package/src/themes/gmail/collections/message.overrides +3 -0
  453. package/src/themes/gmail/collections/message.variables +4 -4
  454. package/src/themes/instagram/views/card.overrides +4 -5
  455. package/src/themes/instagram/views/card.variables +7 -8
  456. package/src/themes/joypixels/elements/emoji.overrides +0 -2
  457. package/src/themes/joypixels/elements/emoji.variables +3554 -3554
  458. package/src/themes/material/collections/menu.overrides +1 -1
  459. package/src/themes/material/collections/menu.variables +4 -4
  460. package/src/themes/material/elements/button.overrides +7 -9
  461. package/src/themes/material/elements/button.variables +44 -46
  462. package/src/themes/material/elements/header.overrides +3 -3
  463. package/src/themes/material/elements/header.variables +8 -10
  464. package/src/themes/material/elements/icon.overrides +3 -934
  465. package/src/themes/material/elements/icon.variables +958 -18
  466. package/src/themes/material/globals/site.overrides +3 -0
  467. package/src/themes/material/globals/site.variables +83 -84
  468. package/src/themes/material/modules/dropdown.overrides +2 -2
  469. package/src/themes/material/modules/dropdown.variables +5 -5
  470. package/src/themes/material/modules/modal.overrides +3 -3
  471. package/src/themes/material/modules/modal.variables +4 -5
  472. package/src/themes/pulsar/elements/loader.overrides +23 -61
  473. package/src/themes/raised/elements/button.variables +8 -9
  474. package/src/themes/resetcss/globals/reset.overrides +115 -33
  475. package/src/themes/resetcss/globals/reset.variables +1 -1
  476. package/src/themes/round/elements/button.overrides +3 -0
  477. package/src/themes/round/elements/button.variables +33 -38
  478. package/src/themes/rtl/globals/site.overrides +1 -1
  479. package/src/themes/rtl/globals/site.variables +5 -6
  480. package/src/themes/striped/modules/progress.overrides +20 -16
  481. package/src/themes/systemfont/globals/reset.overrides +1 -1
  482. package/src/themes/systemfont/globals/site.variables +6 -6
  483. package/src/themes/timeline/views/feed.overrides +12 -12
  484. package/src/themes/timeline/views/feed.variables +8 -8
  485. package/src/themes/twitter/elements/button.overrides +4 -5
  486. package/src/themes/twitter/elements/button.variables +17 -18
  487. package/src/themes/twitter/elements/emoji.variables +3556 -3556
  488. package/tasks/.eslintrc.js +9 -0
  489. package/tasks/README.md +2 -4
  490. package/tasks/admin/components/create.js +268 -277
  491. package/tasks/admin/components/init.js +123 -129
  492. package/tasks/admin/components/update.js +151 -158
  493. package/tasks/admin/distributions/create.js +183 -189
  494. package/tasks/admin/distributions/init.js +125 -131
  495. package/tasks/admin/distributions/update.js +147 -153
  496. package/tasks/admin/publish.js +5 -9
  497. package/tasks/admin/register.js +37 -39
  498. package/tasks/admin/release.js +8 -12
  499. package/tasks/build/assets.js +43 -40
  500. package/tasks/build/css.js +230 -217
  501. package/tasks/build/javascript.js +120 -114
  502. package/tasks/build.js +11 -11
  503. package/tasks/check-install.js +15 -17
  504. package/tasks/clean.js +6 -6
  505. package/tasks/collections/README.md +3 -5
  506. package/tasks/collections/admin.js +34 -36
  507. package/tasks/collections/build.js +19 -21
  508. package/tasks/collections/docs.js +11 -13
  509. package/tasks/collections/install.js +11 -13
  510. package/tasks/collections/rtl.js +9 -12
  511. package/tasks/collections/various.js +10 -12
  512. package/tasks/config/admin/github.js +17 -19
  513. package/tasks/config/admin/oauth.example.js +4 -4
  514. package/tasks/config/admin/release.js +98 -98
  515. package/tasks/config/admin/templates/README.md +8 -8
  516. package/tasks/config/admin/templates/bower.json +3 -2
  517. package/tasks/config/admin/templates/component-package.js +9 -10
  518. package/tasks/config/admin/templates/css-package.js +19 -21
  519. package/tasks/config/admin/templates/less-package.js +12 -14
  520. package/tasks/config/admin/templates/package.json +6 -6
  521. package/tasks/config/defaults.js +116 -116
  522. package/tasks/config/docs.js +23 -23
  523. package/tasks/config/npm/gulpfile.js +15 -14
  524. package/tasks/config/project/config.js +124 -136
  525. package/tasks/config/project/install.js +722 -719
  526. package/tasks/config/project/release.js +34 -41
  527. package/tasks/config/tasks.js +168 -167
  528. package/tasks/config/user.js +28 -29
  529. package/tasks/docs/build.js +100 -96
  530. package/tasks/docs/metadata.js +91 -98
  531. package/tasks/docs/serve.js +84 -82
  532. package/tasks/install.js +373 -382
  533. package/tasks/rtl/build.js +4 -3
  534. package/tasks/rtl/watch.js +4 -3
  535. package/tasks/version.js +4 -6
  536. package/tasks/watch.js +29 -31
  537. package/test/.eslintrc.js +23 -0
  538. package/test/meteor/assets.js +11 -14
  539. package/test/meteor/fonts.js +12 -13
  540. package/test/modules/accordion.spec.js +6 -8
  541. package/test/modules/checkbox.spec.js +5 -7
  542. package/test/modules/dropdown.spec.js +5 -7
  543. package/test/modules/modal.spec.js +6 -8
  544. package/test/modules/module.spec.js +158 -178
  545. package/test/modules/popup.spec.js +5 -7
  546. package/test/modules/search.spec.js +5 -7
  547. package/test/modules/shape.spec.js +5 -7
  548. package/test/modules/sidebar.spec.js +5 -7
  549. package/test/modules/tab.spec.js +6 -8
  550. package/test/modules/transition.spec.js +5 -7
  551. package/test/modules/video.spec.js +5 -7
  552. package/.github/workflows/codeql.yml +0 -68
@@ -8,390 +8,382 @@
8
8
  *
9
9
  */
10
10
 
11
-
12
11
  /*******************************
13
12
  Theme
14
13
  *******************************/
15
14
 
16
- @type : 'module';
17
- @element : 'modal';
15
+ @type: "module";
16
+ @element: "modal";
18
17
 
19
- @import (multiple) '../../theme.config';
18
+ @import (multiple) "../../theme.config";
20
19
 
21
20
  /*******************************
22
21
  Modal
23
22
  *******************************/
24
23
 
25
24
  .ui.modal {
26
- position: absolute;
27
- display: none;
28
- z-index: @zIndex;
29
- text-align: left;
30
-
31
- background: @background;
32
- border: @border;
33
- box-shadow: @boxShadow;
34
- transform-origin: @transformOrigin;
35
-
36
- flex: 0 0 auto;
37
-
38
- border-radius: @borderRadius;
39
- user-select: text;
40
- will-change: top, left, margin, transform, opacity;
25
+ position: absolute;
26
+ display: none;
27
+ z-index: @zIndex;
28
+ text-align: left;
29
+ background: @background;
30
+ border: @border;
31
+ box-shadow: @boxShadow;
32
+ transform-origin: @transformOrigin;
33
+ flex: 0 0 auto;
34
+ border-radius: @borderRadius;
35
+ user-select: text;
36
+ will-change: top, left, margin, transform, opacity;
41
37
  }
42
38
 
43
39
  .ui.modal > :first-child:not(.close):not(.dimmer),
44
40
  .ui.modal > i.icon:first-child + *,
45
41
  .ui.modal > .dimmer:first-child + *:not(.close),
46
42
  .ui.modal > .dimmer:first-child + i.icon + * {
47
- border-top-left-radius: @borderRadius;
48
- border-top-right-radius: @borderRadius;
43
+ border-top-left-radius: @borderRadius;
44
+ border-top-right-radius: @borderRadius;
49
45
  }
50
46
 
51
47
  .ui.modal > :last-child {
52
- border-bottom-left-radius: @borderRadius;
53
- border-bottom-right-radius: @borderRadius;
48
+ border-bottom-left-radius: @borderRadius;
49
+ border-bottom-right-radius: @borderRadius;
54
50
  }
55
51
 
56
52
  .ui.modal > .ui.dimmer {
57
- border-radius: inherit;
53
+ border-radius: inherit;
58
54
  }
59
55
 
60
56
  /*******************************
61
57
  Content
62
58
  *******************************/
63
59
 
64
- /*--------------
60
+ /* --------------
65
61
  Close
66
- ---------------*/
62
+ --------------- */
67
63
 
68
64
  .ui.modal > .close {
69
- cursor: pointer;
70
- position: absolute;
71
- top: @closeTop;
72
- right: @closeRight;
73
- z-index: 1;
74
-
75
- opacity: @closeOpacity;
76
- font-size: @closeSize;
77
- color: @closeColor;
78
-
79
- width: @closeHitbox;
80
- height: @closeHitbox;
81
- padding: @closePadding;
65
+ cursor: pointer;
66
+ position: absolute;
67
+ top: @closeTop;
68
+ right: @closeRight;
69
+ z-index: 1;
70
+ opacity: @closeOpacity;
71
+ font-size: @closeSize;
72
+ color: @closeColor;
73
+ width: @closeHitbox;
74
+ height: @closeHitbox;
75
+ padding: @closePadding;
82
76
  }
83
77
  .ui.modal > .close:focus,
84
78
  .ui.modal > .close:hover {
85
- opacity: 1;
86
- outline: none;
79
+ opacity: 1;
80
+ outline: none;
87
81
  }
88
82
 
89
- /*--------------
83
+ /* --------------
90
84
  Header
91
- ---------------*/
85
+ --------------- */
92
86
 
93
87
  .ui.modal > .header {
94
- display: block;
95
- font-family: @headerFontFamily;
96
- background: @headerBackground;
97
- margin: @headerMargin;
98
- padding: @headerPadding;
99
- box-shadow: @headerBoxShadow;
100
-
101
- color: @headerColor;
102
- border-bottom: @headerBorder;
88
+ display: block;
89
+ font-family: @headerFontFamily;
90
+ background: @headerBackground;
91
+ margin: @headerMargin;
92
+ padding: @headerPadding;
93
+ box-shadow: @headerBoxShadow;
94
+ color: @headerColor;
95
+ border-bottom: @headerBorder;
103
96
  }
104
97
  .ui.modal > .header:not(.ui) {
105
- font-size: @headerFontSize;
106
- line-height: @headerLineHeight;
107
- font-weight: @headerFontWeight;
98
+ font-size: @headerFontSize;
99
+ line-height: @headerLineHeight;
100
+ font-weight: @headerFontWeight;
108
101
  }
109
102
 
110
- /*--------------
103
+ /* --------------
111
104
  Content
112
- ---------------*/
105
+ --------------- */
113
106
 
114
107
  .ui.modal > .content {
115
- display: block;
116
- width: 100%;
117
- font-size: @contentFontSize;
118
- line-height: @contentLineHeight;
119
- padding: @contentPadding;
120
- background: @contentBackground;
108
+ display: block;
109
+ width: 100%;
110
+ font-size: @contentFontSize;
111
+ line-height: @contentLineHeight;
112
+ padding: @contentPadding;
113
+ background: @contentBackground;
121
114
  }
122
115
  .ui.modal > .image.content {
123
- display: flex;
124
- flex-direction: row;
116
+ display: flex;
117
+ flex-direction: row;
125
118
  }
126
119
 
127
120
  /* Image */
128
121
  .ui.modal > .content > .image {
129
- display: block;
130
- flex: 0 1 auto;
131
- width: @imageWidth;
132
- align-self: @imageVerticalAlign;
133
- max-width: 100%;
122
+ display: block;
123
+ flex: 0 1 auto;
124
+ width: @imageWidth;
125
+ align-self: @imageVerticalAlign;
126
+ max-width: 100%;
134
127
  }
135
128
  .ui.modal > [class*="top aligned"] {
136
- align-self: start;
129
+ align-self: start;
137
130
  }
138
131
  .ui.modal > [class*="middle aligned"] {
139
- align-self: center;
132
+ align-self: center;
140
133
  }
141
134
  .ui.modal > [class*="stretched"] {
142
- align-self: stretch;
135
+ align-self: stretch;
143
136
  }
144
137
 
145
138
  /* Description */
146
139
  .ui.modal > .content > .description {
147
- display: block;
148
- flex: 1 0 auto;
149
- min-width: 0;
150
- align-self: @descriptionVerticalAlign;
140
+ display: block;
141
+ flex: 1 0 auto;
142
+ min-width: 0;
143
+ align-self: @descriptionVerticalAlign;
151
144
  }
152
145
 
153
146
  .ui.modal > .content > i.icon + .description,
154
147
  .ui.modal > .content > .image + .description {
155
- flex: 0 1 auto;
156
- min-width: @descriptionMinWidth;
157
- width: @descriptionWidth;
158
- padding-left: @descriptionDistance;
148
+ flex: 0 1 auto;
149
+ min-width: @descriptionMinWidth;
150
+ width: @descriptionWidth;
151
+ padding-left: @descriptionDistance;
159
152
  }
160
153
 
161
- /*rtl:ignore*/
154
+ /* rtl:ignore */
162
155
  .ui.modal > .content > .image > i.icon {
163
- margin: 0;
164
- opacity: 1;
165
- width: auto;
166
- line-height: 1;
167
- font-size: @imageIconSize;
156
+ margin: 0;
157
+ opacity: 1;
158
+ width: auto;
159
+ line-height: 1;
160
+ font-size: @imageIconSize;
168
161
  }
169
162
 
170
163
  & when (@variationModalActions) {
171
- /*--------------
172
- Actions
173
- ---------------*/
174
-
175
- .ui.modal > .actions {
176
- background: @actionBackground;
177
- padding: @actionPadding;
178
- border-top: @actionBorder;
179
- text-align: @actionAlign;
180
- }
181
- .ui.modal .actions > .button:not(.fluid) {
182
- margin-left: @buttonDistance;
183
- }
184
- .ui.ui.modal > .basic.actions,
185
- .ui.basic.modal > .actions {
186
- border-top: none;
187
- }
188
- & when (@variationModalLeftActions) {
189
- .ui.modal > .left.actions {
190
- text-align: left;
191
- & > .button:not(.fluid) {
192
- margin-left: @buttonLeftDistance;
193
- margin-right: @buttonLeftDistance;
194
- }
195
- }
196
- }
164
+ /* --------------
165
+ Actions
166
+ --------------- */
167
+
168
+ .ui.modal > .actions {
169
+ background: @actionBackground;
170
+ padding: @actionPadding;
171
+ border-top: @actionBorder;
172
+ text-align: @actionAlign;
173
+ }
174
+ .ui.modal .actions > .button:not(.fluid) {
175
+ margin-left: @buttonDistance;
176
+ }
177
+ .ui.ui.modal > .basic.actions,
178
+ .ui.basic.modal > .actions {
179
+ border-top: none;
180
+ }
181
+ & when (@variationModalLeftActions) {
182
+ .ui.modal > .left.actions {
183
+ text-align: left;
184
+ & > .button:not(.fluid) {
185
+ margin-left: @buttonLeftDistance;
186
+ margin-right: @buttonLeftDistance;
187
+ }
188
+ }
189
+ }
197
190
  }
198
191
 
199
192
  & when (@variationModalCentered) {
200
- .ui.modal > .centered,
201
- .ui.modal > .center.aligned {
202
- text-align: center;
203
- &.actions > .button:not(.fluid) when (@variationModalActions){
204
- margin-left: @buttonCenteredDistance;
205
- margin-right: @buttonCenteredDistance;
193
+ .ui.modal > .centered,
194
+ .ui.modal > .center.aligned {
195
+ text-align: center;
196
+ &.actions > .button:not(.fluid) when (@variationModalActions) {
197
+ margin-left: @buttonCenteredDistance;
198
+ margin-right: @buttonCenteredDistance;
199
+ }
206
200
  }
207
- }
208
201
  }
209
202
 
210
- /*-------------------
203
+ /* -------------------
211
204
  Responsive
212
- --------------------*/
205
+ -------------------- */
213
206
 
214
207
  /* Modal Width */
215
- @media only screen and (max-width : @largestMobileScreen) {
216
- .ui.modal:not(.fullscreen) {
217
- width: @mobileWidth;
218
- margin: @mobileMargin;
219
- }
220
- }
221
- @media only screen and (min-width : @tabletBreakpoint) {
222
- .ui.modal:not(.fullscreen) {
223
- width: @tabletWidth;
224
- margin: @tabletMargin;
225
- }
226
- }
227
- @media only screen and (min-width : @computerBreakpoint) {
228
- .ui.modal:not(.fullscreen) {
229
- width: @computerWidth;
230
- margin: @computerMargin;
231
- & > .active.dimmer + .close:not(.inside) {
232
- pointer-events: none;
233
- opacity: @closeOpacityDimmed;
234
- }
235
- }
236
- .ui.dimmer > .ui.modal:not(.fullscreen) > .close:not(.inside){
237
- text-shadow: @closeShadow;
238
- }
239
- .ui.inverted.dimmer > .ui.modal:not(.fullscreen) > .close:not(.inside){
240
- text-shadow: @invertedCloseShadow;
241
- }
242
- }
243
- @media only screen and (min-width : @largeMonitorBreakpoint) {
244
- .ui.modal:not(.fullscreen) {
245
- width: @largeMonitorWidth;
246
- margin: @largeMonitorMargin;
247
- }
248
- }
249
- @media only screen and (min-width : @widescreenMonitorBreakpoint) {
250
- .ui.modal:not(.fullscreen) {
251
- width: @widescreenMonitorWidth;
252
- margin: @widescreenMonitorMargin;
253
- }
208
+ @media only screen and (max-width: @largestMobileScreen) {
209
+ .ui.modal:not(.fullscreen) {
210
+ width: @mobileWidth;
211
+ margin: @mobileMargin;
212
+ }
213
+ }
214
+ @media only screen and (min-width: @tabletBreakpoint) {
215
+ .ui.modal:not(.fullscreen) {
216
+ width: @tabletWidth;
217
+ margin: @tabletMargin;
218
+ }
219
+ }
220
+ @media only screen and (min-width: @computerBreakpoint) {
221
+ .ui.modal:not(.fullscreen) {
222
+ width: @computerWidth;
223
+ margin: @computerMargin;
224
+ & > .active.dimmer + .close:not(.inside) {
225
+ pointer-events: none;
226
+ opacity: @closeOpacityDimmed;
227
+ }
228
+ }
229
+ .ui.dimmer > .ui.modal:not(.fullscreen) > .close:not(.inside) {
230
+ text-shadow: @closeShadow;
231
+ }
232
+ .ui.inverted.dimmer > .ui.modal:not(.fullscreen) > .close:not(.inside) {
233
+ text-shadow: @invertedCloseShadow;
234
+ }
235
+ }
236
+ @media only screen and (min-width: @largeMonitorBreakpoint) {
237
+ .ui.modal:not(.fullscreen) {
238
+ width: @largeMonitorWidth;
239
+ margin: @largeMonitorMargin;
240
+ }
241
+ }
242
+ @media only screen and (min-width: @widescreenMonitorBreakpoint) {
243
+ .ui.modal:not(.fullscreen) {
244
+ width: @widescreenMonitorWidth;
245
+ margin: @widescreenMonitorMargin;
246
+ }
254
247
  }
255
248
 
256
249
  /* Tablet and Mobile */
257
- @media only screen and (max-width : @largestTabletScreen) {
258
- .ui.modal > .close + .header {
259
- padding-right: @closeHitbox;
260
- }
261
- .ui.modal > .close {
262
- top: @innerCloseTop;
263
- right: @innerCloseRight;
264
- color: @innerCloseColor;
265
- }
250
+ @media only screen and (max-width: @largestTabletScreen) {
251
+ .ui.modal > .close + .header {
252
+ padding-right: @closeHitbox;
253
+ }
254
+ .ui.modal > .close {
255
+ top: @innerCloseTop;
256
+ right: @innerCloseRight;
257
+ color: @innerCloseColor;
258
+ }
266
259
  }
267
260
 
268
261
  /* Mobile */
269
- @media only screen and (max-width : @largestMobileScreen) {
270
-
271
- .ui.modal > .header {
272
- padding: @mobileHeaderPadding;
273
- }
274
- .ui.modal > .close + .header {
275
- padding-right: @closeHitbox;
276
- }
277
- .ui.overlay.fullscreen.modal > .content.content.content {
278
- min-height: @overlayFullscreenScrollingContentMaxHeightMobile;
279
- }
280
- .ui.overlay.fullscreen.modal > .scrolling.content.content.content {
281
- max-height: @overlayFullscreenScrollingContentMaxHeightMobile;
282
- }
283
- .ui.modal > .content {
284
- display: block;
285
- padding: @mobileContentPadding !important;
286
- }
287
- .ui.modal > .close {
288
- top: @mobileCloseTop !important;
289
- right: @mobileCloseRight !important;
290
- }
291
-
292
- /*rtl:ignore*/
293
- .ui.modal .image.content {
294
- flex-direction: column;
295
- }
296
- .ui.modal > .content > .image {
297
- display: block;
298
- max-width: 100%;
299
- margin: 0 auto !important;
300
- text-align: center;
301
- padding: @mobileImagePadding !important;
302
- }
303
- .ui.modal > .content > .image > i.icon {
304
- font-size: @mobileImageIconSize;
305
- text-align: center;
306
- }
307
-
308
- /*rtl:ignore*/
309
- .ui.modal > .content > .description {
310
- display: block;
311
- width: 100% !important;
312
- margin: 0 !important;
313
- padding: @mobileDescriptionPadding !important;
314
- box-shadow: none;
315
- }
316
- & when (@variationModalActions) {
317
- /* Let Buttons Stack */
318
- .ui.modal > .actions {
319
- padding: @mobileActionPadding !important;
262
+ @media only screen and (max-width: @largestMobileScreen) {
263
+ .ui.modal > .header {
264
+ padding: @mobileHeaderPadding;
265
+ }
266
+ .ui.modal > .close + .header {
267
+ padding-right: @closeHitbox;
268
+ }
269
+ .ui.overlay.fullscreen.modal > .content.content.content {
270
+ min-height: @overlayFullscreenScrollingContentMaxHeightMobile;
271
+ }
272
+ .ui.overlay.fullscreen.modal > .scrolling.content.content.content {
273
+ max-height: @overlayFullscreenScrollingContentMaxHeightMobile;
274
+ }
275
+ .ui.modal > .content {
276
+ display: block;
277
+ padding: @mobileContentPadding !important;
320
278
  }
321
- .ui.modal .actions > .buttons,
322
- .ui.modal .actions > .button {
323
- margin-bottom: @mobileButtonDistance;
279
+ .ui.modal > .close {
280
+ top: @mobileCloseTop !important;
281
+ right: @mobileCloseRight !important;
282
+ }
283
+
284
+ /* rtl:ignore */
285
+ .ui.modal .image.content {
286
+ flex-direction: column;
287
+ }
288
+ .ui.modal > .content > .image {
289
+ display: block;
290
+ max-width: 100%;
291
+ margin: 0 auto !important;
292
+ text-align: center;
293
+ padding: @mobileImagePadding !important;
294
+ }
295
+ .ui.modal > .content > .image > i.icon {
296
+ font-size: @mobileImageIconSize;
297
+ text-align: center;
298
+ }
299
+
300
+ /* rtl:ignore */
301
+ .ui.modal > .content > .description {
302
+ display: block;
303
+ width: 100% !important;
304
+ margin: 0 !important;
305
+ padding: @mobileDescriptionPadding !important;
306
+ box-shadow: none;
307
+ }
308
+ & when (@variationModalActions) {
309
+ /* Let Buttons Stack */
310
+ .ui.modal > .actions {
311
+ padding: @mobileActionPadding !important;
312
+ }
313
+ .ui.modal .actions > .buttons,
314
+ .ui.modal .actions > .button {
315
+ margin-bottom: @mobileButtonDistance;
316
+ }
324
317
  }
325
- }
326
318
  }
327
319
 
328
- /*--------------
320
+ /* --------------
329
321
  Coupling
330
- ---------------*/
322
+ --------------- */
331
323
 
332
324
  .ui.inverted.dimmer > .ui.modal {
333
- box-shadow: @invertedBoxShadow;
325
+ box-shadow: @invertedBoxShadow;
334
326
  }
335
327
 
336
328
  /*******************************
337
329
  Types
338
330
  *******************************/
339
331
  & when (@variationModalBasic) {
340
- .ui.basic.modal {
341
- background-color: transparent;
342
- border: none;
343
- border-radius: 0;
344
- box-shadow: none !important;
345
- color: @basicModalColor;
346
- }
347
- .ui.ui.modal > .basic.header,
348
- .ui.ui.modal > .basic.actions,
349
- .ui.basic.modal > .header,
350
- .ui.basic.modal > .content,
351
- .ui.basic.modal > .actions {
352
- background-color: transparent;
353
- }
354
- .ui.modal > .basic.header {
355
- border-bottom: none;
356
- }
357
- .ui.basic.modal > .header {
358
- color: @basicModalHeaderColor;
359
- border-bottom: none;
360
- }
361
- .ui.basic.modal > .close {
362
- top: @basicModalCloseTop;
363
- right: @basicModalCloseRight;
364
- color: @basicInnerCloseColor;
365
- }
366
- .ui.inverted.dimmer > .basic.modal {
367
- color: @basicInvertedModalColor;
368
- }
369
- .ui.inverted.dimmer > .ui.basic.modal > .header {
370
- color: @basicInvertedModalHeaderColor;
371
- }
332
+ .ui.basic.modal {
333
+ background-color: transparent;
334
+ border: none;
335
+ border-radius: 0;
336
+ box-shadow: none !important;
337
+ color: @basicModalColor;
338
+ }
339
+ .ui.ui.modal > .basic.header,
340
+ .ui.ui.modal > .basic.actions,
341
+ .ui.basic.modal > .header,
342
+ .ui.basic.modal > .content,
343
+ .ui.basic.modal > .actions {
344
+ background-color: transparent;
345
+ }
346
+ .ui.modal > .basic.header {
347
+ border-bottom: none;
348
+ }
349
+ .ui.basic.modal > .header {
350
+ color: @basicModalHeaderColor;
351
+ border-bottom: none;
352
+ }
353
+ .ui.basic.modal > .close {
354
+ top: @basicModalCloseTop;
355
+ right: @basicModalCloseRight;
356
+ color: @basicInnerCloseColor;
357
+ }
358
+ .ui.inverted.dimmer > .basic.modal {
359
+ color: @basicInvertedModalColor;
360
+ }
361
+ .ui.inverted.dimmer > .ui.basic.modal > .header {
362
+ color: @basicInvertedModalHeaderColor;
363
+ }
372
364
  }
373
365
 
374
366
  & when (@variationModalLegacy) {
375
- /* Resort to margin positioning if legacy */
376
- .ui.legacy.legacy.modal,
377
- .ui.legacy.legacy.page.dimmer > .ui.modal {
378
- left: 50% !important;
379
- }
380
- .ui.legacy.legacy.modal:not(.aligned),
381
- .ui.legacy.legacy.page.dimmer > .ui.modal:not(.aligned) {
382
- top: 50%;
383
- }
384
- .ui.legacy.legacy.page.dimmer > .ui.scrolling.modal:not(.aligned),
385
- .ui.page.dimmer > .ui.scrolling.legacy.legacy.modal:not(.aligned),
386
- .ui.top.aligned.legacy.legacy.page.dimmer > .ui.modal:not(.aligned),
387
- .ui.top.aligned.dimmer > .ui.legacy.legacy.modal:not(.aligned) {
388
- top: auto;
389
- }
390
- & when (@variationModalOverlay) {
391
- .ui.legacy.overlay.fullscreen.modal {
392
- margin-top: -@scrollingMargin !important;
393
- }
394
- }
367
+ /* Resort to margin positioning if legacy */
368
+ .ui.legacy.legacy.modal,
369
+ .ui.legacy.legacy.page.dimmer > .ui.modal {
370
+ left: 50% !important;
371
+ }
372
+ .ui.legacy.legacy.modal:not(.aligned),
373
+ .ui.legacy.legacy.page.dimmer > .ui.modal:not(.aligned) {
374
+ top: 50%;
375
+ }
376
+ .ui.legacy.legacy.page.dimmer > .ui.scrolling.modal:not(.aligned),
377
+ .ui.page.dimmer > .ui.scrolling.legacy.legacy.modal:not(.aligned),
378
+ .ui.top.aligned.legacy.legacy.page.dimmer > .ui.modal:not(.aligned),
379
+ .ui.top.aligned.dimmer > .ui.legacy.legacy.modal:not(.aligned) {
380
+ top: auto;
381
+ }
382
+ & when (@variationModalOverlay) {
383
+ .ui.legacy.overlay.fullscreen.modal {
384
+ margin-top: -@scrollingMargin !important;
385
+ }
386
+ }
395
387
  }
396
388
 
397
389
  /*******************************
@@ -399,13 +391,13 @@
399
391
  *******************************/
400
392
 
401
393
  .ui.loading.modal {
402
- display: block;
403
- visibility: hidden;
404
- z-index: @loadingZIndex;
394
+ display: block;
395
+ visibility: hidden;
396
+ z-index: @loadingZIndex;
405
397
  }
406
398
 
407
399
  .ui.active.modal {
408
- display: block;
400
+ display: block;
409
401
  }
410
402
 
411
403
  /*******************************
@@ -413,219 +405,218 @@
413
405
  *******************************/
414
406
 
415
407
  & when (@variationModalAligned) {
416
- /*--------------
417
- Aligned
418
- ---------------*/
419
-
420
- .modals.dimmer .ui.top.aligned.modal {
421
- top: @topAlignedMargin;
422
- }
423
- .modals.dimmer .ui.bottom.aligned.modal {
424
- bottom: @bottomAlignedMargin;
425
- }
426
-
427
- @media only screen and (max-width : @largestMobileScreen) {
408
+ /* --------------
409
+ Aligned
410
+ --------------- */
411
+
428
412
  .modals.dimmer .ui.top.aligned.modal {
429
- top: @mobileTopAlignedMargin;
413
+ top: @topAlignedMargin;
430
414
  }
431
415
  .modals.dimmer .ui.bottom.aligned.modal {
432
- bottom: @mobileBottomAlignedMargin;
416
+ bottom: @bottomAlignedMargin;
417
+ }
418
+
419
+ @media only screen and (max-width: @largestMobileScreen) {
420
+ .modals.dimmer .ui.top.aligned.modal {
421
+ top: @mobileTopAlignedMargin;
422
+ }
423
+ .modals.dimmer .ui.bottom.aligned.modal {
424
+ bottom: @mobileBottomAlignedMargin;
425
+ }
433
426
  }
434
- }
435
427
  }
436
428
 
437
429
  & when (@variationModalScrolling) {
438
- /*--------------
439
- Scrolling
440
- ---------------*/
441
-
442
- /* Scrolling Dimmer */
443
- .scrolling.dimmable.dimmed {
444
- overflow: hidden;
445
- }
446
- .scrolling.dimmable > .dimmer {
447
- justify-content: flex-start;
448
- position: fixed;
449
- }
450
- .scrolling.dimmable:not(body) > .dimmer {
451
- justify-content: center;
452
- position: absolute;
453
- }
454
- .scrolling.dimmable.dimmed > .dimmer {
455
- overflow: auto;
456
- -webkit-overflow-scrolling: touch;
457
- }
458
- .modals.dimmer .ui.scrolling.modal:not(.fullscreen) {
459
- margin: @scrollingMargin auto;
460
- }
461
- /* Fix for Firefox, Edge, IE11 */
462
- .modals.dimmer .ui.scrolling.modal:not([class*="overlay fullscreen"])::after {
463
- content:'\00A0';
464
- position: absolute;
465
- height: @scrollingMargin;
466
- }
467
- /* Undetached Scrolling */
468
- .scrolling.undetached.dimmable.dimmed {
469
- overflow: auto;
470
- -webkit-overflow-scrolling: touch;
471
- }
472
- .scrolling.undetached.dimmable.dimmed > .dimmer {
473
- overflow: hidden;
474
- }
475
- .scrolling.undetached.dimmable .ui.scrolling.modal:not(.fullscreen) {
476
- position: absolute;
477
- left: 50%;
430
+ /* --------------
431
+ Scrolling
432
+ --------------- */
478
433
 
479
- }
434
+ /* Scrolling Dimmer */
435
+ .scrolling.dimmable.dimmed {
436
+ overflow: hidden;
437
+ }
438
+ .scrolling.dimmable > .dimmer {
439
+ justify-content: flex-start;
440
+ position: fixed;
441
+ }
442
+ .scrolling.dimmable:not(body) > .dimmer {
443
+ justify-content: center;
444
+ position: absolute;
445
+ }
446
+ .scrolling.dimmable.dimmed > .dimmer {
447
+ overflow: auto;
448
+ overscroll-behavior: @overscrollBehavior;
449
+ }
450
+ .modals.dimmer .ui.scrolling.modal:not(.fullscreen) {
451
+ margin: @scrollingMargin auto;
452
+ }
480
453
 
481
- /* Scrolling Content */
482
- .ui.modal > .scrolling.content {
483
- max-height: @scrollingContentMaxHeight;
484
- overflow: auto;
485
- }
454
+ /* Fix for Firefox, Edge, IE11 */
455
+ .modals.dimmer .ui.scrolling.modal:not([class*="overlay fullscreen"])::after {
456
+ content: "\00A0";
457
+ position: absolute;
458
+ height: @scrollingMargin;
459
+ }
460
+
461
+ /* Undetached Scrolling */
462
+ .scrolling.undetached.dimmable.dimmed {
463
+ overflow: auto;
464
+ overscroll-behavior: @overscrollBehavior;
465
+ }
466
+ .scrolling.undetached.dimmable.dimmed > .dimmer {
467
+ overflow: hidden;
468
+ }
469
+ .scrolling.undetached.dimmable .ui.scrolling.modal:not(.fullscreen) {
470
+ position: absolute;
471
+ left: 50%;
472
+ }
473
+
474
+ /* Scrolling Content */
475
+ .ui.modal > .scrolling.content {
476
+ max-height: @scrollingContentMaxHeight;
477
+ overflow: auto;
478
+ overscroll-behavior: @overscrollBehavior;
479
+ }
486
480
  }
487
481
 
488
482
  & when (@variationModalOverlay) {
489
- .ui.overlay.fullscreen.modal > .content {
490
- min-height: @overlayFullscreenScrollingContentMaxHeight;
491
- }
492
- .ui.overlay.fullscreen.modal > .scrolling.content {
493
- max-height: @overlayFullscreenScrollingContentMaxHeight;
494
- }
483
+ .ui.overlay.fullscreen.modal > .content {
484
+ min-height: @overlayFullscreenScrollingContentMaxHeight;
485
+ }
486
+ .ui.overlay.fullscreen.modal > .scrolling.content {
487
+ max-height: @overlayFullscreenScrollingContentMaxHeight;
488
+ }
495
489
  }
496
490
 
497
491
  & when (@variationModalFullscreen) or (@variationModalOverlay) or (@variationModalCloseInside) {
498
- /*--------------
499
- Full Screen
500
- ---------------*/
501
-
502
- .ui.fullscreen.modal {
503
- width: @fullScreenWidth;
504
- left: @fullScreenOffset;
505
- margin: @fullScreenMargin;
506
- }
507
- & when (@variationModalOverlay) {
508
- .ui.overlay.fullscreen.modal {
509
- width: 100%;
510
- left: 0;
511
- margin: 0 auto;
512
- top: 0;
513
- border-radius:0;
514
- }
515
- }
516
- .ui.modal > .close.inside + .header:not(.centered):not(.center):not(.icon),
517
- .ui.fullscreen.modal > .close + .header:not(.centered):not(.center):not(.icon) {
518
- padding-right: @closeHitbox;
519
- }
520
- .ui.modal > .close.inside,
521
- .ui.fullscreen.modal > .close {
522
- top: @innerCloseTop;
523
- right: @innerCloseRight;
524
- color: @innerCloseColor;
525
- }
526
- & when (@variationModalBasic) {
527
- .ui.basic.fullscreen.modal > .close {
528
- color: @basicInnerCloseColor;
529
- }
530
- }
531
- }
532
- /*--------------
492
+ /* --------------
493
+ Full Screen
494
+ --------------- */
495
+
496
+ .ui.fullscreen.modal {
497
+ width: @fullScreenWidth;
498
+ left: @fullScreenOffset;
499
+ margin: @fullScreenMargin;
500
+ }
501
+ & when (@variationModalOverlay) {
502
+ .ui.overlay.fullscreen.modal {
503
+ width: 100%;
504
+ left: 0;
505
+ margin: 0 auto;
506
+ top: 0;
507
+ border-radius: 0;
508
+ }
509
+ }
510
+ .ui.modal > .close.inside + .header:not(.centered):not(.center):not(.icon),
511
+ .ui.fullscreen.modal > .close + .header:not(.centered):not(.center):not(.icon) {
512
+ padding-right: @closeHitbox;
513
+ }
514
+ .ui.modal > .close.inside,
515
+ .ui.fullscreen.modal > .close {
516
+ top: @innerCloseTop;
517
+ right: @innerCloseRight;
518
+ color: @innerCloseColor;
519
+ }
520
+ & when (@variationModalBasic) {
521
+ .ui.basic.fullscreen.modal > .close {
522
+ color: @basicInnerCloseColor;
523
+ }
524
+ }
525
+ }
526
+
527
+ /* --------------
533
528
  Size
534
- ---------------*/
529
+ --------------- */
535
530
 
536
531
  .ui.modal {
537
- font-size: @medium;
532
+ font-size: @medium;
538
533
  }
539
534
  & when not (@variationModalSizes = false) {
540
- each(@variationModalSizes, {
541
- @hs: @{value}HeaderSize;
542
- @mw: @{value}MobileWidth;
543
- @mm: @{value}MobileMargin;
544
- @tw: @{value}TabletWidth;
545
- @tm: @{value}TabletMargin;
546
- @cw: @{value}ComputerWidth;
547
- @cm: @{value}ComputerMargin;
548
- @lw: @{value}LargeMonitorWidth;
549
- @lm: @{value}LargeMonitorMargin;
550
- @ww: @{value}WidescreenMonitorWidth;
551
- @wm: @{value}WidescreenMonitorMargin;
552
- .ui.@{value}.modal > .header:not(.ui) {
553
- font-size: @@hs;
554
- }
555
- @media only screen and (max-width : @largestMobileScreen) {
556
- .ui.@{value}.modal {
557
- width: @@mw;
558
- margin: @@mm;
559
- }
560
- }
561
- @media only screen and (min-width : @tabletBreakpoint) {
562
- .ui.@{value}.modal {
563
- width: @@tw;
564
- margin: @@tm;
565
- }
566
- }
567
- @media only screen and (min-width : @computerBreakpoint) {
568
- .ui.@{value}.modal {
569
- width: @@cw;
570
- margin: @@cm;
571
- }
572
- }
573
- @media only screen and (min-width : @largeMonitorBreakpoint) {
574
- .ui.@{value}.modal {
575
- width: @@lw;
576
- margin: @@lm;
577
- }
578
- }
579
- @media only screen and (min-width : @widescreenMonitorBreakpoint) {
580
- .ui.@{value}.modal {
581
- width: @@ww;
582
- margin: @@wm;
583
- }
584
- }
585
- })
535
+ each(@variationModalSizes, {
536
+ @hs: @{value}HeaderSize;
537
+ @mw: @{value}MobileWidth;
538
+ @mm: @{value}MobileMargin;
539
+ @tw: @{value}TabletWidth;
540
+ @tm: @{value}TabletMargin;
541
+ @cw: @{value}ComputerWidth;
542
+ @cm: @{value}ComputerMargin;
543
+ @lw: @{value}LargeMonitorWidth;
544
+ @lm: @{value}LargeMonitorMargin;
545
+ @ww: @{value}WidescreenMonitorWidth;
546
+ @wm: @{value}WidescreenMonitorMargin;
547
+ .ui.@{value}.modal > .header:not(.ui) {
548
+ font-size: @@hs;
549
+ }
550
+ @media only screen and (max-width: @largestMobileScreen) {
551
+ .ui.@{value}.modal {
552
+ width: @@mw;
553
+ margin: @@mm;
554
+ }
555
+ }
556
+ @media only screen and (min-width: @tabletBreakpoint) {
557
+ .ui.@{value}.modal {
558
+ width: @@tw;
559
+ margin: @@tm;
560
+ }
561
+ }
562
+ @media only screen and (min-width: @computerBreakpoint) {
563
+ .ui.@{value}.modal {
564
+ width: @@cw;
565
+ margin: @@cm;
566
+ }
567
+ }
568
+ @media only screen and (min-width: @largeMonitorBreakpoint) {
569
+ .ui.@{value}.modal {
570
+ width: @@lw;
571
+ margin: @@lm;
572
+ }
573
+ }
574
+ @media only screen and (min-width: @widescreenMonitorBreakpoint) {
575
+ .ui.@{value}.modal {
576
+ width: @@ww;
577
+ margin: @@wm;
578
+ }
579
+ }
580
+ });
586
581
  }
587
582
 
588
583
  & when (@variationModalInverted) {
589
- /*****************************
590
- Inverted
591
- *******************************/
592
-
593
- .ui.inverted.modal {
594
- background: @invertedBackground;
595
- }
584
+ /*****************************
585
+ Inverted
586
+ *******************************/
596
587
 
597
- .ui.inverted.modal > .header,
598
- .ui.inverted.modal > .content {
599
- background: @invertedBackground;
600
- color: @invertedHeaderColor;
601
- }
602
- & when (@variationModalActions) {
603
- .ui.inverted.modal > .actions {
604
- background: @invertedActionBackground;
605
- border-top: @invertedActionBorder;
606
- color: @invertedActionColor;
588
+ .ui.inverted.modal {
589
+ background: @invertedBackground;
607
590
  }
608
- }
609
591
 
610
- .ui.inverted.dimmer > .modal > .close {
611
- color: @invertedDimmerCloseColor;
612
- }
592
+ .ui.inverted.modal > .header,
593
+ .ui.inverted.modal > .content {
594
+ background: @invertedBackground;
595
+ color: @invertedHeaderColor;
596
+ }
597
+ & when (@variationModalActions) {
598
+ .ui.inverted.modal > .actions {
599
+ background: @invertedActionBackground;
600
+ border-top: @invertedActionBorder;
601
+ color: @invertedActionColor;
602
+ }
603
+ }
613
604
 
605
+ .ui.inverted.dimmer > .modal > .close {
606
+ color: @invertedDimmerCloseColor;
607
+ }
614
608
 
615
- @media only screen and (max-width: @largestTabletScreen) {
616
- .ui.dimmer .inverted.modal > .close {
617
- color: @invertedCloseColor;
609
+ @media only screen and (max-width: @largestTabletScreen) {
610
+ .ui.dimmer .inverted.modal > .close {
611
+ color: @invertedCloseColor;
612
+ }
618
613
  }
619
- }
620
- & when (@variationModalFullscreen) or (@variationModalCloseInside) {
621
- .ui.inverted.modal > .close.inside,
622
- .ui.inverted.fullscreen.modal > .close {
623
- color: @invertedCloseColor;
614
+ & when (@variationModalFullscreen) or (@variationModalCloseInside) {
615
+ .ui.inverted.modal > .close.inside,
616
+ .ui.inverted.fullscreen.modal > .close {
617
+ color: @invertedCloseColor;
618
+ }
624
619
  }
625
- }
626
620
  }
627
621
 
628
-
629
-
630
-
631
622
  .loadUIOverrides();