fomantic-ui 2.9.1-beta.8 → 2.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (521) hide show
  1. package/.eslint/eqeqeq-rule.js +18 -0
  2. package/.eslint/index.js +29 -0
  3. package/.eslint/no-extra-parens-rule.js +17 -0
  4. package/.eslint/package.json +11 -0
  5. package/.eslintrc.js +123 -0
  6. package/.github/auto_assign.yml +0 -1
  7. package/.github/workflows/ci.yml +37 -4
  8. package/.github/workflows/nightly.yml +1 -1
  9. package/.github/workflows/release.yml +1 -1
  10. package/.prettierrc.js +12 -0
  11. package/.stylelintrc.js +48 -0
  12. package/CHANGELOG.md +112 -0
  13. package/README.md +1 -1
  14. package/dist/components/accordion.css +35 -53
  15. package/dist/components/accordion.js +568 -595
  16. package/dist/components/accordion.min.css +2 -2
  17. package/dist/components/accordion.min.js +3 -3
  18. package/dist/components/ad.css +34 -45
  19. package/dist/components/ad.min.css +2 -2
  20. package/dist/components/api.js +1157 -1179
  21. package/dist/components/api.min.js +3 -3
  22. package/dist/components/breadcrumb.css +5 -5
  23. package/dist/components/breadcrumb.min.css +2 -2
  24. package/dist/components/button.css +709 -1111
  25. package/dist/components/button.min.css +2 -2
  26. package/dist/components/calendar.css +24 -27
  27. package/dist/components/calendar.js +1934 -1809
  28. package/dist/components/calendar.min.css +2 -2
  29. package/dist/components/calendar.min.js +3 -3
  30. package/dist/components/card.css +219 -365
  31. package/dist/components/card.min.css +2 -2
  32. package/dist/components/checkbox.css +120 -191
  33. package/dist/components/checkbox.js +842 -841
  34. package/dist/components/checkbox.min.css +2 -2
  35. package/dist/components/checkbox.min.js +3 -3
  36. package/dist/components/comment.css +41 -59
  37. package/dist/components/comment.min.css +2 -2
  38. package/dist/components/container.css +7 -6
  39. package/dist/components/container.min.css +2 -2
  40. package/dist/components/dimmer.css +53 -172
  41. package/dist/components/dimmer.js +706 -737
  42. package/dist/components/dimmer.min.css +2 -2
  43. package/dist/components/dimmer.min.js +3 -3
  44. package/dist/components/divider.css +43 -61
  45. package/dist/components/divider.min.css +2 -2
  46. package/dist/components/dropdown.css +252 -386
  47. package/dist/components/dropdown.js +4195 -4236
  48. package/dist/components/dropdown.min.css +2 -2
  49. package/dist/components/dropdown.min.js +3 -3
  50. package/dist/components/embed.css +18 -29
  51. package/dist/components/embed.js +645 -675
  52. package/dist/components/embed.min.css +2 -2
  53. package/dist/components/embed.min.js +3 -3
  54. package/dist/components/emoji.css +3556 -3556
  55. package/dist/components/emoji.min.css +1 -1
  56. package/dist/components/feed.css +35 -57
  57. package/dist/components/feed.min.css +2 -2
  58. package/dist/components/flag.css +270 -268
  59. package/dist/components/flag.min.css +2 -2
  60. package/dist/components/flyout.css +95 -141
  61. package/dist/components/flyout.js +1514 -1465
  62. package/dist/components/flyout.min.css +2 -2
  63. package/dist/components/flyout.min.js +3 -3
  64. package/dist/components/form.css +244 -339
  65. package/dist/components/form.js +2022 -2004
  66. package/dist/components/form.min.css +2 -2
  67. package/dist/components/form.min.js +3 -3
  68. package/dist/components/grid.css +183 -329
  69. package/dist/components/grid.min.css +2 -2
  70. package/dist/components/header.css +118 -142
  71. package/dist/components/header.min.css +2 -2
  72. package/dist/components/icon.css +662 -745
  73. package/dist/components/icon.min.css +2 -2
  74. package/dist/components/image.css +39 -63
  75. package/dist/components/image.min.css +2 -2
  76. package/dist/components/input.css +356 -274
  77. package/dist/components/input.min.css +2 -2
  78. package/dist/components/item.css +84 -131
  79. package/dist/components/item.min.css +2 -2
  80. package/dist/components/label.css +359 -410
  81. package/dist/components/label.min.css +2 -2
  82. package/dist/components/list.css +49 -70
  83. package/dist/components/list.min.css +2 -2
  84. package/dist/components/loader.css +67 -155
  85. package/dist/components/loader.min.css +2 -2
  86. package/dist/components/menu.css +270 -431
  87. package/dist/components/menu.min.css +1 -1
  88. package/dist/components/message.css +125 -197
  89. package/dist/components/message.min.css +2 -2
  90. package/dist/components/modal.css +120 -154
  91. package/dist/components/modal.js +1544 -1486
  92. package/dist/components/modal.min.css +2 -2
  93. package/dist/components/modal.min.js +3 -3
  94. package/dist/components/nag.css +53 -63
  95. package/dist/components/nag.js +520 -526
  96. package/dist/components/nag.min.css +2 -2
  97. package/dist/components/nag.min.js +3 -3
  98. package/dist/components/placeholder.css +22 -42
  99. package/dist/components/placeholder.min.css +2 -2
  100. package/dist/components/popup.css +424 -202
  101. package/dist/components/popup.js +1456 -1456
  102. package/dist/components/popup.min.css +2 -2
  103. package/dist/components/popup.min.js +3 -3
  104. package/dist/components/progress.css +106 -211
  105. package/dist/components/progress.js +969 -997
  106. package/dist/components/progress.min.css +2 -2
  107. package/dist/components/progress.min.js +3 -3
  108. package/dist/components/rail.css +15 -20
  109. package/dist/components/rail.min.css +1 -1
  110. package/dist/components/rating.css +80 -121
  111. package/dist/components/rating.js +507 -523
  112. package/dist/components/rating.min.css +2 -2
  113. package/dist/components/rating.min.js +3 -3
  114. package/dist/components/reset.css +8 -13
  115. package/dist/components/reset.min.css +2 -2
  116. package/dist/components/reveal.css +44 -83
  117. package/dist/components/reveal.min.css +2 -2
  118. package/dist/components/search.css +69 -98
  119. package/dist/components/search.js +1520 -1534
  120. package/dist/components/search.min.css +2 -2
  121. package/dist/components/search.min.js +3 -3
  122. package/dist/components/segment.css +148 -224
  123. package/dist/components/segment.min.css +2 -2
  124. package/dist/components/shape.css +14 -30
  125. package/dist/components/shape.js +783 -810
  126. package/dist/components/shape.min.css +2 -2
  127. package/dist/components/shape.min.js +3 -3
  128. package/dist/components/sidebar.css +103 -206
  129. package/dist/components/sidebar.js +1061 -1099
  130. package/dist/components/sidebar.min.css +2 -2
  131. package/dist/components/sidebar.min.js +3 -3
  132. package/dist/components/site.css +28 -41
  133. package/dist/components/site.js +436 -476
  134. package/dist/components/site.min.css +2 -2
  135. package/dist/components/site.min.js +3 -3
  136. package/dist/components/slider.css +93 -121
  137. package/dist/components/slider.js +1310 -1311
  138. package/dist/components/slider.min.css +1 -1
  139. package/dist/components/slider.min.js +3 -3
  140. package/dist/components/state.js +638 -657
  141. package/dist/components/state.min.js +3 -3
  142. package/dist/components/statistic.css +75 -116
  143. package/dist/components/statistic.min.css +2 -2
  144. package/dist/components/step.css +77 -150
  145. package/dist/components/step.min.css +2 -2
  146. package/dist/components/sticky.css +1 -5
  147. package/dist/components/sticky.js +847 -901
  148. package/dist/components/sticky.min.css +2 -2
  149. package/dist/components/sticky.min.js +3 -3
  150. package/dist/components/tab.css +10 -14
  151. package/dist/components/tab.js +902 -966
  152. package/dist/components/tab.min.css +2 -2
  153. package/dist/components/tab.min.js +3 -3
  154. package/dist/components/table.css +547 -774
  155. package/dist/components/table.min.css +2 -2
  156. package/dist/components/text.css +32 -32
  157. package/dist/components/text.min.css +1 -1
  158. package/dist/components/toast.css +69 -147
  159. package/dist/components/toast.js +910 -884
  160. package/dist/components/toast.min.css +2 -2
  161. package/dist/components/toast.min.js +3 -3
  162. package/dist/components/transition.css +299 -1356
  163. package/dist/components/transition.js +1048 -1077
  164. package/dist/components/transition.min.css +2 -2
  165. package/dist/components/transition.min.js +3 -3
  166. package/dist/components/visibility.js +1213 -1245
  167. package/dist/components/visibility.min.js +3 -3
  168. package/dist/semantic.css +9344 -12298
  169. package/dist/semantic.js +29181 -29423
  170. package/dist/semantic.min.css +3 -3
  171. package/dist/semantic.min.js +3 -3
  172. package/dist/themes/basic/assets/fonts/icons.woff2 +0 -0
  173. package/dist/themes/github/assets/fonts/octicons.woff2 +0 -0
  174. package/examples/.eslintrc.js +6 -0
  175. package/examples/assets/library/jquery.min.js +2 -4
  176. package/examples/assets/show-examples.js +13 -13
  177. package/examples/attached.html +1 -1
  178. package/examples/bootstrap.html +1 -1
  179. package/examples/components/button.html +1 -1
  180. package/examples/components/card.html +6 -6
  181. package/examples/components/input.html +1 -1
  182. package/examples/components/menu.html +1 -1
  183. package/examples/components/site.html +1 -1
  184. package/examples/components/sticky-context.html +2 -2
  185. package/examples/components/table.html +1 -1
  186. package/examples/fixed.html +3 -3
  187. package/examples/grid.html +5 -5
  188. package/examples/homepage.html +1 -1
  189. package/examples/login.html +2 -2
  190. package/examples/responsive.html +2 -2
  191. package/examples/sticky.html +4 -4
  192. package/examples/theming.html +1 -1
  193. package/gulpfile.js +13 -11
  194. package/package.json +17 -8
  195. package/scripts/nightly-version.js +83 -75
  196. package/src/_site/collections/menu.overrides +1 -1
  197. package/src/_site/elements/flag.variables +2 -2
  198. package/src/_site/globals/site.variables +1 -1
  199. package/src/_site/modules/embed.variables +3 -0
  200. package/src/definitions/behaviors/api.js +1158 -1180
  201. package/src/definitions/behaviors/form.js +2021 -2003
  202. package/src/definitions/behaviors/state.js +644 -663
  203. package/src/definitions/behaviors/visibility.js +1212 -1244
  204. package/src/definitions/collections/breadcrumb.less +43 -47
  205. package/src/definitions/collections/form.less +866 -884
  206. package/src/definitions/collections/grid.less +1681 -1699
  207. package/src/definitions/collections/menu.less +1522 -1544
  208. package/src/definitions/collections/message.less +294 -298
  209. package/src/definitions/collections/table.less +1657 -1661
  210. package/src/definitions/elements/button.less +1716 -1750
  211. package/src/definitions/elements/container.less +211 -211
  212. package/src/definitions/elements/divider.less +198 -211
  213. package/src/definitions/elements/emoji.less +41 -48
  214. package/src/definitions/elements/flag.less +46 -48
  215. package/src/definitions/elements/header.less +351 -359
  216. package/src/definitions/elements/icon.less +541 -484
  217. package/src/definitions/elements/image.less +216 -227
  218. package/src/definitions/elements/input.less +692 -699
  219. package/src/definitions/elements/label.less +784 -806
  220. package/src/definitions/elements/list.less +810 -814
  221. package/src/definitions/elements/loader.less +273 -268
  222. package/src/definitions/elements/placeholder.less +173 -170
  223. package/src/definitions/elements/rail.less +93 -93
  224. package/src/definitions/elements/reveal.less +192 -198
  225. package/src/definitions/elements/segment.less +742 -749
  226. package/src/definitions/elements/step.less +423 -437
  227. package/src/definitions/elements/text.less +34 -36
  228. package/src/definitions/globals/reset.less +11 -8
  229. package/src/definitions/globals/site.js +435 -475
  230. package/src/definitions/globals/site.less +108 -110
  231. package/src/definitions/modules/accordion.js +567 -594
  232. package/src/definitions/modules/accordion.less +244 -248
  233. package/src/definitions/modules/calendar.js +1933 -1808
  234. package/src/definitions/modules/calendar.less +100 -97
  235. package/src/definitions/modules/checkbox.js +841 -840
  236. package/src/definitions/modules/checkbox.less +531 -552
  237. package/src/definitions/modules/dimmer.js +705 -736
  238. package/src/definitions/modules/dimmer.less +294 -305
  239. package/src/definitions/modules/dropdown.js +4194 -4235
  240. package/src/definitions/modules/dropdown.less +1568 -1598
  241. package/src/definitions/modules/embed.js +644 -674
  242. package/src/definitions/modules/embed.less +82 -84
  243. package/src/definitions/modules/flyout.js +1513 -1464
  244. package/src/definitions/modules/flyout.less +453 -455
  245. package/src/definitions/modules/modal.js +1543 -1485
  246. package/src/definitions/modules/modal.less +459 -467
  247. package/src/definitions/modules/nag.js +519 -525
  248. package/src/definitions/modules/nag.less +136 -149
  249. package/src/definitions/modules/popup.js +1455 -1455
  250. package/src/definitions/modules/popup.less +738 -693
  251. package/src/definitions/modules/progress.js +968 -996
  252. package/src/definitions/modules/progress.less +523 -499
  253. package/src/definitions/modules/rating.js +506 -522
  254. package/src/definitions/modules/rating.less +98 -103
  255. package/src/definitions/modules/search.js +1519 -1533
  256. package/src/definitions/modules/search.less +374 -394
  257. package/src/definitions/modules/shape.js +782 -809
  258. package/src/definitions/modules/shape.less +70 -79
  259. package/src/definitions/modules/sidebar.js +1060 -1098
  260. package/src/definitions/modules/sidebar.less +463 -476
  261. package/src/definitions/modules/slider.js +1309 -1310
  262. package/src/definitions/modules/slider.less +309 -310
  263. package/src/definitions/modules/sticky.js +863 -917
  264. package/src/definitions/modules/sticky.less +17 -25
  265. package/src/definitions/modules/tab.js +901 -965
  266. package/src/definitions/modules/tab.less +48 -54
  267. package/src/definitions/modules/toast.js +909 -883
  268. package/src/definitions/modules/toast.less +589 -589
  269. package/src/definitions/modules/transition.js +1047 -1076
  270. package/src/definitions/modules/transition.less +58 -59
  271. package/src/definitions/views/ad.less +207 -208
  272. package/src/definitions/views/card.less +955 -973
  273. package/src/definitions/views/comment.less +192 -200
  274. package/src/definitions/views/feed.less +222 -226
  275. package/src/definitions/views/item.less +437 -448
  276. package/src/definitions/views/statistic.less +273 -279
  277. package/src/semantic.less +8 -6
  278. package/src/theme.config.example +53 -53
  279. package/src/theme.less +44 -35
  280. package/src/themes/amazon/elements/button.overrides +23 -24
  281. package/src/themes/amazon/elements/button.variables +18 -23
  282. package/src/themes/amazon/globals/site.variables +16 -17
  283. package/src/themes/basic/assets/fonts/icons.woff2 +0 -0
  284. package/src/themes/basic/collections/table.overrides +0 -1
  285. package/src/themes/basic/collections/table.variables +3 -3
  286. package/src/themes/basic/elements/button.overrides +0 -1
  287. package/src/themes/basic/elements/button.variables +9 -9
  288. package/src/themes/basic/elements/icon.overrides +9 -169
  289. package/src/themes/basic/elements/icon.variables +161 -18
  290. package/src/themes/basic/elements/step.overrides +2 -2
  291. package/src/themes/basic/elements/step.variables +2 -2
  292. package/src/themes/basic/globals/reset.overrides +1 -1
  293. package/src/themes/basic/globals/reset.variables +1 -1
  294. package/src/themes/basic/modules/progress.variables +2 -2
  295. package/src/themes/basic/views/card.overrides +0 -1
  296. package/src/themes/basic/views/card.variables +6 -6
  297. package/src/themes/bookish/elements/header.overrides +4 -4
  298. package/src/themes/bookish/elements/header.variables +5 -5
  299. package/src/themes/bootstrap3/elements/button.overrides +3 -0
  300. package/src/themes/bootstrap3/elements/button.variables +20 -25
  301. package/src/themes/chubby/collections/form.overrides +9 -9
  302. package/src/themes/chubby/collections/form.variables +3 -3
  303. package/src/themes/chubby/collections/menu.overrides +3 -0
  304. package/src/themes/chubby/collections/menu.variables +3 -3
  305. package/src/themes/chubby/elements/button.overrides +8 -10
  306. package/src/themes/chubby/elements/button.variables +10 -10
  307. package/src/themes/chubby/elements/header.overrides +1 -1
  308. package/src/themes/chubby/elements/header.variables +4 -4
  309. package/src/themes/chubby/modules/accordion.overrides +2 -2
  310. package/src/themes/chubby/modules/accordion.variables +4 -4
  311. package/src/themes/chubby/views/comment.overrides +5 -5
  312. package/src/themes/chubby/views/comment.variables +11 -11
  313. package/src/themes/classic/collections/table.variables +3 -3
  314. package/src/themes/classic/elements/button.variables +36 -43
  315. package/src/themes/classic/elements/header.variables +4 -4
  316. package/src/themes/classic/modules/progress.variables +3 -3
  317. package/src/themes/classic/views/card.overrides +25 -27
  318. package/src/themes/classic/views/card.variables +7 -7
  319. package/src/themes/colored/modules/checkbox.overrides +3 -0
  320. package/src/themes/colored/modules/checkbox.variables +1 -3
  321. package/src/themes/default/collections/breadcrumb.variables +4 -4
  322. package/src/themes/default/collections/form.variables +15 -16
  323. package/src/themes/default/collections/grid.overrides +0 -1
  324. package/src/themes/default/collections/grid.variables +15 -16
  325. package/src/themes/default/collections/menu.variables +31 -45
  326. package/src/themes/default/collections/message.variables +84 -123
  327. package/src/themes/default/collections/table.overrides +3 -0
  328. package/src/themes/default/collections/table.variables +30 -34
  329. package/src/themes/default/elements/button.variables +44 -53
  330. package/src/themes/default/elements/container.variables +8 -16
  331. package/src/themes/default/elements/divider.overrides +8 -9
  332. package/src/themes/default/elements/divider.variables +5 -6
  333. package/src/themes/default/elements/emoji.overrides +0 -1
  334. package/src/themes/default/elements/emoji.variables +3556 -3556
  335. package/src/themes/default/elements/flag.variables +1595 -1595
  336. package/src/themes/default/elements/header.overrides +0 -1
  337. package/src/themes/default/elements/header.variables +21 -21
  338. package/src/themes/default/elements/icon.variables +2016 -2012
  339. package/src/themes/default/elements/image.variables +6 -7
  340. package/src/themes/default/elements/input.variables +11 -12
  341. package/src/themes/default/elements/label.variables +25 -26
  342. package/src/themes/default/elements/list.variables +17 -21
  343. package/src/themes/default/elements/loader.variables +16 -17
  344. package/src/themes/default/elements/placeholder.variables +12 -9
  345. package/src/themes/default/elements/rail.variables +4 -5
  346. package/src/themes/default/elements/reveal.variables +1 -1
  347. package/src/themes/default/elements/segment.variables +24 -36
  348. package/src/themes/default/elements/step.overrides +4 -4
  349. package/src/themes/default/elements/step.variables +19 -22
  350. package/src/themes/default/elements/text.variables +2 -3
  351. package/src/themes/default/globals/colors.less +588 -588
  352. package/src/themes/default/globals/reset.overrides +63 -59
  353. package/src/themes/default/globals/reset.variables +1 -1
  354. package/src/themes/default/globals/site.variables +1074 -1123
  355. package/src/themes/default/globals/variation.variables +6 -4
  356. package/src/themes/default/modules/accordion.overrides +11 -11
  357. package/src/themes/default/modules/accordion.variables +15 -20
  358. package/src/themes/default/modules/calendar.variables +2 -0
  359. package/src/themes/default/modules/chatroom.variables +1 -1
  360. package/src/themes/default/modules/checkbox.overrides +9 -13
  361. package/src/themes/default/modules/checkbox.variables +24 -33
  362. package/src/themes/default/modules/dimmer.variables +14 -17
  363. package/src/themes/default/modules/dropdown.overrides +17 -17
  364. package/src/themes/default/modules/dropdown.variables +29 -31
  365. package/src/themes/default/modules/embed.variables +9 -13
  366. package/src/themes/default/modules/flyout.variables +10 -8
  367. package/src/themes/default/modules/modal.variables +64 -67
  368. package/src/themes/default/modules/nag.variables +11 -14
  369. package/src/themes/default/modules/popup.variables +14 -13
  370. package/src/themes/default/modules/progress.variables +17 -19
  371. package/src/themes/default/modules/rating.variables +10 -12
  372. package/src/themes/default/modules/search.variables +12 -17
  373. package/src/themes/default/modules/shape.variables +7 -8
  374. package/src/themes/default/modules/sidebar.variables +4 -4
  375. package/src/themes/default/modules/slider.variables +55 -54
  376. package/src/themes/default/modules/sticky.variables +1 -1
  377. package/src/themes/default/modules/toast.variables +8 -8
  378. package/src/themes/default/modules/transition.overrides +936 -915
  379. package/src/themes/default/modules/transition.variables +1 -1
  380. package/src/themes/default/views/ad.variables +1 -1
  381. package/src/themes/default/views/card.variables +33 -45
  382. package/src/themes/default/views/comment.variables +7 -9
  383. package/src/themes/default/views/feed.variables +10 -10
  384. package/src/themes/default/views/item.variables +20 -23
  385. package/src/themes/default/views/statistic.variables +8 -8
  386. package/src/themes/duo/elements/loader.variables +1 -1
  387. package/src/themes/famfamfam/elements/flag.overrides +263 -268
  388. package/src/themes/famfamfam/elements/flag.variables +4 -4
  389. package/src/themes/fixed-width/collections/grid.variables +4 -4
  390. package/src/themes/fixed-width/modules/modal.variables +11 -13
  391. package/src/themes/flat/collections/form.overrides +9 -9
  392. package/src/themes/flat/collections/form.variables +16 -17
  393. package/src/themes/flat/globals/site.variables +69 -74
  394. package/src/themes/github/assets/fonts/octicons.woff2 +0 -0
  395. package/src/themes/github/collections/breadcrumb.variables +0 -1
  396. package/src/themes/github/collections/form.overrides +7 -8
  397. package/src/themes/github/collections/form.variables +16 -18
  398. package/src/themes/github/collections/grid.variables +1 -2
  399. package/src/themes/github/collections/menu.overrides +2 -2
  400. package/src/themes/github/collections/menu.variables +24 -26
  401. package/src/themes/github/collections/message.overrides +3 -3
  402. package/src/themes/github/collections/message.variables +12 -14
  403. package/src/themes/github/collections/table.variables +2 -2
  404. package/src/themes/github/elements/button.overrides +0 -1
  405. package/src/themes/github/elements/button.variables +26 -30
  406. package/src/themes/github/elements/header.variables +2 -2
  407. package/src/themes/github/elements/icon.overrides +3 -208
  408. package/src/themes/github/elements/icon.variables +234 -19
  409. package/src/themes/github/elements/image.variables +1 -1
  410. package/src/themes/github/elements/input.overrides +16 -16
  411. package/src/themes/github/elements/input.variables +4 -5
  412. package/src/themes/github/elements/label.overrides +3 -3
  413. package/src/themes/github/elements/label.variables +0 -1
  414. package/src/themes/github/elements/segment.variables +9 -10
  415. package/src/themes/github/elements/step.overrides +13 -13
  416. package/src/themes/github/elements/step.variables +6 -6
  417. package/src/themes/github/globals/site.variables +16 -16
  418. package/src/themes/github/modules/dropdown.overrides +18 -19
  419. package/src/themes/github/modules/dropdown.variables +8 -10
  420. package/src/themes/github/modules/popup.variables +0 -2
  421. package/src/themes/gmail/collections/message.overrides +3 -0
  422. package/src/themes/gmail/collections/message.variables +4 -4
  423. package/src/themes/instagram/views/card.overrides +4 -5
  424. package/src/themes/instagram/views/card.variables +7 -8
  425. package/src/themes/joypixels/elements/emoji.overrides +0 -2
  426. package/src/themes/joypixels/elements/emoji.variables +3554 -3554
  427. package/src/themes/material/collections/menu.overrides +1 -1
  428. package/src/themes/material/collections/menu.variables +4 -4
  429. package/src/themes/material/elements/button.overrides +7 -9
  430. package/src/themes/material/elements/button.variables +44 -46
  431. package/src/themes/material/elements/header.overrides +3 -3
  432. package/src/themes/material/elements/header.variables +8 -10
  433. package/src/themes/material/elements/icon.overrides +3 -934
  434. package/src/themes/material/elements/icon.variables +958 -18
  435. package/src/themes/material/globals/site.overrides +3 -0
  436. package/src/themes/material/globals/site.variables +83 -84
  437. package/src/themes/material/modules/dropdown.overrides +2 -2
  438. package/src/themes/material/modules/dropdown.variables +5 -5
  439. package/src/themes/material/modules/modal.overrides +3 -3
  440. package/src/themes/material/modules/modal.variables +4 -5
  441. package/src/themes/pulsar/elements/loader.overrides +23 -61
  442. package/src/themes/raised/elements/button.variables +8 -9
  443. package/src/themes/resetcss/globals/reset.overrides +115 -33
  444. package/src/themes/resetcss/globals/reset.variables +1 -1
  445. package/src/themes/round/elements/button.overrides +3 -0
  446. package/src/themes/round/elements/button.variables +33 -38
  447. package/src/themes/rtl/globals/site.overrides +1 -1
  448. package/src/themes/rtl/globals/site.variables +5 -6
  449. package/src/themes/striped/modules/progress.overrides +20 -16
  450. package/src/themes/systemfont/globals/reset.overrides +1 -1
  451. package/src/themes/systemfont/globals/site.variables +6 -6
  452. package/src/themes/timeline/views/feed.overrides +12 -12
  453. package/src/themes/timeline/views/feed.variables +8 -8
  454. package/src/themes/twitter/elements/button.overrides +4 -5
  455. package/src/themes/twitter/elements/button.variables +17 -18
  456. package/src/themes/twitter/elements/emoji.variables +3556 -3556
  457. package/tasks/.eslintrc.js +9 -0
  458. package/tasks/README.md +2 -4
  459. package/tasks/admin/components/create.js +268 -277
  460. package/tasks/admin/components/init.js +123 -129
  461. package/tasks/admin/components/update.js +151 -158
  462. package/tasks/admin/distributions/create.js +183 -189
  463. package/tasks/admin/distributions/init.js +125 -131
  464. package/tasks/admin/distributions/update.js +147 -153
  465. package/tasks/admin/publish.js +5 -9
  466. package/tasks/admin/register.js +37 -39
  467. package/tasks/admin/release.js +8 -12
  468. package/tasks/build/assets.js +43 -40
  469. package/tasks/build/css.js +230 -217
  470. package/tasks/build/javascript.js +120 -114
  471. package/tasks/build.js +11 -11
  472. package/tasks/check-install.js +15 -17
  473. package/tasks/clean.js +6 -6
  474. package/tasks/collections/README.md +3 -5
  475. package/tasks/collections/admin.js +34 -36
  476. package/tasks/collections/build.js +19 -21
  477. package/tasks/collections/docs.js +11 -13
  478. package/tasks/collections/install.js +11 -13
  479. package/tasks/collections/rtl.js +9 -12
  480. package/tasks/collections/various.js +10 -12
  481. package/tasks/config/admin/github.js +17 -19
  482. package/tasks/config/admin/oauth.example.js +4 -4
  483. package/tasks/config/admin/release.js +98 -98
  484. package/tasks/config/admin/templates/README.md +8 -8
  485. package/tasks/config/admin/templates/bower.json +3 -2
  486. package/tasks/config/admin/templates/component-package.js +9 -10
  487. package/tasks/config/admin/templates/css-package.js +19 -21
  488. package/tasks/config/admin/templates/less-package.js +12 -14
  489. package/tasks/config/admin/templates/package.json +6 -6
  490. package/tasks/config/defaults.js +116 -116
  491. package/tasks/config/docs.js +23 -23
  492. package/tasks/config/npm/gulpfile.js +15 -14
  493. package/tasks/config/project/config.js +124 -136
  494. package/tasks/config/project/install.js +722 -719
  495. package/tasks/config/project/release.js +34 -41
  496. package/tasks/config/tasks.js +168 -167
  497. package/tasks/config/user.js +28 -32
  498. package/tasks/docs/build.js +100 -96
  499. package/tasks/docs/metadata.js +91 -98
  500. package/tasks/docs/serve.js +84 -82
  501. package/tasks/install.js +373 -382
  502. package/tasks/rtl/build.js +4 -3
  503. package/tasks/rtl/watch.js +4 -3
  504. package/tasks/version.js +4 -6
  505. package/tasks/watch.js +29 -31
  506. package/test/.eslintrc.js +23 -0
  507. package/test/meteor/assets.js +11 -14
  508. package/test/meteor/fonts.js +12 -13
  509. package/test/modules/accordion.spec.js +6 -8
  510. package/test/modules/checkbox.spec.js +5 -7
  511. package/test/modules/dropdown.spec.js +5 -7
  512. package/test/modules/modal.spec.js +6 -8
  513. package/test/modules/module.spec.js +158 -178
  514. package/test/modules/popup.spec.js +5 -7
  515. package/test/modules/search.spec.js +5 -7
  516. package/test/modules/shape.spec.js +5 -7
  517. package/test/modules/sidebar.spec.js +5 -7
  518. package/test/modules/tab.spec.js +6 -8
  519. package/test/modules/transition.spec.js +5 -7
  520. package/test/modules/video.spec.js +5 -7
  521. package/.github/workflows/codeql.yml +0 -68
@@ -8,67 +8,59 @@
8
8
  *
9
9
  */
10
10
 
11
-
12
11
  /*******************************
13
12
  Theme
14
13
  *******************************/
15
14
 
16
- @type : 'module';
17
- @element : 'popup';
18
-
19
- @import (multiple) '../../theme.config';
15
+ @type: "module";
16
+ @element: "popup";
20
17
 
18
+ @import (multiple) "../../theme.config";
21
19
 
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,820 @@
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
+ // https://github.com/fomantic/Fomantic-UI/pull/1537
179
+ // stylelint-disable-next-line property-no-vendor-prefix
180
+ -moz-transform: translateY(-50%) scale(1.0001) !important;
181
+ }
182
+ [data-tooltip][data-position="top left"]::after,
183
+ [data-tooltip][data-position="top right"]::after,
184
+ [data-tooltip][data-position="bottom left"]::after,
185
+ [data-tooltip][data-position="bottom right"]::after {
186
+ transform: scale(0) !important;
187
+ }
188
+ [data-tooltip][data-position="top left"]:hover::after,
189
+ [data-tooltip][data-position="top right"]:hover::after,
190
+ [data-tooltip][data-position="bottom left"]:hover::after,
191
+ [data-tooltip][data-position="bottom right"]:hover::after {
192
+ transform: scale(1) !important;
193
+ }
194
+ & when (@variationPopupFixed) {
195
+ [data-tooltip][data-variation~="fixed"]::after {
196
+ white-space: normal;
197
+ width: @maxWidth;
198
+ }
199
+ [data-tooltip][data-variation*="wide fixed"]::after {
200
+ width: @wideWidth;
201
+ }
202
+ [data-tooltip][data-variation*="very wide fixed"]::after {
203
+ width: @veryWideWidth;
204
+ }
205
+ @media only screen and (max-width: @largestMobileScreen) {
206
+ [data-tooltip][data-variation~="fixed"]::after {
207
+ width: @maxWidth;
208
+ }
209
+ }
237
210
  }
211
+ & when (@variationPopupInverted) {
212
+ /* --------------
213
+ Inverted
214
+ --------------- */
238
215
 
239
- /* Popup */
240
- [data-tooltip][data-inverted]::after {
241
- background: @tooltipInvertedBackground;
242
- color: @tooltipInvertedColor;
243
- border: @tooltipInvertedBorder;
244
- box-shadow: @tooltipInvertedBoxShadow;
245
- }
246
- }
216
+ /* Arrow */
217
+ [data-tooltip][data-inverted]::before {
218
+ box-shadow: none !important;
219
+ }
247
220
 
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
- }
221
+ /* Arrow Position */
222
+ [data-tooltip][data-inverted]::before {
223
+ background: @invertedArrowBottomBackground;
224
+ }
313
225
 
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
- }
226
+ /* Popup */
227
+ [data-tooltip][data-inverted]::after {
228
+ background: @tooltipInvertedBackground;
229
+ color: @tooltipInvertedColor;
230
+ border: @tooltipInvertedBorder;
231
+ box-shadow: @tooltipInvertedBoxShadow;
232
+ }
406
233
  }
407
234
 
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
- }
235
+ & when (@variationPopupPosition) {
236
+ /* --------------
237
+ Position
238
+ --------------- */
239
+ & when (@variationPopupTop) {
240
+ [data-position~="top"][data-tooltip]::before {
241
+ background: @arrowBottomBackground;
242
+ }
243
+ & when (@variationPopupCenter) {
244
+ /* Top Center */
245
+ [data-position="top center"][data-tooltip]::after {
246
+ top: auto;
247
+ right: auto;
248
+ left: 50%;
249
+ bottom: 100%;
250
+ transform: translateX(-50%);
251
+ margin-bottom: @tooltipDistanceAway;
252
+ }
253
+ [data-position="top center"][data-tooltip]::before {
254
+ top: auto;
255
+ right: auto;
256
+ bottom: 100%;
257
+ left: 50%;
258
+ background: @tooltipArrowTopBackground;
259
+ margin-left: @tooltipArrowHorizontalOffset;
260
+ margin-bottom: -@tooltipArrowVerticalOffset;
261
+ }
262
+ }
263
+ & when (@variationPopupLeft) {
264
+ /* Top Left */
265
+ [data-position="top left"][data-tooltip]::after {
266
+ top: auto;
267
+ right: auto;
268
+ left: 0;
269
+ bottom: 100%;
270
+ margin-bottom: @tooltipDistanceAway;
271
+ }
272
+ [data-position="top left"][data-tooltip]::before {
273
+ top: auto;
274
+ right: auto;
275
+ bottom: 100%;
276
+ left: @arrowDistanceFromEdge;
277
+ margin-left: @tooltipArrowHorizontalOffset;
278
+ margin-bottom: -@tooltipArrowVerticalOffset;
279
+ }
280
+ }
281
+ & when (@variationPopupRight) {
282
+ /* Top Right */
283
+ [data-position="top right"][data-tooltip]::after {
284
+ top: auto;
285
+ left: auto;
286
+ right: 0;
287
+ bottom: 100%;
288
+ margin-bottom: @tooltipDistanceAway;
289
+ }
290
+ [data-position="top right"][data-tooltip]::before {
291
+ top: auto;
292
+ left: auto;
293
+ bottom: 100%;
294
+ right: @arrowDistanceFromEdge;
295
+ margin-left: @tooltipArrowHorizontalOffset;
296
+ margin-bottom: -@tooltipArrowVerticalOffset;
297
+ }
298
+ }
422
299
  }
423
- & when (@variationPopupRight) {
424
- [data-inverted][data-position="right center"][data-tooltip]::before {
425
- background: @invertedArrowCenterBackground;
426
- box-shadow: @rightArrowBoxShadow;
427
- }
300
+
301
+ & when (@variationPopupBottom) {
302
+ [data-position~="bottom"][data-tooltip]::before {
303
+ background: @arrowTopBackground;
304
+ box-shadow: @bottomArrowBoxShadow;
305
+ }
306
+ & when (@variationPopupCenter) {
307
+ /* Bottom Center */
308
+ [data-position="bottom center"][data-tooltip]::after {
309
+ bottom: auto;
310
+ right: auto;
311
+ left: 50%;
312
+ top: 100%;
313
+ transform: translateX(-50%);
314
+ margin-top: @tooltipDistanceAway;
315
+ }
316
+ [data-position="bottom center"][data-tooltip]::before {
317
+ bottom: auto;
318
+ right: auto;
319
+ top: 100%;
320
+ left: 50%;
321
+ margin-left: @tooltipArrowHorizontalOffset;
322
+ margin-top: -@arrowOffset;
323
+ }
324
+ }
325
+ & when (@variationPopupLeft) {
326
+ /* Bottom Left */
327
+ [data-position="bottom left"][data-tooltip]::after {
328
+ left: 0;
329
+ top: 100%;
330
+ margin-top: @tooltipDistanceAway;
331
+ }
332
+ [data-position="bottom left"][data-tooltip]::before {
333
+ bottom: auto;
334
+ right: auto;
335
+ top: 100%;
336
+ left: @arrowDistanceFromEdge;
337
+ margin-left: @tooltipArrowHorizontalOffset;
338
+ margin-top: -@tooltipArrowVerticalOffset;
339
+ }
340
+ }
341
+ & when (@variationPopupRight) {
342
+ /* Bottom Right */
343
+ [data-position="bottom right"][data-tooltip]::after {
344
+ right: 0;
345
+ top: 100%;
346
+ margin-top: @tooltipDistanceAway;
347
+ }
348
+ [data-position="bottom right"][data-tooltip]::before {
349
+ bottom: auto;
350
+ left: auto;
351
+ top: 100%;
352
+ right: @arrowDistanceFromEdge;
353
+ margin-left: @tooltipArrowVerticalOffset;
354
+ margin-top: -@tooltipArrowHorizontalOffset;
355
+ }
356
+ }
428
357
  }
429
- }
430
- & when (@variationPopupTop) {
431
- [data-inverted][data-position~="top"][data-tooltip]::before {
432
- background: @invertedArrowBottomBackground;
358
+ & when (@variationPopupCenter) {
359
+ & when (@variationPopupLeft) {
360
+ /* Left Center */
361
+ [data-position="left center"][data-tooltip]::after {
362
+ right: 100%;
363
+ top: 50%;
364
+ margin-right: @tooltipDistanceAway;
365
+ transform: translateY(-50%);
366
+ }
367
+ [data-position="left center"][data-tooltip]::before {
368
+ right: 100%;
369
+ top: 50%;
370
+ margin-top: @tooltipArrowVerticalOffset;
371
+ margin-right: @tooltipArrowHorizontalOffset;
372
+ background: @arrowCenterBackground;
373
+ box-shadow: @leftArrowBoxShadow;
374
+ }
375
+ }
376
+ & when (@variationPopupRight) {
377
+ /* Right Center */
378
+ [data-position="right center"][data-tooltip]::after {
379
+ left: 100%;
380
+ top: 50%;
381
+ margin-left: @tooltipDistanceAway;
382
+ transform: translateY(-50%);
383
+ }
384
+ [data-position="right center"][data-tooltip]::before {
385
+ left: 100%;
386
+ top: 50%;
387
+ margin-top: @tooltipArrowHorizontalOffset;
388
+ margin-left: -@tooltipArrowVerticalOffset;
389
+ background: @arrowCenterBackground;
390
+ box-shadow: @rightArrowBoxShadow;
391
+ }
392
+ }
433
393
  }
434
- }
435
- }
436
394
 
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;
449
- }
450
- }
451
- & when (@variationPopupLeft) {
452
- [data-position="left center"][data-tooltip]::before {
453
- transform-origin: top center;
395
+ & when (@variationPopupInverted) {
396
+ /* Inverted Arrow Color */
397
+ & when (@variationPopupBottom) {
398
+ [data-inverted][data-position~="bottom"][data-tooltip]::before {
399
+ background: @invertedArrowTopBackground;
400
+ box-shadow: @bottomArrowBoxShadow;
401
+ }
402
+ }
403
+ & when (@variationPopupCenter) {
404
+ & when (@variationPopupLeft) {
405
+ [data-inverted][data-position="left center"][data-tooltip]::before {
406
+ background: @invertedArrowCenterBackground;
407
+ box-shadow: @leftArrowBoxShadow;
408
+ }
409
+ }
410
+ & when (@variationPopupRight) {
411
+ [data-inverted][data-position="right center"][data-tooltip]::before {
412
+ background: @invertedArrowCenterBackground;
413
+ box-shadow: @rightArrowBoxShadow;
414
+ }
415
+ }
416
+ }
417
+ & when (@variationPopupTop) {
418
+ [data-inverted][data-position~="top"][data-tooltip]::before {
419
+ background: @invertedArrowBottomBackground;
420
+ }
421
+ }
454
422
  }
455
- [data-position="left center"][data-tooltip]::after {
456
- transform-origin: right center;
423
+
424
+ & when (@variationPopupBottom) {
425
+ [data-position~="bottom"][data-tooltip]::before {
426
+ transform-origin: center bottom;
427
+ }
428
+ [data-position~="bottom"][data-tooltip]::after {
429
+ transform-origin: center top;
430
+ }
457
431
  }
458
- }
459
- & when (@variationPopupRight) {
460
- [data-position="right center"][data-tooltip]::before {
461
- transform-origin: right center;
432
+ & when (@variationPopupCenter) {
433
+ & when (@variationPopupBottom) {
434
+ [data-position="bottom center"][data-tooltip]::before {
435
+ transform-origin: center top;
436
+ }
437
+ }
438
+ & when (@variationPopupLeft) {
439
+ [data-position="left center"][data-tooltip]::before {
440
+ transform-origin: top center;
441
+ }
442
+ [data-position="left center"][data-tooltip]::after {
443
+ transform-origin: right center;
444
+ }
445
+ }
446
+ & when (@variationPopupRight) {
447
+ [data-position="right center"][data-tooltip]::before {
448
+ transform-origin: right center;
449
+ }
450
+ [data-position="right center"][data-tooltip]::after {
451
+ transform-origin: left center;
452
+ }
453
+ }
462
454
  }
463
- [data-position="right center"][data-tooltip]::after {
464
- transform-origin: left center;
455
+ }
456
+
457
+ & when (@variationPopupBasic) {
458
+ /* --------------
459
+ Basic
460
+ --------------- */
461
+ [data-tooltip][data-variation~="basic"]::before {
462
+ display: none;
465
463
  }
466
- }
467
464
  }
468
- }
469
465
 
470
- & when (@variationPopupBasic) {
471
- /*--------------
472
- Basic
473
- ---------------*/
474
- [data-tooltip][data-variation~="basic"]::before {
475
- display: none;
466
+ & when (@variationPopupMultiline) {
467
+ [data-tooltip][data-variation~="multiline"]::after {
468
+ white-space: @multilineWhiteSpace;
469
+ }
476
470
  }
477
- }
478
471
  }
479
472
 
480
- /*--------------
473
+ /* --------------
481
474
  Spacing
482
- ---------------*/
475
+ --------------- */
483
476
 
484
477
  .ui.popup {
485
- margin: 0;
478
+ margin: 0;
486
479
  }
487
480
 
488
481
  & 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
- }
482
+ /* Extending from Top */
483
+ .ui.top.popup {
484
+ margin: 0 0 @popupDistanceAway;
485
+ }
486
+ & when (@variationPopupLeft) {
487
+ .ui.top.left.popup {
488
+ transform-origin: left bottom;
489
+ }
490
+ }
491
+ & when (@variationPopupCenter) {
492
+ .ui.top.center.popup {
493
+ transform-origin: center bottom;
494
+ }
495
+ }
496
+ & when (@variationPopupRight) {
497
+ .ui.top.right.popup {
498
+ transform-origin: right bottom;
499
+ }
500
+ }
508
501
  }
509
502
 
510
503
  & 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
- }
504
+ /* Extending from Vertical Center */
505
+ & when (@variationPopupLeft) {
506
+ .ui.left.center.popup {
507
+ margin: 0 @popupDistanceAway 0 0;
508
+ transform-origin: right 50%;
509
+ }
510
+ }
511
+ & when (@variationPopupRight) {
512
+ .ui.right.center.popup {
513
+ margin: 0 0 0 @popupDistanceAway;
514
+ transform-origin: left 50%;
515
+ }
516
+ }
524
517
  }
525
518
 
526
519
  & when (@variationPopupBottom) {
527
- /* Extending from Bottom */
528
- .ui.bottom.popup {
529
- margin: @popupDistanceAway 0 0;
530
- }
531
- & when (@variationPopupLeft) {
520
+ /* Extending from Bottom */
521
+ .ui.bottom.popup {
522
+ margin: @popupDistanceAway 0 0;
523
+ }
524
+ & when (@variationPopupLeft) {
525
+ .ui.bottom.left.popup {
526
+ transform-origin: left top;
527
+ }
528
+ }
529
+ & when (@variationPopupCenter) {
530
+ .ui.bottom.center.popup {
531
+ transform-origin: center top;
532
+ }
533
+ }
534
+ & when (@variationPopupRight) {
535
+ .ui.bottom.right.popup {
536
+ transform-origin: right top;
537
+ }
538
+ }
539
+
540
+ /* --------------
541
+ Pointer
542
+ --------------- */
543
+
544
+ /* --- Below --- */
545
+ .ui.bottom.center.popup::before {
546
+ margin-left: @arrowOffset;
547
+ top: @arrowOffset;
548
+ left: 50%;
549
+ right: auto;
550
+ bottom: auto;
551
+ box-shadow: @bottomArrowBoxShadow;
552
+ }
553
+
532
554
  .ui.bottom.left.popup {
533
- transform-origin: left top;
555
+ margin-left: @boxArrowOffset;
534
556
  }
535
- }
536
- & when (@variationPopupCenter) {
537
- .ui.bottom.center.popup {
538
- transform-origin: center top;
557
+
558
+ /* rtl:rename */
559
+ .ui.bottom.left.popup::before {
560
+ top: @arrowOffset;
561
+ left: @arrowDistanceFromEdge;
562
+ right: auto;
563
+ bottom: auto;
564
+ margin-left: 0;
565
+ box-shadow: @bottomArrowBoxShadow;
539
566
  }
540
- }
541
- & when (@variationPopupRight) {
567
+
542
568
  .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
- }
569
+ margin-right: @boxArrowOffset;
570
+ }
571
+
572
+ /* rtl:rename */
573
+ .ui.bottom.right.popup::before {
574
+ top: @arrowOffset;
575
+ right: @arrowDistanceFromEdge;
576
+ bottom: auto;
577
+ left: auto;
578
+ margin-left: 0;
579
+ box-shadow: @bottomArrowBoxShadow;
580
+ }
586
581
  }
587
582
 
588
583
  & 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
- }
584
+ /* --- Above --- */
585
+ & when (@variationPopupCenter) {
586
+ .ui.top.center.popup::before {
587
+ top: auto;
588
+ right: auto;
589
+ bottom: @arrowOffset;
590
+ left: 50%;
591
+ margin-left: @arrowOffset;
592
+ }
593
+ }
594
+ & when (@variationPopupLeft) {
595
+ .ui.top.left.popup {
596
+ margin-left: @boxArrowOffset;
597
+ }
598
+
599
+ /* rtl:rename */
600
+ .ui.top.left.popup::before {
601
+ bottom: @arrowOffset;
602
+ left: @arrowDistanceFromEdge;
603
+ top: auto;
604
+ right: auto;
605
+ margin-left: 0;
606
+ }
607
+ }
608
+ & when (@variationPopupRight) {
609
+ .ui.top.right.popup {
610
+ margin-right: @boxArrowOffset;
611
+ }
612
+
613
+ /* rtl:rename */
614
+ .ui.top.right.popup::before {
615
+ bottom: @arrowOffset;
616
+ right: @arrowDistanceFromEdge;
617
+ top: auto;
618
+ left: auto;
619
+ margin-left: 0;
620
+ }
621
+ }
625
622
  }
626
623
 
627
624
  & 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
- }
625
+ /* --- Left Center --- */
626
+
627
+ /* rtl:rename */
628
+ & when (@variationPopupLeft) {
629
+ .ui.left.center.popup::before {
630
+ top: 50%;
631
+ right: @arrowOffset;
632
+ bottom: auto;
633
+ left: auto;
634
+ margin-top: @arrowOffset;
635
+ box-shadow: @leftArrowBoxShadow;
636
+ }
637
+ }
638
+ & when (@variationPopupRight) {
639
+ /* --- Right Center --- */
640
+
641
+ /* rtl:rename */
642
+ .ui.right.center.popup::before {
643
+ top: 50%;
644
+ left: @arrowOffset;
645
+ bottom: auto;
646
+ right: auto;
647
+ margin-top: @arrowOffset;
648
+ box-shadow: @rightArrowBoxShadow;
649
+ }
650
+ }
651
+ & when (@variationPopupLeft) or (@variationPopupRight) {
652
+ .ui.right.center.popup::before,
653
+ .ui.left.center.popup::before {
654
+ background: @arrowCenterBackground;
655
+ }
656
+ }
658
657
  }
659
658
 
660
659
  & when (@variationPopupBottom) {
661
- /* Arrow Color By Location */
662
- .ui.bottom.popup::before {
663
- background: @arrowTopBackground;
664
- }
660
+ /* Arrow Color By Location */
661
+ .ui.bottom.popup::before {
662
+ background: @arrowTopBackground;
663
+ }
665
664
  }
666
665
 
667
666
  & when (@variationPopupTop) {
668
- .ui.top.popup::before {
669
- background: @arrowBottomBackground;
670
- }
667
+ .ui.top.popup::before {
668
+ background: @arrowBottomBackground;
669
+ }
671
670
  }
672
671
 
673
672
  & 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
- }
673
+ & when (@variationPopupBottom) {
674
+ /* Inverted Arrow Color */
675
+ .ui.inverted.bottom.popup::before {
676
+ background: @invertedArrowTopBackground;
677
+ }
678
+ }
679
+ & when (@variationPopupCenter) {
680
+ .ui.inverted.right.center.popup::before,
681
+ .ui.inverted.left.center.popup::before {
682
+ background: @invertedArrowCenterBackground;
683
+ }
684
+ }
685
+ & when (@variationPopupTop) {
686
+ .ui.inverted.top.popup::before {
687
+ background: @invertedArrowBottomBackground;
688
+ }
689
+ }
691
690
  }
692
691
 
693
-
694
692
  /*******************************
695
693
  Coupling
696
694
  *******************************/
697
695
 
698
696
  /* Immediate Nested Grid */
699
- .ui.popup > .ui.grid:not(.padded) {
700
- width: @nestedGridWidth;
701
- margin: @nestedGridMargin;
697
+ .ui.ui.ui.popup > .ui.grid:not(.padded) {
698
+ width: @nestedGridWidth;
699
+ margin: @nestedGridMargin;
702
700
  }
703
701
 
704
702
  /*******************************
705
703
  States
706
704
  *******************************/
707
705
  & when (@variationPopupLoading) {
708
- .ui.loading.popup {
709
- display: block;
710
- visibility: hidden;
711
- z-index: @loadingZIndex;
712
- }
706
+ .ui.loading.popup {
707
+ display: block;
708
+ visibility: hidden;
709
+ z-index: @loadingZIndex;
710
+ }
713
711
  }
714
712
 
715
713
  .ui.animating.popup,
716
714
  .ui.visible.popup {
717
- display: block;
715
+ display: block;
718
716
  }
719
717
 
720
718
  .ui.visible.popup {
721
- transform: translateZ(0);
722
- backface-visibility: hidden;
719
+ transform: translateZ(0);
720
+ backface-visibility: hidden;
723
721
  }
724
722
 
725
-
726
723
  /*******************************
727
724
  Variations
728
725
  *******************************/
729
726
 
730
727
  & when (@variationPopupBasic) {
731
- /*--------------
732
- Basic
733
- ---------------*/
728
+ /* --------------
729
+ Basic
730
+ --------------- */
734
731
 
735
- .ui.basic.popup::before {
736
- display: none;
737
- }
732
+ .ui.basic.popup::before {
733
+ display: none;
734
+ }
738
735
  }
739
736
 
740
737
  & when (@variationPopupFixed) {
741
- .ui.fixed.popup {
742
- width: @maxWidth;
743
- }
738
+ .ui.fixed.popup {
739
+ width: @maxWidth;
740
+ }
744
741
  }
745
742
 
746
743
  & when (@variationPopupWide) {
747
- /*--------------
748
- Wide
749
- ---------------*/
750
-
751
- .ui.wide.popup {
752
- max-width: @wideWidth;
753
- &.fixed when (@variationPopupFixed) {
754
- width: @wideWidth;
744
+ /* --------------
745
+ Wide
746
+ --------------- */
747
+
748
+ .ui.wide.popup {
749
+ max-width: @wideWidth;
750
+ &.fixed when (@variationPopupFixed) {
751
+ width: @wideWidth;
752
+ }
755
753
  }
756
- }
757
- .ui[class*="very wide"].popup {
758
- max-width: @veryWideWidth;
759
- &.fixed when (@variationPopupFixed) {
760
- width: @veryWideWidth;
754
+ .ui[class*="very wide"].popup {
755
+ max-width: @veryWideWidth;
756
+ &.fixed when (@variationPopupFixed) {
757
+ width: @veryWideWidth;
758
+ }
761
759
  }
762
- }
763
760
 
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
- }
761
+ @media only screen and (max-width: @largestMobileScreen) {
762
+ .ui.wide.popup,
763
+ .ui[class*="very wide"].popup {
764
+ max-width: @maxWidth;
765
+ &.fixed when (@variationPopupFixed) {
766
+ width: @maxWidth;
767
+ }
768
+ }
771
769
  }
772
- }
773
770
  }
774
771
 
775
772
  & when (@variationPopupFluid) {
776
- /*--------------
777
- Fluid
778
- ---------------*/
779
-
780
- .ui.fluid.popup {
781
- width: 100%;
782
- max-width: none;
783
- }
773
+ /* --------------
774
+ Fluid
775
+ --------------- */
776
+
777
+ .ui.fluid.popup {
778
+ width: 100%;
779
+ max-width: none;
780
+ }
784
781
  }
785
782
 
786
783
  & 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
- }
784
+ /* --------------
785
+ Colors
786
+ --------------- */
787
+
788
+ /* Inverted colors */
789
+ .ui.inverted.popup {
790
+ background: @invertedBackground;
791
+ color: @invertedColor;
792
+ border: @invertedBorder;
793
+ box-shadow: @invertedBoxShadow;
794
+ }
795
+ .ui.inverted.popup .header {
796
+ background-color: @invertedHeaderBackground;
797
+ color: @invertedHeaderColor;
798
+ }
799
+ .ui.inverted.popup::before {
800
+ background-color: @invertedArrowColor;
801
+ box-shadow: none !important;
802
+ }
803
+ }
804
+
805
+ & when not (@variationPopupColors = false) {
806
+ each(@variationPopupColors, {
807
+ @color: @value;
808
+ @c: @colors[@@color][color];
809
+ @l: @colors[@@color][light];
810
+
811
+ & when not (@variationPopupTooltip) {
812
+ .ui.ui.ui.@{color}.popup::before,
813
+ .ui.@{color}.popup {
814
+ background: @c;
815
+ color: @white;
816
+ border: none;
817
+ }
818
+ .ui.ui.ui.@{color}.popup::before {
819
+ box-shadow: none;
820
+ }
821
+ & when (@variationPopupInverted) {
822
+ .ui.inverted.@{color}.popup::before,
823
+ .ui.inverted.@{color}.popup {
824
+ background: @l;
825
+ color: @black;
826
+ }
827
+ }
828
+ }
829
+ & when (@variationPopupTooltip) {
830
+ .ui.ui.ui.@{color}.popup::before,
831
+ .ui.@{color}.popup,
832
+ [data-tooltip][data-variation~="@{color}"]::after,
833
+ [data-tooltip][data-variation~="@{color}"]::before {
834
+ background: @c;
835
+ color: @white;
836
+ border: none;
837
+ }
838
+ .ui.ui.ui.@{color}.popup::before,
839
+ [data-tooltip][data-variation~="@{color}"]::before {
840
+ box-shadow: none;
841
+ }
842
+ & when (@variationPopupInverted) {
843
+ .ui.ui.ui.inverted.@{color}.popup::before,
844
+ .ui.inverted.@{color}.popup,
845
+ [data-tooltip][data-inverted][data-variation~="@{color}"]::after,
846
+ [data-tooltip][data-inverted][data-variation~="@{color}"]::before {
847
+ background: @l;
848
+ color: @black;
849
+ }
850
+ }
851
+ }
852
+ });
806
853
  }
807
854
 
808
855
  & when (@variationPopupFlowing) {
809
- /*--------------
810
- Flowing
811
- ---------------*/
856
+ /* --------------
857
+ Flowing
858
+ --------------- */
812
859
 
813
- .ui.flowing.popup {
814
- max-width: none;
815
- }
860
+ .ui.flowing.popup {
861
+ max-width: none;
862
+ }
816
863
  }
817
864
 
818
-
819
- /*--------------
865
+ /* --------------
820
866
  Sizes
821
- ---------------*/
867
+ --------------- */
822
868
 
823
869
  .ui.popup {
824
- font-size: @medium;
870
+ font-size: @medium;
825
871
  }
826
872
  & 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
- })
873
+ each(@variationPopupSizes, {
874
+ @s: @@value;
875
+ .ui.@{value}.popup {
876
+ font-size: @s;
877
+ }
878
+ & when (@variationPopupTooltip) {
879
+ [data-tooltip][data-variation~="@{value}"]::before,
880
+ [data-tooltip][data-variation~="@{value}"]::after {
881
+ font-size: @s;
882
+ }
883
+ }
884
+ });
839
885
  }
840
886
 
841
-
842
887
  .loadUIOverrides();