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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (493) hide show
  1. package/.eslintrc.js +111 -0
  2. package/.github/workflows/ci.yml +14 -4
  3. package/.stylelintrc.js +59 -0
  4. package/dist/components/accordion.css +19 -26
  5. package/dist/components/accordion.js +568 -595
  6. package/dist/components/accordion.min.css +1 -1
  7. package/dist/components/accordion.min.js +2 -2
  8. package/dist/components/ad.css +31 -41
  9. package/dist/components/ad.min.css +1 -1
  10. package/dist/components/api.js +1156 -1179
  11. package/dist/components/api.min.js +2 -2
  12. package/dist/components/breadcrumb.css +1 -1
  13. package/dist/components/breadcrumb.min.css +1 -1
  14. package/dist/components/button.css +71 -106
  15. package/dist/components/button.min.css +1 -1
  16. package/dist/components/calendar.css +18 -16
  17. package/dist/components/calendar.js +1902 -1809
  18. package/dist/components/calendar.min.css +2 -2
  19. package/dist/components/calendar.min.js +2 -2
  20. package/dist/components/card.css +83 -115
  21. package/dist/components/card.min.css +1 -1
  22. package/dist/components/checkbox.css +47 -64
  23. package/dist/components/checkbox.js +842 -841
  24. package/dist/components/checkbox.min.css +1 -1
  25. package/dist/components/checkbox.min.js +2 -2
  26. package/dist/components/comment.css +37 -51
  27. package/dist/components/comment.min.css +1 -1
  28. package/dist/components/container.css +6 -5
  29. package/dist/components/container.min.css +2 -2
  30. package/dist/components/dimmer.css +31 -41
  31. package/dist/components/dimmer.js +708 -737
  32. package/dist/components/dimmer.min.css +1 -1
  33. package/dist/components/dimmer.min.js +2 -2
  34. package/dist/components/divider.css +32 -44
  35. package/dist/components/divider.min.css +1 -1
  36. package/dist/components/dropdown.css +129 -166
  37. package/dist/components/dropdown.js +4161 -4234
  38. package/dist/components/dropdown.min.css +2 -2
  39. package/dist/components/dropdown.min.js +2 -2
  40. package/dist/components/embed.css +13 -19
  41. package/dist/components/embed.js +651 -675
  42. package/dist/components/embed.min.css +1 -1
  43. package/dist/components/embed.min.js +2 -2
  44. package/dist/components/emoji.css +7 -6
  45. package/dist/components/feed.css +24 -32
  46. package/dist/components/feed.min.css +1 -1
  47. package/dist/components/flag.css +5 -3
  48. package/dist/components/flag.min.css +1 -1
  49. package/dist/components/flyout.css +44 -58
  50. package/dist/components/flyout.js +1464 -1465
  51. package/dist/components/flyout.min.css +2 -2
  52. package/dist/components/flyout.min.js +2 -2
  53. package/dist/components/form.css +85 -111
  54. package/dist/components/form.js +1979 -2004
  55. package/dist/components/form.min.css +1 -1
  56. package/dist/components/form.min.js +2 -2
  57. package/dist/components/grid.css +70 -96
  58. package/dist/components/grid.min.css +1 -1
  59. package/dist/components/header.css +47 -65
  60. package/dist/components/header.min.css +1 -1
  61. package/dist/components/icon.css +45 -66
  62. package/dist/components/icon.min.css +2 -2
  63. package/dist/components/image.css +32 -42
  64. package/dist/components/image.min.css +1 -1
  65. package/dist/components/input.css +182 -65
  66. package/dist/components/input.min.css +2 -2
  67. package/dist/components/item.css +55 -77
  68. package/dist/components/item.min.css +1 -1
  69. package/dist/components/label.css +68 -91
  70. package/dist/components/label.min.css +2 -2
  71. package/dist/components/list.css +44 -59
  72. package/dist/components/list.min.css +1 -1
  73. package/dist/components/loader.css +16 -22
  74. package/dist/components/loader.min.css +1 -1
  75. package/dist/components/menu.css +126 -186
  76. package/dist/components/message.css +25 -35
  77. package/dist/components/message.min.css +1 -1
  78. package/dist/components/modal.css +39 -40
  79. package/dist/components/modal.js +1491 -1485
  80. package/dist/components/modal.min.css +2 -2
  81. package/dist/components/modal.min.js +2 -2
  82. package/dist/components/nag.css +21 -28
  83. package/dist/components/nag.js +518 -526
  84. package/dist/components/nag.min.css +2 -2
  85. package/dist/components/nag.min.js +2 -2
  86. package/dist/components/placeholder.css +10 -12
  87. package/dist/components/placeholder.min.css +1 -1
  88. package/dist/components/popup.css +352 -59
  89. package/dist/components/popup.js +1437 -1456
  90. package/dist/components/popup.min.css +2 -2
  91. package/dist/components/popup.min.js +2 -2
  92. package/dist/components/progress.css +29 -39
  93. package/dist/components/progress.js +969 -997
  94. package/dist/components/progress.min.css +1 -1
  95. package/dist/components/progress.min.js +2 -2
  96. package/dist/components/rail.css +15 -20
  97. package/dist/components/rail.min.css +1 -1
  98. package/dist/components/rating.css +9 -13
  99. package/dist/components/rating.js +505 -523
  100. package/dist/components/rating.min.css +1 -1
  101. package/dist/components/rating.min.js +2 -2
  102. package/dist/components/reset.css +1 -1
  103. package/dist/components/reset.min.css +1 -1
  104. package/dist/components/reveal.css +19 -26
  105. package/dist/components/reveal.min.css +1 -1
  106. package/dist/components/search.css +43 -58
  107. package/dist/components/search.js +1498 -1534
  108. package/dist/components/search.min.css +2 -2
  109. package/dist/components/search.min.js +2 -2
  110. package/dist/components/segment.css +64 -83
  111. package/dist/components/segment.min.css +2 -2
  112. package/dist/components/shape.css +10 -14
  113. package/dist/components/shape.js +792 -809
  114. package/dist/components/shape.min.css +1 -1
  115. package/dist/components/shape.min.js +2 -2
  116. package/dist/components/sidebar.css +43 -58
  117. package/dist/components/sidebar.js +1071 -1098
  118. package/dist/components/sidebar.min.css +2 -2
  119. package/dist/components/sidebar.min.js +2 -2
  120. package/dist/components/site.css +5 -5
  121. package/dist/components/site.js +462 -476
  122. package/dist/components/site.min.css +1 -1
  123. package/dist/components/site.min.js +2 -2
  124. package/dist/components/slider.css +27 -37
  125. package/dist/components/slider.js +1287 -1306
  126. package/dist/components/slider.min.js +2 -2
  127. package/dist/components/state.js +639 -657
  128. package/dist/components/state.min.js +2 -2
  129. package/dist/components/statistic.css +32 -41
  130. package/dist/components/statistic.min.css +2 -2
  131. package/dist/components/step.css +26 -35
  132. package/dist/components/step.min.css +1 -1
  133. package/dist/components/sticky.css +1 -1
  134. package/dist/components/sticky.js +857 -902
  135. package/dist/components/sticky.min.css +1 -1
  136. package/dist/components/sticky.min.js +2 -2
  137. package/dist/components/tab.css +6 -8
  138. package/dist/components/tab.js +922 -963
  139. package/dist/components/tab.min.css +1 -1
  140. package/dist/components/tab.min.js +2 -2
  141. package/dist/components/table.css +93 -119
  142. package/dist/components/table.min.css +2 -2
  143. package/dist/components/text.css +1 -1
  144. package/dist/components/text.min.css +1 -1
  145. package/dist/components/toast.css +4 -6
  146. package/dist/components/toast.js +886 -887
  147. package/dist/components/toast.min.css +1 -1
  148. package/dist/components/toast.min.js +2 -2
  149. package/dist/components/transition.css +179 -42
  150. package/dist/components/transition.js +1041 -1077
  151. package/dist/components/transition.min.css +2 -2
  152. package/dist/components/transition.min.js +2 -2
  153. package/dist/components/visibility.js +1220 -1244
  154. package/dist/components/visibility.min.js +2 -2
  155. package/dist/semantic.css +2558 -1807
  156. package/dist/semantic.js +28960 -29413
  157. package/dist/semantic.min.css +2 -2
  158. package/dist/semantic.min.js +2 -2
  159. package/dist/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  160. package/dist/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  161. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  162. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  163. package/dist/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  164. package/dist/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  165. package/dist/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  166. package/dist/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  167. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  168. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  169. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  170. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  171. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  172. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  173. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  174. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  175. package/examples/assets/show-examples.js +13 -13
  176. package/gulpfile.js +9 -10
  177. package/package.json +13 -8
  178. package/scripts/nightly-version.js +81 -75
  179. package/src/_site/collections/menu.overrides +1 -1
  180. package/src/_site/elements/flag.variables +2 -2
  181. package/src/_site/globals/site.variables +1 -1
  182. package/src/definitions/behaviors/api.js +1157 -1180
  183. package/src/definitions/behaviors/form.js +1978 -2003
  184. package/src/definitions/behaviors/state.js +645 -663
  185. package/src/definitions/behaviors/visibility.js +1219 -1243
  186. package/src/definitions/collections/breadcrumb.less +41 -45
  187. package/src/definitions/collections/form.less +864 -882
  188. package/src/definitions/collections/grid.less +1689 -1697
  189. package/src/definitions/collections/menu.less +1490 -1508
  190. package/src/definitions/collections/message.less +292 -295
  191. package/src/definitions/collections/table.less +1616 -1620
  192. package/src/definitions/elements/button.less +1710 -1754
  193. package/src/definitions/elements/container.less +209 -209
  194. package/src/definitions/elements/divider.less +200 -209
  195. package/src/definitions/elements/emoji.less +38 -45
  196. package/src/definitions/elements/flag.less +44 -46
  197. package/src/definitions/elements/header.less +337 -345
  198. package/src/definitions/elements/icon.less +516 -451
  199. package/src/definitions/elements/image.less +219 -225
  200. package/src/definitions/elements/input.less +657 -663
  201. package/src/definitions/elements/label.less +783 -804
  202. package/src/definitions/elements/list.less +808 -812
  203. package/src/definitions/elements/loader.less +269 -266
  204. package/src/definitions/elements/placeholder.less +171 -168
  205. package/src/definitions/elements/rail.less +91 -91
  206. package/src/definitions/elements/reveal.less +190 -196
  207. package/src/definitions/elements/segment.less +738 -747
  208. package/src/definitions/elements/step.less +424 -435
  209. package/src/definitions/elements/text.less +32 -34
  210. package/src/definitions/globals/reset.less +9 -6
  211. package/src/definitions/globals/site.js +461 -475
  212. package/src/definitions/globals/site.less +106 -108
  213. package/src/definitions/modules/accordion.js +567 -594
  214. package/src/definitions/modules/accordion.less +242 -246
  215. package/src/definitions/modules/calendar.js +1901 -1808
  216. package/src/definitions/modules/calendar.less +98 -95
  217. package/src/definitions/modules/checkbox.js +841 -840
  218. package/src/definitions/modules/checkbox.less +524 -545
  219. package/src/definitions/modules/dimmer.js +707 -736
  220. package/src/definitions/modules/dimmer.less +300 -303
  221. package/src/definitions/modules/dropdown.js +4160 -4233
  222. package/src/definitions/modules/dropdown.less +1570 -1596
  223. package/src/definitions/modules/embed.js +650 -674
  224. package/src/definitions/modules/embed.less +80 -82
  225. package/src/definitions/modules/flyout.js +1463 -1464
  226. package/src/definitions/modules/flyout.less +444 -454
  227. package/src/definitions/modules/modal.js +1490 -1484
  228. package/src/definitions/modules/modal.less +459 -465
  229. package/src/definitions/modules/nag.js +517 -525
  230. package/src/definitions/modules/nag.less +134 -147
  231. package/src/definitions/modules/popup.js +1436 -1455
  232. package/src/definitions/modules/popup.less +733 -690
  233. package/src/definitions/modules/progress.js +968 -996
  234. package/src/definitions/modules/progress.less +521 -497
  235. package/src/definitions/modules/rating.js +504 -522
  236. package/src/definitions/modules/rating.less +94 -101
  237. package/src/definitions/modules/search.js +1497 -1533
  238. package/src/definitions/modules/search.less +373 -392
  239. package/src/definitions/modules/shape.js +791 -808
  240. package/src/definitions/modules/shape.less +68 -77
  241. package/src/definitions/modules/sidebar.js +1070 -1097
  242. package/src/definitions/modules/sidebar.less +462 -474
  243. package/src/definitions/modules/slider.js +1286 -1305
  244. package/src/definitions/modules/slider.less +307 -308
  245. package/src/definitions/modules/sticky.js +873 -918
  246. package/src/definitions/modules/sticky.less +22 -23
  247. package/src/definitions/modules/tab.js +921 -962
  248. package/src/definitions/modules/tab.less +46 -52
  249. package/src/definitions/modules/toast.js +885 -886
  250. package/src/definitions/modules/toast.less +584 -586
  251. package/src/definitions/modules/transition.js +1040 -1076
  252. package/src/definitions/modules/transition.less +62 -28
  253. package/src/definitions/views/ad.less +205 -206
  254. package/src/definitions/views/card.less +963 -969
  255. package/src/definitions/views/comment.less +190 -198
  256. package/src/definitions/views/feed.less +220 -224
  257. package/src/definitions/views/item.less +435 -446
  258. package/src/definitions/views/statistic.less +271 -277
  259. package/src/theme.less +29 -32
  260. package/src/themes/amazon/elements/button.overrides +23 -24
  261. package/src/themes/amazon/elements/button.variables +11 -11
  262. package/src/themes/amazon/globals/site.variables +2 -3
  263. package/src/themes/basic/collections/table.overrides +0 -1
  264. package/src/themes/basic/collections/table.variables +3 -3
  265. package/src/themes/basic/elements/button.overrides +0 -1
  266. package/src/themes/basic/elements/button.variables +2 -2
  267. package/src/themes/basic/elements/icon.overrides +12 -13
  268. package/src/themes/basic/elements/icon.variables +13 -13
  269. package/src/themes/basic/elements/step.overrides +2 -2
  270. package/src/themes/basic/elements/step.variables +2 -2
  271. package/src/themes/basic/globals/reset.overrides +1 -1
  272. package/src/themes/basic/globals/reset.variables +1 -1
  273. package/src/themes/basic/views/card.overrides +0 -1
  274. package/src/themes/basic/views/card.variables +3 -3
  275. package/src/themes/bookish/elements/header.overrides +3 -3
  276. package/src/themes/bookish/elements/header.variables +2 -2
  277. package/src/themes/bootstrap3/elements/button.variables +7 -8
  278. package/src/themes/chubby/collections/form.overrides +9 -9
  279. package/src/themes/chubby/collections/form.variables +3 -3
  280. package/src/themes/chubby/collections/menu.variables +1 -1
  281. package/src/themes/chubby/elements/button.overrides +7 -9
  282. package/src/themes/chubby/elements/button.variables +2 -2
  283. package/src/themes/chubby/elements/header.variables +3 -3
  284. package/src/themes/chubby/modules/accordion.overrides +2 -2
  285. package/src/themes/chubby/modules/accordion.variables +3 -3
  286. package/src/themes/chubby/views/comment.overrides +5 -5
  287. package/src/themes/chubby/views/comment.variables +4 -4
  288. package/src/themes/classic/collections/table.variables +2 -2
  289. package/src/themes/classic/elements/button.variables +20 -21
  290. package/src/themes/classic/elements/header.variables +3 -3
  291. package/src/themes/classic/modules/progress.variables +1 -1
  292. package/src/themes/classic/views/card.overrides +14 -14
  293. package/src/themes/classic/views/card.variables +4 -4
  294. package/src/themes/colored/modules/checkbox.variables +1 -1
  295. package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  296. package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  297. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  298. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  299. package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  300. package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  301. package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  302. package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  303. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  304. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  305. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  306. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  307. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  308. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  309. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  310. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  311. package/src/themes/default/collections/breadcrumb.variables +4 -4
  312. package/src/themes/default/collections/form.variables +12 -12
  313. package/src/themes/default/collections/grid.overrides +0 -1
  314. package/src/themes/default/collections/grid.variables +14 -16
  315. package/src/themes/default/collections/menu.variables +19 -31
  316. package/src/themes/default/collections/message.variables +83 -84
  317. package/src/themes/default/collections/table.variables +16 -18
  318. package/src/themes/default/elements/button.variables +30 -31
  319. package/src/themes/default/elements/container.variables +4 -12
  320. package/src/themes/default/elements/divider.overrides +8 -9
  321. package/src/themes/default/elements/divider.variables +4 -5
  322. package/src/themes/default/elements/emoji.overrides +0 -1
  323. package/src/themes/default/elements/emoji.variables +3555 -3555
  324. package/src/themes/default/elements/flag.variables +1594 -1594
  325. package/src/themes/default/elements/header.overrides +0 -1
  326. package/src/themes/default/elements/header.variables +16 -16
  327. package/src/themes/default/elements/icon.variables +2017 -2001
  328. package/src/themes/default/elements/image.variables +6 -7
  329. package/src/themes/default/elements/input.variables +10 -10
  330. package/src/themes/default/elements/label.variables +19 -20
  331. package/src/themes/default/elements/list.variables +16 -16
  332. package/src/themes/default/elements/loader.variables +15 -16
  333. package/src/themes/default/elements/placeholder.variables +6 -7
  334. package/src/themes/default/elements/rail.variables +4 -5
  335. package/src/themes/default/elements/segment.variables +18 -29
  336. package/src/themes/default/elements/step.overrides +4 -4
  337. package/src/themes/default/elements/step.variables +14 -16
  338. package/src/themes/default/elements/text.variables +2 -3
  339. package/src/themes/default/globals/colors.less +588 -588
  340. package/src/themes/default/globals/reset.overrides +57 -57
  341. package/src/themes/default/globals/reset.variables +1 -1
  342. package/src/themes/default/globals/site.variables +869 -875
  343. package/src/themes/default/globals/variation.variables +13 -4
  344. package/src/themes/default/modules/accordion.overrides +11 -11
  345. package/src/themes/default/modules/accordion.variables +14 -15
  346. package/src/themes/default/modules/calendar.variables +2 -0
  347. package/src/themes/default/modules/chatroom.variables +1 -1
  348. package/src/themes/default/modules/checkbox.overrides +6 -7
  349. package/src/themes/default/modules/checkbox.variables +17 -22
  350. package/src/themes/default/modules/dimmer.variables +7 -8
  351. package/src/themes/default/modules/dropdown.overrides +17 -17
  352. package/src/themes/default/modules/dropdown.variables +20 -21
  353. package/src/themes/default/modules/embed.variables +9 -10
  354. package/src/themes/default/modules/flyout.variables +6 -6
  355. package/src/themes/default/modules/modal.variables +18 -18
  356. package/src/themes/default/modules/nag.variables +11 -14
  357. package/src/themes/default/modules/popup.variables +14 -13
  358. package/src/themes/default/modules/progress.variables +10 -11
  359. package/src/themes/default/modules/rating.variables +10 -11
  360. package/src/themes/default/modules/search.variables +9 -11
  361. package/src/themes/default/modules/shape.variables +6 -6
  362. package/src/themes/default/modules/sidebar.variables +4 -4
  363. package/src/themes/default/modules/slider.variables +48 -49
  364. package/src/themes/default/modules/sticky.variables +1 -1
  365. package/src/themes/default/modules/toast.variables +1 -1
  366. package/src/themes/default/modules/transition.overrides +936 -915
  367. package/src/themes/default/modules/transition.variables +8 -1
  368. package/src/themes/default/views/card.variables +20 -22
  369. package/src/themes/default/views/comment.variables +6 -8
  370. package/src/themes/default/views/feed.variables +6 -6
  371. package/src/themes/default/views/item.variables +6 -9
  372. package/src/themes/default/views/statistic.variables +8 -8
  373. package/src/themes/duo/elements/loader.variables +1 -1
  374. package/src/themes/famfamfam/elements/flag.overrides +263 -268
  375. package/src/themes/famfamfam/elements/flag.variables +3 -3
  376. package/src/themes/fixed-width/collections/grid.variables +1 -1
  377. package/src/themes/fixed-width/modules/modal.variables +3 -5
  378. package/src/themes/flat/collections/form.overrides +9 -9
  379. package/src/themes/flat/collections/form.variables +4 -5
  380. package/src/themes/flat/globals/site.variables +61 -66
  381. package/src/themes/github/collections/breadcrumb.variables +0 -1
  382. package/src/themes/github/collections/form.overrides +7 -8
  383. package/src/themes/github/collections/form.variables +12 -13
  384. package/src/themes/github/collections/grid.variables +1 -2
  385. package/src/themes/github/collections/menu.overrides +2 -2
  386. package/src/themes/github/collections/menu.variables +11 -12
  387. package/src/themes/github/collections/message.overrides +3 -3
  388. package/src/themes/github/collections/message.variables +5 -5
  389. package/src/themes/github/collections/table.variables +1 -1
  390. package/src/themes/github/elements/button.overrides +0 -1
  391. package/src/themes/github/elements/button.variables +14 -14
  392. package/src/themes/github/elements/header.variables +2 -2
  393. package/src/themes/github/elements/icon.overrides +179 -179
  394. package/src/themes/github/elements/icon.variables +10 -10
  395. package/src/themes/github/elements/image.variables +1 -1
  396. package/src/themes/github/elements/input.overrides +16 -16
  397. package/src/themes/github/elements/input.variables +3 -3
  398. package/src/themes/github/elements/label.overrides +3 -3
  399. package/src/themes/github/elements/label.variables +0 -1
  400. package/src/themes/github/elements/segment.variables +2 -3
  401. package/src/themes/github/elements/step.overrides +13 -13
  402. package/src/themes/github/elements/step.variables +2 -2
  403. package/src/themes/github/globals/site.variables +2 -2
  404. package/src/themes/github/modules/dropdown.overrides +18 -19
  405. package/src/themes/github/modules/dropdown.variables +1 -1
  406. package/src/themes/github/modules/popup.variables +0 -2
  407. package/src/themes/instagram/views/card.overrides +3 -4
  408. package/src/themes/instagram/views/card.variables +3 -4
  409. package/src/themes/joypixels/elements/emoji.overrides +0 -2
  410. package/src/themes/joypixels/elements/emoji.variables +3554 -3554
  411. package/src/themes/material/collections/menu.variables +1 -1
  412. package/src/themes/material/elements/button.overrides +6 -8
  413. package/src/themes/material/elements/button.variables +28 -28
  414. package/src/themes/material/elements/header.overrides +2 -2
  415. package/src/themes/material/elements/header.variables +2 -4
  416. package/src/themes/material/elements/icon.overrides +932 -932
  417. package/src/themes/material/elements/icon.variables +11 -11
  418. package/src/themes/material/globals/site.variables +78 -79
  419. package/src/themes/material/modules/dropdown.overrides +1 -1
  420. package/src/themes/material/modules/dropdown.variables +1 -1
  421. package/src/themes/material/modules/modal.overrides +2 -2
  422. package/src/themes/material/modules/modal.variables +1 -2
  423. package/src/themes/pulsar/elements/loader.overrides +58 -58
  424. package/src/themes/raised/elements/button.variables +8 -8
  425. package/src/themes/resetcss/globals/reset.overrides +115 -33
  426. package/src/themes/resetcss/globals/reset.variables +1 -1
  427. package/src/themes/round/elements/button.variables +11 -14
  428. package/src/themes/rtl/globals/site.variables +5 -6
  429. package/src/themes/striped/modules/progress.overrides +20 -16
  430. package/src/themes/systemfont/globals/reset.overrides +1 -1
  431. package/src/themes/systemfont/globals/site.variables +5 -5
  432. package/src/themes/timeline/views/feed.overrides +12 -12
  433. package/src/themes/timeline/views/feed.variables +4 -4
  434. package/src/themes/twitter/elements/button.overrides +4 -5
  435. package/src/themes/twitter/elements/button.variables +6 -7
  436. package/src/themes/twitter/elements/emoji.variables +3555 -3555
  437. package/tasks/admin/components/create.js +274 -276
  438. package/tasks/admin/components/init.js +123 -130
  439. package/tasks/admin/components/update.js +149 -157
  440. package/tasks/admin/distributions/create.js +184 -187
  441. package/tasks/admin/distributions/init.js +123 -130
  442. package/tasks/admin/distributions/update.js +145 -152
  443. package/tasks/admin/publish.js +5 -7
  444. package/tasks/admin/register.js +36 -38
  445. package/tasks/admin/release.js +8 -10
  446. package/tasks/build/assets.js +42 -39
  447. package/tasks/build/css.js +225 -216
  448. package/tasks/build/javascript.js +118 -113
  449. package/tasks/build.js +10 -10
  450. package/tasks/check-install.js +14 -16
  451. package/tasks/clean.js +5 -5
  452. package/tasks/collections/admin.js +34 -36
  453. package/tasks/collections/build.js +18 -20
  454. package/tasks/collections/docs.js +9 -11
  455. package/tasks/collections/install.js +9 -11
  456. package/tasks/collections/rtl.js +9 -11
  457. package/tasks/collections/various.js +8 -10
  458. package/tasks/config/admin/github.js +17 -17
  459. package/tasks/config/admin/oauth.example.js +4 -4
  460. package/tasks/config/admin/release.js +98 -98
  461. package/tasks/config/admin/templates/component-package.js +9 -10
  462. package/tasks/config/admin/templates/css-package.js +18 -20
  463. package/tasks/config/admin/templates/less-package.js +11 -13
  464. package/tasks/config/defaults.js +116 -114
  465. package/tasks/config/docs.js +23 -23
  466. package/tasks/config/npm/gulpfile.js +8 -9
  467. package/tasks/config/project/config.js +127 -134
  468. package/tasks/config/project/install.js +715 -713
  469. package/tasks/config/project/release.js +32 -38
  470. package/tasks/config/tasks.js +165 -156
  471. package/tasks/config/user.js +23 -26
  472. package/tasks/docs/build.js +97 -95
  473. package/tasks/docs/metadata.js +90 -96
  474. package/tasks/docs/serve.js +80 -81
  475. package/tasks/install.js +370 -378
  476. package/tasks/rtl/build.js +2 -2
  477. package/tasks/rtl/watch.js +2 -2
  478. package/tasks/version.js +4 -4
  479. package/tasks/watch.js +28 -30
  480. package/test/meteor/assets.js +10 -13
  481. package/test/meteor/fonts.js +12 -13
  482. package/test/modules/accordion.spec.js +6 -8
  483. package/test/modules/checkbox.spec.js +5 -7
  484. package/test/modules/dropdown.spec.js +5 -7
  485. package/test/modules/modal.spec.js +6 -8
  486. package/test/modules/module.spec.js +158 -178
  487. package/test/modules/popup.spec.js +5 -7
  488. package/test/modules/search.spec.js +5 -7
  489. package/test/modules/shape.spec.js +5 -7
  490. package/test/modules/sidebar.spec.js +5 -7
  491. package/test/modules/tab.spec.js +6 -8
  492. package/test/modules/transition.spec.js +5 -7
  493. package/test/modules/video.spec.js +5 -7
@@ -8,12 +8,11 @@
8
8
  *
9
9
  */
10
10
 
11
-
12
11
  /*******************************
13
12
  Theme
14
13
  *******************************/
15
14
 
16
- @type : 'element';
15
+ @type : 'element';
17
16
  @element : 'label';
18
17
 
19
18
  @import (multiple) '../../theme.config';
@@ -23,1014 +22,994 @@
23
22
  *******************************/
24
23
 
25
24
  .ui.label {
26
- display: inline-block;
27
- line-height: 1;
28
- vertical-align: @verticalAlign;
29
-
30
- margin: @verticalMargin @horizontalMargin;
31
-
32
- background-color: @backgroundColor;
33
- background-image: @backgroundImage;
34
- padding: @verticalPadding @horizontalPadding;
35
- color: @color;
36
-
37
- text-transform: @textTransform;
38
- font-weight: @fontWeight;
39
-
40
- border: @border;
41
- border-radius: @borderRadius;
42
- transition: @transition;
25
+ display: inline-block;
26
+ line-height: 1;
27
+ vertical-align: @verticalAlign;
28
+ margin: @verticalMargin @horizontalMargin;
29
+ background-color: @backgroundColor;
30
+ background-image: @backgroundImage;
31
+ padding: @verticalPadding @horizontalPadding;
32
+ color: @color;
33
+ text-transform: @textTransform;
34
+ font-weight: @fontWeight;
35
+ border: @border;
36
+ border-radius: @borderRadius;
37
+ transition: @transition;
43
38
  }
44
39
 
45
40
  .ui.label:first-child {
46
- margin-left: 0;
41
+ margin-left: 0;
47
42
  }
48
43
  .ui.label:last-child {
49
- margin-right: 0;
44
+ margin-right: 0;
50
45
  }
51
46
 
52
47
  /* Link */
53
48
  a.ui.label {
54
- cursor: pointer;
49
+ cursor: pointer;
55
50
  }
56
51
 
57
52
  /* Inside Link */
58
53
  .ui.label > a {
59
- cursor: pointer;
60
- color: inherit;
61
- opacity: @linkOpacity;
62
- transition: @linkTransition;
54
+ cursor: pointer;
55
+ color: inherit;
56
+ opacity: @linkOpacity;
57
+ transition: @linkTransition;
63
58
  }
64
59
  .ui.label > a:hover {
65
- opacity: 1;
60
+ opacity: 1;
66
61
  }
67
62
 
68
63
  /* Image */
69
64
  .ui.label > img {
70
- width: auto !important;
71
- vertical-align: middle;
72
- height: @imageHeight;
65
+ width: auto !important;
66
+ vertical-align: middle;
67
+ height: @imageHeight;
73
68
  }
74
69
 
75
70
  /* Icon */
76
71
  .ui.ui[class*="left icon"].label > .icon,
77
72
  .ui.label > .icon {
78
- width: auto;
79
- margin: 0 @iconDistance 0 0;
73
+ width: auto;
74
+ margin: 0 @iconDistance 0 0;
80
75
  }
81
76
 
82
77
  /* Detail */
83
78
  .ui.label > .detail {
84
- display: inline-block;
85
- vertical-align: top;
86
- font-weight: @detailFontWeight;
87
- margin-left: @detailMargin;
88
- opacity: @detailOpacity;
79
+ display: inline-block;
80
+ vertical-align: top;
81
+ font-weight: @detailFontWeight;
82
+ margin-left: @detailMargin;
83
+ opacity: @detailOpacity;
89
84
  }
90
85
  .ui.label > .detail .icon {
91
- margin: 0 @detailIconDistance 0 0;
86
+ margin: 0 @detailIconDistance 0 0;
92
87
  }
93
88
 
94
89
  /* Removable label */
95
90
  .ui.label > .close.icon,
96
91
  .ui.label > .delete.icon {
97
- cursor: pointer;
98
- font-size: @deleteSize;
99
- opacity: @deleteOpacity;
100
- transition: @deleteTransition;
92
+ cursor: pointer;
93
+ font-size: @deleteSize;
94
+ opacity: @deleteOpacity;
95
+ transition: @deleteTransition;
101
96
  }
102
97
  .ui.label > .close.icon:hover,
103
98
  .ui.label > .delete.icon:hover {
104
- opacity: 1;
99
+ opacity: 1;
105
100
  }
106
101
 
107
102
  /* Backward compatible positioning */
108
103
  .ui.label[class*="left icon"] > .close.icon,
109
104
  .ui.label[class*="left icon"] > .delete.icon {
110
- margin: 0 @deleteMargin 0 0;
111
- &.right {
112
- margin: 0 0 0 @deleteMargin;
113
- }
105
+ margin: 0 @deleteMargin 0 0;
106
+ &.right {
107
+ margin: 0 0 0 @deleteMargin;
108
+ }
114
109
  }
115
110
  .ui.label:not(.icon) > .close.icon,
116
111
  .ui.label:not(.icon) > .delete.icon {
117
- margin: 0 0 0 @deleteMargin;
112
+ margin: 0 0 0 @deleteMargin;
118
113
  }
119
114
 
120
115
  /* Label for only an icon */
121
116
  .ui.icon.label > .icon {
122
- margin: 0 auto;
117
+ margin: 0 auto;
123
118
  }
124
119
 
125
120
  /* Right Side Icon */
126
121
  .ui[class*="right icon"].label > .icon {
127
- margin: 0 0 0 @iconDistance;
122
+ margin: 0 0 0 @iconDistance;
128
123
  }
129
124
 
130
- /*-------------------
125
+ /* -------------------
131
126
  Group
132
- --------------------*/
127
+ -------------------- */
133
128
 
134
129
  .ui.labels > .label {
135
- margin: 0 @groupHorizontalMargin @groupVerticalMargin 0;
130
+ margin: 0 @groupHorizontalMargin @groupVerticalMargin 0;
136
131
  }
137
132
 
138
-
139
- /*-------------------
133
+ /* -------------------
140
134
  Coupling
141
- --------------------*/
135
+ -------------------- */
142
136
 
143
137
  .ui.header > .ui.label {
144
- margin-top: @lineHeightOffset;
138
+ margin-top: @lineHeightOffset;
145
139
  }
146
140
 
147
-
148
141
  /* Remove border radius on attached segment */
149
142
  .ui.attached.segment > .ui.top.left.attached.label,
150
- .ui.bottom.attached.segment > .ui.top.left.attached.label {
151
- border-top-left-radius: 0;
143
+ .ui.bottom.attached.segment > .ui.top.left.attached.label {
144
+ border-top-left-radius: 0;
152
145
  }
153
146
  .ui.attached.segment > .ui.top.right.attached.label,
154
- .ui.bottom.attached.segment > .ui.top.right.attached.label {
155
- border-top-right-radius: 0;
147
+ .ui.bottom.attached.segment > .ui.top.right.attached.label {
148
+ border-top-right-radius: 0;
156
149
  }
157
- .ui.top.attached.segment > .ui.bottom.left.attached.label {
158
- border-bottom-left-radius: 0;
150
+ .ui.top.attached.segment > .ui.bottom.left.attached.label {
151
+ border-bottom-left-radius: 0;
159
152
  }
160
- .ui.top.attached.segment > .ui.bottom.right.attached.label {
161
- border-bottom-right-radius: 0;
153
+ .ui.top.attached.segment > .ui.bottom.right.attached.label {
154
+ border-bottom-right-radius: 0;
162
155
  }
163
156
 
164
157
  /* Padding on next content after a label */
165
158
  .ui.top.attached.label ~ .ui.bottom.attached.label + :not(.attached),
166
159
  .ui.top.attached.label + :not(.attached) {
167
- margin-top: @attachedSegmentPadding !important;
160
+ margin-top: @attachedSegmentPadding !important;
168
161
  }
169
162
  .ui.bottom.attached.label ~ :last-child:not(.attached) {
170
- margin-top:0;
171
- margin-bottom: @attachedSegmentPadding !important;
163
+ margin-top: 0;
164
+ margin-bottom: @attachedSegmentPadding !important;
172
165
  }
173
166
 
174
167
  .ui.segment:not(.basic) > .ui.top.attached.label {
175
- margin-top: @attachedOffset;
168
+ margin-top: @attachedOffset;
176
169
  }
177
170
  .ui.segment:not(.basic) > .ui.bottom.attached.label {
178
- margin-bottom: @attachedOffset;
171
+ margin-bottom: @attachedOffset;
179
172
  }
180
173
  .ui.segment:not(.basic) > .ui.attached.label:not(.right) {
181
- margin-left: @attachedOffset;
174
+ margin-left: @attachedOffset;
182
175
  }
183
176
  .ui.segment:not(.basic) > .ui.right.attached.label {
184
- margin-right: @attachedOffset;
177
+ margin-right: @attachedOffset;
185
178
  }
186
179
  .ui.segment:not(.basic) > .ui.attached.label:not(.left):not(.right) {
187
- width: @attachedWidthOffset;
180
+ width: @attachedWidthOffset;
188
181
  }
189
182
 
190
-
191
-
192
183
  /*******************************
193
184
  Types
194
185
  *******************************/
195
186
  & when (@variationLabelImage) {
196
- .ui.image.label {
197
- width: auto;
198
- margin-top: 0;
199
- margin-bottom: 0;
200
- max-width: 9999px;
201
- vertical-align: baseline;
202
- text-transform: none;
203
-
204
- background: @imageLabelBackground;
205
- padding: @imageLabelPadding;
206
- border-radius: @imageLabelBorderRadius;
207
- box-shadow: @imageLabelBoxShadow;
208
- &.attached:not(.basic) when (@variationLabelAttached) {
209
- padding: @imageLabelPadding;
187
+ .ui.image.label {
188
+ width: auto;
189
+ margin-top: 0;
190
+ margin-bottom: 0;
191
+ max-width: 9999px;
192
+ vertical-align: baseline;
193
+ text-transform: none;
194
+ background: @imageLabelBackground;
195
+ padding: @imageLabelPadding;
196
+ border-radius: @imageLabelBorderRadius;
197
+ box-shadow: @imageLabelBoxShadow;
198
+ &.attached:not(.basic) when (@variationLabelAttached) {
199
+ padding: @imageLabelPadding;
200
+ }
210
201
  }
211
- }
212
202
 
213
- .ui.image.label img {
214
- display: inline-block;
215
- vertical-align: top;
216
-
217
- height: @imageLabelImageHeight;
218
- margin: @imageLabelImageMargin;
219
- border-radius: @imageLabelImageBorderRadius;
220
- }
203
+ .ui.image.label img {
204
+ display: inline-block;
205
+ vertical-align: top;
206
+ height: @imageLabelImageHeight;
207
+ margin: @imageLabelImageMargin;
208
+ border-radius: @imageLabelImageBorderRadius;
209
+ }
221
210
 
222
- .ui.image.label .detail {
223
- background: @imageLabelDetailBackground;
224
- margin: @imageLabelDetailMargin;
225
- padding: @imageLabelDetailPadding;
226
- border-radius: 0 @imageLabelBorderRadius @imageLabelBorderRadius 0;
227
- }
228
- & when (@variationLabelAttached) {
229
- .ui.bottom.attached.image.label:not(.right) > img,
230
- .ui.top.right.attached.image.label > img {
231
- border-top-left-radius: 0;
211
+ .ui.image.label .detail {
212
+ background: @imageLabelDetailBackground;
213
+ margin: @imageLabelDetailMargin;
214
+ padding: @imageLabelDetailPadding;
215
+ border-radius: 0 @imageLabelBorderRadius @imageLabelBorderRadius 0;
232
216
  }
217
+ & when (@variationLabelAttached) {
218
+ .ui.bottom.attached.image.label:not(.right) > img,
219
+ .ui.top.right.attached.image.label > img {
220
+ border-top-left-radius: 0;
221
+ }
233
222
 
234
- .ui.top.attached.image.label:not(.right) > img,
235
- .ui.bottom.right.attached.image.label > img {
236
- border-bottom-left-radius: 0;
223
+ .ui.top.attached.image.label:not(.right) > img,
224
+ .ui.bottom.right.attached.image.label > img {
225
+ border-bottom-left-radius: 0;
226
+ }
237
227
  }
238
- }
239
228
  }
240
229
 
241
230
  & when (@variationLabelTag) {
242
- /*-------------------
243
- Tag
244
- --------------------*/
245
-
246
- .ui.tag.labels .label,
247
- .ui.tag.label {
248
- margin-left: 1em;
249
- position: relative;
250
- padding-left: @tagHorizontalPadding;
251
- padding-right: @tagHorizontalPadding;
252
-
253
- border-radius: 0 @borderRadius @borderRadius 0;
254
- transition: @tagTransition;
255
- }
256
- .ui.tag.labels .label::before,
257
- .ui.tag.label::before {
258
- position: absolute;
259
- transform: translateY(-50%) translateX(50%) rotate(-45deg);
260
-
261
- top: @tagTriangleTopOffset;
262
- right: @tagTriangleRightOffset;
263
- content: '';
264
-
265
- background-color: inherit;
266
- background-image: @tagTriangleBackgroundImage;
267
-
268
- width: @tagTriangleSize;
269
- height: @tagTriangleSize;
270
- transition: @tagTransition;
271
- }
272
-
273
-
274
- .ui.tag.labels .label::after,
275
- .ui.tag.label::after {
276
- position: absolute;
277
- content: '';
278
- top: 50%;
279
- left: -(@tagCircleSize / 2);
280
-
281
- margin-top: -(@tagCircleSize / 2);
282
- background-color: @tagCircleColor;
283
- width: @tagCircleSize;
284
- height: @tagCircleSize;
285
-
286
- box-shadow: @tagCircleBoxShadow;
287
- border-radius: @circularRadius;
288
- }
289
- & when (@variationLabelBasic) {
290
- .ui.basic.tag.labels .label::before,
291
- .ui.basic.tag.label::before {
292
- border-color: inherit;
293
- border-width: @basicBorderWidth 0 0 @basicBorderWidth;
294
- border-style: inherit;
295
- right: @basicBorderFullWidthOffset;
296
- }
297
- .ui.basic.tag.labels .label::after,
298
- .ui.basic.tag.label::after {
299
- box-shadow: @basicTagCircleBoxShadow;
300
- }
301
- }
231
+ /* -------------------
232
+ Tag
233
+ -------------------- */
234
+
235
+ .ui.tag.labels .label,
236
+ .ui.tag.label {
237
+ margin-left: 1em;
238
+ position: relative;
239
+ padding-left: @tagHorizontalPadding;
240
+ padding-right: @tagHorizontalPadding;
241
+ border-radius: 0 @borderRadius @borderRadius 0;
242
+ transition: @tagTransition;
243
+ }
244
+ .ui.tag.labels .label::before,
245
+ .ui.tag.label::before {
246
+ position: absolute;
247
+ transform: translateY(-50%) translateX(50%) rotate(-45deg);
248
+ top: @tagTriangleTopOffset;
249
+ right: @tagTriangleRightOffset;
250
+ content: '';
251
+ background-color: inherit;
252
+ background-image: @tagTriangleBackgroundImage;
253
+ width: @tagTriangleSize;
254
+ height: @tagTriangleSize;
255
+ transition: @tagTransition;
256
+ }
257
+
258
+ .ui.tag.labels .label::after,
259
+ .ui.tag.label::after {
260
+ position: absolute;
261
+ content: '';
262
+ top: 50%;
263
+ left: -(@tagCircleSize / 2);
264
+ margin-top: -(@tagCircleSize / 2);
265
+ background-color: @tagCircleColor;
266
+ width: @tagCircleSize;
267
+ height: @tagCircleSize;
268
+ box-shadow: @tagCircleBoxShadow;
269
+ border-radius: @circularRadius;
270
+ }
271
+ & when (@variationLabelBasic) {
272
+ .ui.basic.tag.labels .label::before,
273
+ .ui.basic.tag.label::before {
274
+ border-color: inherit;
275
+ border-width: @basicBorderWidth 0 0 @basicBorderWidth;
276
+ border-style: inherit;
277
+ right: @basicBorderFullWidthOffset;
278
+ }
279
+ .ui.basic.tag.labels .label::after,
280
+ .ui.basic.tag.label::after {
281
+ box-shadow: @basicTagCircleBoxShadow;
282
+ }
283
+ }
302
284
  }
303
285
 
304
286
  & when (@variationLabelCorner) {
305
- /*-------------------
306
- Corner Label
307
- --------------------*/
308
-
309
- .ui.corner.label {
310
- position: absolute;
311
- top: 0;
312
- right: 0;
313
- margin: 0;
314
- padding: 0;
315
- text-align: center;
287
+ /* -------------------
288
+ Corner Label
289
+ -------------------- */
290
+
291
+ .ui.corner.label {
292
+ position: absolute;
293
+ top: 0;
294
+ right: 0;
295
+ margin: 0;
296
+ padding: 0;
297
+ text-align: center;
298
+ border-color: @backgroundColor;
299
+ width: @cornerTriangleSize;
300
+ height: @cornerTriangleSize;
301
+ z-index: @cornerTriangleZIndex;
302
+ transition: @cornerTriangleTransition;
303
+ }
304
+
305
+ /* Icon Label */
306
+ .ui.corner.label {
307
+ background-color: transparent !important;
308
+ }
309
+ .ui.corner.label::after {
310
+ position: absolute;
311
+ content: "";
312
+ right: 0;
313
+ top: 0;
314
+ z-index: -1;
315
+ width: 0;
316
+ height: 0;
317
+ background-color: transparent;
318
+ border-top: 0 solid transparent;
319
+ border-right: @cornerTriangleSize solid transparent;
320
+ border-bottom: @cornerTriangleSize solid transparent;
321
+ border-left: 0 solid transparent;
322
+ border-right-color: inherit;
323
+ transition: @cornerTriangleTransition;
324
+ }
325
+
326
+ .ui.corner.label .icon {
327
+ cursor: inherit;
328
+ position: absolute;
329
+ top: @cornerIconTopOffset;
330
+ left: auto;
331
+ right: @cornerIconRightOffset;
332
+ font-size: @cornerIconSize;
333
+ margin: 0;
334
+ }
335
+
336
+ /* Left Corner */
337
+ .ui.left.corner.label,
338
+ .ui.left.corner.label::after {
339
+ right: auto;
340
+ left: 0;
341
+ }
342
+ .ui.left.corner.label::after {
343
+ border-top: @cornerTriangleSize solid transparent;
344
+ border-right: @cornerTriangleSize solid transparent;
345
+ border-bottom: 0 solid transparent;
346
+ border-left: 0 solid transparent;
347
+ border-top-color: inherit;
348
+ }
349
+ .ui.left.corner.label .icon {
350
+ left: @cornerIconLeftOffset;
351
+ right: auto;
352
+ }
316
353
 
317
- border-color: @backgroundColor;
318
-
319
- width: @cornerTriangleSize;
320
- height: @cornerTriangleSize;
321
- z-index: @cornerTriangleZIndex;
322
- transition: @cornerTriangleTransition;
323
- }
324
-
325
- /* Icon Label */
326
- .ui.corner.label{
327
- background-color: transparent !important;
328
- }
329
- .ui.corner.label::after {
330
- position: absolute;
331
- content: "";
332
- right: 0;
333
- top: 0;
334
- z-index: -1;
335
-
336
- width: 0;
337
- height: 0;
338
- background-color: transparent;
339
-
340
- border-top: 0 solid transparent;
341
- border-right: @cornerTriangleSize solid transparent;
342
- border-bottom: @cornerTriangleSize solid transparent;
343
- border-left: 0 solid transparent;
344
-
345
- border-right-color: inherit;
346
- transition: @cornerTriangleTransition;
347
- }
348
-
349
- .ui.corner.label .icon {
350
- cursor: inherit;
351
- position: absolute;
352
- top: @cornerIconTopOffset;
353
- left: auto;
354
- right: @cornerIconRightOffset;
355
- font-size: @cornerIconSize;
356
- margin: 0;
357
- }
358
-
359
- /* Left Corner */
360
- .ui.left.corner.label,
361
- .ui.left.corner.label::after {
362
- right: auto;
363
- left: 0;
364
- }
365
- .ui.left.corner.label::after {
366
- border-top: @cornerTriangleSize solid transparent;
367
- border-right: @cornerTriangleSize solid transparent;
368
- border-bottom: 0 solid transparent;
369
- border-left: 0 solid transparent;
370
-
371
- border-top-color: inherit;
372
- }
373
- .ui.left.corner.label .icon {
374
- left: @cornerIconLeftOffset;
375
- right: auto;
376
- }
377
-
378
- /* Segment */
379
- .ui.segment > .ui.corner.label {
380
- top: -1px;
381
- right: -1px;
382
- }
383
- .ui.segment > .ui.left.corner.label {
384
- right: auto;
385
- left: -1px;
386
- }
354
+ /* Segment */
355
+ .ui.segment > .ui.corner.label {
356
+ top: -1px;
357
+ right: -1px;
358
+ }
359
+ .ui.segment > .ui.left.corner.label {
360
+ right: auto;
361
+ left: -1px;
362
+ }
387
363
  }
388
364
 
389
365
  & when (@variationLabelRibbon) {
390
- /*-------------------
391
- Ribbon
392
- --------------------*/
393
-
394
- .ui.ribbon.label {
395
- position: relative;
396
- margin: 0;
397
- min-width: max-content;
398
- border-radius: 0 @borderRadius @borderRadius 0;
399
- border-color: @ribbonShadowColor;
400
- }
401
-
402
- .ui.ribbon.label::after {
403
- position: absolute;
404
- content: '';
405
-
406
- top: 100%;
407
- left: 0;
408
- background-color: transparent;
409
-
410
- border-style: solid;
411
- border-width: 0 @ribbonTriangleSize @ribbonTriangleSize 0;
412
- border-color: transparent;
413
- border-right-color: inherit;
414
-
415
- width: 0;
416
- height: 0;
417
- }
418
- /* Positioning */
419
- .ui.ribbon.label {
420
- left: @ribbonOffset;
421
- margin-right: -@ribbonTriangleSize;
422
- padding-left: @ribbonDistance;
423
- padding-right: @ribbonTriangleSize;
424
- }
425
- .ui[class*="right ribbon"].label {
426
- left: @rightRibbonOffset;
427
- padding-left: @ribbonTriangleSize;
428
- padding-right: @ribbonDistance;
429
- }
430
- & when (@variationLabelBasic) {
431
- .ui.basic.ribbon.label {
432
- padding-top: @basicRibbonOffset;
433
- padding-bottom: @basicRibbonOffset;
434
- }
435
- .ui.basic.ribbon.label:not([class*="right ribbon"]) {
436
- padding-left: @basicRibbonTriangleSizeOffset;
437
- padding-right: @basicRibbonTriangleSize;
438
- }
439
- .ui.basic[class*="right ribbon"].label {
440
- padding-left: @basicRibbonTriangleSize;
441
- padding-right: @basicRibbonTriangleSizeOffset;
442
- }
443
- .ui.basic.ribbon.label::after {
444
- top: @basicBorderFullWidthOffset;
445
- }
446
- .ui.basic.ribbon.label:not([class*="right ribbon"])::after {
447
- left: @basicBorderWidthOffset;
448
- }
449
- .ui.basic[class*="right ribbon"].label::after {
450
- right: @basicBorderWidthOffset;
451
- }
452
- }
453
- /* Right Ribbon */
454
- .ui[class*="right ribbon"].label {
455
- text-align: left;
456
- transform: translateX(-100%);
457
- border-radius: @borderRadius 0 0 @borderRadius;
458
- }
459
- .ui[class*="right ribbon"].label::after {
460
- left: auto;
461
- right: 0;
462
-
463
- border-style: solid;
464
- border-width: @ribbonTriangleSize @ribbonTriangleSize 0 0;
465
- border-color: transparent;
466
- border-top-color: inherit;
467
- }
468
-
469
- /* Inside Table */
470
- .ui.image > .ribbon.label,
471
- .ui.card .image > .ribbon.label {
472
- position: absolute;
473
- top: @ribbonImageTopDistance;
474
- }
475
- .ui.card .image > .ui.ribbon.label,
476
- .ui.image > .ui.ribbon.label {
477
- left: @ribbonImageOffset;
478
- }
479
- .ui.card .image > .ui[class*="right ribbon"].label,
480
- .ui.image > .ui[class*="right ribbon"].label {
481
- left: @rightRibbonImageOffset;
482
- padding-left: @horizontalPadding;
483
- }
484
-
485
- /* Inside Table */
486
- .ui.table td > .ui.ribbon.label {
487
- left: @ribbonTableOffset;
488
- }
489
- .ui.table td > .ui[class*="right ribbon"].label {
490
- left: @rightRibbonTableOffset;
491
- padding-left: @horizontalPadding;
492
- }
366
+ /* -------------------
367
+ Ribbon
368
+ -------------------- */
369
+
370
+ .ui.ribbon.label {
371
+ position: relative;
372
+ margin: 0;
373
+ min-width: max-content;
374
+ border-radius: 0 @borderRadius @borderRadius 0;
375
+ border-color: @ribbonShadowColor;
376
+ }
377
+
378
+ .ui.ribbon.label::after {
379
+ position: absolute;
380
+ content: '';
381
+ top: 100%;
382
+ left: 0;
383
+ background-color: transparent;
384
+ border-style: solid;
385
+ border-width: 0 @ribbonTriangleSize @ribbonTriangleSize 0;
386
+ border-color: transparent;
387
+ border-right-color: inherit;
388
+ width: 0;
389
+ height: 0;
390
+ }
391
+
392
+ /* Positioning */
393
+ .ui.ribbon.label {
394
+ left: @ribbonOffset;
395
+ margin-right: -@ribbonTriangleSize;
396
+ padding-left: @ribbonDistance;
397
+ padding-right: @ribbonTriangleSize;
398
+ }
399
+ .ui[class*="right ribbon"].label {
400
+ left: @rightRibbonOffset;
401
+ padding-left: @ribbonTriangleSize;
402
+ padding-right: @ribbonDistance;
403
+ }
404
+ & when (@variationLabelBasic) {
405
+ .ui.basic.ribbon.label {
406
+ padding-top: @basicRibbonOffset;
407
+ padding-bottom: @basicRibbonOffset;
408
+ }
409
+ .ui.basic.ribbon.label:not([class*="right ribbon"]) {
410
+ padding-left: @basicRibbonTriangleSizeOffset;
411
+ padding-right: @basicRibbonTriangleSize;
412
+ }
413
+ .ui.basic[class*="right ribbon"].label {
414
+ padding-left: @basicRibbonTriangleSize;
415
+ padding-right: @basicRibbonTriangleSizeOffset;
416
+ }
417
+ .ui.basic.ribbon.label::after {
418
+ top: @basicBorderFullWidthOffset;
419
+ }
420
+ .ui.basic.ribbon.label:not([class*="right ribbon"])::after {
421
+ left: @basicBorderWidthOffset;
422
+ }
423
+ .ui.basic[class*="right ribbon"].label::after {
424
+ right: @basicBorderWidthOffset;
425
+ }
426
+ }
427
+
428
+ /* Right Ribbon */
429
+ .ui[class*="right ribbon"].label {
430
+ text-align: left;
431
+ transform: translateX(-100%);
432
+ border-radius: @borderRadius 0 0 @borderRadius;
433
+ }
434
+ .ui[class*="right ribbon"].label::after {
435
+ left: auto;
436
+ right: 0;
437
+ border-style: solid;
438
+ border-width: @ribbonTriangleSize @ribbonTriangleSize 0 0;
439
+ border-color: transparent;
440
+ border-top-color: inherit;
441
+ }
442
+
443
+ /* Inside Table */
444
+ .ui.image > .ribbon.label,
445
+ .ui.card .image > .ribbon.label {
446
+ position: absolute;
447
+ top: @ribbonImageTopDistance;
448
+ }
449
+ .ui.card .image > .ui.ribbon.label,
450
+ .ui.image > .ui.ribbon.label {
451
+ left: @ribbonImageOffset;
452
+ }
453
+ .ui.card .image > .ui[class*="right ribbon"].label,
454
+ .ui.image > .ui[class*="right ribbon"].label {
455
+ left: @rightRibbonImageOffset;
456
+ padding-left: @horizontalPadding;
457
+ }
458
+
459
+ /* Inside Table */
460
+ .ui.table td > .ui.ribbon.label {
461
+ left: @ribbonTableOffset;
462
+ }
463
+ .ui.table td > .ui[class*="right ribbon"].label {
464
+ left: @rightRibbonTableOffset;
465
+ padding-left: @horizontalPadding;
466
+ }
493
467
  }
494
468
 
495
469
  & when (@variationLabelAttached) {
496
- /*-------------------
497
- Attached
498
- --------------------*/
499
-
500
- .ui[class*="top attached"].label,
501
- .ui.attached.label {
502
- width: 100%;
503
- position: absolute;
504
- margin: 0;
505
- top: 0;
506
- left: 0;
507
-
508
- padding: @attachedVerticalPadding @attachedHorizontalPadding;
509
-
510
- border-radius: @attachedCornerBorderRadius @attachedCornerBorderRadius 0 0;
511
- }
512
- .ui[class*="bottom attached"].label {
513
- top: auto;
514
- bottom: 0;
515
- border-radius: 0 0 @attachedCornerBorderRadius @attachedCornerBorderRadius;
516
- }
517
-
518
- .ui[class*="top left attached"].label {
519
- width: auto;
520
- margin-top: 0;
521
- border-radius: @attachedCornerBorderRadius 0 @attachedBorderRadius 0;
522
- }
470
+ /* -------------------
471
+ Attached
472
+ -------------------- */
473
+
474
+ .ui[class*="top attached"].label,
475
+ .ui.attached.label {
476
+ width: 100%;
477
+ position: absolute;
478
+ margin: 0;
479
+ top: 0;
480
+ left: 0;
481
+ padding: @attachedVerticalPadding @attachedHorizontalPadding;
482
+ border-radius: @attachedCornerBorderRadius @attachedCornerBorderRadius 0 0;
483
+ }
484
+ .ui[class*="bottom attached"].label {
485
+ top: auto;
486
+ bottom: 0;
487
+ border-radius: 0 0 @attachedCornerBorderRadius @attachedCornerBorderRadius;
488
+ }
523
489
 
524
- .ui[class*="top right attached"].label {
525
- width: auto;
526
- left: auto;
527
- right: 0;
528
- border-radius: 0 @attachedCornerBorderRadius 0 @attachedBorderRadius;
529
- }
530
- .ui[class*="bottom left attached"].label {
531
- width: auto;
532
- top: auto;
533
- bottom: 0;
534
- border-radius: 0 @attachedBorderRadius 0 @attachedCornerBorderRadius;
535
- }
536
- .ui[class*="bottom right attached"].label {
537
- top: auto;
538
- bottom: 0;
539
- left: auto;
540
- right: 0;
541
- width: auto;
542
- border-radius: @attachedBorderRadius 0 @attachedCornerBorderRadius 0;
543
- }
490
+ .ui[class*="top left attached"].label {
491
+ width: auto;
492
+ margin-top: 0;
493
+ border-radius: @attachedCornerBorderRadius 0 @attachedBorderRadius 0;
494
+ }
495
+
496
+ .ui[class*="top right attached"].label {
497
+ width: auto;
498
+ left: auto;
499
+ right: 0;
500
+ border-radius: 0 @attachedCornerBorderRadius 0 @attachedBorderRadius;
501
+ }
502
+ .ui[class*="bottom left attached"].label {
503
+ width: auto;
504
+ top: auto;
505
+ bottom: 0;
506
+ border-radius: 0 @attachedBorderRadius 0 @attachedCornerBorderRadius;
507
+ }
508
+ .ui[class*="bottom right attached"].label {
509
+ top: auto;
510
+ bottom: 0;
511
+ left: auto;
512
+ right: 0;
513
+ width: auto;
514
+ border-radius: @attachedBorderRadius 0 @attachedCornerBorderRadius 0;
515
+ }
544
516
  }
545
517
 
546
518
  /*******************************
547
519
  States
548
520
  *******************************/
549
521
 
550
- /*-------------------
522
+ /* -------------------
551
523
  Disabled
552
- --------------------*/
524
+ -------------------- */
553
525
  & when (@variationLabelDisabled) {
554
- .ui.label.disabled {
555
- opacity: 0.5;
556
- }
526
+ .ui.disabled.labels .label,
527
+ .ui.label.disabled {
528
+ opacity: @disabledOpacity;
529
+ pointer-events: @disabledPointerEvents;
530
+ }
557
531
  }
558
- /*-------------------
532
+
533
+ /* -------------------
559
534
  Hover
560
- --------------------*/
535
+ -------------------- */
561
536
 
562
537
  .ui.labels a.label:hover,
563
538
  a.ui.label:hover {
564
- background-color: @labelHoverBackgroundColor;
565
- border-color: @labelHoverBackgroundColor;
566
-
567
- background-image: @labelHoverBackgroundImage;
568
- color: @labelHoverTextColor;
539
+ background-color: @labelHoverBackgroundColor;
540
+ border-color: @labelHoverBackgroundColor;
541
+ background-image: @labelHoverBackgroundImage;
542
+ color: @labelHoverTextColor;
569
543
  }
570
544
  .ui.labels a.label:hover::before,
571
545
  a.ui.label:hover::before {
572
- color: @labelHoverTextColor;
546
+ color: @labelHoverTextColor;
573
547
  }
574
548
 
575
- /*-------------------
549
+ /* -------------------
576
550
  Active
577
- --------------------*/
551
+ -------------------- */
578
552
 
579
553
  .ui.active.label {
580
- background-color: @labelActiveBackgroundColor;
581
- border-color: @labelActiveBackgroundColor;
582
-
583
- background-image: @labelActiveBackgroundImage;
584
- color: @labelActiveTextColor;
554
+ background-color: @labelActiveBackgroundColor;
555
+ border-color: @labelActiveBackgroundColor;
556
+ background-image: @labelActiveBackgroundImage;
557
+ color: @labelActiveTextColor;
585
558
  }
586
559
  .ui.active.label::before {
587
- background-color: @labelActiveBackgroundColor;
588
- background-image: @labelActiveBackgroundImage;
589
- color: @labelActiveTextColor;
560
+ background-color: @labelActiveBackgroundColor;
561
+ background-image: @labelActiveBackgroundImage;
562
+ color: @labelActiveTextColor;
590
563
  }
591
564
 
592
- /*-------------------
565
+ /* -------------------
593
566
  Active Hover
594
- --------------------*/
567
+ -------------------- */
595
568
 
596
569
  .ui.labels a.active.label:hover,
597
570
  a.ui.active.label:hover {
598
- background-color: @labelActiveHoverBackgroundColor;
599
- border-color: @labelActiveHoverBackgroundColor;
600
-
601
- background-image: @labelActiveHoverBackgroundImage;
602
- color: @labelActiveHoverTextColor;
571
+ background-color: @labelActiveHoverBackgroundColor;
572
+ border-color: @labelActiveHoverBackgroundColor;
573
+ background-image: @labelActiveHoverBackgroundImage;
574
+ color: @labelActiveHoverTextColor;
603
575
  }
604
576
  .ui.labels a.active.label:hover::before,
605
577
  a.ui.active.label:hover::before {
606
- background-color: @labelActiveHoverBackgroundColor;
607
- background-image: @labelActiveHoverBackgroundImage;
608
- color: @labelActiveHoverTextColor;
578
+ background-color: @labelActiveHoverBackgroundColor;
579
+ background-image: @labelActiveHoverBackgroundImage;
580
+ color: @labelActiveHoverTextColor;
609
581
  }
610
582
 
611
-
612
- /*-------------------
583
+ /* -------------------
613
584
  Visible
614
- --------------------*/
585
+ -------------------- */
615
586
 
616
587
  .ui.labels.visible .label,
617
588
  .ui.label.visible:not(.dropdown) {
618
- display: inline-block !important;
589
+ display: inline-block !important;
619
590
  }
620
591
 
621
- /*-------------------
592
+ /* -------------------
622
593
  Hidden
623
- --------------------*/
594
+ -------------------- */
624
595
 
625
596
  .ui.labels.hidden .label,
626
597
  .ui.label.hidden {
627
- display: none !important;
598
+ display: none !important;
628
599
  }
629
600
 
630
-
631
601
  /*******************************
632
602
  Variations
633
603
  *******************************/
634
604
 
635
-
636
605
  & when (@variationLabelBasic) {
637
- /*-------------------
638
- Basic
639
- --------------------*/
640
-
641
- .ui.basic.labels .label,
642
- .ui.basic.label {
643
- background: @basicBackground;
644
- border: @basicBorder;
645
- color: @basicColor;
646
- box-shadow: @basicBoxShadow;
647
- padding-top: @basicVerticalPadding;
648
- padding-bottom: @basicVerticalPadding;
649
- padding-right: @basicHorizontalPadding;
650
- }
651
- .ui.basic.labels:not(.tag):not(.image):not(.ribbon) .label,
652
- .ui.basic.label:not(.tag):not(.image):not(.ribbon) {
653
- padding-left: @basicHorizontalPadding;
654
- }
655
- & when (@variationLabelImage) {
656
- .ui.basic.image.label {
657
- padding-left: @basicImageLabelPadding;
658
- }
659
- }
660
-
661
- /* Link */
662
- .ui.basic.labels a.label:hover,
663
- a.ui.basic.label:hover {
664
- text-decoration: none;
665
- background: @basicHoverBackground;
666
- color: @basicHoverColor;
667
- box-shadow: @basicHoverBoxShadow;
668
- }
669
- & when (@variationLabelPointing) {
670
- /* Pointing */
671
- .ui.basic.pointing.label::before {
672
- border-color: inherit;
673
- }
674
- }
606
+ /* -------------------
607
+ Basic
608
+ -------------------- */
609
+
610
+ .ui.basic.labels .label,
611
+ .ui.basic.label {
612
+ background: @basicBackground;
613
+ border: @basicBorder;
614
+ color: @basicColor;
615
+ box-shadow: @basicBoxShadow;
616
+ padding-top: @basicVerticalPadding;
617
+ padding-bottom: @basicVerticalPadding;
618
+ padding-right: @basicHorizontalPadding;
619
+ }
620
+ .ui.basic.labels:not(.tag):not(.image):not(.ribbon) .label,
621
+ .ui.basic.label:not(.tag):not(.image):not(.ribbon) {
622
+ padding-left: @basicHorizontalPadding;
623
+ }
624
+ & when (@variationLabelImage) {
625
+ .ui.basic.image.label {
626
+ padding-left: @basicImageLabelPadding;
627
+ }
628
+ }
629
+
630
+ /* Link */
631
+ .ui.basic.labels a.label:hover,
632
+ a.ui.basic.label:hover {
633
+ text-decoration: none;
634
+ background: @basicHoverBackground;
635
+ color: @basicHoverColor;
636
+ box-shadow: @basicHoverBoxShadow;
637
+ }
638
+ & when (@variationLabelPointing) {
639
+ /* Pointing */
640
+ .ui.basic.pointing.label::before {
641
+ border-color: inherit;
642
+ }
643
+ }
675
644
  }
676
645
 
677
646
  & when (@variationLabelFluid) {
678
- /*-------------------
679
- Fluid
680
- --------------------*/
681
-
682
- .ui.label.fluid,
683
- .ui.fluid.labels > .label {
684
- width: 100%;
685
- box-sizing: border-box;
686
- }
647
+ /* -------------------
648
+ Fluid
649
+ -------------------- */
650
+
651
+ .ui.label.fluid,
652
+ .ui.fluid.labels > .label {
653
+ width: 100%;
654
+ box-sizing: border-box;
655
+ }
656
+ }
657
+
658
+ & when (@variationLabelCentered) {
659
+ .ui.centered.labels .label,
660
+ .ui.centered.label {
661
+ text-align: center;
662
+ }
687
663
  }
688
664
 
689
665
  & when (@variationLabelInverted) {
690
- /*-------------------
691
- Inverted
692
- --------------------*/
693
-
694
- .ui.inverted.labels .label,
695
- .ui.inverted.label {
696
- color: @invertedTextColor;
697
- background-color: @invertedBackgroundColor;
698
- }
699
- .ui.inverted.corner.label {
700
- border-color: @invertedBackgroundColor;
701
- }
702
- .ui.inverted.corner.label:hover {
703
- border-color: @backgroundColor;
704
- transition: none;
705
- }
706
- .ui.inverted.basic.labels .label,
707
- .ui.inverted.basic.label,
708
- .ui.inverted.basic.label:hover {
709
- border-color: @basicInvertedBorderColor;
710
- background: @black;
711
- }
712
- .ui.inverted.basic.label:hover {
713
- color: @linkColor;
714
- }
666
+ /* -------------------
667
+ Inverted
668
+ -------------------- */
669
+
670
+ .ui.inverted.labels .label,
671
+ .ui.inverted.label {
672
+ color: @invertedTextColor;
673
+ background-color: @invertedBackgroundColor;
674
+ }
675
+ .ui.inverted.corner.label {
676
+ border-color: @invertedBackgroundColor;
677
+ }
678
+ .ui.inverted.corner.label:hover {
679
+ border-color: @backgroundColor;
680
+ transition: none;
681
+ }
682
+ .ui.inverted.basic.labels .label,
683
+ .ui.inverted.basic.label,
684
+ .ui.inverted.basic.label:hover {
685
+ border-color: @basicInvertedBorderColor;
686
+ background: @black;
687
+ }
688
+ .ui.inverted.basic.label:hover {
689
+ color: @linkColor;
690
+ }
715
691
  }
716
692
 
717
- /*-------------------
693
+ /* -------------------
718
694
  Colors
719
- --------------------*/
695
+ -------------------- */
720
696
  & when not (@variationLabelColors = false) {
721
- each(@variationLabelColors, {
722
- @color: @value;
723
- @isDark: @colors[@@color][isDark];
724
- @_labelColor: @colors[@@color][color];
725
- @_labelInvertedColor: @colors[@@color][light];
726
- @_labelTextColor: @colors[@@color][text];
727
- @_labelHover: @colors[@@color][hover];
728
- @_labelInvertedHover: @colors[@@color][lightHover];
729
- @_labelHoverTextColor: @colors[@@color][hoverText];
730
- @_labelRibbonShadow: @colors[@@color][ribbon];
731
- @_labelInvertedRibbonShadow: @colors[@@color][invertedRibbon];
732
-
733
- .ui.@{color}.labels .label,
734
- .ui.ui.ui.@{color}.label {
735
- background-color: @_labelColor;
736
- border-color: @_labelColor;
737
- color: @_labelTextColor;
738
- }
739
- /* Link */
740
- .ui.@{color}.labels a.label:hover,
741
- a.ui.ui.ui.@{color}.label:hover {
742
- background-color: @_labelHover;
743
- border-color: @_labelHover;
744
- color: @_labelHoverTextColor;
745
- }
746
- & when (@variationLabelRibbon) {
747
- /* Ribbon */
748
- .ui.ui.ui.@{color}.ribbon.label {
749
- border-color: @_labelRibbonShadow;
750
- }
751
- }
752
- & when (@variationLabelBasic) {
753
- /* Basic */
754
- .ui.basic.labels .@{color}.label,
755
- .ui.ui.ui.basic.@{color}.label {
756
- background: @basicBackground;
757
- border-color: @_labelColor;
758
- color: @_labelColor;
759
- }
760
- .ui.basic.labels a.@{color}.label:hover,
761
- a.ui.ui.ui.basic.@{color}.label:hover {
762
- background: @basicBackground;
763
- border-color: @_labelHover;
764
- color: @_labelHover;
765
- }
766
- }
767
- & when (@variationLabelInverted) {
768
- /* Inverted */
769
- .ui.inverted.labels .@{color}.label,
770
- .ui.ui.ui.inverted.@{color}.label {
771
- background-color: @_labelInvertedColor;
772
- border-color: @_labelInvertedColor;
773
- color: @black;
774
- }
775
- /* Inverted Link */
776
- .ui.inverted.labels a.@{color}.label:hover,
777
- a.ui.ui.ui.inverted.@{color}.label:hover {
778
- background-color: @_labelInvertedHover;
779
- border-color: @_labelInvertedHover;
780
- & when not (@isDark) {
781
- color: @black;
782
- }
783
- & when (@isDark) {
784
- color: @_labelTextColor;
697
+ each(@variationLabelColors, {
698
+ @color: @value;
699
+ @isDark: @colors[@@color][isDark];
700
+ @_labelColor: @colors[@@color][color];
701
+ @_labelInvertedColor: @colors[@@color][light];
702
+ @_labelTextColor: @colors[@@color][text];
703
+ @_labelHover: @colors[@@color][hover];
704
+ @_labelInvertedHover: @colors[@@color][lightHover];
705
+ @_labelHoverTextColor: @colors[@@color][hoverText];
706
+ @_labelRibbonShadow: @colors[@@color][ribbon];
707
+ @_labelInvertedRibbonShadow: @colors[@@color][invertedRibbon];
708
+
709
+ .ui.@{color}.labels .label,
710
+ .ui.ui.ui.@{color}.label {
711
+ background-color: @_labelColor;
712
+ border-color: @_labelColor;
713
+ color: @_labelTextColor;
785
714
  }
786
- }
787
- & when (@variationLabelRibbon) {
788
- /* Inverted Ribbon */
789
- .ui.ui.ui.inverted.@{color}.ribbon.label {
790
- border-color: @_labelInvertedRibbonShadow;
715
+ /* Link */
716
+ .ui.@{color}.labels a.label:hover,
717
+ a.ui.ui.ui.@{color}.label:hover {
718
+ background-color: @_labelHover;
719
+ border-color: @_labelHover;
720
+ color: @_labelHoverTextColor;
791
721
  }
792
- }
793
- & when (@variationLabelBasic) {
794
- /* Inverted Basic */
795
- .ui.inverted.basic.labels .@{color}.label,
796
- .ui.ui.ui.inverted.basic.@{color}.label {
797
- background-color: @invertedBackground;
798
- border-color: @_labelInvertedColor;
799
- & when not (@isDark) {
800
- color: @_labelInvertedColor;
801
- }
802
- & when (@isDark) {
803
- color: @invertedTextColor;
804
- }
722
+ & when (@variationLabelRibbon) {
723
+ /* Ribbon */
724
+ .ui.ui.ui.@{color}.ribbon.label {
725
+ border-color: @_labelRibbonShadow;
726
+ }
805
727
  }
806
- .ui.inverted.basic.labels a.@{color}.label:hover,
807
- a.ui.ui.ui.inverted.basic.@{color}.label:hover {
808
- border-color: @_labelInvertedHover;
809
- background-color: @invertedBackground;
810
- & when not (@isDark) {
811
- color: @_labelInvertedHover;
812
- }
728
+ & when (@variationLabelBasic) {
729
+ /* Basic */
730
+ .ui.basic.labels .@{color}.label,
731
+ .ui.ui.ui.basic.@{color}.label {
732
+ background: @basicBackground;
733
+ border-color: @_labelColor;
734
+ color: @_labelColor;
735
+ }
736
+ .ui.basic.labels a.@{color}.label:hover,
737
+ a.ui.ui.ui.basic.@{color}.label:hover {
738
+ background: @basicBackground;
739
+ border-color: @_labelHover;
740
+ color: @_labelHover;
741
+ }
813
742
  }
814
- & when (@variationLabelTag) {
815
- /* Inverted Basic Tags */
816
- .ui.inverted.basic.tag.labels .@{color}.label,
817
- .ui.ui.ui.inverted.@{color}.basic.tag.label {
818
- border: @invertedBorderSize solid @_labelInvertedColor;
819
- }
820
- .ui.inverted.basic.tag.labels .@{color}.label::before,
821
- .ui.ui.ui.inverted.@{color}.basic.tag.label::before {
822
- border-color: inherit;
823
- border-width: @invertedBorderSize 0 0 @invertedBorderSize;
824
- border-style: inherit;
825
- background-color: @invertedBackground;
826
- right: e(%("calc(100%% + %d)", @invertedBorderSize));
827
- }
743
+ & when (@variationLabelInverted) {
744
+ /* Inverted */
745
+ .ui.inverted.labels .@{color}.label,
746
+ .ui.ui.ui.inverted.@{color}.label {
747
+ background-color: @_labelInvertedColor;
748
+ border-color: @_labelInvertedColor;
749
+ color: @black;
750
+ }
751
+ /* Inverted Link */
752
+ .ui.inverted.labels a.@{color}.label:hover,
753
+ a.ui.ui.ui.inverted.@{color}.label:hover {
754
+ background-color: @_labelInvertedHover;
755
+ border-color: @_labelInvertedHover;
756
+ & when not (@isDark) {
757
+ color: @black;
758
+ }
759
+ & when (@isDark) {
760
+ color: @_labelTextColor;
761
+ }
762
+ }
763
+ & when (@variationLabelRibbon) {
764
+ /* Inverted Ribbon */
765
+ .ui.ui.ui.inverted.@{color}.ribbon.label {
766
+ border-color: @_labelInvertedRibbonShadow;
767
+ }
768
+ }
769
+ & when (@variationLabelBasic) {
770
+ /* Inverted Basic */
771
+ .ui.inverted.basic.labels .@{color}.label,
772
+ .ui.ui.ui.inverted.basic.@{color}.label {
773
+ background-color: @invertedBackground;
774
+ border-color: @_labelInvertedColor;
775
+ & when not (@isDark) {
776
+ color: @_labelInvertedColor;
777
+ }
778
+ & when (@isDark) {
779
+ color: @invertedTextColor;
780
+ }
781
+ }
782
+ .ui.inverted.basic.labels a.@{color}.label:hover,
783
+ a.ui.ui.ui.inverted.basic.@{color}.label:hover {
784
+ border-color: @_labelInvertedHover;
785
+ background-color: @invertedBackground;
786
+ & when not (@isDark) {
787
+ color: @_labelInvertedHover;
788
+ }
789
+ }
790
+ & when (@variationLabelTag) {
791
+ /* Inverted Basic Tags */
792
+ .ui.inverted.basic.tag.labels .@{color}.label,
793
+ .ui.ui.ui.inverted.@{color}.basic.tag.label {
794
+ border: @invertedBorderSize solid @_labelInvertedColor;
795
+ }
796
+ .ui.inverted.basic.tag.labels .@{color}.label::before,
797
+ .ui.ui.ui.inverted.@{color}.basic.tag.label::before {
798
+ border-color: inherit;
799
+ border-width: @invertedBorderSize 0 0 @invertedBorderSize;
800
+ border-style: inherit;
801
+ background-color: @invertedBackground;
802
+ right: e(%("calc(100%% + %d)", @invertedBorderSize));
803
+ }
804
+ }
805
+ }
828
806
  }
829
- }
830
- }
831
- })
807
+ })
832
808
  }
833
809
 
834
- /*-------------------
810
+ /* -------------------
835
811
  Horizontal
836
- --------------------*/
812
+ -------------------- */
837
813
 
838
814
  .ui.horizontal.labels .label,
839
815
  .ui.horizontal.label {
840
- margin: 0 @horizontalLabelMargin 0 0;
841
-
842
- padding: @horizontalLabelVerticalPadding @horizontalPadding;
843
- min-width: @horizontalLabelMinWidth;
844
- text-align: center;
816
+ margin: 0 @horizontalLabelMargin 0 0;
817
+ padding: @horizontalLabelVerticalPadding @horizontalPadding;
818
+ min-width: @horizontalLabelMinWidth;
819
+ text-align: center;
845
820
  }
846
821
 
847
822
  & when (@variationLabelCircular) {
848
- /*-------------------
849
- Circular
850
- --------------------*/
823
+ /* -------------------
824
+ Circular
825
+ -------------------- */
826
+
827
+ .ui.circular.labels .label,
828
+ .ui.circular.label {
829
+ min-width: @circularMinSize;
830
+ min-height: @circularMinSize;
831
+ padding: @circularPadding !important;
832
+ line-height: 1em;
833
+ text-align: center;
834
+ border-radius: @circularRadius;
835
+ }
836
+ .ui.empty.circular.labels .label,
837
+ .ui.empty.circular.label {
838
+ min-width: 0;
839
+ min-height: 0;
840
+ overflow: hidden;
841
+ width: @emptyCircleSize;
842
+ height: @emptyCircleSize;
843
+ vertical-align: baseline;
844
+ }
845
+ }
851
846
 
852
- .ui.circular.labels .label,
853
- .ui.circular.label {
854
- min-width: @circularMinSize;
855
- min-height: @circularMinSize;
847
+ & when (@variationLabelPointing) {
848
+ /* -------------------
849
+ Pointing
850
+ -------------------- */
856
851
 
857
- padding: @circularPadding !important;
852
+ .ui.pointing.label {
853
+ position: relative;
854
+ }
858
855
 
859
- line-height: 1em;
860
- text-align: center;
861
- border-radius: @circularRadius;
862
- }
863
- .ui.empty.circular.labels .label,
864
- .ui.empty.circular.label {
865
- min-width: 0;
866
- min-height: 0;
867
- overflow: hidden;
868
- width: @emptyCircleSize;
869
- height: @emptyCircleSize;
870
- vertical-align: baseline;
871
- }
872
- }
856
+ .ui.attached.pointing.label {
857
+ position: absolute;
858
+ }
873
859
 
874
- & when (@variationLabelPointing) {
875
- /*-------------------
876
- Pointing
877
- --------------------*/
878
-
879
- .ui.pointing.label {
880
- position: relative;
881
- }
882
-
883
- .ui.attached.pointing.label {
884
- position: absolute;
885
- }
886
-
887
- .ui.pointing.label::before {
888
- background-color: inherit;
889
- background-image: inherit;
890
- border-width: 0;
891
- border-style: solid;
892
- border-color: @pointingBorderColor;
893
- }
894
- /* Arrow */
895
- .ui.pointing.label::before {
896
- position: absolute;
897
- content: '';
898
- transform: rotate(45deg);
899
- background-image: none;
900
-
901
- z-index: @pointingTriangleZIndex;
902
- width: @pointingTriangleSize;
903
- height: @pointingTriangleSize;
904
- transition: @pointingTriangleTransition;
905
- }
906
-
907
- /*--- Above ---*/
908
- .ui.pointing.label,
909
- .ui[class*="pointing above"].label {
910
- margin-top: @pointingVerticalDistance;
911
- }
912
- .ui.pointing.label::before,
913
- .ui[class*="pointing above"].label::before {
914
- border-width: @borderWidth 0 0 @borderWidth;
915
- transform: translateX(-50%) translateY(-50%) rotate(45deg);
916
- top: 0;
917
- left: 50%;
918
- }
919
- /*--- Below ---*/
920
- .ui[class*="bottom pointing"].label,
921
- .ui[class*="pointing below"].label {
922
- margin-top: 0;
923
- margin-bottom: @pointingVerticalDistance;
924
- }
925
- .ui[class*="bottom pointing"].label::before,
926
- .ui[class*="pointing below"].label::before {
927
- border-width: 0 @borderWidth @borderWidth 0;
928
- top: auto;
929
- right: auto;
930
- transform: translateX(-50%) translateY(-50%) rotate(45deg);
931
- top: 100%;
932
- left: 50%;
933
- }
934
- /*--- Left ---*/
935
- .ui[class*="left pointing"].label {
936
- margin-top: 0;
937
- margin-left: @pointingHorizontalDistance;
938
- }
939
- .ui[class*="left pointing"].label::before {
940
- border-width: 0 0 @borderWidth @borderWidth;
941
- transform: translateX(-50%) translateY(-50%) rotate(45deg);
942
- bottom: auto;
943
- right: auto;
944
- top: 50%;
945
- left: 0;
946
- }
947
- /*--- Right ---*/
948
- .ui[class*="right pointing"].label {
949
- margin-top: 0;
950
- margin-right: @pointingHorizontalDistance;
951
- }
952
- .ui[class*="right pointing"].label::before {
953
- border-width: @borderWidth @borderWidth 0 0;
954
- transform: translateX(50%) translateY(-50%) rotate(45deg);
955
- top: 50%;
956
- right: 0;
957
- bottom: auto;
958
- left: auto;
959
- }
960
- & when (@variationLabelBasic) {
961
- /* Basic Pointing */
962
-
963
- /*--- Above ---*/
964
- .ui.basic.pointing.label::before,
965
- .ui.basic[class*="pointing above"].label::before {
966
- margin-top: @basicPointingTriangleOffset;
967
- }
968
- /*--- Below ---*/
969
- .ui.basic[class*="bottom pointing"].label::before,
970
- .ui.basic[class*="pointing below"].label::before {
971
- bottom: auto;
972
- top: 100%;
973
- margin-top: -@basicPointingTriangleOffset;
974
- }
975
- /*--- Left ---*/
976
- .ui.basic[class*="left pointing"].label::before {
977
- top: 50%;
978
- left: @basicPointingTriangleOffset;
979
- }
980
- /*--- Right ---*/
981
- .ui.basic[class*="right pointing"].label::before {
982
- top: 50%;
983
- right: @basicPointingTriangleOffset;
984
- }
985
- }
860
+ .ui.pointing.label::before {
861
+ background-color: inherit;
862
+ background-image: inherit;
863
+ border-width: 0;
864
+ border-style: solid;
865
+ border-color: @pointingBorderColor;
866
+ }
867
+
868
+ /* Arrow */
869
+ .ui.pointing.label::before {
870
+ position: absolute;
871
+ content: '';
872
+ transform: rotate(45deg);
873
+ background-image: none;
874
+ z-index: @pointingTriangleZIndex;
875
+ width: @pointingTriangleSize;
876
+ height: @pointingTriangleSize;
877
+ transition: @pointingTriangleTransition;
878
+ }
879
+
880
+ /* --- Above --- */
881
+ .ui.pointing.label,
882
+ .ui[class*="pointing above"].label {
883
+ margin-top: @pointingVerticalDistance;
884
+ }
885
+ .ui.pointing.label::before,
886
+ .ui[class*="pointing above"].label::before {
887
+ border-width: @borderWidth 0 0 @borderWidth;
888
+ transform: translateX(-50%) translateY(-50%) rotate(45deg);
889
+ top: 0;
890
+ left: 50%;
891
+ }
892
+
893
+ /* --- Below --- */
894
+ .ui[class*="bottom pointing"].label,
895
+ .ui[class*="pointing below"].label {
896
+ margin-top: 0;
897
+ margin-bottom: @pointingVerticalDistance;
898
+ }
899
+ .ui[class*="bottom pointing"].label::before,
900
+ .ui[class*="pointing below"].label::before {
901
+ border-width: 0 @borderWidth @borderWidth 0;
902
+ top: auto;
903
+ right: auto;
904
+ transform: translateX(-50%) translateY(-50%) rotate(45deg);
905
+ top: 100%;
906
+ left: 50%;
907
+ }
908
+
909
+ /* --- Left --- */
910
+ .ui[class*="left pointing"].label {
911
+ margin-top: 0;
912
+ margin-left: @pointingHorizontalDistance;
913
+ }
914
+ .ui[class*="left pointing"].label::before {
915
+ border-width: 0 0 @borderWidth @borderWidth;
916
+ transform: translateX(-50%) translateY(-50%) rotate(45deg);
917
+ bottom: auto;
918
+ right: auto;
919
+ top: 50%;
920
+ left: 0;
921
+ }
922
+
923
+ /* --- Right --- */
924
+ .ui[class*="right pointing"].label {
925
+ margin-top: 0;
926
+ margin-right: @pointingHorizontalDistance;
927
+ }
928
+ .ui[class*="right pointing"].label::before {
929
+ border-width: @borderWidth @borderWidth 0 0;
930
+ transform: translateX(50%) translateY(-50%) rotate(45deg);
931
+ top: 50%;
932
+ right: 0;
933
+ bottom: auto;
934
+ left: auto;
935
+ }
936
+ & when (@variationLabelBasic) {
937
+ /* Basic Pointing */
938
+
939
+ /* --- Above --- */
940
+ .ui.basic.pointing.label::before,
941
+ .ui.basic[class*="pointing above"].label::before {
942
+ margin-top: @basicPointingTriangleOffset;
943
+ }
944
+
945
+ /* --- Below --- */
946
+ .ui.basic[class*="bottom pointing"].label::before,
947
+ .ui.basic[class*="pointing below"].label::before {
948
+ bottom: auto;
949
+ top: 100%;
950
+ margin-top: -@basicPointingTriangleOffset;
951
+ }
952
+
953
+ /* --- Left --- */
954
+ .ui.basic[class*="left pointing"].label::before {
955
+ top: 50%;
956
+ left: @basicPointingTriangleOffset;
957
+ }
958
+
959
+ /* --- Right --- */
960
+ .ui.basic[class*="right pointing"].label::before {
961
+ top: 50%;
962
+ right: @basicPointingTriangleOffset;
963
+ }
964
+ }
986
965
  }
987
966
 
988
967
  & when (@variationLabelFloating) {
989
- /*------------------
990
- Floating Label
991
- -------------------*/
992
-
993
- .ui.floating.label {
994
- position: absolute;
995
- z-index: @floatingZIndex;
996
- top: @floatingTopOffset;
997
- right: 0;
998
- white-space: nowrap;
999
- transform: translateX(50%);
1000
- }
1001
- .ui.right.aligned.floating.label {
1002
- transform: translateX(@floatingAlignOffset);
1003
- }
1004
- .ui.left.floating.label {
1005
- left:0;
1006
- right:auto;
1007
- transform: translateX(-50%);
1008
- }
1009
- .ui.left.aligned.floating.label {
1010
- transform: translateX(-@floatingAlignOffset);
1011
- }
1012
- .ui.bottom.floating.label {
1013
- top: auto;
1014
- bottom: @floatingBottomOffset;
1015
- }
968
+ /* ------------------
969
+ Floating Label
970
+ ------------------- */
971
+
972
+ .ui.floating.label {
973
+ position: absolute;
974
+ z-index: @floatingZIndex;
975
+ top: @floatingTopOffset;
976
+ right: 0;
977
+ white-space: nowrap;
978
+ transform: translateX(50%);
979
+ }
980
+ .ui.right.aligned.floating.label {
981
+ transform: translateX(@floatingAlignOffset);
982
+ }
983
+ .ui.left.floating.label {
984
+ left: 0;
985
+ right: auto;
986
+ transform: translateX(-50%);
987
+ }
988
+ .ui.left.aligned.floating.label {
989
+ transform: translateX(-@floatingAlignOffset);
990
+ }
991
+ .ui.bottom.floating.label {
992
+ top: auto;
993
+ bottom: @floatingBottomOffset;
994
+ }
1016
995
  }
1017
996
 
1018
- /*-------------------
997
+ /* -------------------
1019
998
  Sizes
1020
- --------------------*/
999
+ -------------------- */
1021
1000
 
1022
1001
  .ui.labels .label,
1023
1002
  .ui.label {
1024
- font-size: @medium;
1003
+ font-size: @medium;
1025
1004
  }
1026
1005
  & when not (@variationLabelSizes = false) {
1027
- each(@variationLabelSizes, {
1028
- @s: @@value;
1029
- .ui.@{value}.labels .label,
1030
- .ui.@{value}.label {
1031
- font-size: @s;
1032
- }
1033
- })
1006
+ each(@variationLabelSizes, {
1007
+ @s: @@value;
1008
+ .ui.@{value}.labels .label,
1009
+ .ui.@{value}.label {
1010
+ font-size: @s;
1011
+ }
1012
+ })
1034
1013
  }
1035
1014
 
1036
1015
  .loadUIOverrides();