fomantic-ui 2.9.1-beta.2 → 2.9.1-beta.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (493) hide show
  1. package/.eslintrc.js +111 -0
  2. package/.github/workflows/ci.yml +14 -4
  3. package/.stylelintrc.js +59 -0
  4. package/dist/components/accordion.css +19 -26
  5. package/dist/components/accordion.js +568 -595
  6. package/dist/components/accordion.min.css +1 -1
  7. package/dist/components/accordion.min.js +2 -2
  8. package/dist/components/ad.css +31 -41
  9. package/dist/components/ad.min.css +1 -1
  10. package/dist/components/api.js +1156 -1179
  11. package/dist/components/api.min.js +2 -2
  12. package/dist/components/breadcrumb.css +1 -1
  13. package/dist/components/breadcrumb.min.css +1 -1
  14. package/dist/components/button.css +71 -106
  15. package/dist/components/button.min.css +1 -1
  16. package/dist/components/calendar.css +18 -16
  17. package/dist/components/calendar.js +1902 -1809
  18. package/dist/components/calendar.min.css +2 -2
  19. package/dist/components/calendar.min.js +2 -2
  20. package/dist/components/card.css +83 -115
  21. package/dist/components/card.min.css +1 -1
  22. package/dist/components/checkbox.css +47 -64
  23. package/dist/components/checkbox.js +842 -841
  24. package/dist/components/checkbox.min.css +1 -1
  25. package/dist/components/checkbox.min.js +2 -2
  26. package/dist/components/comment.css +37 -51
  27. package/dist/components/comment.min.css +1 -1
  28. package/dist/components/container.css +6 -5
  29. package/dist/components/container.min.css +2 -2
  30. package/dist/components/dimmer.css +31 -41
  31. package/dist/components/dimmer.js +708 -737
  32. package/dist/components/dimmer.min.css +1 -1
  33. package/dist/components/dimmer.min.js +2 -2
  34. package/dist/components/divider.css +32 -44
  35. package/dist/components/divider.min.css +1 -1
  36. package/dist/components/dropdown.css +129 -166
  37. package/dist/components/dropdown.js +4161 -4234
  38. package/dist/components/dropdown.min.css +2 -2
  39. package/dist/components/dropdown.min.js +2 -2
  40. package/dist/components/embed.css +13 -19
  41. package/dist/components/embed.js +651 -675
  42. package/dist/components/embed.min.css +1 -1
  43. package/dist/components/embed.min.js +2 -2
  44. package/dist/components/emoji.css +7 -6
  45. package/dist/components/feed.css +24 -32
  46. package/dist/components/feed.min.css +1 -1
  47. package/dist/components/flag.css +5 -3
  48. package/dist/components/flag.min.css +1 -1
  49. package/dist/components/flyout.css +44 -58
  50. package/dist/components/flyout.js +1464 -1465
  51. package/dist/components/flyout.min.css +2 -2
  52. package/dist/components/flyout.min.js +2 -2
  53. package/dist/components/form.css +85 -111
  54. package/dist/components/form.js +1979 -2004
  55. package/dist/components/form.min.css +1 -1
  56. package/dist/components/form.min.js +2 -2
  57. package/dist/components/grid.css +70 -96
  58. package/dist/components/grid.min.css +1 -1
  59. package/dist/components/header.css +47 -65
  60. package/dist/components/header.min.css +1 -1
  61. package/dist/components/icon.css +45 -66
  62. package/dist/components/icon.min.css +2 -2
  63. package/dist/components/image.css +32 -42
  64. package/dist/components/image.min.css +1 -1
  65. package/dist/components/input.css +182 -65
  66. package/dist/components/input.min.css +2 -2
  67. package/dist/components/item.css +55 -77
  68. package/dist/components/item.min.css +1 -1
  69. package/dist/components/label.css +68 -91
  70. package/dist/components/label.min.css +2 -2
  71. package/dist/components/list.css +44 -59
  72. package/dist/components/list.min.css +1 -1
  73. package/dist/components/loader.css +16 -22
  74. package/dist/components/loader.min.css +1 -1
  75. package/dist/components/menu.css +126 -186
  76. package/dist/components/message.css +25 -35
  77. package/dist/components/message.min.css +1 -1
  78. package/dist/components/modal.css +39 -40
  79. package/dist/components/modal.js +1491 -1485
  80. package/dist/components/modal.min.css +2 -2
  81. package/dist/components/modal.min.js +2 -2
  82. package/dist/components/nag.css +21 -28
  83. package/dist/components/nag.js +518 -526
  84. package/dist/components/nag.min.css +2 -2
  85. package/dist/components/nag.min.js +2 -2
  86. package/dist/components/placeholder.css +10 -12
  87. package/dist/components/placeholder.min.css +1 -1
  88. package/dist/components/popup.css +352 -59
  89. package/dist/components/popup.js +1437 -1456
  90. package/dist/components/popup.min.css +2 -2
  91. package/dist/components/popup.min.js +2 -2
  92. package/dist/components/progress.css +29 -39
  93. package/dist/components/progress.js +969 -997
  94. package/dist/components/progress.min.css +1 -1
  95. package/dist/components/progress.min.js +2 -2
  96. package/dist/components/rail.css +15 -20
  97. package/dist/components/rail.min.css +1 -1
  98. package/dist/components/rating.css +9 -13
  99. package/dist/components/rating.js +505 -523
  100. package/dist/components/rating.min.css +1 -1
  101. package/dist/components/rating.min.js +2 -2
  102. package/dist/components/reset.css +1 -1
  103. package/dist/components/reset.min.css +1 -1
  104. package/dist/components/reveal.css +19 -26
  105. package/dist/components/reveal.min.css +1 -1
  106. package/dist/components/search.css +43 -58
  107. package/dist/components/search.js +1498 -1534
  108. package/dist/components/search.min.css +2 -2
  109. package/dist/components/search.min.js +2 -2
  110. package/dist/components/segment.css +64 -83
  111. package/dist/components/segment.min.css +2 -2
  112. package/dist/components/shape.css +10 -14
  113. package/dist/components/shape.js +792 -809
  114. package/dist/components/shape.min.css +1 -1
  115. package/dist/components/shape.min.js +2 -2
  116. package/dist/components/sidebar.css +43 -58
  117. package/dist/components/sidebar.js +1071 -1098
  118. package/dist/components/sidebar.min.css +2 -2
  119. package/dist/components/sidebar.min.js +2 -2
  120. package/dist/components/site.css +5 -5
  121. package/dist/components/site.js +462 -476
  122. package/dist/components/site.min.css +1 -1
  123. package/dist/components/site.min.js +2 -2
  124. package/dist/components/slider.css +27 -37
  125. package/dist/components/slider.js +1287 -1306
  126. package/dist/components/slider.min.js +2 -2
  127. package/dist/components/state.js +639 -657
  128. package/dist/components/state.min.js +2 -2
  129. package/dist/components/statistic.css +32 -41
  130. package/dist/components/statistic.min.css +2 -2
  131. package/dist/components/step.css +26 -35
  132. package/dist/components/step.min.css +1 -1
  133. package/dist/components/sticky.css +1 -1
  134. package/dist/components/sticky.js +857 -902
  135. package/dist/components/sticky.min.css +1 -1
  136. package/dist/components/sticky.min.js +2 -2
  137. package/dist/components/tab.css +6 -8
  138. package/dist/components/tab.js +922 -963
  139. package/dist/components/tab.min.css +1 -1
  140. package/dist/components/tab.min.js +2 -2
  141. package/dist/components/table.css +93 -119
  142. package/dist/components/table.min.css +2 -2
  143. package/dist/components/text.css +1 -1
  144. package/dist/components/text.min.css +1 -1
  145. package/dist/components/toast.css +4 -6
  146. package/dist/components/toast.js +886 -887
  147. package/dist/components/toast.min.css +1 -1
  148. package/dist/components/toast.min.js +2 -2
  149. package/dist/components/transition.css +179 -42
  150. package/dist/components/transition.js +1041 -1077
  151. package/dist/components/transition.min.css +2 -2
  152. package/dist/components/transition.min.js +2 -2
  153. package/dist/components/visibility.js +1220 -1244
  154. package/dist/components/visibility.min.js +2 -2
  155. package/dist/semantic.css +2558 -1807
  156. package/dist/semantic.js +28960 -29413
  157. package/dist/semantic.min.css +2 -2
  158. package/dist/semantic.min.js +2 -2
  159. package/dist/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  160. package/dist/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  161. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  162. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  163. package/dist/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  164. package/dist/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  165. package/dist/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  166. package/dist/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  167. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  168. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  169. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  170. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  171. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  172. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  173. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  174. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  175. package/examples/assets/show-examples.js +13 -13
  176. package/gulpfile.js +9 -10
  177. package/package.json +13 -8
  178. package/scripts/nightly-version.js +81 -75
  179. package/src/_site/collections/menu.overrides +1 -1
  180. package/src/_site/elements/flag.variables +2 -2
  181. package/src/_site/globals/site.variables +1 -1
  182. package/src/definitions/behaviors/api.js +1157 -1180
  183. package/src/definitions/behaviors/form.js +1978 -2003
  184. package/src/definitions/behaviors/state.js +645 -663
  185. package/src/definitions/behaviors/visibility.js +1219 -1243
  186. package/src/definitions/collections/breadcrumb.less +41 -45
  187. package/src/definitions/collections/form.less +864 -882
  188. package/src/definitions/collections/grid.less +1689 -1697
  189. package/src/definitions/collections/menu.less +1490 -1508
  190. package/src/definitions/collections/message.less +292 -295
  191. package/src/definitions/collections/table.less +1616 -1620
  192. package/src/definitions/elements/button.less +1710 -1754
  193. package/src/definitions/elements/container.less +209 -209
  194. package/src/definitions/elements/divider.less +200 -209
  195. package/src/definitions/elements/emoji.less +38 -45
  196. package/src/definitions/elements/flag.less +44 -46
  197. package/src/definitions/elements/header.less +337 -345
  198. package/src/definitions/elements/icon.less +516 -451
  199. package/src/definitions/elements/image.less +219 -225
  200. package/src/definitions/elements/input.less +657 -663
  201. package/src/definitions/elements/label.less +783 -804
  202. package/src/definitions/elements/list.less +808 -812
  203. package/src/definitions/elements/loader.less +269 -266
  204. package/src/definitions/elements/placeholder.less +171 -168
  205. package/src/definitions/elements/rail.less +91 -91
  206. package/src/definitions/elements/reveal.less +190 -196
  207. package/src/definitions/elements/segment.less +738 -747
  208. package/src/definitions/elements/step.less +424 -435
  209. package/src/definitions/elements/text.less +32 -34
  210. package/src/definitions/globals/reset.less +9 -6
  211. package/src/definitions/globals/site.js +461 -475
  212. package/src/definitions/globals/site.less +106 -108
  213. package/src/definitions/modules/accordion.js +567 -594
  214. package/src/definitions/modules/accordion.less +242 -246
  215. package/src/definitions/modules/calendar.js +1901 -1808
  216. package/src/definitions/modules/calendar.less +98 -95
  217. package/src/definitions/modules/checkbox.js +841 -840
  218. package/src/definitions/modules/checkbox.less +524 -545
  219. package/src/definitions/modules/dimmer.js +707 -736
  220. package/src/definitions/modules/dimmer.less +300 -303
  221. package/src/definitions/modules/dropdown.js +4160 -4233
  222. package/src/definitions/modules/dropdown.less +1570 -1596
  223. package/src/definitions/modules/embed.js +650 -674
  224. package/src/definitions/modules/embed.less +80 -82
  225. package/src/definitions/modules/flyout.js +1463 -1464
  226. package/src/definitions/modules/flyout.less +444 -454
  227. package/src/definitions/modules/modal.js +1490 -1484
  228. package/src/definitions/modules/modal.less +459 -465
  229. package/src/definitions/modules/nag.js +517 -525
  230. package/src/definitions/modules/nag.less +134 -147
  231. package/src/definitions/modules/popup.js +1436 -1455
  232. package/src/definitions/modules/popup.less +733 -690
  233. package/src/definitions/modules/progress.js +968 -996
  234. package/src/definitions/modules/progress.less +521 -497
  235. package/src/definitions/modules/rating.js +504 -522
  236. package/src/definitions/modules/rating.less +94 -101
  237. package/src/definitions/modules/search.js +1497 -1533
  238. package/src/definitions/modules/search.less +373 -392
  239. package/src/definitions/modules/shape.js +791 -808
  240. package/src/definitions/modules/shape.less +68 -77
  241. package/src/definitions/modules/sidebar.js +1070 -1097
  242. package/src/definitions/modules/sidebar.less +462 -474
  243. package/src/definitions/modules/slider.js +1286 -1305
  244. package/src/definitions/modules/slider.less +307 -308
  245. package/src/definitions/modules/sticky.js +873 -918
  246. package/src/definitions/modules/sticky.less +22 -23
  247. package/src/definitions/modules/tab.js +921 -962
  248. package/src/definitions/modules/tab.less +46 -52
  249. package/src/definitions/modules/toast.js +885 -886
  250. package/src/definitions/modules/toast.less +584 -586
  251. package/src/definitions/modules/transition.js +1040 -1076
  252. package/src/definitions/modules/transition.less +62 -28
  253. package/src/definitions/views/ad.less +205 -206
  254. package/src/definitions/views/card.less +963 -969
  255. package/src/definitions/views/comment.less +190 -198
  256. package/src/definitions/views/feed.less +220 -224
  257. package/src/definitions/views/item.less +435 -446
  258. package/src/definitions/views/statistic.less +271 -277
  259. package/src/theme.less +29 -32
  260. package/src/themes/amazon/elements/button.overrides +23 -24
  261. package/src/themes/amazon/elements/button.variables +11 -11
  262. package/src/themes/amazon/globals/site.variables +2 -3
  263. package/src/themes/basic/collections/table.overrides +0 -1
  264. package/src/themes/basic/collections/table.variables +3 -3
  265. package/src/themes/basic/elements/button.overrides +0 -1
  266. package/src/themes/basic/elements/button.variables +2 -2
  267. package/src/themes/basic/elements/icon.overrides +12 -13
  268. package/src/themes/basic/elements/icon.variables +13 -13
  269. package/src/themes/basic/elements/step.overrides +2 -2
  270. package/src/themes/basic/elements/step.variables +2 -2
  271. package/src/themes/basic/globals/reset.overrides +1 -1
  272. package/src/themes/basic/globals/reset.variables +1 -1
  273. package/src/themes/basic/views/card.overrides +0 -1
  274. package/src/themes/basic/views/card.variables +3 -3
  275. package/src/themes/bookish/elements/header.overrides +3 -3
  276. package/src/themes/bookish/elements/header.variables +2 -2
  277. package/src/themes/bootstrap3/elements/button.variables +7 -8
  278. package/src/themes/chubby/collections/form.overrides +9 -9
  279. package/src/themes/chubby/collections/form.variables +3 -3
  280. package/src/themes/chubby/collections/menu.variables +1 -1
  281. package/src/themes/chubby/elements/button.overrides +7 -9
  282. package/src/themes/chubby/elements/button.variables +2 -2
  283. package/src/themes/chubby/elements/header.variables +3 -3
  284. package/src/themes/chubby/modules/accordion.overrides +2 -2
  285. package/src/themes/chubby/modules/accordion.variables +3 -3
  286. package/src/themes/chubby/views/comment.overrides +5 -5
  287. package/src/themes/chubby/views/comment.variables +4 -4
  288. package/src/themes/classic/collections/table.variables +2 -2
  289. package/src/themes/classic/elements/button.variables +20 -21
  290. package/src/themes/classic/elements/header.variables +3 -3
  291. package/src/themes/classic/modules/progress.variables +1 -1
  292. package/src/themes/classic/views/card.overrides +14 -14
  293. package/src/themes/classic/views/card.variables +4 -4
  294. package/src/themes/colored/modules/checkbox.variables +1 -1
  295. package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  296. package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  297. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  298. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  299. package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  300. package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  301. package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  302. package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  303. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  304. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  305. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  306. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  307. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  308. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  309. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  310. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  311. package/src/themes/default/collections/breadcrumb.variables +4 -4
  312. package/src/themes/default/collections/form.variables +12 -12
  313. package/src/themes/default/collections/grid.overrides +0 -1
  314. package/src/themes/default/collections/grid.variables +14 -16
  315. package/src/themes/default/collections/menu.variables +19 -31
  316. package/src/themes/default/collections/message.variables +83 -84
  317. package/src/themes/default/collections/table.variables +16 -18
  318. package/src/themes/default/elements/button.variables +30 -31
  319. package/src/themes/default/elements/container.variables +4 -12
  320. package/src/themes/default/elements/divider.overrides +8 -9
  321. package/src/themes/default/elements/divider.variables +4 -5
  322. package/src/themes/default/elements/emoji.overrides +0 -1
  323. package/src/themes/default/elements/emoji.variables +3555 -3555
  324. package/src/themes/default/elements/flag.variables +1594 -1594
  325. package/src/themes/default/elements/header.overrides +0 -1
  326. package/src/themes/default/elements/header.variables +16 -16
  327. package/src/themes/default/elements/icon.variables +2017 -2001
  328. package/src/themes/default/elements/image.variables +6 -7
  329. package/src/themes/default/elements/input.variables +10 -10
  330. package/src/themes/default/elements/label.variables +19 -20
  331. package/src/themes/default/elements/list.variables +16 -16
  332. package/src/themes/default/elements/loader.variables +15 -16
  333. package/src/themes/default/elements/placeholder.variables +6 -7
  334. package/src/themes/default/elements/rail.variables +4 -5
  335. package/src/themes/default/elements/segment.variables +18 -29
  336. package/src/themes/default/elements/step.overrides +4 -4
  337. package/src/themes/default/elements/step.variables +14 -16
  338. package/src/themes/default/elements/text.variables +2 -3
  339. package/src/themes/default/globals/colors.less +588 -588
  340. package/src/themes/default/globals/reset.overrides +57 -57
  341. package/src/themes/default/globals/reset.variables +1 -1
  342. package/src/themes/default/globals/site.variables +869 -875
  343. package/src/themes/default/globals/variation.variables +13 -4
  344. package/src/themes/default/modules/accordion.overrides +11 -11
  345. package/src/themes/default/modules/accordion.variables +14 -15
  346. package/src/themes/default/modules/calendar.variables +2 -0
  347. package/src/themes/default/modules/chatroom.variables +1 -1
  348. package/src/themes/default/modules/checkbox.overrides +6 -7
  349. package/src/themes/default/modules/checkbox.variables +17 -22
  350. package/src/themes/default/modules/dimmer.variables +7 -8
  351. package/src/themes/default/modules/dropdown.overrides +17 -17
  352. package/src/themes/default/modules/dropdown.variables +20 -21
  353. package/src/themes/default/modules/embed.variables +9 -10
  354. package/src/themes/default/modules/flyout.variables +6 -6
  355. package/src/themes/default/modules/modal.variables +18 -18
  356. package/src/themes/default/modules/nag.variables +11 -14
  357. package/src/themes/default/modules/popup.variables +14 -13
  358. package/src/themes/default/modules/progress.variables +10 -11
  359. package/src/themes/default/modules/rating.variables +10 -11
  360. package/src/themes/default/modules/search.variables +9 -11
  361. package/src/themes/default/modules/shape.variables +6 -6
  362. package/src/themes/default/modules/sidebar.variables +4 -4
  363. package/src/themes/default/modules/slider.variables +48 -49
  364. package/src/themes/default/modules/sticky.variables +1 -1
  365. package/src/themes/default/modules/toast.variables +1 -1
  366. package/src/themes/default/modules/transition.overrides +936 -915
  367. package/src/themes/default/modules/transition.variables +8 -1
  368. package/src/themes/default/views/card.variables +20 -22
  369. package/src/themes/default/views/comment.variables +6 -8
  370. package/src/themes/default/views/feed.variables +6 -6
  371. package/src/themes/default/views/item.variables +6 -9
  372. package/src/themes/default/views/statistic.variables +8 -8
  373. package/src/themes/duo/elements/loader.variables +1 -1
  374. package/src/themes/famfamfam/elements/flag.overrides +263 -268
  375. package/src/themes/famfamfam/elements/flag.variables +3 -3
  376. package/src/themes/fixed-width/collections/grid.variables +1 -1
  377. package/src/themes/fixed-width/modules/modal.variables +3 -5
  378. package/src/themes/flat/collections/form.overrides +9 -9
  379. package/src/themes/flat/collections/form.variables +4 -5
  380. package/src/themes/flat/globals/site.variables +61 -66
  381. package/src/themes/github/collections/breadcrumb.variables +0 -1
  382. package/src/themes/github/collections/form.overrides +7 -8
  383. package/src/themes/github/collections/form.variables +12 -13
  384. package/src/themes/github/collections/grid.variables +1 -2
  385. package/src/themes/github/collections/menu.overrides +2 -2
  386. package/src/themes/github/collections/menu.variables +11 -12
  387. package/src/themes/github/collections/message.overrides +3 -3
  388. package/src/themes/github/collections/message.variables +5 -5
  389. package/src/themes/github/collections/table.variables +1 -1
  390. package/src/themes/github/elements/button.overrides +0 -1
  391. package/src/themes/github/elements/button.variables +14 -14
  392. package/src/themes/github/elements/header.variables +2 -2
  393. package/src/themes/github/elements/icon.overrides +179 -179
  394. package/src/themes/github/elements/icon.variables +10 -10
  395. package/src/themes/github/elements/image.variables +1 -1
  396. package/src/themes/github/elements/input.overrides +16 -16
  397. package/src/themes/github/elements/input.variables +3 -3
  398. package/src/themes/github/elements/label.overrides +3 -3
  399. package/src/themes/github/elements/label.variables +0 -1
  400. package/src/themes/github/elements/segment.variables +2 -3
  401. package/src/themes/github/elements/step.overrides +13 -13
  402. package/src/themes/github/elements/step.variables +2 -2
  403. package/src/themes/github/globals/site.variables +2 -2
  404. package/src/themes/github/modules/dropdown.overrides +18 -19
  405. package/src/themes/github/modules/dropdown.variables +1 -1
  406. package/src/themes/github/modules/popup.variables +0 -2
  407. package/src/themes/instagram/views/card.overrides +3 -4
  408. package/src/themes/instagram/views/card.variables +3 -4
  409. package/src/themes/joypixels/elements/emoji.overrides +0 -2
  410. package/src/themes/joypixels/elements/emoji.variables +3554 -3554
  411. package/src/themes/material/collections/menu.variables +1 -1
  412. package/src/themes/material/elements/button.overrides +6 -8
  413. package/src/themes/material/elements/button.variables +28 -28
  414. package/src/themes/material/elements/header.overrides +2 -2
  415. package/src/themes/material/elements/header.variables +2 -4
  416. package/src/themes/material/elements/icon.overrides +932 -932
  417. package/src/themes/material/elements/icon.variables +11 -11
  418. package/src/themes/material/globals/site.variables +78 -79
  419. package/src/themes/material/modules/dropdown.overrides +1 -1
  420. package/src/themes/material/modules/dropdown.variables +1 -1
  421. package/src/themes/material/modules/modal.overrides +2 -2
  422. package/src/themes/material/modules/modal.variables +1 -2
  423. package/src/themes/pulsar/elements/loader.overrides +58 -58
  424. package/src/themes/raised/elements/button.variables +8 -8
  425. package/src/themes/resetcss/globals/reset.overrides +115 -33
  426. package/src/themes/resetcss/globals/reset.variables +1 -1
  427. package/src/themes/round/elements/button.variables +11 -14
  428. package/src/themes/rtl/globals/site.variables +5 -6
  429. package/src/themes/striped/modules/progress.overrides +20 -16
  430. package/src/themes/systemfont/globals/reset.overrides +1 -1
  431. package/src/themes/systemfont/globals/site.variables +5 -5
  432. package/src/themes/timeline/views/feed.overrides +12 -12
  433. package/src/themes/timeline/views/feed.variables +4 -4
  434. package/src/themes/twitter/elements/button.overrides +4 -5
  435. package/src/themes/twitter/elements/button.variables +6 -7
  436. package/src/themes/twitter/elements/emoji.variables +3555 -3555
  437. package/tasks/admin/components/create.js +274 -276
  438. package/tasks/admin/components/init.js +123 -130
  439. package/tasks/admin/components/update.js +149 -157
  440. package/tasks/admin/distributions/create.js +184 -187
  441. package/tasks/admin/distributions/init.js +123 -130
  442. package/tasks/admin/distributions/update.js +145 -152
  443. package/tasks/admin/publish.js +5 -7
  444. package/tasks/admin/register.js +36 -38
  445. package/tasks/admin/release.js +8 -10
  446. package/tasks/build/assets.js +42 -39
  447. package/tasks/build/css.js +225 -216
  448. package/tasks/build/javascript.js +118 -113
  449. package/tasks/build.js +10 -10
  450. package/tasks/check-install.js +14 -16
  451. package/tasks/clean.js +5 -5
  452. package/tasks/collections/admin.js +34 -36
  453. package/tasks/collections/build.js +18 -20
  454. package/tasks/collections/docs.js +9 -11
  455. package/tasks/collections/install.js +9 -11
  456. package/tasks/collections/rtl.js +9 -11
  457. package/tasks/collections/various.js +8 -10
  458. package/tasks/config/admin/github.js +17 -17
  459. package/tasks/config/admin/oauth.example.js +4 -4
  460. package/tasks/config/admin/release.js +98 -98
  461. package/tasks/config/admin/templates/component-package.js +9 -10
  462. package/tasks/config/admin/templates/css-package.js +18 -20
  463. package/tasks/config/admin/templates/less-package.js +11 -13
  464. package/tasks/config/defaults.js +116 -114
  465. package/tasks/config/docs.js +23 -23
  466. package/tasks/config/npm/gulpfile.js +8 -9
  467. package/tasks/config/project/config.js +127 -134
  468. package/tasks/config/project/install.js +715 -713
  469. package/tasks/config/project/release.js +32 -38
  470. package/tasks/config/tasks.js +165 -156
  471. package/tasks/config/user.js +23 -26
  472. package/tasks/docs/build.js +97 -95
  473. package/tasks/docs/metadata.js +90 -96
  474. package/tasks/docs/serve.js +80 -81
  475. package/tasks/install.js +370 -378
  476. package/tasks/rtl/build.js +2 -2
  477. package/tasks/rtl/watch.js +2 -2
  478. package/tasks/version.js +4 -4
  479. package/tasks/watch.js +28 -30
  480. package/test/meteor/assets.js +10 -13
  481. package/test/meteor/fonts.js +12 -13
  482. package/test/modules/accordion.spec.js +6 -8
  483. package/test/modules/checkbox.spec.js +5 -7
  484. package/test/modules/dropdown.spec.js +5 -7
  485. package/test/modules/modal.spec.js +6 -8
  486. package/test/modules/module.spec.js +158 -178
  487. package/test/modules/popup.spec.js +5 -7
  488. package/test/modules/search.spec.js +5 -7
  489. package/test/modules/shape.spec.js +5 -7
  490. package/test/modules/sidebar.spec.js +5 -7
  491. package/test/modules/tab.spec.js +6 -8
  492. package/test/modules/transition.spec.js +5 -7
  493. package/test/modules/video.spec.js +5 -7
@@ -8,12 +8,11 @@
8
8
  *
9
9
  */
10
10
 
11
-
12
11
  /*******************************
13
12
  Theme
14
13
  *******************************/
15
14
 
16
- @type : 'module';
15
+ @type : 'module';
17
16
  @element : 'modal';
18
17
 
19
18
  @import (multiple) '../../theme.config';
@@ -23,375 +22,369 @@
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
+
264
+ .ui.modal > .header {
265
+ padding: @mobileHeaderPadding;
266
+ }
267
+ .ui.modal > .close + .header {
268
+ padding-right: @closeHitbox;
269
+ }
270
+ .ui.overlay.fullscreen.modal > .content.content.content {
271
+ min-height: @overlayFullscreenScrollingContentMaxHeightMobile;
272
+ }
273
+ .ui.overlay.fullscreen.modal > .scrolling.content.content.content {
274
+ max-height: @overlayFullscreenScrollingContentMaxHeightMobile;
275
+ }
276
+ .ui.modal > .content {
277
+ display: block;
278
+ padding: @mobileContentPadding !important;
279
+ }
280
+ .ui.modal > .close {
281
+ top: @mobileCloseTop !important;
282
+ right: @mobileCloseRight !important;
283
+ }
284
+
285
+ /* rtl:ignore */
286
+ .ui.modal .image.content {
287
+ flex-direction: column;
288
+ }
289
+ .ui.modal > .content > .image {
290
+ display: block;
291
+ max-width: 100%;
292
+ margin: 0 auto !important;
293
+ text-align: center;
294
+ padding: @mobileImagePadding !important;
295
+ }
296
+ .ui.modal > .content > .image > i.icon {
297
+ font-size: @mobileImageIconSize;
298
+ text-align: center;
320
299
  }
321
- .ui.modal .actions > .buttons,
322
- .ui.modal .actions > .button {
323
- margin-bottom: @mobileButtonDistance;
300
+
301
+ /* rtl:ignore */
302
+ .ui.modal > .content > .description {
303
+ display: block;
304
+ width: 100% !important;
305
+ margin: 0 !important;
306
+ padding: @mobileDescriptionPadding !important;
307
+ box-shadow: none;
308
+ }
309
+ & when (@variationModalActions) {
310
+ /* Let Buttons Stack */
311
+ .ui.modal > .actions {
312
+ padding: @mobileActionPadding !important;
313
+ }
314
+ .ui.modal .actions > .buttons,
315
+ .ui.modal .actions > .button {
316
+ margin-bottom: @mobileButtonDistance;
317
+ }
324
318
  }
325
- }
326
319
  }
327
320
 
328
- /*--------------
321
+ /* --------------
329
322
  Coupling
330
- ---------------*/
323
+ --------------- */
331
324
 
332
325
  .ui.inverted.dimmer > .ui.modal {
333
- box-shadow: @invertedBoxShadow;
326
+ box-shadow: @invertedBoxShadow;
334
327
  }
335
328
 
336
329
  /*******************************
337
330
  Types
338
331
  *******************************/
339
332
  & 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
- }
333
+ .ui.basic.modal {
334
+ background-color: transparent;
335
+ border: none;
336
+ border-radius: 0;
337
+ box-shadow: none !important;
338
+ color: @basicModalColor;
339
+ }
340
+ .ui.ui.modal > .basic.header,
341
+ .ui.ui.modal > .basic.actions,
342
+ .ui.basic.modal > .header,
343
+ .ui.basic.modal > .content,
344
+ .ui.basic.modal > .actions {
345
+ background-color: transparent;
346
+ }
347
+ .ui.modal > .basic.header {
348
+ border-bottom: none;
349
+ }
350
+ .ui.basic.modal > .header {
351
+ color: @basicModalHeaderColor;
352
+ border-bottom: none;
353
+ }
354
+ .ui.basic.modal > .close {
355
+ top: @basicModalCloseTop;
356
+ right: @basicModalCloseRight;
357
+ color: @basicInnerCloseColor;
358
+ }
359
+ .ui.inverted.dimmer > .basic.modal {
360
+ color: @basicInvertedModalColor;
361
+ }
362
+ .ui.inverted.dimmer > .ui.basic.modal > .header {
363
+ color: @basicInvertedModalHeaderColor;
364
+ }
372
365
  }
373
366
 
374
367
  & 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
- }
368
+ /* Resort to margin positioning if legacy */
369
+ .ui.legacy.legacy.modal,
370
+ .ui.legacy.legacy.page.dimmer > .ui.modal {
371
+ left: 50% !important;
372
+ }
373
+ .ui.legacy.legacy.modal:not(.aligned),
374
+ .ui.legacy.legacy.page.dimmer > .ui.modal:not(.aligned) {
375
+ top: 50%;
376
+ }
377
+ .ui.legacy.legacy.page.dimmer > .ui.scrolling.modal:not(.aligned),
378
+ .ui.page.dimmer > .ui.scrolling.legacy.legacy.modal:not(.aligned),
379
+ .ui.top.aligned.legacy.legacy.page.dimmer > .ui.modal:not(.aligned),
380
+ .ui.top.aligned.dimmer > .ui.legacy.legacy.modal:not(.aligned) {
381
+ top: auto;
382
+ }
383
+ & when (@variationModalOverlay) {
384
+ .ui.legacy.overlay.fullscreen.modal {
385
+ margin-top: -@scrollingMargin !important;
386
+ }
387
+ }
395
388
  }
396
389
 
397
390
  /*******************************
@@ -399,13 +392,13 @@
399
392
  *******************************/
400
393
 
401
394
  .ui.loading.modal {
402
- display: block;
403
- visibility: hidden;
404
- z-index: @loadingZIndex;
395
+ display: block;
396
+ visibility: hidden;
397
+ z-index: @loadingZIndex;
405
398
  }
406
399
 
407
400
  .ui.active.modal {
408
- display: block;
401
+ display: block;
409
402
  }
410
403
 
411
404
  /*******************************
@@ -413,219 +406,220 @@
413
406
  *******************************/
414
407
 
415
408
  & 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) {
409
+ /* --------------
410
+ Aligned
411
+ --------------- */
412
+
428
413
  .modals.dimmer .ui.top.aligned.modal {
429
- top: @mobileTopAlignedMargin;
414
+ top: @topAlignedMargin;
430
415
  }
431
416
  .modals.dimmer .ui.bottom.aligned.modal {
432
- bottom: @mobileBottomAlignedMargin;
417
+ bottom: @bottomAlignedMargin;
418
+ }
419
+
420
+ @media only screen and (max-width: @largestMobileScreen) {
421
+ .modals.dimmer .ui.top.aligned.modal {
422
+ top: @mobileTopAlignedMargin;
423
+ }
424
+ .modals.dimmer .ui.bottom.aligned.modal {
425
+ bottom: @mobileBottomAlignedMargin;
426
+ }
433
427
  }
434
- }
435
428
  }
436
429
 
437
430
  & 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%;
431
+ /* --------------
432
+ Scrolling
433
+ --------------- */
434
+
435
+ /* Scrolling Dimmer */
436
+ .scrolling.dimmable.dimmed {
437
+ overflow: hidden;
438
+ }
439
+ .scrolling.dimmable > .dimmer {
440
+ justify-content: flex-start;
441
+ position: fixed;
442
+ }
443
+ .scrolling.dimmable:not(body) > .dimmer {
444
+ justify-content: center;
445
+ position: absolute;
446
+ }
447
+ .scrolling.dimmable.dimmed > .dimmer {
448
+ overflow: auto;
449
+ overscroll-behavior: @overscrollBehavior;
450
+ -webkit-overflow-scrolling: touch;
451
+ }
452
+ .modals.dimmer .ui.scrolling.modal:not(.fullscreen) {
453
+ margin: @scrollingMargin auto;
454
+ }
455
+
456
+ /* Fix for Firefox, Edge, IE11 */
457
+ .modals.dimmer .ui.scrolling.modal:not([class*="overlay fullscreen"])::after {
458
+ content: '\00A0';
459
+ position: absolute;
460
+ height: @scrollingMargin;
461
+ }
478
462
 
479
- }
463
+ /* Undetached Scrolling */
464
+ .scrolling.undetached.dimmable.dimmed {
465
+ overflow: auto;
466
+ overscroll-behavior: @overscrollBehavior;
467
+ -webkit-overflow-scrolling: touch;
468
+ }
469
+ .scrolling.undetached.dimmable.dimmed > .dimmer {
470
+ overflow: hidden;
471
+ }
472
+ .scrolling.undetached.dimmable .ui.scrolling.modal:not(.fullscreen) {
473
+ position: absolute;
474
+ left: 50%;
475
+ }
480
476
 
481
- /* Scrolling Content */
482
- .ui.modal > .scrolling.content {
483
- max-height: @scrollingContentMaxHeight;
484
- overflow: auto;
485
- }
477
+ /* Scrolling Content */
478
+ .ui.modal > .scrolling.content {
479
+ max-height: @scrollingContentMaxHeight;
480
+ overflow: auto;
481
+ overscroll-behavior: @overscrollBehavior;
482
+ }
486
483
  }
487
484
 
488
485
  & 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
- }
486
+ .ui.overlay.fullscreen.modal > .content {
487
+ min-height: @overlayFullscreenScrollingContentMaxHeight;
488
+ }
489
+ .ui.overlay.fullscreen.modal > .scrolling.content {
490
+ max-height: @overlayFullscreenScrollingContentMaxHeight;
491
+ }
495
492
  }
496
493
 
497
494
  & 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
- /*--------------
495
+ /* --------------
496
+ Full Screen
497
+ --------------- */
498
+
499
+ .ui.fullscreen.modal {
500
+ width: @fullScreenWidth;
501
+ left: @fullScreenOffset;
502
+ margin: @fullScreenMargin;
503
+ }
504
+ & when (@variationModalOverlay) {
505
+ .ui.overlay.fullscreen.modal {
506
+ width: 100%;
507
+ left: 0;
508
+ margin: 0 auto;
509
+ top: 0;
510
+ border-radius: 0;
511
+ }
512
+ }
513
+ .ui.modal > .close.inside + .header:not(.centered):not(.center):not(.icon),
514
+ .ui.fullscreen.modal > .close + .header:not(.centered):not(.center):not(.icon) {
515
+ padding-right: @closeHitbox;
516
+ }
517
+ .ui.modal > .close.inside,
518
+ .ui.fullscreen.modal > .close {
519
+ top: @innerCloseTop;
520
+ right: @innerCloseRight;
521
+ color: @innerCloseColor;
522
+ }
523
+ & when (@variationModalBasic) {
524
+ .ui.basic.fullscreen.modal > .close {
525
+ color: @basicInnerCloseColor;
526
+ }
527
+ }
528
+ }
529
+
530
+ /* --------------
533
531
  Size
534
- ---------------*/
532
+ --------------- */
535
533
 
536
534
  .ui.modal {
537
- font-size: @medium;
535
+ font-size: @medium;
538
536
  }
539
537
  & 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
- })
538
+ each(@variationModalSizes, {
539
+ @hs: @{value}HeaderSize;
540
+ @mw: @{value}MobileWidth;
541
+ @mm: @{value}MobileMargin;
542
+ @tw: @{value}TabletWidth;
543
+ @tm: @{value}TabletMargin;
544
+ @cw: @{value}ComputerWidth;
545
+ @cm: @{value}ComputerMargin;
546
+ @lw: @{value}LargeMonitorWidth;
547
+ @lm: @{value}LargeMonitorMargin;
548
+ @ww: @{value}WidescreenMonitorWidth;
549
+ @wm: @{value}WidescreenMonitorMargin;
550
+ .ui.@{value}.modal > .header:not(.ui) {
551
+ font-size: @@hs;
552
+ }
553
+ @media only screen and (max-width : @largestMobileScreen) {
554
+ .ui.@{value}.modal {
555
+ width: @@mw;
556
+ margin: @@mm;
557
+ }
558
+ }
559
+ @media only screen and (min-width : @tabletBreakpoint) {
560
+ .ui.@{value}.modal {
561
+ width: @@tw;
562
+ margin: @@tm;
563
+ }
564
+ }
565
+ @media only screen and (min-width : @computerBreakpoint) {
566
+ .ui.@{value}.modal {
567
+ width: @@cw;
568
+ margin: @@cm;
569
+ }
570
+ }
571
+ @media only screen and (min-width : @largeMonitorBreakpoint) {
572
+ .ui.@{value}.modal {
573
+ width: @@lw;
574
+ margin: @@lm;
575
+ }
576
+ }
577
+ @media only screen and (min-width : @widescreenMonitorBreakpoint) {
578
+ .ui.@{value}.modal {
579
+ width: @@ww;
580
+ margin: @@wm;
581
+ }
582
+ }
583
+ })
586
584
  }
587
585
 
588
586
  & when (@variationModalInverted) {
589
- /*****************************
590
- Inverted
591
- *******************************/
592
-
593
- .ui.inverted.modal {
594
- background: @invertedBackground;
595
- }
587
+ /*****************************
588
+ Inverted
589
+ *******************************/
596
590
 
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;
591
+ .ui.inverted.modal {
592
+ background: @invertedBackground;
607
593
  }
608
- }
609
594
 
610
- .ui.inverted.dimmer > .modal > .close {
611
- color: @invertedDimmerCloseColor;
612
- }
595
+ .ui.inverted.modal > .header,
596
+ .ui.inverted.modal > .content {
597
+ background: @invertedBackground;
598
+ color: @invertedHeaderColor;
599
+ }
600
+ & when (@variationModalActions) {
601
+ .ui.inverted.modal > .actions {
602
+ background: @invertedActionBackground;
603
+ border-top: @invertedActionBorder;
604
+ color: @invertedActionColor;
605
+ }
606
+ }
613
607
 
608
+ .ui.inverted.dimmer > .modal > .close {
609
+ color: @invertedDimmerCloseColor;
610
+ }
614
611
 
615
- @media only screen and (max-width: @largestTabletScreen) {
616
- .ui.dimmer .inverted.modal > .close {
617
- color: @invertedCloseColor;
612
+ @media only screen and (max-width: @largestTabletScreen) {
613
+ .ui.dimmer .inverted.modal > .close {
614
+ color: @invertedCloseColor;
615
+ }
618
616
  }
619
- }
620
- & when (@variationModalFullscreen) or (@variationModalCloseInside) {
621
- .ui.inverted.modal > .close.inside,
622
- .ui.inverted.fullscreen.modal > .close {
623
- color: @invertedCloseColor;
617
+ & when (@variationModalFullscreen) or (@variationModalCloseInside) {
618
+ .ui.inverted.modal > .close.inside,
619
+ .ui.inverted.fullscreen.modal > .close {
620
+ color: @invertedCloseColor;
621
+ }
624
622
  }
625
- }
626
623
  }
627
624
 
628
-
629
-
630
-
631
625
  .loadUIOverrides();