fomantic-ui 2.9.0-beta.26 → 2.9.0-beta.260

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 (285) hide show
  1. package/.all-contributorsrc +206 -3
  2. package/.github/workflows/ci.yml +4 -4
  3. package/.github/workflows/nightly.yml +4 -4
  4. package/.github/workflows/release.yml +30 -0
  5. package/CONTRIBUTORS.md +75 -37
  6. package/README.md +8 -8
  7. package/dist/components/accordion.css +162 -26
  8. package/dist/components/accordion.js +1 -1
  9. package/dist/components/accordion.min.css +2 -2
  10. package/dist/components/accordion.min.js +2 -2
  11. package/dist/components/ad.css +1 -1
  12. package/dist/components/ad.min.css +1 -1
  13. package/dist/components/api.js +34 -30
  14. package/dist/components/api.min.js +3 -3
  15. package/dist/components/breadcrumb.css +1 -1
  16. package/dist/components/breadcrumb.min.css +1 -1
  17. package/dist/components/button.css +176 -134
  18. package/dist/components/button.min.css +2 -2
  19. package/dist/components/calendar.css +18 -1
  20. package/dist/components/calendar.js +10 -9
  21. package/dist/components/calendar.min.css +2 -2
  22. package/dist/components/calendar.min.js +3 -3
  23. package/dist/components/card.css +26 -19
  24. package/dist/components/card.min.css +2 -2
  25. package/dist/components/checkbox.css +2 -1
  26. package/dist/components/checkbox.js +17 -11
  27. package/dist/components/checkbox.min.css +2 -2
  28. package/dist/components/checkbox.min.js +3 -3
  29. package/dist/components/comment.css +11 -11
  30. package/dist/components/comment.min.css +1 -1
  31. package/dist/components/container.css +94 -1
  32. package/dist/components/container.min.css +2 -2
  33. package/dist/components/dimmer.css +28 -14
  34. package/dist/components/dimmer.js +11 -5
  35. package/dist/components/dimmer.min.css +2 -2
  36. package/dist/components/dimmer.min.js +3 -3
  37. package/dist/components/divider.css +1 -1
  38. package/dist/components/divider.min.css +1 -1
  39. package/dist/components/dropdown.css +49 -13
  40. package/dist/components/dropdown.js +66 -39
  41. package/dist/components/dropdown.min.css +2 -2
  42. package/dist/components/dropdown.min.js +3 -3
  43. package/dist/components/embed.css +1 -1
  44. package/dist/components/embed.js +1 -1
  45. package/dist/components/embed.min.css +1 -1
  46. package/dist/components/embed.min.js +2 -2
  47. package/dist/components/emoji.css +10147 -8139
  48. package/dist/components/emoji.min.css +1 -1
  49. package/dist/components/feed.css +28 -28
  50. package/dist/components/feed.min.css +2 -2
  51. package/dist/components/flag.css +734 -625
  52. package/dist/components/flag.min.css +2 -2
  53. package/dist/components/form.css +118 -55
  54. package/dist/components/form.js +38 -29
  55. package/dist/components/form.min.css +2 -2
  56. package/dist/components/form.min.js +3 -3
  57. package/dist/components/grid.css +11 -8
  58. package/dist/components/grid.min.css +2 -2
  59. package/dist/components/header.css +3 -1
  60. package/dist/components/header.min.css +2 -2
  61. package/dist/components/icon.css +126 -47
  62. package/dist/components/icon.min.css +2 -2
  63. package/dist/components/image.css +1 -1
  64. package/dist/components/image.min.css +1 -1
  65. package/dist/components/input.css +742 -17
  66. package/dist/components/input.min.css +2 -2
  67. package/dist/components/item.css +13 -13
  68. package/dist/components/item.min.css +1 -1
  69. package/dist/components/label.css +1 -1
  70. package/dist/components/label.min.css +1 -1
  71. package/dist/components/list.css +1 -1
  72. package/dist/components/list.min.css +1 -1
  73. package/dist/components/loader.css +1 -1
  74. package/dist/components/loader.min.css +1 -1
  75. package/dist/components/menu.css +29 -5
  76. package/dist/components/menu.min.css +1 -1
  77. package/dist/components/message.css +41 -41
  78. package/dist/components/message.min.css +2 -2
  79. package/dist/components/modal.css +13 -1
  80. package/dist/components/modal.js +127 -49
  81. package/dist/components/modal.min.css +2 -2
  82. package/dist/components/modal.min.js +3 -3
  83. package/dist/components/nag.css +1 -1
  84. package/dist/components/nag.js +1 -1
  85. package/dist/components/nag.min.css +1 -1
  86. package/dist/components/nag.min.js +2 -2
  87. package/dist/components/placeholder.css +1 -1
  88. package/dist/components/placeholder.min.css +1 -1
  89. package/dist/components/popup.css +1 -1
  90. package/dist/components/popup.js +2 -2
  91. package/dist/components/popup.min.css +1 -1
  92. package/dist/components/popup.min.js +3 -3
  93. package/dist/components/progress.css +1 -1
  94. package/dist/components/progress.js +4 -1
  95. package/dist/components/progress.min.css +1 -1
  96. package/dist/components/progress.min.js +3 -3
  97. package/dist/components/rail.css +1 -1
  98. package/dist/components/rail.min.css +1 -1
  99. package/dist/components/rating.css +1 -1
  100. package/dist/components/rating.js +1 -1
  101. package/dist/components/rating.min.css +1 -1
  102. package/dist/components/rating.min.js +2 -2
  103. package/dist/components/reset.css +1 -1
  104. package/dist/components/reset.min.css +1 -1
  105. package/dist/components/reveal.css +1 -1
  106. package/dist/components/reveal.min.css +1 -1
  107. package/dist/components/search.css +1 -1
  108. package/dist/components/search.js +2 -2
  109. package/dist/components/search.min.css +1 -1
  110. package/dist/components/search.min.js +3 -3
  111. package/dist/components/segment.css +91 -7
  112. package/dist/components/segment.min.css +2 -2
  113. package/dist/components/shape.css +1 -1
  114. package/dist/components/shape.js +3 -3
  115. package/dist/components/shape.min.css +1 -1
  116. package/dist/components/shape.min.js +3 -3
  117. package/dist/components/sidebar.css +4 -2
  118. package/dist/components/sidebar.js +8 -6
  119. package/dist/components/sidebar.min.css +2 -2
  120. package/dist/components/sidebar.min.js +3 -3
  121. package/dist/components/site.css +61 -39
  122. package/dist/components/site.js +1 -1
  123. package/dist/components/site.min.css +2 -2
  124. package/dist/components/site.min.js +2 -2
  125. package/dist/components/slider.js +1 -1
  126. package/dist/components/slider.min.js +2 -2
  127. package/dist/components/state.js +1 -1
  128. package/dist/components/state.min.js +2 -2
  129. package/dist/components/statistic.css +1 -1
  130. package/dist/components/statistic.min.css +1 -1
  131. package/dist/components/step.css +4 -4
  132. package/dist/components/step.min.css +2 -2
  133. package/dist/components/sticky.css +1 -1
  134. package/dist/components/sticky.js +1 -1
  135. package/dist/components/sticky.min.css +1 -1
  136. package/dist/components/sticky.min.js +2 -2
  137. package/dist/components/tab.css +1 -1
  138. package/dist/components/tab.js +23 -5
  139. package/dist/components/tab.min.css +1 -1
  140. package/dist/components/tab.min.js +3 -3
  141. package/dist/components/table.css +1168 -26
  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 +39 -1
  146. package/dist/components/toast.js +56 -28
  147. package/dist/components/toast.min.css +2 -2
  148. package/dist/components/toast.min.js +3 -3
  149. package/dist/components/transition.css +1 -1
  150. package/dist/components/transition.js +21 -16
  151. package/dist/components/transition.min.css +1 -1
  152. package/dist/components/transition.min.js +3 -3
  153. package/dist/components/visibility.js +1 -1
  154. package/dist/components/visibility.min.js +2 -2
  155. package/dist/semantic.css +21916 -16238
  156. package/dist/semantic.js +433 -246
  157. package/dist/semantic.min.css +3 -3
  158. package/dist/semantic.min.js +3 -3
  159. package/dist/themes/default/assets/fonts/brand-icons.eot +0 -0
  160. package/dist/themes/default/assets/fonts/brand-icons.svg +801 -654
  161. package/dist/themes/default/assets/fonts/brand-icons.ttf +0 -0
  162. package/dist/themes/default/assets/fonts/brand-icons.woff +0 -0
  163. package/dist/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  164. package/dist/themes/default/assets/fonts/icons.eot +0 -0
  165. package/dist/themes/default/assets/fonts/icons.svg +1175 -1079
  166. package/dist/themes/default/assets/fonts/icons.ttf +0 -0
  167. package/dist/themes/default/assets/fonts/icons.woff +0 -0
  168. package/dist/themes/default/assets/fonts/icons.woff2 +0 -0
  169. package/dist/themes/default/assets/fonts/outline-icons.eot +0 -0
  170. package/dist/themes/default/assets/fonts/outline-icons.svg +93 -95
  171. package/dist/themes/default/assets/fonts/outline-icons.ttf +0 -0
  172. package/dist/themes/default/assets/fonts/outline-icons.woff +0 -0
  173. package/dist/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  174. package/examples/assets/library/iframe-content.js +8 -8
  175. package/examples/assets/library/iframe.js +3 -3
  176. package/package.json +10 -9
  177. package/src/definitions/behaviors/api.js +33 -29
  178. package/src/definitions/behaviors/form.js +37 -28
  179. package/src/definitions/collections/form.less +204 -140
  180. package/src/definitions/collections/grid.less +716 -680
  181. package/src/definitions/collections/menu.less +173 -126
  182. package/src/definitions/collections/message.less +48 -46
  183. package/src/definitions/collections/table.less +849 -262
  184. package/src/definitions/elements/button.less +586 -449
  185. package/src/definitions/elements/container.less +145 -8
  186. package/src/definitions/elements/emoji.less +15 -9
  187. package/src/definitions/elements/flag.less +7 -17
  188. package/src/definitions/elements/header.less +44 -35
  189. package/src/definitions/elements/icon.less +38 -31
  190. package/src/definitions/elements/input.less +264 -22
  191. package/src/definitions/elements/label.less +92 -91
  192. package/src/definitions/elements/list.less +55 -45
  193. package/src/definitions/elements/loader.less +30 -29
  194. package/src/definitions/elements/segment.less +147 -28
  195. package/src/definitions/elements/step.less +52 -48
  196. package/src/definitions/elements/text.less +17 -15
  197. package/src/definitions/globals/site.less +23 -2
  198. package/src/definitions/modules/accordion.less +175 -24
  199. package/src/definitions/modules/calendar.js +9 -8
  200. package/src/definitions/modules/calendar.less +20 -0
  201. package/src/definitions/modules/checkbox.js +16 -10
  202. package/src/definitions/modules/checkbox.less +34 -178
  203. package/src/definitions/modules/dimmer.js +10 -4
  204. package/src/definitions/modules/dimmer.less +21 -8
  205. package/src/definitions/modules/dropdown.js +65 -38
  206. package/src/definitions/modules/dropdown.less +145 -94
  207. package/src/definitions/modules/modal.js +126 -48
  208. package/src/definitions/modules/modal.less +12 -0
  209. package/src/definitions/modules/nag.less +20 -19
  210. package/src/definitions/modules/popup.js +1 -1
  211. package/src/definitions/modules/progress.js +3 -0
  212. package/src/definitions/modules/progress.less +19 -18
  213. package/src/definitions/modules/rating.less +35 -34
  214. package/src/definitions/modules/search.js +1 -1
  215. package/src/definitions/modules/search.less +32 -16
  216. package/src/definitions/modules/shape.js +2 -2
  217. package/src/definitions/modules/sidebar.js +7 -5
  218. package/src/definitions/modules/sidebar.less +33 -19
  219. package/src/definitions/modules/slider.less +39 -38
  220. package/src/definitions/modules/tab.js +22 -4
  221. package/src/definitions/modules/toast.js +55 -27
  222. package/src/definitions/modules/toast.less +48 -16
  223. package/src/definitions/modules/transition.js +20 -15
  224. package/src/definitions/views/card.less +402 -361
  225. package/src/definitions/views/comment.less +92 -81
  226. package/src/definitions/views/feed.less +164 -144
  227. package/src/definitions/views/item.less +249 -196
  228. package/src/definitions/views/statistic.less +90 -88
  229. package/src/themes/bookish/elements/header.overrides +1 -1
  230. package/src/themes/chubby/elements/button.overrides +1 -1
  231. package/src/themes/chubby/elements/header.overrides +1 -1
  232. package/src/themes/default/assets/fonts/brand-icons.eot +0 -0
  233. package/src/themes/default/assets/fonts/brand-icons.svg +801 -654
  234. package/src/themes/default/assets/fonts/brand-icons.ttf +0 -0
  235. package/src/themes/default/assets/fonts/brand-icons.woff +0 -0
  236. package/src/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  237. package/src/themes/default/assets/fonts/icons.eot +0 -0
  238. package/src/themes/default/assets/fonts/icons.svg +1175 -1079
  239. package/src/themes/default/assets/fonts/icons.ttf +0 -0
  240. package/src/themes/default/assets/fonts/icons.woff +0 -0
  241. package/src/themes/default/assets/fonts/icons.woff2 +0 -0
  242. package/src/themes/default/assets/fonts/outline-icons.eot +0 -0
  243. package/src/themes/default/assets/fonts/outline-icons.svg +93 -95
  244. package/src/themes/default/assets/fonts/outline-icons.ttf +0 -0
  245. package/src/themes/default/assets/fonts/outline-icons.woff +0 -0
  246. package/src/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  247. package/src/themes/default/collections/form.variables +4 -0
  248. package/src/themes/default/collections/menu.variables +6 -0
  249. package/src/themes/default/collections/table.variables +52 -0
  250. package/src/themes/default/elements/button.variables +7 -1
  251. package/src/themes/default/elements/container.variables +12 -0
  252. package/src/themes/default/elements/emoji.overrides +1734 -1232
  253. package/src/themes/default/elements/flag.overrides +1641 -986
  254. package/src/themes/default/elements/flag.variables +7 -5
  255. package/src/themes/default/elements/icon.overrides +75 -48
  256. package/src/themes/default/elements/icon.variables +1 -0
  257. package/src/themes/default/elements/input.variables +15 -0
  258. package/src/themes/default/elements/segment.variables +8 -0
  259. package/src/themes/default/elements/step.overrides +1 -1
  260. package/src/themes/default/globals/site.variables +6 -0
  261. package/src/themes/default/globals/variation.variables +139 -6
  262. package/src/themes/default/modules/accordion.variables +49 -2
  263. package/src/themes/default/modules/calendar.variables +3 -0
  264. package/src/themes/default/modules/checkbox.variables +5 -5
  265. package/src/themes/default/modules/dimmer.variables +1 -1
  266. package/src/themes/default/modules/dropdown.variables +4 -10
  267. package/src/themes/default/modules/modal.variables +13 -0
  268. package/src/themes/default/modules/toast.variables +3 -0
  269. package/src/themes/famfamfam/elements/flag.overrides +1026 -0
  270. package/src/themes/famfamfam/elements/flag.variables +13 -0
  271. package/src/themes/instagram/views/card.overrides +1 -1
  272. package/src/themes/joypixels/elements/emoji.overrides +1759 -1257
  273. package/src/themes/joypixels/elements/emoji.variables +1 -1
  274. package/src/themes/material/collections/menu.overrides +1 -1
  275. package/src/themes/material/elements/button.overrides +1 -1
  276. package/src/themes/material/elements/header.overrides +1 -1
  277. package/src/themes/material/globals/site.variables +0 -1
  278. package/src/themes/material/modules/dropdown.overrides +1 -1
  279. package/src/themes/material/modules/modal.overrides +1 -1
  280. package/src/themes/rtl/globals/site.overrides +1 -1
  281. package/src/themes/twitter/elements/emoji.overrides +1734 -1232
  282. package/tasks/build/css.js +6 -1
  283. package/tasks/config/project/install.js +11 -5
  284. package/tasks/install.js +1 -0
  285. package/test/helpers/sinon.js +2 -2
@@ -185,22 +185,25 @@ ol.ui.list ol li,
185
185
  margin-left: 0;
186
186
  padding-left: 0;
187
187
  }
188
-
189
- /* Header */
190
- .ui.list .list > .item .header,
191
- .ui.list > .item .header {
192
- display: block;
193
- margin: 0;
194
- font-family: @itemHeaderFontFamily;
195
- font-weight: @itemHeaderFontWeight;
196
- color: @itemHeaderColor;
188
+ & when (@variationListHeader) {
189
+ /* Header */
190
+ .ui.list .list > .item .header,
191
+ .ui.list > .item .header {
192
+ display: block;
193
+ margin: 0;
194
+ font-family: @itemHeaderFontFamily;
195
+ font-weight: @itemHeaderFontWeight;
196
+ color: @itemHeaderColor;
197
+ }
197
198
  }
198
199
 
199
- /* Description */
200
- .ui.list .list > .item .description,
201
- .ui.list > .item .description {
202
- display: block;
203
- color: @itemDescriptionColor;
200
+ & when (@variationListDescription) {
201
+ /* Description */
202
+ .ui.list .list > .item .description,
203
+ .ui.list > .item .description {
204
+ display: block;
205
+ color: @itemDescriptionColor;
206
+ }
204
207
  }
205
208
 
206
209
  /* Child Link */
@@ -230,15 +233,17 @@ ol.ui.list ol li,
230
233
  }
231
234
  }
232
235
 
233
- /* Header Link */
234
- .ui.list .list > .item a.header,
235
- .ui.list > .item a.header {
236
- cursor: pointer;
237
- color: @itemHeaderLinkColor !important;
238
- }
239
- .ui.list .list > .item > a.header:hover,
240
- .ui.list > .item > a.header:hover {
241
- color: @itemHeaderLinkHoverColor !important;
236
+ & when (@variationListHeader) {
237
+ /* Header Link */
238
+ .ui.list .list > .item a.header,
239
+ .ui.list > .item a.header {
240
+ cursor: pointer;
241
+ color: @itemHeaderLinkColor !important;
242
+ }
243
+ .ui.list .list > .item > a.header:hover,
244
+ .ui.list > .item > a.header:hover {
245
+ color: @itemHeaderLinkHoverColor !important;
246
+ }
242
247
  }
243
248
 
244
249
  & when (@variationListFloated) {
@@ -406,13 +411,17 @@ ol.ui.list ol li,
406
411
  color: @invertedIconLinkColor;
407
412
  }
408
413
  }
409
- .ui.inverted.list .list > .item .header,
410
- .ui.inverted.list > .item .header {
411
- color: @invertedHeaderColor;
414
+ & when (@variationListHeader) {
415
+ .ui.inverted.list .list > .item .header,
416
+ .ui.inverted.list > .item .header {
417
+ color: @invertedHeaderColor;
418
+ }
412
419
  }
413
- .ui.inverted.list .list > .item .description,
414
- .ui.inverted.list > .item .description {
415
- color: @invertedDescriptionColor;
420
+ & when (@variationListDescription) {
421
+ .ui.inverted.list .list > .item .description,
422
+ .ui.inverted.list > .item .description {
423
+ color: @invertedDescriptionColor;
424
+ }
416
425
  }
417
426
  .ui.inverted.list .list > .item > .content,
418
427
  .ui.inverted.list > .item > .content {
@@ -974,23 +983,24 @@ ol.ui.list ol li,
974
983
  padding-right: @relaxedHorizontalPadding;
975
984
  }
976
985
  }
977
-
978
- /* Very Relaxed */
979
- .ui[class*="very relaxed"].list:not(.horizontal) > .item:not(:first-child) {
980
- padding-top: @veryRelaxedItemVerticalPadding;
981
- }
982
- .ui[class*="very relaxed"].list:not(.horizontal) > .item:not(:last-child) {
983
- padding-bottom: @veryRelaxedItemVerticalPadding;
984
- }
985
-
986
- & when (@variationListHorizontal) {
987
- .ui.horizontal[class*="very relaxed"].list .list > .item:not(:first-child),
988
- .ui.horizontal[class*="very relaxed"].list > .item:not(:first-child) {
989
- padding-left: @veryRelaxedHorizontalPadding;
986
+ & when (@variationListVeryRelaxed) {
987
+ /* Very Relaxed */
988
+ .ui[class*="very relaxed"].list:not(.horizontal) > .item:not(:first-child) {
989
+ padding-top: @veryRelaxedItemVerticalPadding;
990
+ }
991
+ .ui[class*="very relaxed"].list:not(.horizontal) > .item:not(:last-child) {
992
+ padding-bottom: @veryRelaxedItemVerticalPadding;
990
993
  }
991
- .ui.horizontal[class*="very relaxed"].list .list > .item:not(:last-child),
992
- .ui.horizontal[class*="very relaxed"].list > .item:not(:last-child) {
993
- padding-right: @veryRelaxedHorizontalPadding;
994
+
995
+ & when (@variationListHorizontal) {
996
+ .ui.horizontal[class*="very relaxed"].list .list > .item:not(:first-child),
997
+ .ui.horizontal[class*="very relaxed"].list > .item:not(:first-child) {
998
+ padding-left: @veryRelaxedHorizontalPadding;
999
+ }
1000
+ .ui.horizontal[class*="very relaxed"].list .list > .item:not(:last-child),
1001
+ .ui.horizontal[class*="very relaxed"].list > .item:not(:last-child) {
1002
+ padding-right: @veryRelaxedHorizontalPadding;
1003
+ }
994
1004
  }
995
1005
  }
996
1006
  }
@@ -203,35 +203,36 @@
203
203
  /*-------------------
204
204
  Colors
205
205
  --------------------*/
206
-
207
- each(@colors, {
208
- @color: replace(@key, '@', '');
209
- @c: @colors[@@color][color];
210
- @l: @colors[@@color][light];
211
-
212
- .ui.@{color}.elastic.loader.loader:before,
213
- .ui.@{color}.basic.elastic.loading.button:before,
214
- .ui.@{color}.basic.elastic.loading.button:after,
215
- .ui.@{color}.elastic.loading.loading.loading:not(.segment):not(.segments):not(.card):before,
216
- .ui.@{color}.elastic.loading.loading.loading .input > i.icon:before,
217
- .ui.@{color}.elastic.loading.loading.loading.loading > i.icon:before,
218
- .ui.@{color}.loading.loading.loading.loading:not(.usual):not(.button):after,
219
- .ui.@{color}.loading.loading.loading.loading .input > i.icon:after,
220
- .ui.@{color}.loading.loading.loading.loading > i.icon:after,
221
- .ui.@{color}.loader.loader.loader:after {
222
- color: @c;
223
- }
224
- .ui.inverted.@{color}.elastic.loader:before,
225
- .ui.inverted.@{color}.elastic.loading.loading.loading:not(.segment):not(.segments):not(.card):before,
226
- .ui.inverted.@{color}.elastic.loading.loading.loading .input > i.icon:before,
227
- .ui.inverted.@{color}.elastic.loading.loading.loading > i.icon:before,
228
- .ui.inverted.@{color}.loading.loading.loading.loading:not(.usual):after,
229
- .ui.inverted.@{color}.loading.loading.loading.loading .input > i.icon:after,
230
- .ui.inverted.@{color}.loading.loading.loading.loading > i.icon:after,
231
- .ui.inverted.@{color}.loader.loader.loader:after {
232
- color: @l;
233
- }
234
- })
206
+ & when not (@variationLoaderColors = false) {
207
+ each(@variationLoaderColors, {
208
+ @color: @value;
209
+ @c: @colors[@@color][color];
210
+ @l: @colors[@@color][light];
211
+
212
+ .ui.@{color}.elastic.loader.loader:before,
213
+ .ui.@{color}.basic.elastic.loading.button:before,
214
+ .ui.@{color}.basic.elastic.loading.button:after,
215
+ .ui.@{color}.elastic.loading.loading.loading:not(.segment):not(.segments):not(.card):before,
216
+ .ui.@{color}.elastic.loading.loading.loading .input > i.icon:before,
217
+ .ui.@{color}.elastic.loading.loading.loading.loading > i.icon:before,
218
+ .ui.@{color}.loading.loading.loading.loading:not(.usual):not(.button):after,
219
+ .ui.@{color}.loading.loading.loading.loading .input > i.icon:after,
220
+ .ui.@{color}.loading.loading.loading.loading > i.icon:after,
221
+ .ui.@{color}.loader.loader.loader:after {
222
+ color: @c;
223
+ }
224
+ .ui.inverted.@{color}.elastic.loader:before,
225
+ .ui.inverted.@{color}.elastic.loading.loading.loading:not(.segment):not(.segments):not(.card):before,
226
+ .ui.inverted.@{color}.elastic.loading.loading.loading .input > i.icon:before,
227
+ .ui.inverted.@{color}.elastic.loading.loading.loading > i.icon:before,
228
+ .ui.inverted.@{color}.loading.loading.loading.loading:not(.usual):after,
229
+ .ui.inverted.@{color}.loading.loading.loading.loading .input > i.icon:after,
230
+ .ui.inverted.@{color}.loading.loading.loading.loading > i.icon:after,
231
+ .ui.inverted.@{color}.loader.loader.loader:after {
232
+ color: @l;
233
+ }
234
+ })
235
+ }
235
236
 
236
237
  .ui.elastic.loader.loader:before,
237
238
  .ui.elastic.loading.loading.loading:before,
@@ -49,10 +49,10 @@
49
49
  border-radius: 0;
50
50
  box-shadow: none;
51
51
  border: none;
52
- border-bottom: @borderWidth solid @borderColor;
52
+ border-top: @borderWidth solid @borderColor;
53
53
  }
54
- .ui.vertical.segment:last-child {
55
- border-bottom: none;
54
+ .ui.vertical.segment:first-child {
55
+ border-top: none;
56
56
  }
57
57
  }
58
58
 
@@ -299,9 +299,10 @@
299
299
  .ui.padded.segment {
300
300
  padding: @paddedSegmentPadding;
301
301
  }
302
-
303
- .ui[class*="very padded"].segment {
304
- padding: @veryPaddedSegmentPadding;
302
+ & when (@variationSegmentVeryPadded) {
303
+ .ui[class*="very padded"].segment {
304
+ padding: @veryPaddedSegmentPadding;
305
+ }
305
306
  }
306
307
 
307
308
  & when (@variationSegmentVertical) {
@@ -437,10 +438,10 @@
437
438
  flex-direction: row;
438
439
  background-color: transparent;
439
440
  padding: 0;
440
- box-shadow: @boxShadow;
441
- margin: @margin;
442
- border-radius: @borderRadius;
443
- border: @border;
441
+ box-shadow: @groupedBoxShadow;
442
+ margin: @groupedMargin;
443
+ border-radius: @groupedBorderRadius;
444
+ border: @groupedBorder;
444
445
  }
445
446
  .ui.stackable.horizontal.segments {
446
447
  flex-wrap: wrap;
@@ -591,22 +592,23 @@
591
592
  /*-------------------
592
593
  Colors
593
594
  --------------------*/
594
-
595
- each(@colors,{
596
- @color: replace(@key,'@','');
597
- @c: @colors[@@color][color];
598
- & when not (@color=primary) and not (@color=secondary) {
599
- .ui.@{color}.segment.segment.segment.segment.segment:not(.inverted) {
600
- border-top: @coloredBorderSize solid @c;
601
- }
602
- & when (@variationSegmentInverted) {
603
- .ui.inverted.@{color}.segment.segment.segment.segment.segment {
604
- background-color: @c;
605
- color: @white;
595
+ & when not (@variationSegmentColors = false) {
596
+ each(@variationSegmentColors, {
597
+ @color: @value;
598
+ @c: @colors[@@color][color];
599
+ & when not (@color=primary) and not (@color=secondary) {
600
+ .ui.@{color}.segment.segment.segment.segment.segment:not(.inverted) {
601
+ border-top: @coloredBorderSize solid @c;
602
+ }
603
+ & when (@variationSegmentInverted) {
604
+ .ui.inverted.@{color}.segment.segment.segment.segment.segment {
605
+ background-color: @c;
606
+ color: @white;
607
+ }
606
608
  }
607
609
  }
608
- }
609
- })
610
+ })
611
+ }
610
612
 
611
613
  & when (@variationSegmentAligned) {
612
614
  /*-------------------
@@ -666,7 +668,7 @@ each(@colors,{
666
668
  }
667
669
  & when (@variationSegmentAttached) {
668
670
  /* Attached */
669
- .ui.inverted.attached.segment {
671
+ .ui.ui.inverted.attached.segment {
670
672
  border-color: @solidWhiteBorderColor;
671
673
  }
672
674
  }
@@ -728,14 +730,16 @@ each(@colors,{
728
730
  width: @attachedWidth;
729
731
  max-width: @attachedWidth;
730
732
  box-shadow: @attachedBoxShadow;
731
- border: @attachedBorder;
733
+ &:not(.basic) {
734
+ border: @attachedBorder;
735
+ }
732
736
  }
733
- .ui.attached:not(.message) + .ui.attached.segment:not(.top) {
737
+ .ui.attached:not(.message):not(.text) + .ui.attached.segment:not(.top) {
734
738
  border-top: none;
735
739
  }
736
740
 
737
741
  /* Top */
738
- .ui[class*="top attached"].segment {
742
+ .ui.segment[class*="top attached"] {
739
743
  bottom: 0;
740
744
  margin-bottom: 0;
741
745
  top: @attachedTopOffset;
@@ -745,6 +749,9 @@ each(@colors,{
745
749
  .ui.segment[class*="top attached"]:first-child {
746
750
  margin-top: 0;
747
751
  }
752
+ .ui.tab.segment[class*="top attached"]:first-child {
753
+ margin-top: @verticalMargin;
754
+ }
748
755
 
749
756
  /* Bottom */
750
757
  .ui.segment[class*="bottom attached"] {
@@ -756,6 +763,9 @@ each(@colors,{
756
763
  border-radius: 0 0 @borderRadius @borderRadius;
757
764
  }
758
765
  .ui.segment[class*="bottom attached"]:last-child {
766
+ margin-bottom: 0;
767
+ }
768
+ .ui.tab.segment[class*="bottom attached"]:last-child {
759
769
  margin-bottom: @verticalMargin;
760
770
  }
761
771
  }
@@ -775,6 +785,115 @@ each(@colors,{
775
785
  }
776
786
  }
777
787
 
788
+ & when (@variationSegmentScrolling) {
789
+ /*--------------
790
+ Scrolling
791
+ ---------------*/
792
+ .ui.scrolling.segment {
793
+ overflow: auto;
794
+ }
795
+ @media only screen and (max-width : @largestMobileScreen) {
796
+ & when (@variationSegmentScrollingShort) {
797
+ .ui.scrolling.segment.short {
798
+ max-height: @scrollingMobileMaxHeight * 0.75;
799
+ }
800
+ }
801
+ & when (@variationSegmentScrollingVeryShort) {
802
+ .ui.scrolling.segment[class*="very short"] {
803
+ max-height: @scrollingMobileMaxHeight * 0.5;
804
+ }
805
+ }
806
+ .ui.scrolling.segment {
807
+ max-height: @scrollingMobileMaxHeight;
808
+ }
809
+ & when (@variationSegmentScrollingLong) {
810
+ .ui.scrolling.segment.long {
811
+ max-height: @scrollingMobileMaxHeight * 2;
812
+ }
813
+ }
814
+ & when (@variationSegmentScrollingVeryLong) {
815
+ .ui.scrolling.segment[class*="very long"] {
816
+ max-height: @scrollingMobileMaxHeight * 3;
817
+ }
818
+ }
819
+ }
820
+
821
+ @media only screen and (min-width: @tabletBreakpoint) {
822
+ & when (@variationSegmentScrollingShort) {
823
+ .ui.scrolling.segment.short {
824
+ max-height: @scrollingTabletMaxHeight * 0.75;
825
+ }
826
+ }
827
+ & when (@variationSegmentScrollingVeryShort) {
828
+ .ui.scrolling.segment[class*="very short"] {
829
+ max-height: @scrollingTabletMaxHeight * 0.5;
830
+ }
831
+ }
832
+ .ui.scrolling.segment {
833
+ max-height: @scrollingTabletMaxHeight;
834
+ }
835
+ & when (@variationSegmentScrollingLong) {
836
+ .ui.scrolling.segment.long {
837
+ max-height: @scrollingTabletMaxHeight * 2;
838
+ }
839
+ }
840
+ & when (@variationSegmentScrollingVeryLong) {
841
+ .ui.scrolling.segment[class*="very long"] {
842
+ max-height: @scrollingTabletMaxHeight * 3;
843
+ }
844
+ }
845
+ }
846
+ @media only screen and (min-width: @computerBreakpoint) {
847
+ & when (@variationSegmentScrollingShort) {
848
+ .ui.scrolling.segment.short {
849
+ max-height: @scrollingComputerMaxHeight * 0.75;
850
+ }
851
+ }
852
+ & when (@variationSegmentScrollingVeryShort) {
853
+ .ui.scrolling.segment[class*="very short"] {
854
+ max-height: @scrollingComputerMaxHeight * 0.5;
855
+ }
856
+ }
857
+ .ui.scrolling.segment {
858
+ max-height: @scrollingComputerMaxHeight;
859
+ }
860
+ & when (@variationSegmentScrollingLong) {
861
+ .ui.scrolling.segment.long {
862
+ max-height: @scrollingComputerMaxHeight * 2;
863
+ }
864
+ }
865
+ & when (@variationSegmentScrollingVeryLong) {
866
+ .ui.scrolling.segment[class*="very long"]{
867
+ max-height: @scrollingComputerMaxHeight * 3;
868
+ }
869
+ }
870
+ }
871
+ @media only screen and (min-width: @widescreenMonitorBreakpoint) {
872
+ & when (@variationSegmentScrollingShort) {
873
+ .ui.scrolling.segment.short {
874
+ max-height: @scrollingWidescreenMaxHeight * 0.75;
875
+ }
876
+ }
877
+ & when (@variationSegmentScrollingVeryShort) {
878
+ .ui.scrolling.segment[class*="very short"] {
879
+ max-height: @scrollingWidescreenMaxHeight * 0.5;
880
+ }
881
+ }
882
+ .ui.scrolling.segment {
883
+ max-height: @scrollingWidescreenMaxHeight;
884
+ }
885
+ & when (@variationSegmentScrollingLong) {
886
+ .ui.scrolling.segment.long {
887
+ max-height: @scrollingWidescreenMaxHeight * 2;
888
+ }
889
+ }
890
+ & when (@variationSegmentScrollingVeryLong) {
891
+ .ui.scrolling.segment[class*="very long"] {
892
+ max-height: @scrollingWidescreenMaxHeight * 3;
893
+ }
894
+ }
895
+ }
896
+ }
778
897
  /*-------------------
779
898
  Size
780
899
  --------------------*/
@@ -290,8 +290,10 @@
290
290
  right: 50%;
291
291
  transform: translateY(-50%) translateX(50%) rotate(45deg);
292
292
  }
293
- .ui.vertical.steps .active.step:last-child:after {
294
- display: none;
293
+ & when (@variationStepVertical) {
294
+ .ui.vertical.steps .active.step:last-child:after {
295
+ display: none;
296
+ }
295
297
  }
296
298
  /* Content */
297
299
  .ui.steps:not(.unstackable) .step .content {
@@ -493,53 +495,55 @@
493
495
  }
494
496
  }
495
497
 
496
- /*-------------------
497
- Evenly Divided
498
- --------------------*/
498
+ & when (@variationStepEqualWidth) {
499
+ /*-------------------
500
+ Evenly Divided
501
+ --------------------*/
499
502
 
500
- .ui.one.steps,
501
- .ui.two.steps,
502
- .ui.three.steps,
503
- .ui.four.steps,
504
- .ui.five.steps,
505
- .ui.six.steps,
506
- .ui.seven.steps,
507
- .ui.eight.steps {
508
- width: 100%;
509
- }
510
- .ui.one.steps > .step,
511
- .ui.two.steps > .step,
512
- .ui.three.steps > .step,
513
- .ui.four.steps > .step,
514
- .ui.five.steps > .step,
515
- .ui.six.steps > .step,
516
- .ui.seven.steps > .step,
517
- .ui.eight.steps > .step {
518
- flex-wrap: nowrap;
519
- }
520
- .ui.one.steps > .step {
521
- width: 100%;
522
- }
523
- .ui.two.steps > .step {
524
- width: 50%;
525
- }
526
- .ui.three.steps > .step {
527
- width: 33.333%;
528
- }
529
- .ui.four.steps > .step {
530
- width: 25%;
531
- }
532
- .ui.five.steps > .step {
533
- width: 20%;
534
- }
535
- .ui.six.steps > .step {
536
- width: 16.666%;
537
- }
538
- .ui.seven.steps > .step {
539
- width: 14.285%;
540
- }
541
- .ui.eight.steps > .step {
542
- width: 12.500%;
503
+ .ui.one.steps,
504
+ .ui.two.steps,
505
+ .ui.three.steps,
506
+ .ui.four.steps,
507
+ .ui.five.steps,
508
+ .ui.six.steps,
509
+ .ui.seven.steps,
510
+ .ui.eight.steps {
511
+ width: 100%;
512
+ }
513
+ .ui.one.steps > .step,
514
+ .ui.two.steps > .step,
515
+ .ui.three.steps > .step,
516
+ .ui.four.steps > .step,
517
+ .ui.five.steps > .step,
518
+ .ui.six.steps > .step,
519
+ .ui.seven.steps > .step,
520
+ .ui.eight.steps > .step {
521
+ flex-wrap: nowrap;
522
+ }
523
+ .ui.one.steps > .step {
524
+ width: 100%;
525
+ }
526
+ .ui.two.steps > .step {
527
+ width: 50%;
528
+ }
529
+ .ui.three.steps > .step {
530
+ width: 33.333%;
531
+ }
532
+ .ui.four.steps > .step {
533
+ width: 25%;
534
+ }
535
+ .ui.five.steps > .step {
536
+ width: 20%;
537
+ }
538
+ .ui.six.steps > .step {
539
+ width: 16.666%;
540
+ }
541
+ .ui.seven.steps > .step {
542
+ width: 14.285%;
543
+ }
544
+ .ui.eight.steps > .step {
545
+ width: 12.500%;
546
+ }
543
547
  }
544
548
 
545
549
  /*-------------------
@@ -26,24 +26,26 @@ span.ui.text {
26
26
  line-height: @lineHeight;
27
27
  }
28
28
 
29
- each(@colors, {
30
- @color: replace(@key, '@', '');
31
- @c: @colors[@@color][color];
32
- @l: @colors[@@color][light];
29
+ & when not (@variationTextColors = false) {
30
+ each(@variationTextColors, {
31
+ @color: @value;
32
+ @c: @colors[@@color][color];
33
+ @l: @colors[@@color][light];
33
34
 
34
- span.ui.@{color}.text {
35
- color: @c;
36
- }
37
- & when (@variationTextInverted) {
38
- span.ui.inverted.@{color}.text {
39
- color: @l;
35
+ span.ui.@{color}.text {
36
+ color: @c;
40
37
  }
41
- }
42
- })
38
+ & when (@variationTextInverted) {
39
+ span.ui.inverted.@{color}.text {
40
+ color: @l;
41
+ }
42
+ }
43
+ })
44
+ }
43
45
 
44
- & when (@variationTextStates) {
45
- each(@textStates, {
46
- @state: replace(@key, '@', '');
46
+ & when not (@variationTextStates = false) {
47
+ each(@variationTextStates, {
48
+ @state: @value;
47
49
  @c: @textStates[@@state][color];
48
50
 
49
51
  span.ui.@{state}.text {
@@ -128,7 +128,7 @@ a:hover {
128
128
  Scrollbars
129
129
  *******************************/
130
130
 
131
- .addScrollbars() when (@useCustomScrollbars) {
131
+ & when (@useCustomScrollbars) {
132
132
 
133
133
  /* Force Simple Scrollbars */
134
134
  body ::-webkit-scrollbar {
@@ -152,6 +152,17 @@ a:hover {
152
152
  body ::-webkit-scrollbar-thumb:hover {
153
153
  background: @thumbHoverBackground;
154
154
  }
155
+ body .ui {
156
+ /* IE11 */
157
+ scrollbar-face-color: @thumbBackgroundHex;
158
+ scrollbar-shadow-color: @thumbBackgroundHex;
159
+ scrollbar-track-color: @trackBackgroundHex;
160
+ scrollbar-arrow-color: @trackBackgroundHex;
161
+
162
+ /* firefox : first color thumb, second track*/
163
+ scrollbar-color: @thumbBackground @trackBackground;
164
+ scrollbar-width: thin;
165
+ }
155
166
 
156
167
  /* Inverted UI */
157
168
  body .ui.inverted:not(.dimmer)::-webkit-scrollbar-track {
@@ -166,6 +177,17 @@ a:hover {
166
177
  body .ui.inverted:not(.dimmer)::-webkit-scrollbar-thumb:hover {
167
178
  background: @thumbInvertedHoverBackground;
168
179
  }
180
+
181
+ body .ui.inverted:not(.dimmer) {
182
+ /* IE11 */
183
+ scrollbar-face-color: @thumbInvertedBackgroundHex;
184
+ scrollbar-shadow-color: @thumbInvertedBackgroundHex;
185
+ scrollbar-track-color: @trackInvertedBackgroundHex;
186
+ scrollbar-arrow-color: @trackInvertedBackgroundHex;
187
+
188
+ /* firefox : first color thumb, second track */
189
+ scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
190
+ }
169
191
  }
170
192
 
171
193
  /*******************************
@@ -203,5 +225,4 @@ input::selection {
203
225
  color: @inputHighlightColor;
204
226
  }
205
227
 
206
- .addScrollbars();
207
228
  .loadUIOverrides();