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,67 +8,59 @@
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 : 'popup';
18
17
 
19
18
  @import (multiple) '../../theme.config';
20
19
 
21
-
22
20
  /*******************************
23
21
  Popup
24
22
  *******************************/
25
23
 
26
24
  .ui.popup {
27
- display: none;
28
- position: absolute;
29
- top: 0;
30
- right: 0;
31
-
32
- /* Fixes content being squished when inline (moz only) */
33
- min-width: min-content;
34
- z-index: @zIndex;
35
-
36
- border: @border;
37
- line-height: @lineHeight;
38
- max-width: @maxWidth;
39
- background: @background;
40
-
41
- padding: @verticalPadding @horizontalPadding;
42
- font-weight: @fontWeight;
43
- font-style: @fontStyle;
44
- color: @color;
45
-
46
- border-radius: @borderRadius;
47
- box-shadow: @boxShadow;
25
+ display: none;
26
+ position: absolute;
27
+ top: 0;
28
+ right: 0;
29
+
30
+ /* Fixes content being squished when inline (moz only) */
31
+ min-width: min-content;
32
+ z-index: @zIndex;
33
+ border: @border;
34
+ line-height: @lineHeight;
35
+ max-width: @maxWidth;
36
+ background: @background;
37
+ padding: @verticalPadding @horizontalPadding;
38
+ font-weight: @fontWeight;
39
+ font-style: @fontStyle;
40
+ color: @color;
41
+ border-radius: @borderRadius;
42
+ box-shadow: @boxShadow;
48
43
  }
49
44
  .ui.popup > .header {
50
- padding: 0;
51
-
52
- font-family: @headerFont;
53
- font-size: @headerFontSize;
54
- line-height: @headerLineHeight;
55
- font-weight: @headerFontWeight;
45
+ padding: 0;
46
+ font-family: @headerFont;
47
+ font-size: @headerFontSize;
48
+ line-height: @headerLineHeight;
49
+ font-weight: @headerFontWeight;
56
50
  }
57
51
  .ui.popup > .header + .content {
58
- padding-top: @headerDistance;
52
+ padding-top: @headerDistance;
59
53
  }
60
54
 
61
55
  .ui.popup::before {
62
- position: absolute;
63
- content: '';
64
- width: @arrowSize;
65
- height: @arrowSize;
66
-
67
- background: @arrowBackground;
68
- transform: rotate(45deg);
69
-
70
- z-index: @arrowZIndex;
71
- box-shadow: @arrowBoxShadow;
56
+ position: absolute;
57
+ content: '';
58
+ width: @arrowSize;
59
+ height: @arrowSize;
60
+ background: @arrowBackground;
61
+ transform: rotate(45deg);
62
+ z-index: @arrowZIndex;
63
+ box-shadow: @arrowBoxShadow;
72
64
  }
73
65
 
74
66
  /*******************************
@@ -76,767 +68,818 @@
76
68
  *******************************/
77
69
 
78
70
  & when (@variationPopupTooltip) {
79
- /*--------------
80
- Tooltip
81
- ---------------*/
82
-
83
- /* Content */
84
- [data-tooltip] {
85
- position: relative;
86
- }
87
-
88
- /* Arrow */
89
- [data-tooltip]::before {
90
- pointer-events: none;
91
- position: absolute;
92
- content: '';
93
- font-size: @medium;
94
- width: @arrowSize;
95
- height: @arrowSize;
71
+ /* --------------
72
+ Tooltip
73
+ --------------- */
96
74
 
97
- background: @tooltipArrowBackground;
98
- transform: rotate(45deg);
99
-
100
- z-index: @arrowZIndex;
101
- box-shadow: @tooltipArrowBoxShadow;
102
- }
75
+ /* Content */
76
+ [data-tooltip] {
77
+ position: relative;
78
+ }
103
79
 
104
- /* Popup */
105
- [data-tooltip]::after {
106
- pointer-events: none;
107
- content: attr(data-tooltip);
108
- position: absolute;
109
- text-transform: none;
110
- text-align: left;
111
- text-shadow: none;
112
- white-space: nowrap;
113
-
114
- font-size: @tooltipFontSize;
115
-
116
- border: @tooltipBorder;
117
- line-height: @tooltipLineHeight;
118
- max-width: @tooltipMaxWidth;
119
- background: @tooltipBackground;
120
-
121
- padding: @tooltipPadding;
122
- font-weight: @tooltipFontWeight;
123
- font-style: @tooltipFontStyle;
124
- color: @tooltipColor;
125
-
126
- border-radius: @tooltipBorderRadius;
127
- box-shadow: @tooltipBoxShadow;
128
- z-index: @tooltipZIndex;
129
- }
130
-
131
- /* Default Position (Top Center) */
132
- [data-tooltip]:not([data-position])::before {
133
- top: auto;
134
- right: auto;
135
- bottom: 100%;
136
- left: 50%;
137
- background: @tooltipArrowBottomBackground;
138
- margin-left: @tooltipArrowHorizontalOffset;
139
- margin-bottom: -@tooltipArrowVerticalOffset;
140
- }
141
- [data-tooltip]:not([data-position])::after {
142
- left: 50%;
143
- transform: translateX(-50%);
144
- bottom: 100%;
145
- margin-bottom: @tooltipDistanceAway;
146
- }
147
-
148
- /* Animation */
149
- [data-tooltip]::before,
150
- [data-tooltip]::after {
151
- pointer-events: none;
152
- visibility: hidden;
153
- opacity: 0;
154
- transition:
80
+ /* Arrow */
81
+ [data-tooltip]::before {
82
+ pointer-events: none;
83
+ position: absolute;
84
+ content: '';
85
+ font-size: @medium;
86
+ width: @arrowSize;
87
+ height: @arrowSize;
88
+ background: @tooltipArrowBackground;
89
+ transform: rotate(45deg);
90
+ z-index: @arrowZIndex;
91
+ box-shadow: @tooltipArrowBoxShadow;
92
+ }
93
+
94
+ /* Popup */
95
+ [data-tooltip]::after {
96
+ pointer-events: none;
97
+ content: attr(data-tooltip);
98
+ position: absolute;
99
+ text-transform: none;
100
+ text-align: left;
101
+ text-shadow: none;
102
+ white-space: nowrap;
103
+ font-size: @tooltipFontSize;
104
+ border: @tooltipBorder;
105
+ line-height: @tooltipLineHeight;
106
+ max-width: @tooltipMaxWidth;
107
+ background: @tooltipBackground;
108
+ padding: @tooltipPadding;
109
+ font-weight: @tooltipFontWeight;
110
+ font-style: @tooltipFontStyle;
111
+ color: @tooltipColor;
112
+ border-radius: @tooltipBorderRadius;
113
+ box-shadow: @tooltipBoxShadow;
114
+ z-index: @tooltipZIndex;
115
+ }
116
+
117
+ /* Default Position (Top Center) */
118
+ [data-tooltip]:not([data-position])::before {
119
+ top: auto;
120
+ right: auto;
121
+ bottom: 100%;
122
+ left: 50%;
123
+ background: @tooltipArrowBottomBackground;
124
+ margin-left: @tooltipArrowHorizontalOffset;
125
+ margin-bottom: -@tooltipArrowVerticalOffset;
126
+ }
127
+ [data-tooltip]:not([data-position])::after {
128
+ left: 50%;
129
+ transform: translateX(-50%);
130
+ bottom: 100%;
131
+ margin-bottom: @tooltipDistanceAway;
132
+ }
133
+
134
+ /* Animation */
135
+ [data-tooltip]::before,
136
+ [data-tooltip]::after {
137
+ pointer-events: none;
138
+ visibility: hidden;
139
+ opacity: 0;
140
+ transition:
155
141
  transform @tooltipDuration @tooltipEasing,
156
- opacity @tooltipDuration @tooltipEasing
157
- ;
158
- }
159
- [data-tooltip]::before {
160
- transform: rotate(45deg) scale(0) !important;
161
- transform-origin: center top;
162
- }
163
- [data-tooltip]::after {
164
- transform-origin: center bottom;
165
- }
166
- [data-tooltip]:hover::before,
167
- [data-tooltip]:hover::after {
168
- visibility: visible;
169
- pointer-events: auto;
170
- opacity: 1;
171
- }
172
- [data-tooltip]:hover::before {
173
- transform: rotate(45deg) scale(1) !important;
174
- }
175
-
176
- /* Animation Position */
177
- [data-tooltip]::after,
178
- [data-tooltip][data-position="top center"]::after,
179
- [data-tooltip][data-position="bottom center"]::after {
180
- transform: translateX(-50%) scale(0) !important;
181
- }
182
- [data-tooltip]:hover::after,
183
- [data-tooltip][data-position="bottom center"]:hover::after {
184
- transform: translateX(-50%) scale(1) !important;
185
- }
186
- [data-tooltip][data-position="left center"]::after,
187
- [data-tooltip][data-position="right center"]::after {
188
- transform: translateY(-50%) scale(0) !important;
189
- }
190
- [data-tooltip][data-position="left center"]:hover::after,
191
- [data-tooltip][data-position="right center"]:hover::after {
192
- transform: translateY(-50%) scale(1) !important;
193
- -moz-transform: translateY(-50%) scale(1.0001) !important;
194
- }
195
- [data-tooltip][data-position="top left"]::after,
196
- [data-tooltip][data-position="top right"]::after,
197
- [data-tooltip][data-position="bottom left"]::after,
198
- [data-tooltip][data-position="bottom right"]::after {
199
- transform: scale(0) !important;
200
- }
201
- [data-tooltip][data-position="top left"]:hover::after,
202
- [data-tooltip][data-position="top right"]:hover::after,
203
- [data-tooltip][data-position="bottom left"]:hover::after,
204
- [data-tooltip][data-position="bottom right"]:hover::after {
205
- transform: scale(1) !important;
206
- }
207
- & when (@variationPopupFixed) {
208
- [data-tooltip][data-variation~="fixed"]::after {
209
- white-space: normal;
210
- width: @maxWidth;
211
- }
212
- [data-tooltip][data-variation*="wide fixed"]::after {
213
- width: @wideWidth;
214
- }
215
- [data-tooltip][data-variation*="very wide fixed"]::after {
216
- width: @veryWideWidth;
142
+ opacity @tooltipDuration @tooltipEasing;
217
143
  }
218
- @media only screen and (max-width: @largestMobileScreen) {
219
- [data-tooltip][data-variation~="fixed"]::after {
220
- width: @maxWidth;
221
- }
144
+ [data-tooltip]::before {
145
+ transform: rotate(45deg) scale(0) !important;
146
+ transform-origin: center top;
222
147
  }
223
- }
224
- & when (@variationPopupInverted) {
225
- /*--------------
226
- Inverted
227
- ---------------*/
228
-
229
- /* Arrow */
230
- [data-tooltip][data-inverted]::before {
231
- box-shadow: none !important;
148
+ [data-tooltip]::after {
149
+ transform-origin: center bottom;
232
150
  }
233
-
234
- /* Arrow Position */
235
- [data-tooltip][data-inverted]::before {
236
- background: @invertedArrowBottomBackground;
151
+ [data-tooltip]:hover::before,
152
+ [data-tooltip]:hover::after {
153
+ visibility: visible;
154
+ pointer-events: auto;
155
+ opacity: 1;
156
+ }
157
+ [data-tooltip]:hover::before {
158
+ transform: rotate(45deg) scale(1) !important;
159
+ }
160
+
161
+ /* Animation Position */
162
+ [data-tooltip]::after,
163
+ [data-tooltip][data-position="top center"]::after,
164
+ [data-tooltip][data-position="bottom center"]::after {
165
+ transform: translateX(-50%) scale(0) !important;
166
+ }
167
+ [data-tooltip]:hover::after,
168
+ [data-tooltip][data-position="bottom center"]:hover::after {
169
+ transform: translateX(-50%) scale(1) !important;
170
+ }
171
+ [data-tooltip][data-position="left center"]::after,
172
+ [data-tooltip][data-position="right center"]::after {
173
+ transform: translateY(-50%) scale(0) !important;
174
+ }
175
+ [data-tooltip][data-position="left center"]:hover::after,
176
+ [data-tooltip][data-position="right center"]:hover::after {
177
+ transform: translateY(-50%) scale(1) !important;
178
+ -moz-transform: translateY(-50%) scale(1.0001) !important;
179
+ }
180
+ [data-tooltip][data-position="top left"]::after,
181
+ [data-tooltip][data-position="top right"]::after,
182
+ [data-tooltip][data-position="bottom left"]::after,
183
+ [data-tooltip][data-position="bottom right"]::after {
184
+ transform: scale(0) !important;
185
+ }
186
+ [data-tooltip][data-position="top left"]:hover::after,
187
+ [data-tooltip][data-position="top right"]:hover::after,
188
+ [data-tooltip][data-position="bottom left"]:hover::after,
189
+ [data-tooltip][data-position="bottom right"]:hover::after {
190
+ transform: scale(1) !important;
191
+ }
192
+ & when (@variationPopupFixed) {
193
+ [data-tooltip][data-variation~="fixed"]::after {
194
+ white-space: normal;
195
+ width: @maxWidth;
196
+ }
197
+ [data-tooltip][data-variation*="wide fixed"]::after {
198
+ width: @wideWidth;
199
+ }
200
+ [data-tooltip][data-variation*="very wide fixed"]::after {
201
+ width: @veryWideWidth;
202
+ }
203
+ @media only screen and (max-width: @largestMobileScreen) {
204
+ [data-tooltip][data-variation~="fixed"]::after {
205
+ width: @maxWidth;
206
+ }
207
+ }
237
208
  }
209
+ & when (@variationPopupInverted) {
210
+ /* --------------
211
+ Inverted
212
+ --------------- */
238
213
 
239
- /* Popup */
240
- [data-tooltip][data-inverted]::after {
241
- background: @tooltipInvertedBackground;
242
- color: @tooltipInvertedColor;
243
- border: @tooltipInvertedBorder;
244
- box-shadow: @tooltipInvertedBoxShadow;
245
- }
246
- }
214
+ /* Arrow */
215
+ [data-tooltip][data-inverted]::before {
216
+ box-shadow: none !important;
217
+ }
247
218
 
248
- & when (@variationPopupPosition) {
249
- /*--------------
250
- Position
251
- ---------------*/
252
- & when (@variationPopupTop) {
253
- [data-position~="top"][data-tooltip]::before {
254
- background: @arrowBottomBackground;
255
- }
256
- & when (@variationPopupCenter) {
257
- /* Top Center */
258
- [data-position="top center"][data-tooltip]::after {
259
- top: auto;
260
- right: auto;
261
- left: 50%;
262
- bottom: 100%;
263
- transform: translateX(-50%);
264
- margin-bottom: @tooltipDistanceAway;
265
- }
266
- [data-position="top center"][data-tooltip]::before {
267
- top: auto;
268
- right: auto;
269
- bottom: 100%;
270
- left: 50%;
271
- background: @tooltipArrowTopBackground;
272
- margin-left: @tooltipArrowHorizontalOffset;
273
- margin-bottom: -@tooltipArrowVerticalOffset;
274
- }
275
- }
276
- & when (@variationPopupLeft) {
277
- /* Top Left */
278
- [data-position="top left"][data-tooltip]::after {
279
- top: auto;
280
- right: auto;
281
- left: 0;
282
- bottom: 100%;
283
- margin-bottom: @tooltipDistanceAway;
284
- }
285
- [data-position="top left"][data-tooltip]::before {
286
- top: auto;
287
- right: auto;
288
- bottom: 100%;
289
- left: @arrowDistanceFromEdge;
290
- margin-left: @tooltipArrowHorizontalOffset;
291
- margin-bottom: -@tooltipArrowVerticalOffset;
292
- }
293
- }
294
- & when (@variationPopupRight) {
295
- /* Top Right */
296
- [data-position="top right"][data-tooltip]::after {
297
- top: auto;
298
- left: auto;
299
- right: 0;
300
- bottom: 100%;
301
- margin-bottom: @tooltipDistanceAway;
302
- }
303
- [data-position="top right"][data-tooltip]::before {
304
- top: auto;
305
- left: auto;
306
- bottom: 100%;
307
- right: @arrowDistanceFromEdge;
308
- margin-left: @tooltipArrowHorizontalOffset;
309
- margin-bottom: -@tooltipArrowVerticalOffset;
310
- }
311
- }
312
- }
219
+ /* Arrow Position */
220
+ [data-tooltip][data-inverted]::before {
221
+ background: @invertedArrowBottomBackground;
222
+ }
313
223
 
314
- & when (@variationPopupBottom) {
315
- [data-position~="bottom"][data-tooltip]::before {
316
- background: @arrowTopBackground;
317
- box-shadow: @bottomArrowBoxShadow;
318
- }
319
- & when (@variationPopupCenter) {
320
- /* Bottom Center */
321
- [data-position="bottom center"][data-tooltip]::after {
322
- bottom: auto;
323
- right: auto;
324
- left: 50%;
325
- top: 100%;
326
- transform: translateX(-50%);
327
- margin-top: @tooltipDistanceAway;
328
- }
329
- [data-position="bottom center"][data-tooltip]::before {
330
- bottom: auto;
331
- right: auto;
332
- top: 100%;
333
- left: 50%;
334
- margin-left: @tooltipArrowHorizontalOffset;
335
- margin-top: -@arrowOffset;
336
- }
337
- }
338
- & when (@variationPopupLeft) {
339
- /* Bottom Left */
340
- [data-position="bottom left"][data-tooltip]::after {
341
- left: 0;
342
- top: 100%;
343
- margin-top: @tooltipDistanceAway;
344
- }
345
- [data-position="bottom left"][data-tooltip]::before {
346
- bottom: auto;
347
- right: auto;
348
- top: 100%;
349
- left: @arrowDistanceFromEdge;
350
- margin-left: @tooltipArrowHorizontalOffset;
351
- margin-top: -@tooltipArrowVerticalOffset;
352
- }
353
- }
354
- & when (@variationPopupRight) {
355
- /* Bottom Right */
356
- [data-position="bottom right"][data-tooltip]::after {
357
- right: 0;
358
- top: 100%;
359
- margin-top: @tooltipDistanceAway;
360
- }
361
- [data-position="bottom right"][data-tooltip]::before {
362
- bottom: auto;
363
- left: auto;
364
- top: 100%;
365
- right: @arrowDistanceFromEdge;
366
- margin-left: @tooltipArrowVerticalOffset;
367
- margin-top: -@tooltipArrowHorizontalOffset;
368
- }
369
- }
370
- }
371
- & when (@variationPopupCenter) {
372
- & when (@variationPopupLeft) {
373
- /* Left Center */
374
- [data-position="left center"][data-tooltip]::after {
375
- right: 100%;
376
- top: 50%;
377
- margin-right: @tooltipDistanceAway;
378
- transform: translateY(-50%);
379
- }
380
- [data-position="left center"][data-tooltip]::before {
381
- right: 100%;
382
- top: 50%;
383
- margin-top: @tooltipArrowVerticalOffset;
384
- margin-right: @tooltipArrowHorizontalOffset;
385
- background: @arrowCenterBackground;
386
- box-shadow: @leftArrowBoxShadow;
387
- }
388
- }
389
- & when (@variationPopupRight) {
390
- /* Right Center */
391
- [data-position="right center"][data-tooltip]::after {
392
- left: 100%;
393
- top: 50%;
394
- margin-left: @tooltipDistanceAway;
395
- transform: translateY(-50%);
396
- }
397
- [data-position="right center"][data-tooltip]::before {
398
- left: 100%;
399
- top: 50%;
400
- margin-top: @tooltipArrowHorizontalOffset;
401
- margin-left: -@tooltipArrowVerticalOffset;
402
- background: @arrowCenterBackground;
403
- box-shadow: @rightArrowBoxShadow;
404
- }
405
- }
224
+ /* Popup */
225
+ [data-tooltip][data-inverted]::after {
226
+ background: @tooltipInvertedBackground;
227
+ color: @tooltipInvertedColor;
228
+ border: @tooltipInvertedBorder;
229
+ box-shadow: @tooltipInvertedBoxShadow;
230
+ }
406
231
  }
407
232
 
408
- & when (@variationPopupInverted) {
409
- /* Inverted Arrow Color */
410
- & when (@variationPopupBottom) {
411
- [data-inverted][data-position~="bottom"][data-tooltip]::before {
412
- background: @invertedArrowTopBackground;
413
- box-shadow: @bottomArrowBoxShadow;
414
- }
415
- }
416
- & when (@variationPopupCenter) {
417
- & when (@variationPopupLeft) {
418
- [data-inverted][data-position="left center"][data-tooltip]::before {
419
- background: @invertedArrowCenterBackground;
420
- box-shadow: @leftArrowBoxShadow;
421
- }
233
+ & when (@variationPopupPosition) {
234
+ /* --------------
235
+ Position
236
+ --------------- */
237
+ & when (@variationPopupTop) {
238
+ [data-position~="top"][data-tooltip]::before {
239
+ background: @arrowBottomBackground;
240
+ }
241
+ & when (@variationPopupCenter) {
242
+ /* Top Center */
243
+ [data-position="top center"][data-tooltip]::after {
244
+ top: auto;
245
+ right: auto;
246
+ left: 50%;
247
+ bottom: 100%;
248
+ transform: translateX(-50%);
249
+ margin-bottom: @tooltipDistanceAway;
250
+ }
251
+ [data-position="top center"][data-tooltip]::before {
252
+ top: auto;
253
+ right: auto;
254
+ bottom: 100%;
255
+ left: 50%;
256
+ background: @tooltipArrowTopBackground;
257
+ margin-left: @tooltipArrowHorizontalOffset;
258
+ margin-bottom: -@tooltipArrowVerticalOffset;
259
+ }
260
+ }
261
+ & when (@variationPopupLeft) {
262
+ /* Top Left */
263
+ [data-position="top left"][data-tooltip]::after {
264
+ top: auto;
265
+ right: auto;
266
+ left: 0;
267
+ bottom: 100%;
268
+ margin-bottom: @tooltipDistanceAway;
269
+ }
270
+ [data-position="top left"][data-tooltip]::before {
271
+ top: auto;
272
+ right: auto;
273
+ bottom: 100%;
274
+ left: @arrowDistanceFromEdge;
275
+ margin-left: @tooltipArrowHorizontalOffset;
276
+ margin-bottom: -@tooltipArrowVerticalOffset;
277
+ }
278
+ }
279
+ & when (@variationPopupRight) {
280
+ /* Top Right */
281
+ [data-position="top right"][data-tooltip]::after {
282
+ top: auto;
283
+ left: auto;
284
+ right: 0;
285
+ bottom: 100%;
286
+ margin-bottom: @tooltipDistanceAway;
287
+ }
288
+ [data-position="top right"][data-tooltip]::before {
289
+ top: auto;
290
+ left: auto;
291
+ bottom: 100%;
292
+ right: @arrowDistanceFromEdge;
293
+ margin-left: @tooltipArrowHorizontalOffset;
294
+ margin-bottom: -@tooltipArrowVerticalOffset;
295
+ }
296
+ }
422
297
  }
423
- & when (@variationPopupRight) {
424
- [data-inverted][data-position="right center"][data-tooltip]::before {
425
- background: @invertedArrowCenterBackground;
426
- box-shadow: @rightArrowBoxShadow;
427
- }
298
+
299
+ & when (@variationPopupBottom) {
300
+ [data-position~="bottom"][data-tooltip]::before {
301
+ background: @arrowTopBackground;
302
+ box-shadow: @bottomArrowBoxShadow;
303
+ }
304
+ & when (@variationPopupCenter) {
305
+ /* Bottom Center */
306
+ [data-position="bottom center"][data-tooltip]::after {
307
+ bottom: auto;
308
+ right: auto;
309
+ left: 50%;
310
+ top: 100%;
311
+ transform: translateX(-50%);
312
+ margin-top: @tooltipDistanceAway;
313
+ }
314
+ [data-position="bottom center"][data-tooltip]::before {
315
+ bottom: auto;
316
+ right: auto;
317
+ top: 100%;
318
+ left: 50%;
319
+ margin-left: @tooltipArrowHorizontalOffset;
320
+ margin-top: -@arrowOffset;
321
+ }
322
+ }
323
+ & when (@variationPopupLeft) {
324
+ /* Bottom Left */
325
+ [data-position="bottom left"][data-tooltip]::after {
326
+ left: 0;
327
+ top: 100%;
328
+ margin-top: @tooltipDistanceAway;
329
+ }
330
+ [data-position="bottom left"][data-tooltip]::before {
331
+ bottom: auto;
332
+ right: auto;
333
+ top: 100%;
334
+ left: @arrowDistanceFromEdge;
335
+ margin-left: @tooltipArrowHorizontalOffset;
336
+ margin-top: -@tooltipArrowVerticalOffset;
337
+ }
338
+ }
339
+ & when (@variationPopupRight) {
340
+ /* Bottom Right */
341
+ [data-position="bottom right"][data-tooltip]::after {
342
+ right: 0;
343
+ top: 100%;
344
+ margin-top: @tooltipDistanceAway;
345
+ }
346
+ [data-position="bottom right"][data-tooltip]::before {
347
+ bottom: auto;
348
+ left: auto;
349
+ top: 100%;
350
+ right: @arrowDistanceFromEdge;
351
+ margin-left: @tooltipArrowVerticalOffset;
352
+ margin-top: -@tooltipArrowHorizontalOffset;
353
+ }
354
+ }
428
355
  }
429
- }
430
- & when (@variationPopupTop) {
431
- [data-inverted][data-position~="top"][data-tooltip]::before {
432
- background: @invertedArrowBottomBackground;
356
+ & when (@variationPopupCenter) {
357
+ & when (@variationPopupLeft) {
358
+ /* Left Center */
359
+ [data-position="left center"][data-tooltip]::after {
360
+ right: 100%;
361
+ top: 50%;
362
+ margin-right: @tooltipDistanceAway;
363
+ transform: translateY(-50%);
364
+ }
365
+ [data-position="left center"][data-tooltip]::before {
366
+ right: 100%;
367
+ top: 50%;
368
+ margin-top: @tooltipArrowVerticalOffset;
369
+ margin-right: @tooltipArrowHorizontalOffset;
370
+ background: @arrowCenterBackground;
371
+ box-shadow: @leftArrowBoxShadow;
372
+ }
373
+ }
374
+ & when (@variationPopupRight) {
375
+ /* Right Center */
376
+ [data-position="right center"][data-tooltip]::after {
377
+ left: 100%;
378
+ top: 50%;
379
+ margin-left: @tooltipDistanceAway;
380
+ transform: translateY(-50%);
381
+ }
382
+ [data-position="right center"][data-tooltip]::before {
383
+ left: 100%;
384
+ top: 50%;
385
+ margin-top: @tooltipArrowHorizontalOffset;
386
+ margin-left: -@tooltipArrowVerticalOffset;
387
+ background: @arrowCenterBackground;
388
+ box-shadow: @rightArrowBoxShadow;
389
+ }
390
+ }
433
391
  }
434
- }
435
- }
436
392
 
437
- & when (@variationPopupBottom) {
438
- [data-position~="bottom"][data-tooltip]::before {
439
- transform-origin: center bottom;
440
- }
441
- [data-position~="bottom"][data-tooltip]::after {
442
- transform-origin: center top;
443
- }
444
- }
445
- & when (@variationPopupCenter) {
446
- & when (@variationPopupBottom) {
447
- [data-position="bottom center"][data-tooltip]::before {
448
- transform-origin: center top;
393
+ & when (@variationPopupInverted) {
394
+ /* Inverted Arrow Color */
395
+ & when (@variationPopupBottom) {
396
+ [data-inverted][data-position~="bottom"][data-tooltip]::before {
397
+ background: @invertedArrowTopBackground;
398
+ box-shadow: @bottomArrowBoxShadow;
399
+ }
400
+ }
401
+ & when (@variationPopupCenter) {
402
+ & when (@variationPopupLeft) {
403
+ [data-inverted][data-position="left center"][data-tooltip]::before {
404
+ background: @invertedArrowCenterBackground;
405
+ box-shadow: @leftArrowBoxShadow;
406
+ }
407
+ }
408
+ & when (@variationPopupRight) {
409
+ [data-inverted][data-position="right center"][data-tooltip]::before {
410
+ background: @invertedArrowCenterBackground;
411
+ box-shadow: @rightArrowBoxShadow;
412
+ }
413
+ }
414
+ }
415
+ & when (@variationPopupTop) {
416
+ [data-inverted][data-position~="top"][data-tooltip]::before {
417
+ background: @invertedArrowBottomBackground;
418
+ }
419
+ }
449
420
  }
450
- }
451
- & when (@variationPopupLeft) {
452
- [data-position="left center"][data-tooltip]::before {
453
- transform-origin: top center;
454
- }
455
- [data-position="left center"][data-tooltip]::after {
456
- transform-origin: right center;
421
+
422
+ & when (@variationPopupBottom) {
423
+ [data-position~="bottom"][data-tooltip]::before {
424
+ transform-origin: center bottom;
425
+ }
426
+ [data-position~="bottom"][data-tooltip]::after {
427
+ transform-origin: center top;
428
+ }
457
429
  }
458
- }
459
- & when (@variationPopupRight) {
460
- [data-position="right center"][data-tooltip]::before {
461
- transform-origin: right center;
430
+ & when (@variationPopupCenter) {
431
+ & when (@variationPopupBottom) {
432
+ [data-position="bottom center"][data-tooltip]::before {
433
+ transform-origin: center top;
434
+ }
435
+ }
436
+ & when (@variationPopupLeft) {
437
+ [data-position="left center"][data-tooltip]::before {
438
+ transform-origin: top center;
439
+ }
440
+ [data-position="left center"][data-tooltip]::after {
441
+ transform-origin: right center;
442
+ }
443
+ }
444
+ & when (@variationPopupRight) {
445
+ [data-position="right center"][data-tooltip]::before {
446
+ transform-origin: right center;
447
+ }
448
+ [data-position="right center"][data-tooltip]::after {
449
+ transform-origin: left center;
450
+ }
451
+ }
462
452
  }
463
- [data-position="right center"][data-tooltip]::after {
464
- transform-origin: left center;
453
+ }
454
+
455
+ & when (@variationPopupBasic) {
456
+ /* --------------
457
+ Basic
458
+ --------------- */
459
+ [data-tooltip][data-variation~="basic"]::before {
460
+ display: none;
465
461
  }
466
- }
467
462
  }
468
- }
469
463
 
470
- & when (@variationPopupBasic) {
471
- /*--------------
472
- Basic
473
- ---------------*/
474
- [data-tooltip][data-variation~="basic"]::before {
475
- display: none;
464
+ & when (@variationPopupMultiline) {
465
+ [data-tooltip][data-variation~="multiline"]::after {
466
+ white-space: @multilineWhiteSpace;
467
+ }
476
468
  }
477
- }
478
469
  }
479
470
 
480
- /*--------------
471
+ /* --------------
481
472
  Spacing
482
- ---------------*/
473
+ --------------- */
483
474
 
484
475
  .ui.popup {
485
- margin: 0;
476
+ margin: 0;
486
477
  }
487
478
 
488
479
  & when (@variationPopupTop) {
489
- /* Extending from Top */
490
- .ui.top.popup {
491
- margin: 0 0 @popupDistanceAway;
492
- }
493
- & when (@variationPopupLeft) {
494
- .ui.top.left.popup {
495
- transform-origin: left bottom;
496
- }
497
- }
498
- & when (@variationPopupCenter) {
499
- .ui.top.center.popup {
500
- transform-origin: center bottom;
501
- }
502
- }
503
- & when (@variationPopupRight) {
504
- .ui.top.right.popup {
505
- transform-origin: right bottom;
506
- }
507
- }
480
+ /* Extending from Top */
481
+ .ui.top.popup {
482
+ margin: 0 0 @popupDistanceAway;
483
+ }
484
+ & when (@variationPopupLeft) {
485
+ .ui.top.left.popup {
486
+ transform-origin: left bottom;
487
+ }
488
+ }
489
+ & when (@variationPopupCenter) {
490
+ .ui.top.center.popup {
491
+ transform-origin: center bottom;
492
+ }
493
+ }
494
+ & when (@variationPopupRight) {
495
+ .ui.top.right.popup {
496
+ transform-origin: right bottom;
497
+ }
498
+ }
508
499
  }
509
500
 
510
501
  & when (@variationPopupCenter) {
511
- /* Extending from Vertical Center */
512
- & when (@variationPopupLeft) {
513
- .ui.left.center.popup {
514
- margin: 0 @popupDistanceAway 0 0;
515
- transform-origin: right 50%;
516
- }
517
- }
518
- & when (@variationPopupRight) {
519
- .ui.right.center.popup {
520
- margin: 0 0 0 @popupDistanceAway;
521
- transform-origin: left 50%;
522
- }
523
- }
502
+ /* Extending from Vertical Center */
503
+ & when (@variationPopupLeft) {
504
+ .ui.left.center.popup {
505
+ margin: 0 @popupDistanceAway 0 0;
506
+ transform-origin: right 50%;
507
+ }
508
+ }
509
+ & when (@variationPopupRight) {
510
+ .ui.right.center.popup {
511
+ margin: 0 0 0 @popupDistanceAway;
512
+ transform-origin: left 50%;
513
+ }
514
+ }
524
515
  }
525
516
 
526
517
  & when (@variationPopupBottom) {
527
- /* Extending from Bottom */
528
- .ui.bottom.popup {
529
- margin: @popupDistanceAway 0 0;
530
- }
531
- & when (@variationPopupLeft) {
518
+ /* Extending from Bottom */
519
+ .ui.bottom.popup {
520
+ margin: @popupDistanceAway 0 0;
521
+ }
522
+ & when (@variationPopupLeft) {
523
+ .ui.bottom.left.popup {
524
+ transform-origin: left top;
525
+ }
526
+ }
527
+ & when (@variationPopupCenter) {
528
+ .ui.bottom.center.popup {
529
+ transform-origin: center top;
530
+ }
531
+ }
532
+ & when (@variationPopupRight) {
533
+ .ui.bottom.right.popup {
534
+ transform-origin: right top;
535
+ }
536
+ }
537
+
538
+ /* --------------
539
+ Pointer
540
+ --------------- */
541
+
542
+ /* --- Below --- */
543
+ .ui.bottom.center.popup::before {
544
+ margin-left: @arrowOffset;
545
+ top: @arrowOffset;
546
+ left: 50%;
547
+ right: auto;
548
+ bottom: auto;
549
+ box-shadow: @bottomArrowBoxShadow;
550
+ }
551
+
532
552
  .ui.bottom.left.popup {
533
- transform-origin: left top;
553
+ margin-left: @boxArrowOffset;
534
554
  }
535
- }
536
- & when (@variationPopupCenter) {
537
- .ui.bottom.center.popup {
538
- transform-origin: center top;
555
+
556
+ /* rtl:rename */
557
+ .ui.bottom.left.popup::before {
558
+ top: @arrowOffset;
559
+ left: @arrowDistanceFromEdge;
560
+ right: auto;
561
+ bottom: auto;
562
+ margin-left: 0;
563
+ box-shadow: @bottomArrowBoxShadow;
539
564
  }
540
- }
541
- & when (@variationPopupRight) {
565
+
542
566
  .ui.bottom.right.popup {
543
- transform-origin: right top;
544
- }
545
- }
546
-
547
- /*--------------
548
- Pointer
549
- ---------------*/
550
-
551
- /*--- Below ---*/
552
- .ui.bottom.center.popup::before {
553
- margin-left: @arrowOffset;
554
- top: @arrowOffset;
555
- left: 50%;
556
- right: auto;
557
- bottom: auto;
558
- box-shadow: @bottomArrowBoxShadow;
559
- }
560
-
561
- .ui.bottom.left.popup {
562
- margin-left: @boxArrowOffset;
563
- }
564
- /*rtl:rename*/
565
- .ui.bottom.left.popup::before {
566
- top: @arrowOffset;
567
- left: @arrowDistanceFromEdge;
568
- right: auto;
569
- bottom: auto;
570
- margin-left: 0;
571
- box-shadow: @bottomArrowBoxShadow;
572
- }
573
-
574
- .ui.bottom.right.popup {
575
- margin-right: @boxArrowOffset;
576
- }
577
- /*rtl:rename*/
578
- .ui.bottom.right.popup::before {
579
- top: @arrowOffset;
580
- right: @arrowDistanceFromEdge;
581
- bottom: auto;
582
- left: auto;
583
- margin-left: 0;
584
- box-shadow: @bottomArrowBoxShadow;
585
- }
567
+ margin-right: @boxArrowOffset;
568
+ }
569
+
570
+ /* rtl:rename */
571
+ .ui.bottom.right.popup::before {
572
+ top: @arrowOffset;
573
+ right: @arrowDistanceFromEdge;
574
+ bottom: auto;
575
+ left: auto;
576
+ margin-left: 0;
577
+ box-shadow: @bottomArrowBoxShadow;
578
+ }
586
579
  }
587
580
 
588
581
  & when (@variationPopupTop) {
589
- /*--- Above ---*/
590
- & when (@variationPopupCenter) {
591
- .ui.top.center.popup::before {
592
- top: auto;
593
- right: auto;
594
- bottom: @arrowOffset;
595
- left: 50%;
596
- margin-left: @arrowOffset;
597
- }
598
- }
599
- & when (@variationPopupLeft) {
600
- .ui.top.left.popup {
601
- margin-left: @boxArrowOffset;
602
- }
603
- /*rtl:rename*/
604
- .ui.top.left.popup::before {
605
- bottom: @arrowOffset;
606
- left: @arrowDistanceFromEdge;
607
- top: auto;
608
- right: auto;
609
- margin-left: 0;
610
- }
611
- }
612
- & when (@variationPopupRight) {
613
- .ui.top.right.popup {
614
- margin-right: @boxArrowOffset;
615
- }
616
- /*rtl:rename*/
617
- .ui.top.right.popup::before {
618
- bottom: @arrowOffset;
619
- right: @arrowDistanceFromEdge;
620
- top: auto;
621
- left: auto;
622
- margin-left: 0;
623
- }
624
- }
582
+ /* --- Above --- */
583
+ & when (@variationPopupCenter) {
584
+ .ui.top.center.popup::before {
585
+ top: auto;
586
+ right: auto;
587
+ bottom: @arrowOffset;
588
+ left: 50%;
589
+ margin-left: @arrowOffset;
590
+ }
591
+ }
592
+ & when (@variationPopupLeft) {
593
+ .ui.top.left.popup {
594
+ margin-left: @boxArrowOffset;
595
+ }
596
+
597
+ /* rtl:rename */
598
+ .ui.top.left.popup::before {
599
+ bottom: @arrowOffset;
600
+ left: @arrowDistanceFromEdge;
601
+ top: auto;
602
+ right: auto;
603
+ margin-left: 0;
604
+ }
605
+ }
606
+ & when (@variationPopupRight) {
607
+ .ui.top.right.popup {
608
+ margin-right: @boxArrowOffset;
609
+ }
610
+
611
+ /* rtl:rename */
612
+ .ui.top.right.popup::before {
613
+ bottom: @arrowOffset;
614
+ right: @arrowDistanceFromEdge;
615
+ top: auto;
616
+ left: auto;
617
+ margin-left: 0;
618
+ }
619
+ }
625
620
  }
626
621
 
627
622
  & when (@variationPopupCenter) {
628
- /*--- Left Center ---*/
629
- /*rtl:rename*/
630
- & when (@variationPopupLeft) {
631
- .ui.left.center.popup::before {
632
- top: 50%;
633
- right: @arrowOffset;
634
- bottom: auto;
635
- left: auto;
636
- margin-top: @arrowOffset;
637
- box-shadow: @leftArrowBoxShadow;
638
- }
639
- }
640
- & when (@variationPopupRight) {
641
- /*--- Right Center ---*/
642
- /*rtl:rename*/
643
- .ui.right.center.popup::before {
644
- top: 50%;
645
- left: @arrowOffset;
646
- bottom: auto;
647
- right: auto;
648
- margin-top: @arrowOffset;
649
- box-shadow: @rightArrowBoxShadow;
650
- }
651
- }
652
- & when (@variationPopupLeft) or (@variationPopupRight) {
653
- .ui.right.center.popup::before,
654
- .ui.left.center.popup::before {
655
- background: @arrowCenterBackground;
656
- }
657
- }
623
+ /* --- Left Center --- */
624
+
625
+ /* rtl:rename */
626
+ & when (@variationPopupLeft) {
627
+ .ui.left.center.popup::before {
628
+ top: 50%;
629
+ right: @arrowOffset;
630
+ bottom: auto;
631
+ left: auto;
632
+ margin-top: @arrowOffset;
633
+ box-shadow: @leftArrowBoxShadow;
634
+ }
635
+ }
636
+ & when (@variationPopupRight) {
637
+ /* --- Right Center --- */
638
+
639
+ /* rtl:rename */
640
+ .ui.right.center.popup::before {
641
+ top: 50%;
642
+ left: @arrowOffset;
643
+ bottom: auto;
644
+ right: auto;
645
+ margin-top: @arrowOffset;
646
+ box-shadow: @rightArrowBoxShadow;
647
+ }
648
+ }
649
+ & when (@variationPopupLeft) or (@variationPopupRight) {
650
+ .ui.right.center.popup::before,
651
+ .ui.left.center.popup::before {
652
+ background: @arrowCenterBackground;
653
+ }
654
+ }
658
655
  }
659
656
 
660
657
  & when (@variationPopupBottom) {
661
- /* Arrow Color By Location */
662
- .ui.bottom.popup::before {
663
- background: @arrowTopBackground;
664
- }
658
+ /* Arrow Color By Location */
659
+ .ui.bottom.popup::before {
660
+ background: @arrowTopBackground;
661
+ }
665
662
  }
666
663
 
667
664
  & when (@variationPopupTop) {
668
- .ui.top.popup::before {
669
- background: @arrowBottomBackground;
670
- }
665
+ .ui.top.popup::before {
666
+ background: @arrowBottomBackground;
667
+ }
671
668
  }
672
669
 
673
670
  & when (@variationPopupInverted) {
674
- & when (@variationPopupBottom) {
675
- /* Inverted Arrow Color */
676
- .ui.inverted.bottom.popup::before {
677
- background: @invertedArrowTopBackground;
678
- }
679
- }
680
- & when (@variationPopupCenter) {
681
- .ui.inverted.right.center.popup::before,
682
- .ui.inverted.left.center.popup::before {
683
- background: @invertedArrowCenterBackground;
684
- }
685
- }
686
- & when (@variationPopupTop) {
687
- .ui.inverted.top.popup::before {
688
- background: @invertedArrowBottomBackground;
689
- }
690
- }
671
+ & when (@variationPopupBottom) {
672
+ /* Inverted Arrow Color */
673
+ .ui.inverted.bottom.popup::before {
674
+ background: @invertedArrowTopBackground;
675
+ }
676
+ }
677
+ & when (@variationPopupCenter) {
678
+ .ui.inverted.right.center.popup::before,
679
+ .ui.inverted.left.center.popup::before {
680
+ background: @invertedArrowCenterBackground;
681
+ }
682
+ }
683
+ & when (@variationPopupTop) {
684
+ .ui.inverted.top.popup::before {
685
+ background: @invertedArrowBottomBackground;
686
+ }
687
+ }
691
688
  }
692
689
 
693
-
694
690
  /*******************************
695
691
  Coupling
696
692
  *******************************/
697
693
 
698
694
  /* Immediate Nested Grid */
699
695
  .ui.popup > .ui.grid:not(.padded) {
700
- width: @nestedGridWidth;
701
- margin: @nestedGridMargin;
696
+ width: @nestedGridWidth;
697
+ margin: @nestedGridMargin;
702
698
  }
703
699
 
704
700
  /*******************************
705
701
  States
706
702
  *******************************/
707
703
  & when (@variationPopupLoading) {
708
- .ui.loading.popup {
709
- display: block;
710
- visibility: hidden;
711
- z-index: @loadingZIndex;
712
- }
704
+ .ui.loading.popup {
705
+ display: block;
706
+ visibility: hidden;
707
+ z-index: @loadingZIndex;
708
+ }
713
709
  }
714
710
 
715
711
  .ui.animating.popup,
716
712
  .ui.visible.popup {
717
- display: block;
713
+ display: block;
718
714
  }
719
715
 
720
716
  .ui.visible.popup {
721
- transform: translateZ(0);
722
- backface-visibility: hidden;
717
+ transform: translateZ(0);
718
+ backface-visibility: hidden;
723
719
  }
724
720
 
725
-
726
721
  /*******************************
727
722
  Variations
728
723
  *******************************/
729
724
 
730
725
  & when (@variationPopupBasic) {
731
- /*--------------
732
- Basic
733
- ---------------*/
726
+ /* --------------
727
+ Basic
728
+ --------------- */
734
729
 
735
- .ui.basic.popup::before {
736
- display: none;
737
- }
730
+ .ui.basic.popup::before {
731
+ display: none;
732
+ }
738
733
  }
739
734
 
740
735
  & when (@variationPopupFixed) {
741
- .ui.fixed.popup {
742
- width: @maxWidth;
743
- }
736
+ .ui.fixed.popup {
737
+ width: @maxWidth;
738
+ }
744
739
  }
745
740
 
746
741
  & when (@variationPopupWide) {
747
- /*--------------
748
- Wide
749
- ---------------*/
750
-
751
- .ui.wide.popup {
752
- max-width: @wideWidth;
753
- &.fixed when (@variationPopupFixed) {
754
- width: @wideWidth;
742
+ /* --------------
743
+ Wide
744
+ --------------- */
745
+
746
+ .ui.wide.popup {
747
+ max-width: @wideWidth;
748
+ &.fixed when (@variationPopupFixed) {
749
+ width: @wideWidth;
750
+ }
755
751
  }
756
- }
757
- .ui[class*="very wide"].popup {
758
- max-width: @veryWideWidth;
759
- &.fixed when (@variationPopupFixed) {
760
- width: @veryWideWidth;
752
+ .ui[class*="very wide"].popup {
753
+ max-width: @veryWideWidth;
754
+ &.fixed when (@variationPopupFixed) {
755
+ width: @veryWideWidth;
756
+ }
761
757
  }
762
- }
763
758
 
764
- @media only screen and (max-width: @largestMobileScreen) {
765
- .ui.wide.popup,
766
- .ui[class*="very wide"].popup {
767
- max-width: @maxWidth;
768
- &.fixed when (@variationPopupFixed) {
769
- width:@maxWidth;
770
- }
759
+ @media only screen and (max-width: @largestMobileScreen) {
760
+ .ui.wide.popup,
761
+ .ui[class*="very wide"].popup {
762
+ max-width: @maxWidth;
763
+ &.fixed when (@variationPopupFixed) {
764
+ width: @maxWidth;
765
+ }
766
+ }
771
767
  }
772
- }
773
768
  }
774
769
 
775
770
  & when (@variationPopupFluid) {
776
- /*--------------
777
- Fluid
778
- ---------------*/
779
-
780
- .ui.fluid.popup {
781
- width: 100%;
782
- max-width: none;
783
- }
771
+ /* --------------
772
+ Fluid
773
+ --------------- */
774
+
775
+ .ui.fluid.popup {
776
+ width: 100%;
777
+ max-width: none;
778
+ }
784
779
  }
785
780
 
786
781
  & when (@variationPopupInverted) {
787
- /*--------------
788
- Colors
789
- ---------------*/
790
-
791
- /* Inverted colors */
792
- .ui.inverted.popup {
793
- background: @invertedBackground;
794
- color: @invertedColor;
795
- border: @invertedBorder;
796
- box-shadow: @invertedBoxShadow;
797
- }
798
- .ui.inverted.popup .header {
799
- background-color: @invertedHeaderBackground;
800
- color: @invertedHeaderColor;
801
- }
802
- .ui.inverted.popup::before {
803
- background-color: @invertedArrowColor;
804
- box-shadow: none !important;
805
- }
782
+ /* --------------
783
+ Colors
784
+ --------------- */
785
+
786
+ /* Inverted colors */
787
+ .ui.inverted.popup {
788
+ background: @invertedBackground;
789
+ color: @invertedColor;
790
+ border: @invertedBorder;
791
+ box-shadow: @invertedBoxShadow;
792
+ }
793
+ .ui.inverted.popup .header {
794
+ background-color: @invertedHeaderBackground;
795
+ color: @invertedHeaderColor;
796
+ }
797
+ .ui.inverted.popup::before {
798
+ background-color: @invertedArrowColor;
799
+ box-shadow: none !important;
800
+ }
801
+ }
802
+
803
+ & when not (@variationPopupColors = false) {
804
+ each(@variationPopupColors, {
805
+ @color: @value;
806
+ @c: @colors[@@color][color];
807
+ @l: @colors[@@color][light];
808
+
809
+ & when not (@variationPopupTooltip) {
810
+ .ui.ui.ui.@{color}.popup::before,
811
+ .ui.@{color}.popup {
812
+ background: @c;
813
+ color: @white;
814
+ border: none;
815
+ }
816
+ .ui.ui.ui.@{color}.popup::before {
817
+ box-shadow: none;
818
+ }
819
+ & when (@variationPopupInverted) {
820
+ .ui.inverted.@{color}.popup::before,
821
+ .ui.inverted.@{color}.popup {
822
+ background: @l;
823
+ color: @black;
824
+ }
825
+ }
826
+ }
827
+ & when (@variationPopupTooltip) {
828
+ .ui.ui.ui.@{color}.popup::before,
829
+ .ui.@{color}.popup,
830
+ [data-tooltip][data-variation~="@{color}"]::after,
831
+ [data-tooltip][data-variation~="@{color}"]::before {
832
+ background: @c;
833
+ color: @white;
834
+ border: none;
835
+ }
836
+ .ui.ui.ui.@{color}.popup::before,
837
+ [data-tooltip][data-variation~="@{color}"]::before {
838
+ box-shadow: none;
839
+ }
840
+ & when (@variationPopupInverted) {
841
+ .ui.ui.ui.inverted.@{color}.popup::before,
842
+ .ui.inverted.@{color}.popup,
843
+ [data-tooltip][data-inverted][data-variation~="@{color}"]::after,
844
+ [data-tooltip][data-inverted][data-variation~="@{color}"]::before {
845
+ background: @l;
846
+ color: @black;
847
+ }
848
+ }
849
+ }
850
+ })
806
851
  }
807
852
 
808
853
  & when (@variationPopupFlowing) {
809
- /*--------------
810
- Flowing
811
- ---------------*/
854
+ /* --------------
855
+ Flowing
856
+ --------------- */
812
857
 
813
- .ui.flowing.popup {
814
- max-width: none;
815
- }
858
+ .ui.flowing.popup {
859
+ max-width: none;
860
+ }
816
861
  }
817
862
 
818
-
819
- /*--------------
863
+ /* --------------
820
864
  Sizes
821
- ---------------*/
865
+ --------------- */
822
866
 
823
867
  .ui.popup {
824
- font-size: @medium;
868
+ font-size: @medium;
825
869
  }
826
870
  & when not (@variationPopupSizes = false) {
827
- each(@variationPopupSizes, {
828
- @s: @@value;
829
- .ui.@{value}.popup {
830
- font-size: @s;
831
- }
832
- & when (@variationPopupTooltip) {
833
- [data-tooltip][data-variation~="@{value}"]::before,
834
- [data-tooltip][data-variation~="@{value}"]::after {
835
- font-size: @s;
836
- }
837
- }
838
- })
871
+ each(@variationPopupSizes, {
872
+ @s: @@value;
873
+ .ui.@{value}.popup {
874
+ font-size: @s;
875
+ }
876
+ & when (@variationPopupTooltip) {
877
+ [data-tooltip][data-variation~="@{value}"]::before,
878
+ [data-tooltip][data-variation~="@{value}"]::after {
879
+ font-size: @s;
880
+ }
881
+ }
882
+ })
839
883
  }
840
884
 
841
-
842
885
  .loadUIOverrides();