fomantic-ui 2.9.3-beta.9 → 2.9.4-beta.0

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 (290) hide show
  1. package/.all-contributorsrc +2 -2
  2. package/.github/FUNDING.yml +1 -1
  3. package/.github/auto_assign.yml +1 -1
  4. package/.github/workflows/ci.yml +5 -5
  5. package/.github/workflows/nightly.yml +1 -1
  6. package/.github/workflows/release.yml +1 -1
  7. package/CHANGELOG.md +131 -0
  8. package/CONTRIBUTORS.md +1 -1
  9. package/README.md +5 -2
  10. package/SECURITY.md +2 -1
  11. package/dist/components/accordion.css +1 -1
  12. package/dist/components/accordion.js +2 -2
  13. package/dist/components/accordion.min.css +1 -1
  14. package/dist/components/accordion.min.js +2 -2
  15. package/dist/components/ad.css +1 -1
  16. package/dist/components/ad.min.css +1 -1
  17. package/dist/components/api.js +10 -9
  18. package/dist/components/api.min.js +2 -2
  19. package/dist/components/breadcrumb.css +1 -1
  20. package/dist/components/breadcrumb.min.css +1 -1
  21. package/dist/components/button.css +2 -2
  22. package/dist/components/button.min.css +2 -2
  23. package/dist/components/calendar.css +140 -3
  24. package/dist/components/calendar.js +2 -2
  25. package/dist/components/calendar.min.css +2 -2
  26. package/dist/components/calendar.min.js +2 -2
  27. package/dist/components/card.css +1 -1
  28. package/dist/components/card.min.css +1 -1
  29. package/dist/components/checkbox.css +50 -6
  30. package/dist/components/checkbox.js +5 -3
  31. package/dist/components/checkbox.min.css +2 -2
  32. package/dist/components/checkbox.min.js +2 -2
  33. package/dist/components/comment.css +6 -1
  34. package/dist/components/comment.min.css +2 -2
  35. package/dist/components/container.css +62 -1
  36. package/dist/components/container.min.css +2 -2
  37. package/dist/components/dimmer.css +3 -3
  38. package/dist/components/dimmer.js +2 -2
  39. package/dist/components/dimmer.min.css +2 -2
  40. package/dist/components/dimmer.min.js +2 -2
  41. package/dist/components/divider.css +1 -1
  42. package/dist/components/divider.min.css +1 -1
  43. package/dist/components/dropdown.css +101 -25
  44. package/dist/components/dropdown.js +29 -21
  45. package/dist/components/dropdown.min.css +2 -2
  46. package/dist/components/dropdown.min.js +2 -2
  47. package/dist/components/embed.css +1 -1
  48. package/dist/components/embed.js +2 -2
  49. package/dist/components/embed.min.css +1 -1
  50. package/dist/components/embed.min.js +2 -2
  51. package/dist/components/emoji.css +697 -249
  52. package/dist/components/emoji.min.css +2 -2
  53. package/dist/components/feed.css +486 -5
  54. package/dist/components/feed.min.css +2 -2
  55. package/dist/components/flag.css +3 -2
  56. package/dist/components/flag.min.css +2 -2
  57. package/dist/components/flyout.css +1 -1
  58. package/dist/components/flyout.js +2 -33
  59. package/dist/components/flyout.min.css +1 -1
  60. package/dist/components/flyout.min.js +2 -2
  61. package/dist/components/form.css +34 -32
  62. package/dist/components/form.js +72 -31
  63. package/dist/components/form.min.css +2 -2
  64. package/dist/components/form.min.js +2 -2
  65. package/dist/components/grid.css +107 -107
  66. package/dist/components/grid.min.css +2 -2
  67. package/dist/components/header.css +1 -1
  68. package/dist/components/header.min.css +1 -1
  69. package/dist/components/icon.css +62 -62
  70. package/dist/components/icon.min.css +2 -2
  71. package/dist/components/image.css +1 -1
  72. package/dist/components/image.min.css +1 -1
  73. package/dist/components/input.css +3 -27
  74. package/dist/components/input.min.css +2 -2
  75. package/dist/components/item.css +6 -1
  76. package/dist/components/item.min.css +2 -2
  77. package/dist/components/label.css +21 -2
  78. package/dist/components/label.min.css +2 -2
  79. package/dist/components/list.css +13 -13
  80. package/dist/components/list.min.css +2 -2
  81. package/dist/components/loader.css +282 -282
  82. package/dist/components/loader.min.css +2 -2
  83. package/dist/components/menu.css +13 -7
  84. package/dist/components/menu.min.css +2 -2
  85. package/dist/components/message.css +1 -1
  86. package/dist/components/message.min.css +1 -1
  87. package/dist/components/modal.css +5 -1
  88. package/dist/components/modal.js +3 -3
  89. package/dist/components/modal.min.css +2 -2
  90. package/dist/components/modal.min.js +2 -2
  91. package/dist/components/nag.css +1 -1
  92. package/dist/components/nag.js +3 -3
  93. package/dist/components/nag.min.css +1 -1
  94. package/dist/components/nag.min.js +2 -2
  95. package/dist/components/placeholder.css +1 -1
  96. package/dist/components/placeholder.min.css +1 -1
  97. package/dist/components/popup.css +3 -3
  98. package/dist/components/popup.js +11 -9
  99. package/dist/components/popup.min.css +2 -2
  100. package/dist/components/popup.min.js +2 -2
  101. package/dist/components/progress.css +1 -1
  102. package/dist/components/progress.js +2 -2
  103. package/dist/components/progress.min.css +1 -1
  104. package/dist/components/progress.min.js +2 -2
  105. package/dist/components/rail.css +1 -1
  106. package/dist/components/rail.min.css +1 -1
  107. package/dist/components/rating.css +1 -1
  108. package/dist/components/rating.js +2 -2
  109. package/dist/components/rating.min.css +1 -1
  110. package/dist/components/rating.min.js +2 -2
  111. package/dist/components/reset.css +1 -1
  112. package/dist/components/reset.min.css +1 -1
  113. package/dist/components/reveal.css +1 -1
  114. package/dist/components/reveal.min.css +1 -1
  115. package/dist/components/search.css +26 -1
  116. package/dist/components/search.js +5 -4
  117. package/dist/components/search.min.css +2 -2
  118. package/dist/components/search.min.js +2 -2
  119. package/dist/components/segment.css +159 -33
  120. package/dist/components/segment.min.css +2 -2
  121. package/dist/components/shape.css +1 -1
  122. package/dist/components/shape.js +2 -2
  123. package/dist/components/shape.min.css +1 -1
  124. package/dist/components/shape.min.js +2 -2
  125. package/dist/components/sidebar.css +1 -1
  126. package/dist/components/sidebar.js +2 -32
  127. package/dist/components/sidebar.min.css +1 -1
  128. package/dist/components/sidebar.min.js +2 -2
  129. package/dist/components/site.css +1 -1
  130. package/dist/components/site.js +2 -2
  131. package/dist/components/site.min.css +1 -1
  132. package/dist/components/site.min.js +2 -2
  133. package/dist/components/slider.css +1 -1
  134. package/dist/components/slider.js +126 -26
  135. package/dist/components/slider.min.css +1 -1
  136. package/dist/components/slider.min.js +2 -2
  137. package/dist/components/state.js +2 -2
  138. package/dist/components/state.min.js +2 -2
  139. package/dist/components/statistic.css +1 -1
  140. package/dist/components/statistic.min.css +1 -1
  141. package/dist/components/step.css +1 -1
  142. package/dist/components/step.min.css +1 -1
  143. package/dist/components/sticky.css +1 -1
  144. package/dist/components/sticky.js +2 -2
  145. package/dist/components/sticky.min.css +1 -1
  146. package/dist/components/sticky.min.js +2 -2
  147. package/dist/components/tab.css +1 -1
  148. package/dist/components/tab.js +6 -4
  149. package/dist/components/tab.min.css +1 -1
  150. package/dist/components/tab.min.js +2 -2
  151. package/dist/components/table.css +65 -1
  152. package/dist/components/table.min.css +2 -2
  153. package/dist/components/text.css +1 -1
  154. package/dist/components/text.min.css +1 -1
  155. package/dist/components/toast.css +6 -1
  156. package/dist/components/toast.js +2 -2
  157. package/dist/components/toast.min.css +2 -2
  158. package/dist/components/toast.min.js +2 -2
  159. package/dist/components/transition.css +1 -1
  160. package/dist/components/transition.js +3 -3
  161. package/dist/components/transition.min.css +1 -1
  162. package/dist/components/transition.min.js +2 -2
  163. package/dist/components/visibility.js +2 -2
  164. package/dist/components/visibility.min.js +2 -2
  165. package/dist/semantic.css +2822 -954
  166. package/dist/semantic.js +302 -206
  167. package/dist/semantic.min.css +2 -2
  168. package/dist/semantic.min.js +2 -2
  169. package/package.json +4 -3
  170. package/scripts/nightly-version.js +2 -2
  171. package/src/definitions/behaviors/api.js +9 -8
  172. package/src/definitions/behaviors/form.js +71 -30
  173. package/src/definitions/behaviors/state.js +1 -1
  174. package/src/definitions/behaviors/visibility.js +1 -1
  175. package/src/definitions/collections/form.less +9 -14
  176. package/src/definitions/collections/grid.less +106 -106
  177. package/src/definitions/collections/menu.less +29 -22
  178. package/src/definitions/collections/table.less +66 -0
  179. package/src/definitions/elements/button.less +1 -1
  180. package/src/definitions/elements/container.less +63 -0
  181. package/src/definitions/elements/icon.less +5 -5
  182. package/src/definitions/elements/input.less +2 -2
  183. package/src/definitions/elements/label.less +21 -1
  184. package/src/definitions/elements/list.less +13 -13
  185. package/src/definitions/elements/loader.less +71 -71
  186. package/src/definitions/elements/segment.less +110 -13
  187. package/src/definitions/globals/site.js +1 -1
  188. package/src/definitions/modules/accordion.js +1 -1
  189. package/src/definitions/modules/calendar.js +1 -1
  190. package/src/definitions/modules/calendar.less +40 -11
  191. package/src/definitions/modules/checkbox.js +4 -2
  192. package/src/definitions/modules/checkbox.less +61 -5
  193. package/src/definitions/modules/dimmer.js +1 -1
  194. package/src/definitions/modules/dimmer.less +2 -2
  195. package/src/definitions/modules/dropdown.js +28 -20
  196. package/src/definitions/modules/dropdown.less +124 -21
  197. package/src/definitions/modules/embed.js +1 -1
  198. package/src/definitions/modules/flyout.js +1 -32
  199. package/src/definitions/modules/modal.js +2 -2
  200. package/src/definitions/modules/modal.less +6 -0
  201. package/src/definitions/modules/nag.js +2 -2
  202. package/src/definitions/modules/popup.js +10 -8
  203. package/src/definitions/modules/popup.less +4 -4
  204. package/src/definitions/modules/progress.js +1 -1
  205. package/src/definitions/modules/rating.js +1 -1
  206. package/src/definitions/modules/search.js +4 -3
  207. package/src/definitions/modules/search.less +31 -0
  208. package/src/definitions/modules/shape.js +1 -1
  209. package/src/definitions/modules/sidebar.js +1 -31
  210. package/src/definitions/modules/slider.js +125 -25
  211. package/src/definitions/modules/sticky.js +1 -1
  212. package/src/definitions/modules/tab.js +5 -3
  213. package/src/definitions/modules/toast.js +1 -1
  214. package/src/definitions/modules/toast.less +7 -0
  215. package/src/definitions/modules/transition.js +2 -2
  216. package/src/definitions/views/comment.less +7 -0
  217. package/src/definitions/views/feed.less +238 -32
  218. package/src/definitions/views/item.less +7 -0
  219. package/src/theme.less +1 -1
  220. package/src/themes/amazon/elements/button.variables +5 -1
  221. package/src/themes/bootstrap3/elements/button.variables +5 -1
  222. package/src/themes/chubby/elements/header.variables +6 -1
  223. package/src/themes/default/collections/message.variables +3 -9
  224. package/src/themes/default/collections/table.variables +11 -8
  225. package/src/themes/default/elements/button.variables +8 -10
  226. package/src/themes/default/elements/container.variables +3 -0
  227. package/src/themes/default/elements/emoji.variables +179 -67
  228. package/src/themes/default/elements/flag.variables +1 -1
  229. package/src/themes/default/elements/label.variables +6 -1
  230. package/src/themes/default/elements/segment.variables +8 -0
  231. package/src/themes/default/globals/site.variables +362 -341
  232. package/src/themes/default/globals/variation.variables +24 -1
  233. package/src/themes/default/modules/calendar.variables +11 -0
  234. package/src/themes/default/modules/checkbox.variables +12 -0
  235. package/src/themes/default/modules/dropdown.variables +10 -4
  236. package/src/themes/default/modules/modal.variables +3 -0
  237. package/src/themes/default/modules/popup.variables +1 -1
  238. package/src/themes/default/modules/search.variables +3 -0
  239. package/src/themes/default/modules/toast.variables +6 -5
  240. package/src/themes/default/views/card.variables +4 -12
  241. package/src/themes/default/views/feed.variables +55 -1
  242. package/src/themes/default/views/item.variables +5 -5
  243. package/src/themes/flat/collections/form.variables +4 -4
  244. package/src/themes/flat/globals/site.variables +1 -1
  245. package/src/themes/github/elements/button.variables +5 -1
  246. package/src/themes/joypixels/elements/emoji.variables +182 -70
  247. package/src/themes/material/globals/site.variables +1 -1
  248. package/src/themes/twitter/elements/button.variables +5 -1
  249. package/src/themes/twitter/elements/emoji.variables +178 -66
  250. package/tasks/admin/components/create.js +1 -2
  251. package/tasks/admin/components/init.js +3 -4
  252. package/tasks/admin/components/update.js +2 -3
  253. package/tasks/admin/distributions/create.js +9 -5
  254. package/tasks/admin/distributions/init.js +3 -4
  255. package/tasks/admin/distributions/update.js +2 -3
  256. package/tasks/config/project/install.js +3 -0
  257. package/tasks/config/tasks.js +1 -8
  258. package/tasks/config/user.js +1 -1
  259. package/tasks/docs/build.js +2 -2
  260. package/tasks/docs/metadata.js +1 -1
  261. package/tasks/docs/serve.js +1 -1
  262. package/tasks/install.js +19 -10
  263. package/tasks/watch.js +1 -2
  264. package/types/fomantic-ui-accordion.d.ts +244 -0
  265. package/types/fomantic-ui-api.d.ts +555 -0
  266. package/types/fomantic-ui-calendar.d.ts +766 -0
  267. package/types/fomantic-ui-checkbox.d.ts +332 -0
  268. package/types/fomantic-ui-dimmer.d.ts +408 -0
  269. package/types/fomantic-ui-dropdown.d.ts +1183 -0
  270. package/types/fomantic-ui-embed.d.ts +326 -0
  271. package/types/fomantic-ui-flyout.d.ts +525 -0
  272. package/types/fomantic-ui-form.d.ts +651 -0
  273. package/types/fomantic-ui-modal.d.ts +471 -0
  274. package/types/fomantic-ui-nag.d.ts +270 -0
  275. package/types/fomantic-ui-popup.d.ts +523 -0
  276. package/types/fomantic-ui-progress.d.ts +459 -0
  277. package/types/fomantic-ui-rating.d.ts +187 -0
  278. package/types/fomantic-ui-search.d.ts +496 -0
  279. package/types/fomantic-ui-shape.d.ts +274 -0
  280. package/types/fomantic-ui-sidebar.d.ts +402 -0
  281. package/types/fomantic-ui-slider.d.ts +316 -0
  282. package/types/fomantic-ui-sticky.d.ts +215 -0
  283. package/types/fomantic-ui-tab.d.ts +361 -0
  284. package/types/fomantic-ui-tests.ts +25 -0
  285. package/types/fomantic-ui-toast.d.ts +514 -0
  286. package/types/fomantic-ui-transition.d.ts +355 -0
  287. package/types/fomantic-ui-visibility.d.ts +355 -0
  288. package/types/index.d.ts +63 -0
  289. package/types/tsconfig.json +23 -0
  290. package/types/tslint.json +1 -0
@@ -62,16 +62,16 @@
62
62
  & when (@variationLoaderSpeeds) {
63
63
  /* Speeds */
64
64
 
65
- .ui.fast.loading.loading::after,
66
- .ui.fast.loading.loading .input > i.icon::after,
67
- .ui.fast.loading.loading > i.icon::after,
65
+ .ui.ui.fast.loading::after,
66
+ .ui.ui.fast.loading .input > i.icon::after,
67
+ .ui.ui.fast.loading > i.icon::after,
68
68
  .ui.fast.loader::after {
69
69
  animation-duration: @loaderSpeedFast;
70
70
  }
71
71
 
72
- .ui.slow.loading.loading::after,
73
- .ui.slow.loading.loading .input > i.icon::after,
74
- .ui.slow.loading.loading > i.icon::after,
72
+ .ui.ui.slow.loading::after,
73
+ .ui.ui.slow.loading .input > i.icon::after,
74
+ .ui.ui.slow.loading > i.icon::after,
75
75
  .ui.slow.loader::after {
76
76
  animation-duration: @loaderSpeedSlow;
77
77
  }
@@ -204,49 +204,49 @@
204
204
  @c: @colors[@@color][color];
205
205
  @l: @colors[@@color][light];
206
206
 
207
- .ui.@{color}.elastic.loader.loader::before,
207
+ .ui.ui.@{color}.elastic.loader::before,
208
208
  .ui.@{color}.basic.elastic.loading.button::before,
209
209
  .ui.@{color}.basic.elastic.loading.button::after,
210
- .ui.@{color}.elastic.loading.loading.loading:not(.segment):not(.segments):not(.card)::before,
211
- .ui.@{color}.elastic.loading.loading.loading .input > i.icon::before,
212
- .ui.@{color}.elastic.loading.loading.loading.loading > i.icon::before,
213
- .ui.@{color}.loading.loading.loading.loading:not(.usual):not(.button)::after,
214
- .ui.@{color}.loading.loading.loading.loading .input > i.icon::after,
215
- .ui.@{color}.loading.loading.loading.loading > i.icon::after,
216
- .ui.@{color}.loader.loader.loader::after {
210
+ .ui.ui.ui.@{color}.elastic.loading:not(.segment):not(.segments):not(.card)::before,
211
+ .ui.ui.ui.@{color}.elastic.loading .input > i.icon::before,
212
+ .ui.ui.ui.ui.@{color}.elastic.loading > i.icon::before,
213
+ .ui.ui.ui.ui.@{color}.loading:not(.usual):not(.button)::after,
214
+ .ui.ui.ui.ui.@{color}.loading .input > i.icon::after,
215
+ .ui.ui.ui.ui.@{color}.loading > i.icon::after,
216
+ .ui.ui.ui.@{color}.loader::after {
217
217
  color: @c;
218
218
  }
219
219
  .ui.inverted.@{color}.elastic.loader::before,
220
- .ui.inverted.@{color}.elastic.loading.loading.loading:not(.segment):not(.segments):not(.card)::before,
221
- .ui.inverted.@{color}.elastic.loading.loading.loading .input > i.icon::before,
222
- .ui.inverted.@{color}.elastic.loading.loading.loading > i.icon::before,
223
- .ui.inverted.@{color}.loading.loading.loading.loading:not(.usual)::after,
224
- .ui.inverted.@{color}.loading.loading.loading.loading .input > i.icon::after,
225
- .ui.inverted.@{color}.loading.loading.loading.loading > i.icon::after,
226
- .ui.inverted.@{color}.loader.loader.loader::after {
220
+ .ui.ui.ui.inverted.@{color}.elastic.loading:not(.segment):not(.segments):not(.card)::before,
221
+ .ui.ui.ui.inverted.@{color}.elastic.loading .input > i.icon::before,
222
+ .ui.ui.ui.inverted.@{color}.elastic.loading > i.icon::before,
223
+ .ui.ui.ui.ui.inverted.@{color}.loading:not(.usual)::after,
224
+ .ui.ui.ui.ui.inverted.@{color}.loading .input > i.icon::after,
225
+ .ui.ui.ui.ui.inverted.@{color}.loading > i.icon::after,
226
+ .ui.ui.ui.inverted.@{color}.loader::after {
227
227
  color: @l;
228
228
  }
229
229
  });
230
230
  }
231
231
 
232
- .ui.elastic.loader.loader::before,
233
- .ui.elastic.loading.loading.loading::before,
234
- .ui.elastic.loading.loading.loading .input > i.icon::before,
235
- .ui.elastic.loading.loading.loading > i.icon::before,
236
- .ui.loading.loading.loading.loading:not(.usual)::after,
237
- .ui.loading.loading.loading.loading .input > i.icon::after,
238
- .ui.loading.loading.loading.loading > i.icon::after,
239
- .ui.loader.loader.loader::after {
232
+ .ui.ui.elastic.loader::before,
233
+ .ui.ui.ui.elastic.loading::before,
234
+ .ui.ui.ui.elastic.loading .input > i.icon::before,
235
+ .ui.ui.ui.elastic.loading > i.icon::before,
236
+ .ui.ui.ui.ui.loading:not(.usual)::after,
237
+ .ui.ui.ui.ui.loading .input > i.icon::after,
238
+ .ui.ui.ui.ui.loading > i.icon::after,
239
+ .ui.ui.ui.loader::after {
240
240
  border-color: currentColor;
241
241
  }
242
- .ui.elastic.loading.loading.loading.loading.button:not(.inverted):not(.basic)::before {
242
+ .ui.ui.ui.ui.elastic.loading.button:not(.inverted):not(.basic)::before {
243
243
  color: @invertedLoaderLineColor;
244
244
  }
245
245
  .ui.elastic.basic.loading.button::before,
246
246
  .ui.elastic.basic.loading.button::after {
247
247
  color: @loaderLineColor;
248
248
  }
249
- .ui.double.loading.loading.loading.loading.button::after {
249
+ .ui.ui.ui.ui.double.loading.button::after {
250
250
  border-bottom-color: currentColor;
251
251
  }
252
252
 
@@ -278,30 +278,30 @@
278
278
  }
279
279
  }
280
280
 
281
- .ui.loading.loading.loading.loading.loading.loading::after,
282
- .ui.loading.loading.loading.loading.loading.loading .input > i.icon::after,
283
- .ui.loading.loading.loading.loading.loading.loading > i.icon::after,
284
- .ui.loader.loader.loader.loader.loader::after {
281
+ .ui.ui.ui.ui.ui.ui.loading::after,
282
+ .ui.ui.ui.ui.ui.ui.loading .input > i.icon::after,
283
+ .ui.ui.ui.ui.ui.ui.loading > i.icon::after,
284
+ .ui.ui.ui.ui.ui.loader::after {
285
285
  border-left-color: transparent;
286
286
  border-right-color: transparent;
287
287
  }
288
- .ui.loading.loading.loading.loading.loading.loading.loading:not(.double)::after,
289
- .ui.loading.loading.loading.loading.loading.loading.loading:not(.double) .input > i.icon::after,
290
- .ui.loading.loading.loading.loading.loading.loading.loading:not(.double) > i.icon::after,
291
- .ui.loader.loader.loader.loader.loader.loader:not(.double)::after {
288
+ .ui.ui.ui.ui.ui.ui.ui.loading:not(.double)::after,
289
+ .ui.ui.ui.ui.ui.ui.ui.loading:not(.double) .input > i.icon::after,
290
+ .ui.ui.ui.ui.ui.ui.ui.loading:not(.double) > i.icon::after,
291
+ .ui.ui.ui.ui.ui.ui.loader:not(.double)::after {
292
292
  border-bottom-color: transparent;
293
293
  }
294
- .ui.loading.loading.loading.loading.loading.loading.card::after,
295
- .ui.loading.loading.loading.loading.loading.loading.segments::after,
296
- .ui.loading.loading.loading.loading.loading.loading.segment::after,
297
- .ui.loading.loading.loading.loading.loading.loading.form::after {
294
+ .ui.ui.ui.ui.ui.ui.loading.card::after,
295
+ .ui.ui.ui.ui.ui.ui.loading.segments::after,
296
+ .ui.ui.ui.ui.ui.ui.loading.segment::after,
297
+ .ui.ui.ui.ui.ui.ui.loading.form::after {
298
298
  border-left-color: @loaderFillColor;
299
299
  border-right-color: @loaderFillColor;
300
300
  }
301
- .ui.loading.loading.loading.loading.loading.loading.card:not(.double)::after,
302
- .ui.loading.loading.loading.loading.loading.loading.segments:not(.double)::after,
303
- .ui.loading.loading.loading.loading.loading.loading.segment:not(.double)::after,
304
- .ui.loading.loading.loading.loading.loading.loading.form:not(.double)::after {
301
+ .ui.ui.ui.ui.ui.ui.loading.card:not(.double)::after,
302
+ .ui.ui.ui.ui.ui.ui.loading.segments:not(.double)::after,
303
+ .ui.ui.ui.ui.ui.ui.loading.segment:not(.double)::after,
304
+ .ui.ui.ui.ui.ui.ui.loading.form:not(.double)::after {
305
305
  border-bottom-color: @loaderFillColor;
306
306
  }
307
307
 
@@ -316,17 +316,17 @@
316
316
  .ui.inverted.dimmer > .ui.elastic.loader {
317
317
  color: @loaderLineColor;
318
318
  }
319
- .ui.elastic.loading.loading:not(.form):not(.segment):not(.segments):not(.card)::after,
320
- .ui.elastic.loading.loading .input > i.icon::after,
321
- .ui.elastic.loading.loading > i.icon::after,
322
- .ui.elastic.loader.loader::after {
319
+ .ui.ui.elastic.loading:not(.form):not(.segment):not(.segments):not(.card)::after,
320
+ .ui.ui.elastic.loading .input > i.icon::after,
321
+ .ui.ui.elastic.loading > i.icon::after,
322
+ .ui.ui.elastic.loader::after {
323
323
  animation: loader 1s infinite cubic-bezier(0.27, 1.05, 0.92, 0.61);
324
324
  animation-delay: 0.3s;
325
325
  }
326
- .ui.elastic.loading.loading.loading:not(.form):not(.segment):not(.segments):not(.card)::before,
327
- .ui.elastic.loading.loading.loading .input > i.icon::before,
328
- .ui.elastic.loading.loading.loading > i.icon::before,
329
- .ui.elastic.loader.loader::before {
326
+ .ui.ui.ui.elastic.loading:not(.form):not(.segment):not(.segments):not(.card)::before,
327
+ .ui.ui.ui.elastic.loading .input > i.icon::before,
328
+ .ui.ui.ui.elastic.loading > i.icon::before,
329
+ .ui.ui.elastic.loader::before {
330
330
  animation: elastic-loader 1s infinite cubic-bezier(0.27, 1.05, 0.92, 0.61);
331
331
  // https://github.com/fomantic/Fomantic-UI/pull/363
332
332
  // stylelint-disable-next-line property-no-vendor-prefix
@@ -339,30 +339,30 @@
339
339
  }
340
340
  }
341
341
  & when (@variationLoaderSpeeds) {
342
- .ui.slow.elastic.loading.loading:not(.form):not(.segment):not(.segments):not(.card)::after,
343
- .ui.slow.elastic.loading.loading .input > i.icon::after,
344
- .ui.slow.elastic.loading.loading > i.icon::after,
345
- .ui.slow.elastic.loader.loader::after {
342
+ .ui.ui.slow.elastic.loading:not(.form):not(.segment):not(.segments):not(.card)::after,
343
+ .ui.ui.slow.elastic.loading .input > i.icon::after,
344
+ .ui.ui.slow.elastic.loading > i.icon::after,
345
+ .ui.ui.slow.elastic.loader::after {
346
346
  animation-duration: 1.5s;
347
347
  animation-delay: 0.45s;
348
348
  }
349
- .ui.slow.elastic.loading.loading.loading:not(.form):not(.segment):not(.segments):not(.card)::before,
350
- .ui.slow.elastic.loading.loading.loading .input > i.icon::before,
351
- .ui.slow.elastic.loading.loading.loading > i.icon::before,
352
- .ui.slow.elastic.loader.loader::before {
349
+ .ui.ui.ui.slow.elastic.loading:not(.form):not(.segment):not(.segments):not(.card)::before,
350
+ .ui.ui.ui.slow.elastic.loading .input > i.icon::before,
351
+ .ui.ui.ui.slow.elastic.loading > i.icon::before,
352
+ .ui.ui.slow.elastic.loader::before {
353
353
  animation-duration: 1.5s;
354
354
  }
355
- .ui.fast.elastic.loading.loading:not(.form):not(.segment):not(.segments):not(.card)::after,
356
- .ui.fast.elastic.loading.loading .input > i.icon::after,
357
- .ui.fast.elastic.loading.loading > i.icon::after,
358
- .ui.fast.elastic.loader.loader::after {
355
+ .ui.ui.fast.elastic.loading:not(.form):not(.segment):not(.segments):not(.card)::after,
356
+ .ui.ui.fast.elastic.loading .input > i.icon::after,
357
+ .ui.ui.fast.elastic.loading > i.icon::after,
358
+ .ui.ui.fast.elastic.loader::after {
359
359
  animation-duration: 0.66s;
360
360
  animation-delay: 0.2s;
361
361
  }
362
- .ui.fast.elastic.loading.loading.loading:not(.form):not(.segment):not(.segments):not(.card)::before,
363
- .ui.fast.elastic.loading.loading.loading .input > i.icon::before,
364
- .ui.fast.elastic.loading.loading.loading > i.icon::before,
365
- .ui.fast.elastic.loader.loader::before {
362
+ .ui.ui.ui.fast.elastic.loading:not(.form):not(.segment):not(.segments):not(.card)::before,
363
+ .ui.ui.ui.fast.elastic.loading .input > i.icon::before,
364
+ .ui.ui.ui.fast.elastic.loading > i.icon::before,
365
+ .ui.ui.fast.elastic.loader::before {
366
366
  animation-duration: 0.66s;
367
367
  }
368
368
  }
@@ -189,6 +189,9 @@
189
189
  margin: @piledMargin 0;
190
190
  box-shadow: @piledBoxShadow;
191
191
  z-index: @piledZIndex;
192
+ background-color: @white;
193
+ border: @piledBorder;
194
+ color: @textColor;
192
195
  }
193
196
  .ui.piled.segment:first-child {
194
197
  margin-top: 0;
@@ -200,7 +203,7 @@
200
203
  .ui.piled.segments::before,
201
204
  .ui.piled.segment::after,
202
205
  .ui.piled.segment::before {
203
- background-color: @white;
206
+ background-color: inherit;
204
207
  visibility: visible;
205
208
  content: "";
206
209
  display: block;
@@ -208,9 +211,16 @@
208
211
  left: 0;
209
212
  position: absolute;
210
213
  width: 100%;
211
- border: @piledBorder;
214
+ border: inherit;
212
215
  box-shadow: @piledBoxShadow;
213
216
  }
217
+ & when (@variationSegmentInverted) {
218
+ .ui.inverted.piled.segment {
219
+ background-color: @invertedBackground;
220
+ border: @invertedPiledBorder;
221
+ color: @invertedTextColor;
222
+ }
223
+ }
214
224
  .ui.piled.segments::before,
215
225
  .ui.piled.segment::before {
216
226
  transform: rotate(-@piledDegrees);
@@ -240,6 +250,12 @@
240
250
  margin-bottom: 0;
241
251
  }
242
252
  }
253
+ @supports selector(:has(.f)) {
254
+ *:has(> .ui.piled.segment) {
255
+ z-index: 0;
256
+ position: relative;
257
+ }
258
+ }
243
259
  }
244
260
 
245
261
  & when (@variationSegmentStacked) {
@@ -258,7 +274,7 @@
258
274
  position: absolute;
259
275
  bottom: -(@stackedHeight / 2);
260
276
  left: 0;
261
- border-top: 1px solid @borderColor;
277
+ border-top: @borderWidth solid @stackedBorderColor;
262
278
  background: @stackedPageBackground;
263
279
  width: 100%;
264
280
  height: @stackedHeight;
@@ -277,12 +293,14 @@
277
293
  }
278
294
  & when (@variationSegmentInverted) {
279
295
  /* Inverted */
280
- .ui.stacked.inverted.segments::before,
281
- .ui.stacked.inverted.segments::after,
282
- .ui.stacked.inverted.segment::before,
283
- .ui.stacked.inverted.segment::after {
284
- background-color: @subtleTransparentBlack;
285
- border-top: 1px solid @selectedBorderColor;
296
+ .ui.stacked.inverted.segments,
297
+ .ui.stacked.inverted.segment {
298
+ border: @borderWidth solid @invertedStackedBorderColor;
299
+ &::before,
300
+ &::after {
301
+ background-color: @subtleTransparentBlack;
302
+ border-top: @borderWidth solid @invertedStackedBorderColor;
303
+ }
286
304
  }
287
305
  }
288
306
  }
@@ -350,10 +368,16 @@
350
368
  Raised
351
369
  -------------------- */
352
370
 
353
- .ui.raised.raised.segments,
354
- .ui.raised.raised.segment {
371
+ .ui.ui.raised.segments,
372
+ .ui.ui.raised.segment {
355
373
  box-shadow: @raisedBoxShadow;
356
374
  }
375
+ & when (@variationSegmentInverted) {
376
+ .ui.ui.inverted.raised.segments,
377
+ .ui.ui.inverted.raised.segment {
378
+ box-shadow: @invertedRaisedBoxShadow;
379
+ }
380
+ }
357
381
  }
358
382
 
359
383
  & when (@variationSegmentGroups) {
@@ -521,6 +545,7 @@
521
545
  pointer-events: none;
522
546
  user-select: none;
523
547
  transition: all 0s linear;
548
+ min-height: @loadingMinHeight;
524
549
  }
525
550
  .ui.loading.segments::before,
526
551
  .ui.loading.segment::before {
@@ -591,13 +616,19 @@
591
616
  @color: @value;
592
617
  @c: @colors[@@color][color];
593
618
  & when not (@color=primary) and not (@color=secondary) {
594
- .ui.@{color}.segment.segment.segment.segment.segment:not(.inverted) {
619
+ .ui.ui.ui.ui.ui.@{color}.segment:not(.inverted) {
595
620
  border-top: @coloredBorderSize solid @c;
596
621
  }
597
622
  & when (@variationSegmentInverted) {
598
- .ui.inverted.@{color}.segment.segment.segment.segment.segment {
623
+ .ui.ui.ui.ui.ui.inverted.@{color}.segment {
599
624
  background-color: @c;
600
625
  color: @white;
626
+ & when not (@variationSegmentPiled) and ((@variationSegmentAttached) or (@variationSegmentStacked)) {
627
+ border-color: c;
628
+ }
629
+ }
630
+ .ui.ui.inverted.@{color}.segment:not(.piled) when (@variationSegmentPiled) and ((@variationSegmentAttached) or (@variationSegmentStacked)) {
631
+ border-color: @c;
601
632
  }
602
633
  }
603
634
  }
@@ -817,24 +848,39 @@
817
848
  & when (@variationSegmentScrollingShort) {
818
849
  .ui.scrolling.segment.short {
819
850
  max-height: @scrollingMobileMaxHeight * 0.75;
851
+ &.resizable when (@variationSegmentResizable) {
852
+ height: @scrollingMobileMaxHeight * 0.75;
853
+ }
820
854
  }
821
855
  }
822
856
  & when (@variationSegmentScrollingVeryShort) {
823
857
  .ui.scrolling.segment[class*="very short"] {
824
858
  max-height: @scrollingMobileMaxHeight * 0.5;
859
+ &.resizable when (@variationSegmentResizable) {
860
+ height: @scrollingMobileMaxHeight * 0.5;
861
+ }
825
862
  }
826
863
  }
827
864
  .ui.scrolling.segment {
828
865
  max-height: @scrollingMobileMaxHeight;
866
+ &.resizable when (@variationSegmentResizable) {
867
+ height: @scrollingMobileMaxHeight;
868
+ }
829
869
  }
830
870
  & when (@variationSegmentScrollingLong) {
831
871
  .ui.scrolling.segment.long {
832
872
  max-height: @scrollingMobileMaxHeight * 2;
873
+ &.resizable when (@variationSegmentResizable) {
874
+ height: @scrollingMobileMaxHeight * 2;
875
+ }
833
876
  }
834
877
  }
835
878
  & when (@variationSegmentScrollingVeryLong) {
836
879
  .ui.scrolling.segment[class*="very long"] {
837
880
  max-height: @scrollingMobileMaxHeight * 3;
881
+ &.resizable when (@variationSegmentResizable) {
882
+ height: @scrollingMobileMaxHeight * 3;
883
+ }
838
884
  }
839
885
  }
840
886
  }
@@ -843,24 +889,39 @@
843
889
  & when (@variationSegmentScrollingShort) {
844
890
  .ui.scrolling.segment.short {
845
891
  max-height: @scrollingTabletMaxHeight * 0.75;
892
+ &.resizable when (@variationSegmentResizable) {
893
+ height: @scrollingTabletMaxHeight * 0.75;
894
+ }
846
895
  }
847
896
  }
848
897
  & when (@variationSegmentScrollingVeryShort) {
849
898
  .ui.scrolling.segment[class*="very short"] {
850
899
  max-height: @scrollingTabletMaxHeight * 0.5;
900
+ &.resizable when (@variationSegmentResizable) {
901
+ height: @scrollingTabletMaxHeight * 0.5;
902
+ }
851
903
  }
852
904
  }
853
905
  .ui.scrolling.segment {
854
906
  max-height: @scrollingTabletMaxHeight;
907
+ &.resizable when (@variationSegmentResizable) {
908
+ height: @scrollingTabletMaxHeight;
909
+ }
855
910
  }
856
911
  & when (@variationSegmentScrollingLong) {
857
912
  .ui.scrolling.segment.long {
858
913
  max-height: @scrollingTabletMaxHeight * 2;
914
+ &.resizable when (@variationSegmentResizable) {
915
+ height: @scrollingTabletMaxHeight * 2;
916
+ }
859
917
  }
860
918
  }
861
919
  & when (@variationSegmentScrollingVeryLong) {
862
920
  .ui.scrolling.segment[class*="very long"] {
863
921
  max-height: @scrollingTabletMaxHeight * 3;
922
+ &.resizable when (@variationSegmentResizable) {
923
+ height: @scrollingTabletMaxHeight * 3;
924
+ }
864
925
  }
865
926
  }
866
927
  }
@@ -868,24 +929,39 @@
868
929
  & when (@variationSegmentScrollingShort) {
869
930
  .ui.scrolling.segment.short {
870
931
  max-height: @scrollingComputerMaxHeight * 0.75;
932
+ &.resizable when (@variationSegmentResizable) {
933
+ height: @scrollingComputerMaxHeight * 0.75;
934
+ }
871
935
  }
872
936
  }
873
937
  & when (@variationSegmentScrollingVeryShort) {
874
938
  .ui.scrolling.segment[class*="very short"] {
875
939
  max-height: @scrollingComputerMaxHeight * 0.5;
940
+ &.resizable when (@variationSegmentResizable) {
941
+ height: @scrollingComputerMaxHeight * 0.5;
942
+ }
876
943
  }
877
944
  }
878
945
  .ui.scrolling.segment {
879
946
  max-height: @scrollingComputerMaxHeight;
947
+ &.resizable when (@variationSegmentResizable) {
948
+ height: @scrollingComputerMaxHeight;
949
+ }
880
950
  }
881
951
  & when (@variationSegmentScrollingLong) {
882
952
  .ui.scrolling.segment.long {
883
953
  max-height: @scrollingComputerMaxHeight * 2;
954
+ &.resizable when (@variationSegmentResizable) {
955
+ height: @scrollingComputerMaxHeight * 2;
956
+ }
884
957
  }
885
958
  }
886
959
  & when (@variationSegmentScrollingVeryLong) {
887
960
  .ui.scrolling.segment[class*="very long"] {
888
961
  max-height: @scrollingComputerMaxHeight * 3;
962
+ &.resizable when (@variationSegmentResizable) {
963
+ height: @scrollingComputerMaxHeight * 3;
964
+ }
889
965
  }
890
966
  }
891
967
  }
@@ -893,27 +969,48 @@
893
969
  & when (@variationSegmentScrollingShort) {
894
970
  .ui.scrolling.segment.short {
895
971
  max-height: @scrollingWidescreenMaxHeight * 0.75;
972
+ &.resizable when (@variationSegmentResizable) {
973
+ height: @scrollingWidescreenMaxHeight * 0.75;
974
+ }
896
975
  }
897
976
  }
898
977
  & when (@variationSegmentScrollingVeryShort) {
899
978
  .ui.scrolling.segment[class*="very short"] {
900
979
  max-height: @scrollingWidescreenMaxHeight * 0.5;
980
+ &.resizable when (@variationSegmentResizable) {
981
+ height: @scrollingWidescreenMaxHeight * 0.5;
982
+ }
901
983
  }
902
984
  }
903
985
  .ui.scrolling.segment {
904
986
  max-height: @scrollingWidescreenMaxHeight;
987
+ &.resizable when (@variationSegmentResizable) {
988
+ height: @scrollingWidescreenMaxHeight;
989
+ }
905
990
  }
906
991
  & when (@variationSegmentScrollingLong) {
907
992
  .ui.scrolling.segment.long {
908
993
  max-height: @scrollingWidescreenMaxHeight * 2;
994
+ &.resizable when (@variationSegmentResizable) {
995
+ height: @scrollingWidescreenMaxHeight * 2;
996
+ }
909
997
  }
910
998
  }
911
999
  & when (@variationSegmentScrollingVeryLong) {
912
1000
  .ui.scrolling.segment[class*="very long"] {
913
1001
  max-height: @scrollingWidescreenMaxHeight * 3;
1002
+ &.resizable when (@variationSegmentResizable) {
1003
+ height: @scrollingWidescreenMaxHeight * 3;
1004
+ }
914
1005
  }
915
1006
  }
916
1007
  }
1008
+ & when (@variationSegmentResizable) {
1009
+ .ui.resizable.scrolling.segment {
1010
+ resize: @resizableDirection;
1011
+ max-height: none;
1012
+ }
1013
+ }
917
1014
  }
918
1015
 
919
1016
  /* -------------------
@@ -292,7 +292,7 @@
292
292
  });
293
293
  }
294
294
  clearTimeout(module.performance.timer);
295
- module.performance.timer = setTimeout(module.performance.display, 500);
295
+ module.performance.timer = setTimeout(function () { module.performance.display(); }, 500);
296
296
  },
297
297
  display: function () {
298
298
  var
@@ -438,7 +438,7 @@
438
438
  });
439
439
  }
440
440
  clearTimeout(module.performance.timer);
441
- module.performance.timer = setTimeout(module.performance.display, 500);
441
+ module.performance.timer = setTimeout(function () { module.performance.display(); }, 500);
442
442
  },
443
443
  display: function () {
444
444
  var
@@ -1479,7 +1479,7 @@
1479
1479
  });
1480
1480
  }
1481
1481
  clearTimeout(module.performance.timer);
1482
- module.performance.timer = setTimeout(module.performance.display, 500);
1482
+ module.performance.timer = setTimeout(function () { module.performance.display(); }, 500);
1483
1483
  },
1484
1484
  display: function () {
1485
1485
  var
@@ -60,24 +60,24 @@
60
60
  .ui.calendar .ui.table.year,
61
61
  .ui.calendar .ui.table.month,
62
62
  .ui.calendar .ui.table.minute {
63
- min-width: 15em;
63
+ min-width: @widthYearMonthMinute;
64
64
  }
65
65
 
66
66
  .ui.calendar .ui.table.day {
67
- min-width: 18em;
67
+ min-width: @widthDay;
68
68
  }
69
69
 
70
70
  .ui.calendar .ui.table.day.andweek {
71
- min-width: 22em;
71
+ min-width: @widthDayAndWeek;
72
72
  }
73
73
 
74
74
  .ui.calendar .ui.table.hour {
75
- min-width: 20em;
75
+ min-width: @widthHour;
76
76
  }
77
77
 
78
78
  .ui.calendar .ui.table tr th,
79
79
  .ui.calendar .ui.table tr td {
80
- padding: 0.5em;
80
+ padding: @cellPadding;
81
81
  white-space: nowrap;
82
82
  }
83
83
 
@@ -100,13 +100,13 @@
100
100
  }
101
101
 
102
102
  .ui.calendar .ui.table.day tr:nth-child(2) th {
103
- padding-top: 0.2em;
104
- padding-bottom: 0.3em;
103
+ padding-top: @cellHeaderTopPadding;
104
+ padding-bottom: @cellHeaderBottomPadding;
105
105
  }
106
106
 
107
107
  .ui.calendar .ui.table tr td {
108
- padding-left: 0.1em;
109
- padding-right: 0.1em;
108
+ padding-left: @cellLeftRightPadding;
109
+ padding-right: @cellLeftRightPadding;
110
110
  }
111
111
 
112
112
  .ui.calendar .ui.table tr .link {
@@ -114,13 +114,13 @@
114
114
  }
115
115
 
116
116
  .ui.calendar .ui.table tr .prev.link {
117
- width: 14.28571%;
117
+ width: @widthPrevNext;
118
118
  position: absolute;
119
119
  left: 0;
120
120
  }
121
121
 
122
122
  .ui.calendar .ui.table tr .next.link {
123
- width: 14.28571%;
123
+ width: @widthPrevNext;
124
124
  position: absolute;
125
125
  right: 0;
126
126
  }
@@ -196,6 +196,35 @@
196
196
  }
197
197
  }
198
198
 
199
+ /* --------------------
200
+ Sizes
201
+ --------------------- */
202
+
203
+ & when not (@variationCalendarSizes = false) {
204
+ each(@variationCalendarSizes, {
205
+ @s: @@value;
206
+ .ui.@{value}.calendar,
207
+ .ui.@{value}.calendar .ui.table tr th,
208
+ .ui.@{value}.calendar .ui.table tr td {
209
+ font-size: @s;
210
+ }
211
+ .ui.@{value}.calendar .ui.table.year,
212
+ .ui.@{value}.calendar .ui.table.month,
213
+ .ui.@{value}.calendar .ui.table.minute {
214
+ min-width: unit(@widthYearMonthMinute * @s, em);
215
+ }
216
+ .ui.@{value}.calendar .ui.table.day {
217
+ min-width: unit(@widthDay * @s, em);
218
+ }
219
+ .ui.@{value}.calendar .ui.table.day.andweek {
220
+ min-width: unit(@widthDayAndWeek * @s, em);
221
+ }
222
+ .ui.@{value}.calendar .ui.table.hour {
223
+ min-width: unit(@widthHour * @s, em);
224
+ }
225
+ });
226
+ }
227
+
199
228
  /*******************************
200
229
  States
201
230
  *******************************/
@@ -241,7 +241,9 @@
241
241
  $input.trigger('blur');
242
242
  shortcutPressed = true;
243
243
  event.stopPropagation();
244
- } else if (!event.ctrlKey && module.can.change()) {
244
+ } else if (!module.can.change()) {
245
+ shortcutPressed = true;
246
+ } else if (!event.ctrlKey) {
245
247
  if (key === keyCode.space || (key === keyCode.enter && settings.enableEnterKey)) {
246
248
  module.verbose('Enter/space key pressed, toggling checkbox');
247
249
  module.toggle();
@@ -723,7 +725,7 @@
723
725
  });
724
726
  }
725
727
  clearTimeout(module.performance.timer);
726
- module.performance.timer = setTimeout(module.performance.display, 500);
728
+ module.performance.timer = setTimeout(function () { module.performance.display(); }, 500);
727
729
  },
728
730
  display: function () {
729
731
  var