fomantic-ui 2.9.0-beta.3 → 2.9.0-beta.301

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 (411) hide show
  1. package/.all-contributorsrc +251 -3
  2. package/.github/codeql/codeql-config.yml +4 -0
  3. package/.github/dependabot.yml +10 -0
  4. package/.github/workflows/ci.yml +10 -6
  5. package/.github/workflows/codeql.yml +68 -0
  6. package/.github/workflows/nightly.yml +16 -8
  7. package/.github/workflows/release.yml +34 -0
  8. package/CONTRIBUTING.md +1 -1
  9. package/CONTRIBUTORS.md +82 -37
  10. package/FAQ.md +38 -38
  11. package/README.md +8 -8
  12. package/dist/components/accordion.css +176 -36
  13. package/dist/components/accordion.js +6 -3
  14. package/dist/components/accordion.min.css +2 -2
  15. package/dist/components/accordion.min.js +3 -3
  16. package/dist/components/ad.css +4 -4
  17. package/dist/components/ad.min.css +2 -2
  18. package/dist/components/api.js +90 -31
  19. package/dist/components/api.min.js +3 -3
  20. package/dist/components/breadcrumb.css +1 -1
  21. package/dist/components/breadcrumb.min.css +1 -1
  22. package/dist/components/button.css +204 -157
  23. package/dist/components/button.min.css +2 -2
  24. package/dist/components/calendar.css +18 -1
  25. package/dist/components/calendar.js +189 -76
  26. package/dist/components/calendar.min.css +2 -2
  27. package/dist/components/calendar.min.js +3 -3
  28. package/dist/components/card.css +754 -117
  29. package/dist/components/card.min.css +2 -2
  30. package/dist/components/checkbox.css +92 -91
  31. package/dist/components/checkbox.js +17 -11
  32. package/dist/components/checkbox.min.css +2 -2
  33. package/dist/components/checkbox.min.js +3 -3
  34. package/dist/components/comment.css +12 -12
  35. package/dist/components/comment.min.css +2 -2
  36. package/dist/components/container.css +98 -4
  37. package/dist/components/container.min.css +2 -2
  38. package/dist/components/dimmer.css +29 -14
  39. package/dist/components/dimmer.js +11 -5
  40. package/dist/components/dimmer.min.css +2 -2
  41. package/dist/components/dimmer.min.js +3 -3
  42. package/dist/components/divider.css +31 -31
  43. package/dist/components/divider.min.css +2 -2
  44. package/dist/components/dropdown.css +90 -50
  45. package/dist/components/dropdown.js +152 -117
  46. package/dist/components/dropdown.min.css +2 -2
  47. package/dist/components/dropdown.min.js +3 -3
  48. package/dist/components/embed.css +5 -5
  49. package/dist/components/embed.js +1 -1
  50. package/dist/components/embed.min.css +2 -2
  51. package/dist/components/embed.min.js +3 -3
  52. package/dist/components/emoji.css +10847 -8841
  53. package/dist/components/emoji.min.css +1 -1
  54. package/dist/components/feed.css +29 -29
  55. package/dist/components/feed.min.css +2 -2
  56. package/dist/components/flag.css +1011 -902
  57. package/dist/components/flag.min.css +2 -2
  58. package/dist/components/form.css +160 -83
  59. package/dist/components/form.js +39 -30
  60. package/dist/components/form.min.css +2 -2
  61. package/dist/components/form.min.js +3 -3
  62. package/dist/components/grid.css +25 -21
  63. package/dist/components/grid.min.css +2 -2
  64. package/dist/components/header.css +6 -4
  65. package/dist/components/header.min.css +2 -2
  66. package/dist/components/icon.css +2063 -1984
  67. package/dist/components/icon.min.css +2 -2
  68. package/dist/components/image.css +1 -1
  69. package/dist/components/image.min.css +1 -1
  70. package/dist/components/input.css +759 -22
  71. package/dist/components/input.min.css +2 -2
  72. package/dist/components/item.css +17 -17
  73. package/dist/components/item.min.css +2 -2
  74. package/dist/components/label.css +72 -68
  75. package/dist/components/label.min.css +2 -2
  76. package/dist/components/list.css +31 -31
  77. package/dist/components/list.min.css +2 -2
  78. package/dist/components/loader.css +352 -352
  79. package/dist/components/loader.min.css +2 -2
  80. package/dist/components/menu.css +110 -78
  81. package/dist/components/menu.min.css +1 -1
  82. package/dist/components/message.css +43 -43
  83. package/dist/components/message.min.css +2 -2
  84. package/dist/components/modal.css +29 -4
  85. package/dist/components/modal.js +128 -50
  86. package/dist/components/modal.min.css +2 -2
  87. package/dist/components/modal.min.js +3 -3
  88. package/dist/components/nag.css +1 -1
  89. package/dist/components/nag.js +2 -2
  90. package/dist/components/nag.min.css +1 -1
  91. package/dist/components/nag.min.js +3 -3
  92. package/dist/components/placeholder.css +33 -33
  93. package/dist/components/placeholder.min.css +2 -2
  94. package/dist/components/popup.css +103 -105
  95. package/dist/components/popup.js +11 -11
  96. package/dist/components/popup.min.css +2 -2
  97. package/dist/components/popup.min.js +3 -3
  98. package/dist/components/progress.css +1 -1
  99. package/dist/components/progress.js +6 -3
  100. package/dist/components/progress.min.css +1 -1
  101. package/dist/components/progress.min.js +3 -3
  102. package/dist/components/rail.css +1 -1
  103. package/dist/components/rail.min.css +1 -1
  104. package/dist/components/rating.css +7 -46
  105. package/dist/components/rating.js +1 -1
  106. package/dist/components/rating.min.css +2 -2
  107. package/dist/components/rating.min.js +3 -3
  108. package/dist/components/reset.css +5 -4
  109. package/dist/components/reset.min.css +2 -2
  110. package/dist/components/reveal.css +1 -1
  111. package/dist/components/reveal.min.css +1 -1
  112. package/dist/components/search.css +6 -6
  113. package/dist/components/search.js +23 -7
  114. package/dist/components/search.min.css +2 -2
  115. package/dist/components/search.min.js +3 -3
  116. package/dist/components/segment.css +118 -34
  117. package/dist/components/segment.min.css +2 -2
  118. package/dist/components/shape.css +1 -1
  119. package/dist/components/shape.js +3 -3
  120. package/dist/components/shape.min.css +1 -1
  121. package/dist/components/shape.min.js +3 -3
  122. package/dist/components/sidebar.css +7 -5
  123. package/dist/components/sidebar.js +14 -12
  124. package/dist/components/sidebar.min.css +2 -2
  125. package/dist/components/sidebar.min.js +3 -3
  126. package/dist/components/site.css +139 -42
  127. package/dist/components/site.js +1 -1
  128. package/dist/components/site.min.css +2 -2
  129. package/dist/components/site.min.js +3 -3
  130. package/dist/components/slider.css +17 -17
  131. package/dist/components/slider.js +68 -51
  132. package/dist/components/slider.min.css +1 -1
  133. package/dist/components/slider.min.js +3 -3
  134. package/dist/components/state.js +2 -2
  135. package/dist/components/state.min.js +3 -3
  136. package/dist/components/statistic.css +4 -4
  137. package/dist/components/statistic.min.css +2 -2
  138. package/dist/components/step.css +32 -32
  139. package/dist/components/step.min.css +2 -2
  140. package/dist/components/sticky.css +1 -1
  141. package/dist/components/sticky.js +5 -5
  142. package/dist/components/sticky.min.css +1 -1
  143. package/dist/components/sticky.min.js +3 -3
  144. package/dist/components/tab.css +5 -5
  145. package/dist/components/tab.js +24 -6
  146. package/dist/components/tab.min.css +2 -2
  147. package/dist/components/tab.min.js +3 -3
  148. package/dist/components/table.css +1684 -272
  149. package/dist/components/table.min.css +2 -2
  150. package/dist/components/text.css +1 -1
  151. package/dist/components/text.min.css +1 -1
  152. package/dist/components/toast.css +48 -1
  153. package/dist/components/toast.js +63 -31
  154. package/dist/components/toast.min.css +2 -2
  155. package/dist/components/toast.min.js +3 -3
  156. package/dist/components/transition.css +1 -1
  157. package/dist/components/transition.js +22 -17
  158. package/dist/components/transition.min.css +1 -1
  159. package/dist/components/transition.min.js +3 -3
  160. package/dist/components/visibility.js +3 -3
  161. package/dist/components/visibility.min.js +3 -3
  162. package/dist/semantic.css +20204 -13425
  163. package/dist/semantic.js +883 -481
  164. package/dist/semantic.min.css +3 -3
  165. package/dist/semantic.min.js +3 -3
  166. package/dist/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  167. package/dist/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  168. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  169. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  170. package/dist/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  171. package/dist/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  172. package/dist/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  173. package/dist/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  174. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  175. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  176. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  177. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  178. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  179. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  180. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  181. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  182. package/dist/themes/default/assets/fonts/brand-icons.eot +0 -0
  183. package/dist/themes/default/assets/fonts/brand-icons.svg +801 -654
  184. package/dist/themes/default/assets/fonts/brand-icons.ttf +0 -0
  185. package/dist/themes/default/assets/fonts/brand-icons.woff +0 -0
  186. package/dist/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  187. package/dist/themes/default/assets/fonts/icons.eot +0 -0
  188. package/dist/themes/default/assets/fonts/icons.svg +1175 -1079
  189. package/dist/themes/default/assets/fonts/icons.ttf +0 -0
  190. package/dist/themes/default/assets/fonts/icons.woff +0 -0
  191. package/dist/themes/default/assets/fonts/icons.woff2 +0 -0
  192. package/dist/themes/default/assets/fonts/outline-icons.eot +0 -0
  193. package/dist/themes/default/assets/fonts/outline-icons.svg +93 -95
  194. package/dist/themes/default/assets/fonts/outline-icons.ttf +0 -0
  195. package/dist/themes/default/assets/fonts/outline-icons.woff +0 -0
  196. package/dist/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  197. package/dist/themes/{default → famfamfam}/assets/images/flags.png +0 -0
  198. package/examples/assets/library/iframe-content.js +11 -11
  199. package/examples/assets/library/iframe.js +6 -6
  200. package/examples/components/button.html +1 -1
  201. package/examples/components/card.html +1 -1
  202. package/examples/components/input.html +1 -1
  203. package/examples/components/menu.html +1 -1
  204. package/examples/components/site.html +1 -1
  205. package/examples/components/table.html +1 -1
  206. package/package.json +18 -16
  207. package/scripts/nightly-version.js +47 -38
  208. package/src/definitions/behaviors/api.js +89 -30
  209. package/src/definitions/behaviors/form.js +38 -29
  210. package/src/definitions/behaviors/state.js +1 -1
  211. package/src/definitions/behaviors/visibility.js +2 -2
  212. package/src/definitions/collections/form.less +229 -165
  213. package/src/definitions/collections/grid.less +723 -687
  214. package/src/definitions/collections/menu.less +233 -171
  215. package/src/definitions/collections/message.less +49 -47
  216. package/src/definitions/collections/table.less +882 -272
  217. package/src/definitions/elements/button.less +611 -469
  218. package/src/definitions/elements/container.less +145 -8
  219. package/src/definitions/elements/divider.less +24 -24
  220. package/src/definitions/elements/emoji.less +39 -10
  221. package/src/definitions/elements/flag.less +53 -18
  222. package/src/definitions/elements/header.less +46 -37
  223. package/src/definitions/elements/icon.less +39 -32
  224. package/src/definitions/elements/input.less +281 -33
  225. package/src/definitions/elements/label.less +132 -128
  226. package/src/definitions/elements/list.less +84 -75
  227. package/src/definitions/elements/loader.less +99 -98
  228. package/src/definitions/elements/placeholder.less +32 -32
  229. package/src/definitions/elements/segment.less +177 -56
  230. package/src/definitions/elements/step.less +76 -72
  231. package/src/definitions/elements/text.less +17 -15
  232. package/src/definitions/globals/reset.less +2 -2
  233. package/src/definitions/globals/site.less +25 -2
  234. package/src/definitions/modules/accordion.js +5 -2
  235. package/src/definitions/modules/accordion.less +371 -219
  236. package/src/definitions/modules/calendar.js +188 -75
  237. package/src/definitions/modules/calendar.less +20 -0
  238. package/src/definitions/modules/checkbox.js +16 -10
  239. package/src/definitions/modules/checkbox.less +83 -227
  240. package/src/definitions/modules/dimmer.js +10 -4
  241. package/src/definitions/modules/dimmer.less +22 -8
  242. package/src/definitions/modules/dropdown.js +151 -116
  243. package/src/definitions/modules/dropdown.less +191 -136
  244. package/src/definitions/modules/embed.less +4 -4
  245. package/src/definitions/modules/modal.js +127 -49
  246. package/src/definitions/modules/modal.less +66 -33
  247. package/src/definitions/modules/nag.js +1 -1
  248. package/src/definitions/modules/nag.less +20 -19
  249. package/src/definitions/modules/popup.js +10 -10
  250. package/src/definitions/modules/popup.less +90 -90
  251. package/src/definitions/modules/progress.js +5 -2
  252. package/src/definitions/modules/progress.less +19 -18
  253. package/src/definitions/modules/rating.less +49 -42
  254. package/src/definitions/modules/search.js +22 -6
  255. package/src/definitions/modules/search.less +35 -19
  256. package/src/definitions/modules/shape.js +2 -2
  257. package/src/definitions/modules/sidebar.js +13 -11
  258. package/src/definitions/modules/sidebar.less +36 -22
  259. package/src/definitions/modules/slider.js +67 -50
  260. package/src/definitions/modules/slider.less +48 -47
  261. package/src/definitions/modules/sticky.js +4 -4
  262. package/src/definitions/modules/sticky.less +3 -1
  263. package/src/definitions/modules/tab.js +23 -5
  264. package/src/definitions/modules/tab.less +4 -4
  265. package/src/definitions/modules/toast.js +62 -30
  266. package/src/definitions/modules/toast.less +56 -16
  267. package/src/definitions/modules/transition.js +21 -16
  268. package/src/definitions/views/ad.less +3 -3
  269. package/src/definitions/views/card.less +522 -375
  270. package/src/definitions/views/comment.less +93 -82
  271. package/src/definitions/views/feed.less +164 -144
  272. package/src/definitions/views/item.less +251 -198
  273. package/src/definitions/views/statistic.less +91 -89
  274. package/src/theme.less +13 -2
  275. package/src/themes/amazon/globals/site.variables +1 -0
  276. package/src/themes/basic/elements/icon.overrides +149 -149
  277. package/src/themes/basic/elements/step.overrides +2 -2
  278. package/src/themes/bookish/elements/header.overrides +1 -1
  279. package/src/themes/chubby/elements/button.overrides +1 -1
  280. package/src/themes/chubby/elements/header.overrides +1 -1
  281. package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  282. package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  283. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  284. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  285. package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  286. package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  287. package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  288. package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  289. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  290. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  291. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  292. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  293. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  294. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  295. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  296. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  297. package/src/themes/default/assets/fonts/brand-icons.eot +0 -0
  298. package/src/themes/default/assets/fonts/brand-icons.svg +801 -654
  299. package/src/themes/default/assets/fonts/brand-icons.ttf +0 -0
  300. package/src/themes/default/assets/fonts/brand-icons.woff +0 -0
  301. package/src/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  302. package/src/themes/default/assets/fonts/icons.eot +0 -0
  303. package/src/themes/default/assets/fonts/icons.svg +1175 -1079
  304. package/src/themes/default/assets/fonts/icons.ttf +0 -0
  305. package/src/themes/default/assets/fonts/icons.woff +0 -0
  306. package/src/themes/default/assets/fonts/icons.woff2 +0 -0
  307. package/src/themes/default/assets/fonts/outline-icons.eot +0 -0
  308. package/src/themes/default/assets/fonts/outline-icons.svg +93 -95
  309. package/src/themes/default/assets/fonts/outline-icons.ttf +0 -0
  310. package/src/themes/default/assets/fonts/outline-icons.woff +0 -0
  311. package/src/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  312. package/src/themes/default/collections/form.variables +4 -0
  313. package/src/themes/default/collections/menu.variables +6 -0
  314. package/src/themes/default/collections/table.variables +52 -0
  315. package/src/themes/default/elements/button.variables +7 -1
  316. package/src/themes/default/elements/container.variables +12 -0
  317. package/src/themes/default/elements/divider.overrides +7 -7
  318. package/src/themes/default/elements/emoji.overrides +0 -3090
  319. package/src/themes/default/elements/emoji.variables +3575 -1
  320. package/src/themes/default/elements/flag.overrides +0 -991
  321. package/src/themes/default/elements/flag.variables +1609 -5
  322. package/src/themes/default/elements/icon.overrides +1975 -1949
  323. package/src/themes/default/elements/icon.variables +1 -0
  324. package/src/themes/default/elements/input.variables +15 -0
  325. package/src/themes/default/elements/segment.variables +8 -0
  326. package/src/themes/default/elements/step.overrides +4 -4
  327. package/src/themes/default/globals/site.variables +109 -8
  328. package/src/themes/default/globals/variation.variables +145 -6
  329. package/src/themes/default/modules/accordion.overrides +6 -5
  330. package/src/themes/default/modules/accordion.variables +49 -2
  331. package/src/themes/default/modules/calendar.variables +3 -0
  332. package/src/themes/default/modules/checkbox.overrides +9 -9
  333. package/src/themes/default/modules/checkbox.variables +5 -5
  334. package/src/themes/default/modules/dimmer.variables +1 -1
  335. package/src/themes/default/modules/dropdown.overrides +5 -5
  336. package/src/themes/default/modules/dropdown.variables +4 -10
  337. package/src/themes/default/modules/modal.variables +14 -0
  338. package/src/themes/default/modules/popup.variables +0 -2
  339. package/src/themes/default/modules/toast.variables +3 -0
  340. package/src/themes/default/views/card.variables +8 -0
  341. package/src/themes/{default → famfamfam}/assets/images/flags.png +0 -0
  342. package/src/themes/famfamfam/elements/flag.overrides +1026 -0
  343. package/src/themes/famfamfam/elements/flag.variables +20 -0
  344. package/src/themes/github/elements/icon.overrides +206 -206
  345. package/src/themes/github/elements/step.overrides +5 -5
  346. package/src/themes/github/globals/site.variables +1 -0
  347. package/src/themes/github/modules/dropdown.overrides +6 -6
  348. package/src/themes/instagram/views/card.overrides +1 -1
  349. package/src/themes/joypixels/elements/emoji.overrides +0 -3089
  350. package/src/themes/joypixels/elements/emoji.variables +3574 -5
  351. package/src/themes/material/collections/menu.overrides +1 -1
  352. package/src/themes/material/elements/button.overrides +1 -1
  353. package/src/themes/material/elements/header.overrides +1 -1
  354. package/src/themes/material/elements/icon.overrides +932 -932
  355. package/src/themes/material/globals/site.variables +0 -1
  356. package/src/themes/material/modules/dropdown.overrides +1 -1
  357. package/src/themes/material/modules/modal.overrides +1 -1
  358. package/src/themes/pulsar/elements/loader.overrides +2 -2
  359. package/src/themes/resetcss/globals/reset.overrides +3 -3
  360. package/src/themes/rtl/globals/site.overrides +1 -1
  361. package/src/themes/striped/modules/progress.overrides +1 -1
  362. package/src/themes/systemfont/globals/reset.overrides +8 -0
  363. package/src/themes/systemfont/globals/site.variables +10 -0
  364. package/src/themes/twitter/elements/emoji.overrides +0 -3091
  365. package/src/themes/twitter/elements/emoji.variables +3570 -6
  366. package/tasks/admin/components/init.js +2 -2
  367. package/tasks/admin/distributions/create.js +1 -1
  368. package/tasks/admin/distributions/init.js +2 -2
  369. package/tasks/admin/publish.js +1 -1
  370. package/tasks/admin/release.js +1 -1
  371. package/tasks/build/assets.js +1 -1
  372. package/tasks/build/css.js +9 -4
  373. package/tasks/build/javascript.js +3 -3
  374. package/tasks/check-install.js +1 -1
  375. package/tasks/clean.js +1 -1
  376. package/tasks/collections/README.md +1 -1
  377. package/tasks/collections/admin.js +1 -1
  378. package/tasks/config/admin/oauth.example.js +1 -1
  379. package/tasks/config/admin/templates/composer.json +1 -1
  380. package/tasks/config/project/install.js +15 -13
  381. package/tasks/install.js +1 -0
  382. package/tasks/rtl/watch.js +1 -1
  383. package/tasks/version.js +1 -1
  384. package/test/fixtures/accordion.html +1 -1
  385. package/test/fixtures/checkbox.html +1 -1
  386. package/test/fixtures/dropdown.html +1 -1
  387. package/test/fixtures/modal.html +1 -1
  388. package/test/fixtures/popup.html +1 -1
  389. package/test/fixtures/rating.html +1 -1
  390. package/test/fixtures/shape.html +1 -1
  391. package/test/fixtures/sidebar.html +1 -1
  392. package/test/fixtures/tab.html +1 -1
  393. package/test/fixtures/transition.html +1 -1
  394. package/test/fixtures/video.html +1 -1
  395. package/test/helpers/jasmine-jquery.js +2 -2
  396. package/test/helpers/jasmine-sinon.js +1 -1
  397. package/test/helpers/jquery-events.js +1 -1
  398. package/test/helpers/sinon.js +3 -3
  399. package/test/meteor/fonts.js +1 -1
  400. package/test/modules/accordion.spec.js +1 -1
  401. package/test/modules/checkbox.spec.js +1 -1
  402. package/test/modules/dropdown.spec.js +1 -1
  403. package/test/modules/modal.spec.js +1 -1
  404. package/test/modules/module.spec.js +1 -1
  405. package/test/modules/popup.spec.js +1 -1
  406. package/test/modules/search.spec.js +1 -1
  407. package/test/modules/shape.spec.js +1 -1
  408. package/test/modules/sidebar.spec.js +1 -1
  409. package/test/modules/tab.spec.js +1 -1
  410. package/test/modules/transition.spec.js +1 -1
  411. package/test/modules/video.spec.js +1 -1
@@ -123,64 +123,70 @@
123
123
  background-image: @activeBackgroundImage;
124
124
  }
125
125
 
126
+ & when (@variationButtonLoading) {
127
+ /*--------------
128
+ Loading
129
+ ---------------*/
126
130
 
127
- /*--------------
128
- Loading
129
- ---------------*/
131
+ /* Specificity hack */
132
+ .ui.loading.loading.loading.loading.loading.loading.button {
133
+ position: relative;
134
+ cursor: default;
135
+ text-shadow: none !important;
136
+ color: transparent;
137
+ opacity: @loadingOpacity;
138
+ pointer-events: @loadingPointerEvents;
139
+ transition: @loadingTransition;
140
+ }
141
+ .ui.loading.button::before {
142
+ position: absolute;
143
+ content: '';
144
+ top: 50%;
145
+ left: 50%;
130
146
 
131
- /* Specificity hack */
132
- .ui.loading.loading.loading.loading.loading.loading.button {
133
- position: relative;
134
- cursor: default;
135
- text-shadow: none !important;
136
- color: transparent;
137
- opacity: @loadingOpacity;
138
- pointer-events: @loadingPointerEvents;
139
- transition: @loadingTransition;
140
- }
141
- .ui.loading.button:before {
142
- position: absolute;
143
- content: '';
144
- top: 50%;
145
- left: 50%;
146
-
147
- margin: @loaderMargin;
148
- width: @loaderSize;
149
- height: @loaderSize;
150
-
151
- border-radius: @circularRadius;
152
- border: @loaderLineWidth solid @invertedLoaderFillColor;
153
- }
154
- .ui.loading.button:after {
155
- position: absolute;
156
- content: '';
157
- top: 50%;
158
- left: 50%;
147
+ margin: @loaderMargin;
148
+ width: @loaderSize;
149
+ height: @loaderSize;
150
+
151
+ border-radius: @circularRadius;
152
+ border: @loaderLineWidth solid @invertedLoaderFillColor;
153
+ }
154
+ .ui.loading.button::after {
155
+ position: absolute;
156
+ content: '';
157
+ top: 50%;
158
+ left: 50%;
159
159
 
160
- margin: @loaderMargin;
161
- width: @loaderSize;
162
- height: @loaderSize;
160
+ margin: @loaderMargin;
161
+ width: @loaderSize;
162
+ height: @loaderSize;
163
163
 
164
- border-radius: @circularRadius;
164
+ border-radius: @circularRadius;
165
165
 
166
- animation: loader @loaderSpeed infinite linear;
167
- border: @loaderLineWidth solid currentColor;
168
- color: @invertedLoaderLineColor;
166
+ animation: loader @loaderSpeed infinite linear;
167
+ border: @loaderLineWidth solid currentColor;
168
+ color: @invertedLoaderLineColor;
169
169
 
170
- box-shadow: 0 0 0 1px transparent;
171
- }
172
- & when (@variationButtonLabeledIcon){
173
- .ui.labeled.icon.loading.button .icon {
170
+ box-shadow: 0 0 0 1px transparent;
171
+ }
172
+ .ui.ui.ui.loading.button .label {
174
173
  background-color: transparent;
175
- box-shadow: none;
174
+ border-color: transparent;
175
+ color: transparent;
176
176
  }
177
- }
178
- & when (@variationButtonBasic){
179
- .ui.basic.loading.button:not(.inverted):before {
180
- border-color: @loaderFillColor;
177
+ & when (@variationButtonLabeledIcon){
178
+ .ui.labeled.icon.loading.button .icon {
179
+ background-color: transparent;
180
+ box-shadow: none;
181
+ }
181
182
  }
182
- .ui.basic.loading.button:not(.inverted):after {
183
- border-color: @loaderLineColor;
183
+ & when (@variationButtonBasic){
184
+ .ui.basic.loading.button:not(.inverted)::before {
185
+ border-color: @loaderFillColor;
186
+ }
187
+ .ui.basic.loading.button:not(.inverted)::after {
188
+ border-color: @loaderLineColor;
189
+ }
184
190
  }
185
191
  }
186
192
  & when (@variationButtonDisabled){
@@ -261,61 +267,64 @@
261
267
  right: 0;
262
268
  }
263
269
 
264
- /* Vertical */
265
- .ui.vertical.animated.button .visible.content,
266
- .ui.vertical.animated.button .hidden.content {
267
- transition: top @animationDuration @animationEasing, transform @animationDuration @animationEasing;
268
- }
269
- .ui.vertical.animated.button .visible.content {
270
- transform: translateY(0%);
271
- right: auto;
272
- }
273
- .ui.vertical.animated.button .hidden.content {
274
- top: -50%;
275
- left: 0;
276
- right: auto;
277
- }
278
- .ui.vertical.animated.button:focus .visible.content,
279
- .ui.vertical.animated.button:hover .visible.content {
280
- transform: translateY(200%);
281
- right: auto;
282
- }
283
- .ui.vertical.animated.button:focus .hidden.content,
284
- .ui.vertical.animated.button:hover .hidden.content {
285
- top: 50%;
286
- right: auto;
287
- }
288
-
289
- /* Fade */
290
- .ui.fade.animated.button .visible.content,
291
- .ui.fade.animated.button .hidden.content {
292
- transition: opacity @animationDuration @animationEasing, transform @animationDuration @animationEasing;
293
- }
294
- .ui.fade.animated.button .visible.content {
295
- left: auto;
296
- right: auto;
297
- opacity: 1;
298
- transform: scale(1);
299
- }
300
- .ui.fade.animated.button .hidden.content {
301
- opacity: 0;
302
- left: 0;
303
- right: auto;
304
- transform: scale(@fadeScaleHigh);
305
- }
306
- .ui.fade.animated.button:focus .visible.content,
307
- .ui.fade.animated.button:hover .visible.content {
308
- left: auto;
309
- right: auto;
310
- opacity: 0;
311
- transform: scale(@fadeScaleLow);
270
+ & when (@variationButtonVertical) {
271
+ /* Vertical */
272
+ .ui.vertical.animated.button .visible.content,
273
+ .ui.vertical.animated.button .hidden.content {
274
+ transition: top @animationDuration @animationEasing, transform @animationDuration @animationEasing;
275
+ }
276
+ .ui.vertical.animated.button .visible.content {
277
+ transform: translateY(0%);
278
+ right: auto;
279
+ }
280
+ .ui.vertical.animated.button .hidden.content {
281
+ top: -50%;
282
+ left: 0;
283
+ right: auto;
284
+ }
285
+ .ui.vertical.animated.button:focus .visible.content,
286
+ .ui.vertical.animated.button:hover .visible.content {
287
+ transform: translateY(200%);
288
+ right: auto;
289
+ }
290
+ .ui.vertical.animated.button:focus .hidden.content,
291
+ .ui.vertical.animated.button:hover .hidden.content {
292
+ top: 50%;
293
+ right: auto;
294
+ }
312
295
  }
313
- .ui.fade.animated.button:focus .hidden.content,
314
- .ui.fade.animated.button:hover .hidden.content {
315
- left: 0;
316
- right: auto;
317
- opacity: 1;
318
- transform: scale(1);
296
+ & when (@variationButtonAnimatedFade) {
297
+ /* Fade */
298
+ .ui.fade.animated.button .visible.content,
299
+ .ui.fade.animated.button .hidden.content {
300
+ transition: opacity @animationDuration @animationEasing, transform @animationDuration @animationEasing;
301
+ }
302
+ .ui.fade.animated.button .visible.content {
303
+ left: auto;
304
+ right: auto;
305
+ opacity: 1;
306
+ transform: scale(1);
307
+ }
308
+ .ui.fade.animated.button .hidden.content {
309
+ opacity: 0;
310
+ left: 0;
311
+ right: auto;
312
+ transform: scale(@fadeScaleHigh);
313
+ }
314
+ .ui.fade.animated.button:focus .visible.content,
315
+ .ui.fade.animated.button:hover .visible.content {
316
+ left: auto;
317
+ right: auto;
318
+ opacity: 0;
319
+ transform: scale(@fadeScaleLow);
320
+ }
321
+ .ui.fade.animated.button:focus .hidden.content,
322
+ .ui.fade.animated.button:hover .hidden.content {
323
+ left: 0;
324
+ right: auto;
325
+ opacity: 1;
326
+ transform: scale(1);
327
+ }
319
328
  }
320
329
  }
321
330
 
@@ -331,20 +340,23 @@
331
340
  text-shadow: none !important;
332
341
  }
333
342
 
334
- /* Group */
335
- .ui.inverted.buttons .button {
336
- margin: @invertedGroupButtonOffset;
337
- }
338
- .ui.inverted.buttons .button:first-child {
339
- margin-left: 0;
340
- }
341
- .ui.inverted.vertical.buttons .button {
342
- margin: @invertedVerticalGroupButtonOffset;
343
- }
344
- .ui.inverted.vertical.buttons .button:first-child {
345
- margin-top: 0;
343
+ & when (@variationButtonGroups) {
344
+ /* Group */
345
+ .ui.inverted.buttons .button {
346
+ margin: @invertedGroupButtonOffset;
347
+ }
348
+ .ui.inverted.buttons .button:first-child {
349
+ margin-left: 0;
350
+ }
351
+ & when (@variationButtonVertical) {
352
+ .ui.inverted.vertical.buttons .button {
353
+ margin: @invertedVerticalGroupButtonOffset;
354
+ }
355
+ .ui.inverted.vertical.buttons .button:first-child {
356
+ margin-top: 0;
357
+ }
358
+ }
346
359
  }
347
-
348
360
  /* States */
349
361
 
350
362
  /* Hover */
@@ -397,7 +409,7 @@
397
409
  }
398
410
 
399
411
  /* Tag */
400
- .ui.labeled.button > .tag.label:before {
412
+ .ui.labeled.button > .tag.label::before {
401
413
  width: @labeledTagLabelSize;
402
414
  height: @labeledTagLabelSize;
403
415
  }
@@ -730,23 +742,27 @@
730
742
  })
731
743
  }
732
744
 
733
- /*--------------
734
- Icon Only
735
- ---------------*/
745
+ & when (@variationButtonIcon) {
746
+ /*--------------
747
+ Icon Only
748
+ ---------------*/
736
749
 
737
- .ui.icon.buttons .button,
738
- .ui.icon.button:not(.animated):not(.compact):not(.labeled) {
739
- padding: @verticalPadding @verticalPadding ( @verticalPadding + @shadowOffset );
740
- }
741
- .ui.animated.icon.button > .content > .icon,
742
- .ui.icon.buttons .button > .icon,
743
- .ui.icon.button > .icon {
744
- opacity: @iconButtonOpacity;
745
- margin: 0 !important;
746
- vertical-align: top;
750
+ .ui.icon.buttons .button,
751
+ .ui.icon.button:not(.animated):not(.compact):not(.labeled) {
752
+ padding: @verticalPadding @verticalPadding ( @verticalPadding + @shadowOffset );
753
+ }
754
+ .ui.animated.icon.button > .content > .icon,
755
+ .ui.icon.buttons .button > .icon,
756
+ .ui.icon.button > .icon {
757
+ opacity: @iconButtonOpacity;
758
+ margin: 0 !important;
759
+ vertical-align: top;
760
+ }
747
761
  }
748
- .ui.animated.button > .content > .icon {
749
- vertical-align: top;
762
+ & when (@variationButtonAnimated) {
763
+ .ui.animated.button > .content > .icon {
764
+ vertical-align: top;
765
+ }
750
766
  }
751
767
 
752
768
  & when (@variationButtonBasic) {
@@ -764,15 +780,17 @@
764
780
  text-shadow: none !important;
765
781
  box-shadow: @basicBoxShadow;
766
782
  }
783
+ & when (@variationButtonGroups) {
784
+ .ui.basic.buttons {
785
+ box-shadow: @basicGroupBoxShadow;
786
+ border: @basicGroupBorder;
787
+ border-radius: @borderRadius;
788
+ border-right: none;
789
+ }
767
790
 
768
- .ui.basic.buttons {
769
- box-shadow: @basicGroupBoxShadow;
770
- border: @basicGroupBorder;
771
- border-radius: @borderRadius;
772
- }
773
-
774
- .ui.basic.buttons .button {
775
- border-radius: 0;
791
+ .ui.basic.buttons .button {
792
+ border-radius: 0;
793
+ }
776
794
  }
777
795
 
778
796
  .ui.basic.buttons .button:hover,
@@ -807,18 +825,19 @@
807
825
  .ui.basic.active.button:hover {
808
826
  background-color: @transparentBlack;
809
827
  }
828
+ & when (@variationButtonGroups) {
810
829
 
811
- /* Vertical */
812
- .ui.basic.buttons .button:hover {
813
- box-shadow: @basicHoverBoxShadow inset;
814
- }
830
+ .ui.basic.buttons .button:hover {
831
+ box-shadow: @basicHoverBoxShadow inset;
832
+ }
815
833
 
816
- .ui.basic.buttons .button:active {
817
- box-shadow: @basicDownBoxShadow inset;
818
- }
834
+ .ui.basic.buttons .button:active {
835
+ box-shadow: @basicDownBoxShadow inset;
836
+ }
819
837
 
820
- .ui.basic.buttons .active.button {
821
- box-shadow: @basicActiveBoxShadow;
838
+ .ui.basic.buttons .active.button {
839
+ box-shadow: @basicActiveBoxShadow;
840
+ }
822
841
  }
823
842
  & when (@variationButtonInverted) {
824
843
  /* Standard Basic Inverted */
@@ -864,21 +883,23 @@
864
883
  }
865
884
  }
866
885
 
867
- & when (@variationButtonBasic) {
886
+ & when (@variationButtonGroups) {
868
887
  /* Basic Group */
869
- .ui.basic.buttons .button {
870
- border-left: @basicGroupBorder;
888
+ .ui.basic.buttons:not(.inverted) .button:not(.basic) {
889
+ border-right: @basicGroupBorder;
871
890
  box-shadow: none;
872
891
  }
873
892
 
874
- .ui.basic.vertical.buttons .button {
875
- border-left: none;
876
- border-left-width: 0;
877
- border-top: @basicGroupBorder;
878
- }
893
+ & when (@variationButtonVertical) {
894
+ .ui.basic.vertical.buttons .button {
895
+ border-left: none;
896
+ border-left-width: 0;
897
+ border-top: @basicGroupBorder;
898
+ }
879
899
 
880
- .ui.basic.vertical.buttons .button:first-child {
881
- border-top-width: 0;
900
+ .ui.basic.vertical.buttons:not(.spaced) .button:first-child {
901
+ border-top: none;
902
+ }
882
903
  }
883
904
  }
884
905
  }
@@ -892,11 +913,11 @@
892
913
  .ui.tertiary.button {
893
914
  transition: color @defaultDuration @defaultEasing !important;
894
915
  border-radius: 0;
895
- margin: (@verticalPadding - @tertiaryLinePadding)
916
+ margin: (@verticalPadding - @tertiaryVerticalPadding)
896
917
  (@horizontalMargin)
897
- (@verticalPadding + @shadowOffset + @verticalMargin - @tertiaryLinePadding)
918
+ (@verticalPadding + @shadowOffset + @verticalMargin - @tertiaryVerticalPadding)
898
919
  0 !important;
899
- padding: @tertiaryLinePadding !important;
920
+ padding: @tertiaryVerticalPadding @tertiaryHorizontalPadding !important;
900
921
 
901
922
  & when (@tertiaryWithUnderline = true) {
902
923
  box-shadow: inset 0 -@tertiaryLineHeight 0 @tertiaryLineColor;
@@ -1020,10 +1041,10 @@
1020
1041
  }
1021
1042
 
1022
1043
 
1023
- .ui.labeled.icon.buttons > .button > .icon:before,
1024
- .ui.labeled.icon.button > .icon:before,
1025
- .ui.labeled.icon.buttons > .button > .icon:after,
1026
- .ui.labeled.icon.button > .icon:after {
1044
+ .ui.labeled.icon.buttons > .button > .icon::before,
1045
+ .ui.labeled.icon.button > .icon::before,
1046
+ .ui.labeled.icon.buttons > .button > .icon::after,
1047
+ .ui.labeled.icon.button > .icon::after {
1027
1048
  display: block;
1028
1049
  position: relative;
1029
1050
  width: 100%;
@@ -1056,7 +1077,7 @@
1056
1077
  }
1057
1078
 
1058
1079
  /* Loading Icon in Labeled Button */
1059
- .ui.labeled.icon.button > .loading.icon:before {
1080
+ .ui.labeled.icon.button > .loading.icon::before {
1060
1081
  animation: loader 2s linear infinite;
1061
1082
  }
1062
1083
  }
@@ -1110,7 +1131,7 @@
1110
1131
  z-index: @orZIndex;
1111
1132
  }
1112
1133
 
1113
- .ui.buttons .or:before {
1134
+ .ui.buttons .or::before {
1114
1135
  position: absolute;
1115
1136
  text-align: center;
1116
1137
  border-radius: @circularRadius;
@@ -1136,7 +1157,7 @@
1136
1157
  box-shadow: @orBoxShadow;
1137
1158
  }
1138
1159
 
1139
- .ui.buttons .or[data-text]:before {
1160
+ .ui.buttons .or[data-text]::before {
1140
1161
  content: attr(data-text);
1141
1162
  }
1142
1163
 
@@ -1145,7 +1166,7 @@
1145
1166
  width: 0 !important;
1146
1167
  }
1147
1168
 
1148
- .ui.fluid.buttons .or:after {
1169
+ .ui.fluid.buttons .or::after {
1149
1170
  display: none;
1150
1171
  }
1151
1172
 
@@ -1217,7 +1238,7 @@
1217
1238
 
1218
1239
  /* Top / Bottom */
1219
1240
  .ui[class*="top attached"].buttons {
1220
- margin-bottom: @attachedOffset;
1241
+ margin-bottom: @topAttachedOffset;
1221
1242
  border-radius: @borderRadius @borderRadius 0 0;
1222
1243
  }
1223
1244
 
@@ -1230,7 +1251,7 @@
1230
1251
  }
1231
1252
 
1232
1253
  .ui[class*="bottom attached"].buttons {
1233
- margin-top: @attachedOffset;
1254
+ margin-top: @bottomAttachedOffset;
1234
1255
  border-radius: 0 0 @borderRadius @borderRadius;
1235
1256
  }
1236
1257
 
@@ -1291,7 +1312,8 @@
1291
1312
  .ui.fluid.button {
1292
1313
  display: block;
1293
1314
  }
1294
-
1315
+ }
1316
+ & when (@variationButtonEqualWidth) {
1295
1317
  .ui.two.buttons {
1296
1318
  width: 100%;
1297
1319
  }
@@ -1379,57 +1401,63 @@
1379
1401
  .ui.twelve.buttons > .button {
1380
1402
  width: 8.3333%;
1381
1403
  }
1404
+ }
1382
1405
 
1383
- /* Fluid Vertical Buttons */
1384
- .ui.fluid.vertical.buttons,
1385
- .ui.fluid.vertical.buttons > .button {
1386
- display: flex;
1387
- width: auto;
1388
- justify-content: center;
1406
+ & when (@variationButtonVertical) {
1407
+ & when (@variationButtonFluid) {
1408
+ /* Fluid Vertical Buttons */
1409
+ .ui.fluid.vertical.buttons,
1410
+ .ui.fluid.vertical.buttons > .button {
1411
+ display: flex;
1412
+ width: auto;
1413
+ justify-content: center;
1414
+ }
1389
1415
  }
1390
1416
 
1391
- .ui.two.vertical.buttons > .button {
1392
- height: 50%;
1393
- }
1417
+ & when (@variationButtonEqualWidth) {
1418
+ .ui.two.vertical.buttons > .button {
1419
+ height: 50%;
1420
+ }
1394
1421
 
1395
- .ui.three.vertical.buttons > .button {
1396
- height: 33.333%;
1397
- }
1422
+ .ui.three.vertical.buttons > .button {
1423
+ height: 33.333%;
1424
+ }
1398
1425
 
1399
- .ui.four.vertical.buttons > .button {
1400
- height: 25%;
1401
- }
1426
+ .ui.four.vertical.buttons > .button {
1427
+ height: 25%;
1428
+ }
1402
1429
 
1403
- .ui.five.vertical.buttons > .button {
1404
- height: 20%;
1405
- }
1430
+ .ui.five.vertical.buttons > .button {
1431
+ height: 20%;
1432
+ }
1406
1433
 
1407
- .ui.six.vertical.buttons > .button {
1408
- height: 16.666%;
1409
- }
1434
+ .ui.six.vertical.buttons > .button {
1435
+ height: 16.666%;
1436
+ }
1410
1437
 
1411
- .ui.seven.vertical.buttons > .button {
1412
- height: 14.285%;
1413
- }
1438
+ .ui.seven.vertical.buttons > .button {
1439
+ height: 14.285%;
1440
+ }
1414
1441
 
1415
- .ui.eight.vertical.buttons > .button {
1416
- height: 12.500%;
1417
- }
1442
+ .ui.eight.vertical.buttons > .button {
1443
+ height: 12.500%;
1444
+ }
1418
1445
 
1419
- .ui.nine.vertical.buttons > .button {
1420
- height: 11.11%;
1421
- }
1446
+ .ui.nine.vertical.buttons > .button {
1447
+ height: 11.11%;
1448
+ }
1422
1449
 
1423
- .ui.ten.vertical.buttons > .button {
1424
- height: 10%;
1425
- }
1450
+ .ui.ten.vertical.buttons > .button {
1451
+ height: 10%;
1452
+ }
1426
1453
 
1427
- .ui.eleven.vertical.buttons > .button {
1428
- height: 9.09%;
1429
- }
1454
+ .ui.eleven.vertical.buttons > .button {
1455
+ height: 9.09%;
1456
+ }
1430
1457
 
1431
- .ui.twelve.vertical.buttons > .button {
1432
- height: 8.3333%;
1458
+ .ui.twelve.vertical.buttons > .button {
1459
+ height: 8.3333%;
1460
+ }
1433
1461
  }
1434
1462
  }
1435
1463
 
@@ -1437,191 +1465,174 @@
1437
1465
  Colors
1438
1466
  --------------------*/
1439
1467
 
1440
- each(@colors, {
1441
- @color: replace(@key, '@', '');
1442
- @c: @colors[@@color][color];
1443
- @h: @colors[@@color][hover];
1444
- @f: @colors[@@color][focus];
1445
- @d: @colors[@@color][down];
1446
- @a: @colors[@@color][active];
1447
- @t: @colors[@@color][text];
1448
- @s: @colors[@@color][shadow];
1449
- @l: @colors[@@color][light];
1450
- @lh: @colors[@@color][lightHover];
1451
- @lf: @colors[@@color][lightFocus];
1452
- @ld: @colors[@@color][lightDown];
1453
- @la: @colors[@@color][lightActive];
1454
- @lt: @colors[@@color][lightText];
1455
- @ls: @colors[@@color][lightShadow];
1456
- @ty: @colors[@@color][tertiary];
1457
- @tyh: @colors[@@color][tertiaryHover];
1458
- @tyf: @colors[@@color][tertiaryFocus];
1459
- @tya: @colors[@@color][tertiaryActive];
1460
- @isDark: @colors[@@color][isDark];
1461
- @isVeryDark: @colors[@@color][isVeryDark];
1462
-
1463
- .ui.@{color}.buttons .button,
1464
- .ui.@{color}.button {
1465
- background-color: @c;
1466
- color: @t;
1467
- text-shadow: @s;
1468
- background-image: @coloredBackgroundImage;
1469
- }
1470
- .ui.@{color}.button {
1471
- box-shadow: @coloredBoxShadow;
1472
- }
1473
- .ui.@{color}.buttons .button:hover,
1474
- .ui.@{color}.button:hover {
1475
- background-color: @h;
1476
- color: @t;
1477
- text-shadow: @s;
1478
- }
1479
- .ui.@{color}.buttons .button:focus,
1480
- .ui.@{color}.button:focus {
1481
- background-color: @f;
1482
- color: @t;
1483
- text-shadow: @s;
1484
- }
1485
- .ui.@{color}.buttons .button:active,
1486
- .ui.@{color}.button:active {
1487
- background-color: @d;
1488
- color: @t;
1489
- text-shadow: @s;
1490
- }
1491
- .ui.@{color}.buttons .active.button,
1492
- .ui.@{color}.buttons .active.button:active,
1493
- .ui.@{color}.active.button,
1494
- .ui.@{color}.button .active.button:active {
1495
- background-color: @a;
1496
- color: @t;
1497
- text-shadow: @s;
1498
- }
1499
-
1500
- & when (@variationButtonBasic) {
1501
- /* Basic */
1502
- .ui.basic.@{color}.buttons .button,
1503
- .ui.basic.@{color}.button {
1504
- background: transparent;
1505
- box-shadow: 0 0 0 @basicBorderSize @c inset ;
1506
- color: @c ;
1507
- }
1508
- .ui.basic.@{color}.buttons .button:hover,
1509
- .ui.basic.@{color}.button:hover {
1510
- background: transparent ;
1511
- box-shadow: 0 0 0 @basicColoredBorderSize @h inset ;
1512
- color: @h ;
1513
- }
1514
- .ui.basic.@{color}.buttons .button:focus,
1515
- .ui.basic.@{color}.button:focus {
1516
- background: transparent ;
1517
- box-shadow: 0 0 0 @basicColoredBorderSize @f inset ;
1518
- color: @h ;
1519
- }
1520
- .ui.basic.@{color}.buttons .active.button,
1521
- .ui.basic.@{color}.active.button {
1522
- background: transparent ;
1523
- box-shadow: 0 0 0 @basicColoredBorderSize @a inset ;
1524
- color: @d ;
1525
- }
1526
- .ui.basic.@{color}.buttons .button:active,
1527
- .ui.basic.@{color}.button:active {
1528
- box-shadow: 0 0 0 @basicColoredBorderSize @d inset ;
1529
- color: @d ;
1530
- }
1531
-
1532
- .ui.buttons:not(.vertical) > .basic.@{color}.button:not(:first-child) {
1533
- margin-left: -@basicColoredBorderSize;
1468
+ & when not (@variationButtonColors = false) {
1469
+ each(@variationButtonColors, {
1470
+ @color: @value;
1471
+ @c: @colors[@@color][color];
1472
+ @h: @colors[@@color][hover];
1473
+ @f: @colors[@@color][focus];
1474
+ @d: @colors[@@color][down];
1475
+ @a: @colors[@@color][active];
1476
+ @t: @colors[@@color][text];
1477
+ @s: @colors[@@color][shadow];
1478
+ @l: @colors[@@color][light];
1479
+ @lh: @colors[@@color][lightHover];
1480
+ @lf: @colors[@@color][lightFocus];
1481
+ @ld: @colors[@@color][lightDown];
1482
+ @la: @colors[@@color][lightActive];
1483
+ @lt: @colors[@@color][lightText];
1484
+ @ls: @colors[@@color][lightShadow];
1485
+ @ty: @colors[@@color][tertiary];
1486
+ @tyh: @colors[@@color][tertiaryHover];
1487
+ @tyf: @colors[@@color][tertiaryFocus];
1488
+ @tya: @colors[@@color][tertiaryActive];
1489
+ @isDark: @colors[@@color][isDark];
1490
+ @isVeryDark: @colors[@@color][isVeryDark];
1491
+
1492
+ .ui.@{color}.buttons .button,
1493
+ .ui.@{color}.button {
1494
+ background-color: @c;
1495
+ color: @t;
1496
+ text-shadow: @s;
1497
+ background-image: @coloredBackgroundImage;
1498
+ }
1499
+ .ui.@{color}.button {
1500
+ box-shadow: @coloredBoxShadow;
1501
+ }
1502
+ .ui.@{color}.buttons .button:hover,
1503
+ .ui.@{color}.button:hover {
1504
+ background-color: @h;
1505
+ color: @t;
1506
+ text-shadow: @s;
1507
+ }
1508
+ .ui.@{color}.buttons .button:focus,
1509
+ .ui.@{color}.button:focus {
1510
+ background-color: @f;
1511
+ color: @t;
1512
+ text-shadow: @s;
1513
+ }
1514
+ .ui.@{color}.buttons .button:active,
1515
+ .ui.@{color}.button:active {
1516
+ background-color: @d;
1517
+ color: @t;
1518
+ text-shadow: @s;
1519
+ }
1520
+ .ui.@{color}.buttons .active.button,
1521
+ .ui.@{color}.buttons .active.button:active,
1522
+ .ui.@{color}.active.button,
1523
+ .ui.@{color}.button .active.button:active {
1524
+ background-color: @a;
1525
+ color: @t;
1526
+ text-shadow: @s;
1534
1527
  }
1535
- }
1536
- & when (@variationButtonInverted) {
1537
- /* Inverted */
1538
- .ui.inverted.@{color}.buttons .button,
1539
- .ui.inverted.@{color}.button {
1540
- background-color: transparent;
1541
1528
 
1542
- & when (@isDark) {
1543
- box-shadow: 0 0 0 @invertedBorderSize @solidBorderColor inset ;
1544
- color: @invertedTextColor;
1529
+ & when (@variationButtonBasic) {
1530
+ /* Basic */
1531
+ .ui.basic.@{color}.buttons .button,
1532
+ .ui.basic.@{color}.button {
1533
+ background: transparent;
1534
+ box-shadow: 0 0 0 @basicBorderSize @c inset;
1535
+ color: @c;
1545
1536
  }
1546
-
1547
- & when not (@isDark) {
1548
- box-shadow: 0 0 0 @invertedBorderSize @l inset ;
1549
- color: @l;
1537
+ .ui.basic.@{color}.buttons .button:hover,
1538
+ .ui.basic.@{color}.button:hover {
1539
+ background: transparent;
1540
+ box-shadow: 0 0 0 @basicColoredBorderSize @h inset;
1541
+ color: @h;
1542
+ }
1543
+ .ui.basic.@{color}.buttons .button:focus,
1544
+ .ui.basic.@{color}.button:focus {
1545
+ background: transparent;
1546
+ box-shadow: 0 0 0 @basicColoredBorderSize @f inset;
1547
+ color: @h;
1548
+ }
1549
+ .ui.basic.@{color}.buttons .active.button,
1550
+ .ui.basic.@{color}.active.button {
1551
+ background: transparent;
1552
+ box-shadow: 0 0 0 @basicColoredBorderSize @a inset;
1553
+ color: @d;
1554
+ }
1555
+ .ui.basic.@{color}.buttons .button:active,
1556
+ .ui.basic.@{color}.button:active {
1557
+ box-shadow: 0 0 0 @basicColoredBorderSize @d inset;
1558
+ color: @d;
1550
1559
  }
1551
1560
  }
1552
- .ui.inverted.@{color}.buttons .button:hover,
1553
- .ui.inverted.@{color}.button:hover,
1554
- .ui.inverted.@{color}.buttons .button:focus,
1555
- .ui.inverted.@{color}.button:focus,
1556
- .ui.inverted.@{color}.buttons .button.active,
1557
- .ui.inverted.@{color}.button.active,
1558
- .ui.inverted.@{color}.buttons .button:active,
1559
- .ui.inverted.@{color}.button:active {
1560
- box-shadow: none ;
1561
- color: @lt;
1562
- }
1563
- .ui.inverted.@{color}.buttons .button:hover,
1564
- .ui.inverted.@{color}.button:hover {
1565
- background-color: @lh;
1566
- }
1567
- .ui.inverted.@{color}.buttons .button:focus,
1568
- .ui.inverted.@{color}.button:focus {
1569
- background-color: @lf;
1570
- }
1571
- .ui.inverted.@{color}.buttons .active.button,
1572
- .ui.inverted.@{color}.active.button {
1573
- background-color: @la;
1574
- }
1575
- .ui.inverted.@{color}.buttons .button:active,
1576
- .ui.inverted.@{color}.button:active {
1577
- background-color: @ld;
1578
- }
1579
-
1580
- /* Inverted Basic */
1581
- .ui.inverted.@{color}.basic.buttons .button,
1582
- .ui.inverted.@{color}.buttons .basic.button,
1583
- .ui.inverted.@{color}.basic.button {
1584
- background-color: transparent;
1585
- box-shadow: @basicInvertedBoxShadow ;
1586
- color: @white ;
1587
- }
1588
- .ui.inverted.@{color}.basic.buttons .button:hover,
1589
- .ui.inverted.@{color}.buttons .basic.button:hover,
1590
- .ui.inverted.@{color}.basic.button:hover {
1591
- box-shadow: 0 0 0 @invertedBorderSize @lh inset ;
1561
+ & when (@variationButtonInverted) {
1562
+ /* Inverted */
1563
+ .ui.inverted.@{color}.buttons .button,
1564
+ .ui.inverted.@{color}.button {
1565
+ background-color: transparent;
1592
1566
 
1593
- & when (@isDark) {
1594
- color: @white ;
1595
- }
1567
+ & when (@isDark) {
1568
+ box-shadow: 0 0 0 @invertedBorderSize @solidBorderColor inset;
1569
+ color: @invertedTextColor;
1570
+ }
1596
1571
 
1597
- & when not (@isDark) {
1598
- color: @l ;
1572
+ & when not (@isDark) {
1573
+ box-shadow: 0 0 0 @invertedBorderSize @l inset;
1574
+ color: @l;
1575
+ }
1576
+ }
1577
+ .ui.inverted.@{color}.buttons .button:hover,
1578
+ .ui.inverted.@{color}.button:hover,
1579
+ .ui.inverted.@{color}.buttons .button:focus,
1580
+ .ui.inverted.@{color}.button:focus,
1581
+ .ui.inverted.@{color}.buttons .button.active,
1582
+ .ui.inverted.@{color}.button.active,
1583
+ .ui.inverted.@{color}.buttons .button:active,
1584
+ .ui.inverted.@{color}.button:active {
1585
+ box-shadow: none;
1586
+ color: @lt;
1587
+ }
1588
+ .ui.inverted.@{color}.buttons .button:hover,
1589
+ .ui.inverted.@{color}.button:hover {
1590
+ background-color: @lh;
1591
+ }
1592
+ .ui.inverted.@{color}.buttons .button:focus,
1593
+ .ui.inverted.@{color}.button:focus {
1594
+ background-color: @lf;
1595
+ }
1596
+ .ui.inverted.@{color}.buttons .active.button,
1597
+ .ui.inverted.@{color}.active.button {
1598
+ background-color: @la;
1599
+ }
1600
+ .ui.inverted.@{color}.buttons .button:active,
1601
+ .ui.inverted.@{color}.button:active {
1602
+ background-color: @ld;
1599
1603
  }
1600
- }
1601
- .ui.inverted.@{color}.basic.buttons .button:focus,
1602
- .ui.inverted.@{color}.basic.buttons .button:focus,
1603
- .ui.inverted.@{color}.basic.button:focus {
1604
- box-shadow: 0 0 0 @invertedBorderSize @lf inset ;
1605
- color: @l ;
1606
- }
1607
- .ui.inverted.@{color}.basic.buttons .active.button,
1608
- .ui.inverted.@{color}.buttons .basic.active.button,
1609
- .ui.inverted.@{color}.basic.active.button {
1610
- box-shadow: 0 0 0 @invertedBorderSize @la inset ;
1611
1604
 
1612
- & when (@isDark) {
1613
- color: @white ;
1605
+ /* Inverted Basic */
1606
+ .ui.inverted.@{color}.basic.buttons .button,
1607
+ .ui.inverted.@{color}.buttons .basic.button,
1608
+ .ui.inverted.@{color}.basic.button {
1609
+ background-color: transparent;
1610
+ box-shadow: @basicInvertedBoxShadow;
1611
+ color: @white;
1614
1612
  }
1613
+ .ui.inverted.@{color}.basic.buttons .button:hover,
1614
+ .ui.inverted.@{color}.buttons .basic.button:hover,
1615
+ .ui.inverted.@{color}.basic.button:hover {
1616
+ box-shadow: 0 0 0 @invertedBorderSize @lh inset;
1617
+
1618
+ & when (@isDark) {
1619
+ color: @white;
1620
+ }
1615
1621
 
1616
- & when not (@isDark) {
1617
- color: @l ;
1622
+ & when not (@isDark) {
1623
+ color: @l;
1624
+ }
1618
1625
  }
1619
- }
1620
- & when (@variationButtonBasic) {
1621
- .ui.inverted.@{color}.basic.buttons .button:active,
1622
- .ui.inverted.@{color}.buttons .basic.button:active,
1623
- .ui.inverted.@{color}.basic.button:active {
1624
- box-shadow: 0 0 0 @invertedBorderSize @ld inset;
1626
+ .ui.inverted.@{color}.basic.buttons .button:focus,
1627
+ .ui.inverted.@{color}.basic.buttons .button:focus,
1628
+ .ui.inverted.@{color}.basic.button:focus {
1629
+ box-shadow: 0 0 0 @invertedBorderSize @lf inset;
1630
+ color: @l;
1631
+ }
1632
+ .ui.inverted.@{color}.basic.buttons .active.button,
1633
+ .ui.inverted.@{color}.buttons .basic.active.button,
1634
+ .ui.inverted.@{color}.basic.active.button {
1635
+ box-shadow: 0 0 0 @invertedBorderSize @la inset;
1625
1636
 
1626
1637
  & when (@isDark) {
1627
1638
  color: @white;
@@ -1631,104 +1642,119 @@ each(@colors, {
1631
1642
  color: @l;
1632
1643
  }
1633
1644
  }
1645
+ & when (@variationButtonBasic) {
1646
+ .ui.inverted.@{color}.basic.buttons .button:active,
1647
+ .ui.inverted.@{color}.buttons .basic.button:active,
1648
+ .ui.inverted.@{color}.basic.button:active {
1649
+ box-shadow: 0 0 0 @invertedBorderSize @ld inset;
1650
+
1651
+ & when (@isDark) {
1652
+ color: @white;
1653
+ }
1654
+
1655
+ & when not (@isDark) {
1656
+ color: @l;
1657
+ }
1658
+ }
1659
+ }
1634
1660
  }
1635
- }
1636
1661
 
1637
- & when (@variationButtonTertiary) {
1638
- /* Tertiary */
1662
+ & when (@variationButtonTertiary) {
1663
+ /* Tertiary */
1639
1664
 
1640
- .ui.tertiary.@{color}.buttons .button,
1641
- .ui.tertiary.@{color}.buttons .tertiary.button,
1642
- .ui.tertiary.@{color}.button {
1643
- background: transparent;
1665
+ .ui.tertiary.@{color}.buttons .button,
1666
+ .ui.tertiary.@{color}.buttons .tertiary.button,
1667
+ .ui.tertiary.@{color}.button {
1668
+ background: transparent;
1644
1669
 
1645
1670
 
1646
1671
 
1647
- & when (@tertiaryWithUnderline = true) {
1648
- box-shadow: inset 0 -@tertiaryLineHeight 0 @ty;
1649
- }
1672
+ & when (@tertiaryWithUnderline = true) {
1673
+ box-shadow: inset 0 -@tertiaryLineHeight 0 @ty;
1674
+ }
1650
1675
 
1651
- & when (@tertiaryWithOverline = true) {
1652
- box-shadow: inset 0 @tertiaryLineHeight 0 @ty;
1653
- }
1676
+ & when (@tertiaryWithOverline = true) {
1677
+ box-shadow: inset 0 @tertiaryLineHeight 0 @ty;
1678
+ }
1654
1679
 
1655
- & when (@tertiaryWithUnderline = false) and (@tertiaryWithOverline = false){
1656
- box-shadow: none;
1657
- }
1680
+ & when (@tertiaryWithUnderline = false) and (@tertiaryWithOverline = false){
1681
+ box-shadow: none;
1682
+ }
1658
1683
 
1659
- color: @c;
1660
- }
1684
+ color: @c;
1685
+ }
1661
1686
 
1662
- .ui.tertiary.@{color}.buttons .button:hover,
1663
- .ui.tertiary.@{color}.buttons button:hover,
1664
- .ui.tertiary.@{color}.button:hover {
1687
+ .ui.tertiary.@{color}.buttons .button:hover,
1688
+ .ui.tertiary.@{color}.buttons button:hover,
1689
+ .ui.tertiary.@{color}.button:hover {
1665
1690
 
1666
1691
 
1667
1692
 
1668
- & when (@tertiaryHoverWithUnderline = true) {
1669
- box-shadow: inset 0 -@tertiaryLineHeight 0 @tyh;
1670
- }
1693
+ & when (@tertiaryHoverWithUnderline = true) {
1694
+ box-shadow: inset 0 -@tertiaryLineHeight 0 @tyh;
1695
+ }
1671
1696
 
1672
- & when (@tertiaryHoverWithOverline = true) {
1673
- box-shadow: inset 0 @tertiaryLineHeight 0 @tyh;
1674
- }
1697
+ & when (@tertiaryHoverWithOverline = true) {
1698
+ box-shadow: inset 0 @tertiaryLineHeight 0 @tyh;
1699
+ }
1675
1700
 
1676
- & when (@tertiaryHoverWithUnderline = false) and (@tertiaryHoverWithOverline = false) {
1677
- box-shadow: none;
1678
- }
1701
+ & when (@tertiaryHoverWithUnderline = false) and (@tertiaryHoverWithOverline = false) {
1702
+ box-shadow: none;
1703
+ }
1679
1704
 
1680
1705
 
1681
1706
  color: @tyh;
1682
- }
1707
+ }
1683
1708
 
1684
- .ui.tertiary.@{color}.buttons .button:focus,
1685
- .ui.tertiary.@{color}.buttons .tertiary.button:focus,
1686
- .ui.tertiary.@{color}.button:focus {
1709
+ .ui.tertiary.@{color}.buttons .button:focus,
1710
+ .ui.tertiary.@{color}.buttons .tertiary.button:focus,
1711
+ .ui.tertiary.@{color}.button:focus {
1687
1712
 
1688
1713
 
1689
1714
 
1690
1715
 
1691
- & when (@tertiaryFocusWithUnderline = true) {
1692
- box-shadow: inset 0 -@tertiaryLineHeight 0 @tyf;
1693
- }
1716
+ & when (@tertiaryFocusWithUnderline = true) {
1717
+ box-shadow: inset 0 -@tertiaryLineHeight 0 @tyf;
1718
+ }
1694
1719
 
1695
- & when (@tertiaryFocusWithOverline = true) {
1696
- box-shadow: inset 0 @tertiaryLineHeight 0 @tyf;
1697
- }
1720
+ & when (@tertiaryFocusWithOverline = true) {
1721
+ box-shadow: inset 0 @tertiaryLineHeight 0 @tyf;
1722
+ }
1698
1723
 
1699
- & when (@tertiaryFocusWithUnderline = false) and (@tertiaryFocusWithOverline = false) {
1700
- box-shadow: none;
1701
- }
1724
+ & when (@tertiaryFocusWithUnderline = false) and (@tertiaryFocusWithOverline = false) {
1725
+ box-shadow: none;
1726
+ }
1702
1727
 
1703
1728
 
1704
1729
  color: @tyf;
1705
- }
1730
+ }
1706
1731
 
1707
- .ui.tertiary.@{color}.buttons .active.button,
1708
- .ui.tertiary.@{color}.buttons .tertiary.active.button,
1709
- .ui.tertiary.@{color}.active.button,
1710
- .ui.tertiary.@{color}.buttons .button:active,
1711
- .ui.tertiary.@{color}.buttons .tertiary.button:active,
1712
- .ui.tertiary.@{color}.button:active {
1732
+ .ui.tertiary.@{color}.buttons .active.button,
1733
+ .ui.tertiary.@{color}.buttons .tertiary.active.button,
1734
+ .ui.tertiary.@{color}.active.button,
1735
+ .ui.tertiary.@{color}.buttons .button:active,
1736
+ .ui.tertiary.@{color}.buttons .tertiary.button:active,
1737
+ .ui.tertiary.@{color}.button:active {
1713
1738
 
1714
1739
 
1715
1740
 
1716
- & when (@tertiaryActiveWithUnderline = true) {
1717
- box-shadow: inset 0 -@tertiaryLineHeight 0 @tya;
1718
- }
1741
+ & when (@tertiaryActiveWithUnderline = true) {
1742
+ box-shadow: inset 0 -@tertiaryLineHeight 0 @tya;
1743
+ }
1719
1744
 
1720
- & when (@tertiaryActiveWithOverline = true) {
1721
- box-shadow: inset 0 @tertiaryLineHeight 0 @tya;
1722
- }
1745
+ & when (@tertiaryActiveWithOverline = true) {
1746
+ box-shadow: inset 0 @tertiaryLineHeight 0 @tya;
1747
+ }
1723
1748
 
1724
- & when (@tertiaryActiveWithUnderline = false) and (@tertiaryActiveWithOverline = false) {
1725
- box-shadow: none;
1726
- }
1749
+ & when (@tertiaryActiveWithUnderline = false) and (@tertiaryActiveWithOverline = false) {
1750
+ box-shadow: none;
1751
+ }
1727
1752
 
1728
- color: @a;
1753
+ color: @a;
1754
+ }
1729
1755
  }
1730
- }
1731
- })
1756
+ })
1757
+ }
1732
1758
 
1733
1759
  .addConsequence(@consequence) {
1734
1760
 
@@ -1844,7 +1870,7 @@ each(@colors, {
1844
1870
  }
1845
1871
 
1846
1872
  /* Clearfix */
1847
- .ui.buttons:after {
1873
+ .ui.buttons::after {
1848
1874
  content: ".";
1849
1875
  display: block;
1850
1876
  height: 0;
@@ -1874,35 +1900,151 @@ each(@colors, {
1874
1900
  border-top-right-radius: @borderRadius;
1875
1901
  border-bottom-right-radius: @borderRadius;
1876
1902
  }
1903
+ & when (@variationButtonVertical) {
1904
+ /* Vertical Style */
1905
+ .ui.vertical.buttons {
1906
+ display: inline-flex;
1907
+ flex-direction: column;
1908
+ }
1877
1909
 
1878
- /* Vertical Style */
1879
- .ui.vertical.buttons {
1880
- display: inline-flex;
1881
- flex-direction: column;
1882
- }
1910
+ .ui.vertical.buttons .button {
1911
+ display: block;
1912
+ float: none;
1913
+ width: 100%;
1914
+ margin: @verticalGroupOffset;
1915
+ border-radius: 0;
1916
+ &:not(.basic) {
1917
+ box-shadow: @verticalBoxShadow;
1918
+ }
1919
+ }
1883
1920
 
1884
- .ui.vertical.buttons .button {
1885
- display: block;
1886
- float: none;
1887
- width: 100%;
1888
- margin: @verticalGroupOffset;
1889
- box-shadow: @verticalBoxShadow;
1890
- border-radius: 0;
1891
- }
1921
+ .ui.vertical.buttons .button:first-child {
1922
+ border-top-left-radius: @borderRadius;
1923
+ border-top-right-radius: @borderRadius;
1924
+ }
1892
1925
 
1893
- .ui.vertical.buttons .button:first-child {
1894
- border-top-left-radius: @borderRadius;
1895
- border-top-right-radius: @borderRadius;
1926
+ .ui.vertical.buttons .button:last-child {
1927
+ margin-bottom: 0;
1928
+ border-bottom-left-radius: @borderRadius;
1929
+ border-bottom-right-radius: @borderRadius;
1930
+ }
1931
+
1932
+ .ui.vertical.buttons .button:only-child {
1933
+ border-radius: @borderRadius;
1934
+ }
1935
+ & when (@variationButtonBasic) {
1936
+ .ui.vertical.buttons .basic.button:not(:first-child) {
1937
+ border-top: none;
1938
+ }
1939
+ }
1896
1940
  }
1897
1941
 
1898
- .ui.vertical.buttons .button:last-child {
1899
- margin-bottom: 0;
1900
- border-bottom-left-radius: @borderRadius;
1901
- border-bottom-right-radius: @borderRadius;
1942
+ & when (@variationButtonWrapping) {
1943
+ .ui.wrapping.buttons {
1944
+ flex-wrap: wrap;
1945
+ }
1946
+ & when (@variationButtonBasic) {
1947
+ .ui.wrapping.basic.buttons {
1948
+ border-bottom: none;
1949
+ & .button {
1950
+ border-bottom: @basicGroupBorder;
1951
+ &:hover {
1952
+ background: transparent !important;
1953
+ }
1954
+ }
1955
+ }
1956
+ }
1957
+ & when (@variationButtonCompact) {
1958
+ .ui.compact.wrapping.buttons .button {
1959
+ flex: none;
1960
+ }
1961
+ }
1962
+ }
1963
+ & when (@variationButtonWrapped) {
1964
+ .ui.wrapped.buttons:not(.spaced) {
1965
+ border-top-right-radius: 0;
1966
+ & .button {
1967
+ &:first-child {
1968
+ border-radius: @basicBorderRadius 0 0 0;
1969
+ }
1970
+ &:last-child {
1971
+ border-radius: 0 0 @basicBorderRadius 0;
1972
+ }
1973
+ }
1974
+ }
1975
+ & when (@variationButtonAttached) {
1976
+ .ui.wrapped[class*="top attached"].buttons {
1977
+ border-radius: @basicBorderRadius 0 0 0;
1978
+ & .button:last-child {
1979
+ border-radius: 0;
1980
+ }
1981
+ }
1982
+ .ui.wrapped[class*="bottom attached"].buttons {
1983
+ border-radius: 0 0 0 @basicBorderRadius;
1984
+ & .button:first-child {
1985
+ border-radius: 0;
1986
+ }
1987
+ }
1988
+ }
1989
+ }
1990
+ & when (@variationButtonSpaced) {
1991
+ .ui.spaced.buttons .ui.button {
1992
+ margin-bottom: @spacedMargin;
1993
+ margin-right: @spacedMargin;
1994
+ border-radius: @basicBorderRadius;
1995
+ }
1996
+ & when (@variationButtonBasic) {
1997
+ .ui.spaced.basic.buttons {
1998
+ border: none;
1999
+ & .button {
2000
+ border: @basicGroupBorder;
2001
+ &.basic {
2002
+ border: none;
2003
+ }
2004
+ }
2005
+ }
2006
+ & when (@variationButtonVertical) {
2007
+ .ui.spaced.basic.vertical.buttons .button:first-child {
2008
+ border-top: @basicGroupBorder;
2009
+ }
2010
+ }
2011
+ & when (@variationButtonWrapping) {
2012
+ .ui.spaced.basic.wrapping.buttons .button:not(.basic) {
2013
+ border-top: @basicGroupBorder;
2014
+ border-right: @basicGroupBorder;
2015
+ &:first-child {
2016
+ border-left: @basicGroupBorder;
2017
+ }
2018
+ }
2019
+ }
2020
+ & when (@variationButtonInverted) {
2021
+ .ui.spaced.basic.inverted.buttons .basic.button {
2022
+ margin-bottom: e(%("calc(%d + %d)", @spacedMargin, @basicColoredBorderSize));
2023
+ margin-top: @basicColoredBorderSize;
2024
+ }
2025
+ }
2026
+ }
1902
2027
  }
1903
2028
 
1904
- .ui.vertical.buttons .button:only-child {
1905
- border-radius: @borderRadius;
2029
+ & when (@variationButtonBasic) {
2030
+ .ui.basic.buttons:not(.vertical).inverted .button,
2031
+ .ui.basic.buttons:not(.vertical) .basic.button {
2032
+ margin-left: -@basicColoredBorderSize;
2033
+ border-right: none;
2034
+ }
2035
+ .ui.basic.buttons:not(.vertical):not(.spaced):not(.inverted) .basic.button {
2036
+ margin-top: -@basicColoredBorderSize;
2037
+ border-bottom: none;
2038
+ }
2039
+ & when (@variationButtonAttached) or (@variationButtonInverted) {
2040
+ .ui.inverted.basic.buttons:not(.spaced) .button,
2041
+ .ui.attached.basic.buttons:not(.wrapping):not(.inverted) .basic.button {
2042
+ margin-bottom: @attachedOffset;
2043
+ }
2044
+ }
2045
+ .ui.basic.buttons:not(.vertical):not(.attached):not(.spaced):not(.wrapping):not(.inverted) .basic.button {
2046
+ margin-bottom: -@basicColoredBorderSize;
2047
+ }
1906
2048
  }
1907
2049
  }
1908
2050
  .loadUIOverrides();