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

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 (339) hide show
  1. package/.eslintrc.js +110 -0
  2. package/.github/workflows/ci.yml +14 -4
  3. package/.stylelintrc.js +46 -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 +1161 -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 +1895 -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 +150 -3
  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 +2529 -1778
  156. package/dist/semantic.js +28928 -29383
  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/definitions/behaviors/api.js +1162 -1180
  180. package/src/definitions/behaviors/form.js +1978 -2003
  181. package/src/definitions/behaviors/state.js +645 -663
  182. package/src/definitions/behaviors/visibility.js +1219 -1243
  183. package/src/definitions/collections/breadcrumb.less +41 -44
  184. package/src/definitions/collections/form.less +869 -879
  185. package/src/definitions/collections/grid.less +1690 -1695
  186. package/src/definitions/collections/menu.less +1493 -1503
  187. package/src/definitions/collections/message.less +292 -295
  188. package/src/definitions/collections/table.less +1616 -1620
  189. package/src/definitions/elements/button.less +1721 -1743
  190. package/src/definitions/elements/container.less +209 -209
  191. package/src/definitions/elements/divider.less +205 -206
  192. package/src/definitions/elements/emoji.less +38 -44
  193. package/src/definitions/elements/flag.less +44 -46
  194. package/src/definitions/elements/header.less +337 -345
  195. package/src/definitions/elements/icon.less +516 -443
  196. package/src/definitions/elements/image.less +221 -225
  197. package/src/definitions/elements/input.less +663 -659
  198. package/src/definitions/elements/label.less +803 -793
  199. package/src/definitions/elements/list.less +809 -809
  200. package/src/definitions/elements/loader.less +272 -266
  201. package/src/definitions/elements/placeholder.less +171 -168
  202. package/src/definitions/elements/rail.less +91 -91
  203. package/src/definitions/elements/reveal.less +192 -196
  204. package/src/definitions/elements/segment.less +743 -746
  205. package/src/definitions/elements/step.less +425 -433
  206. package/src/definitions/elements/text.less +32 -34
  207. package/src/definitions/globals/reset.less +9 -6
  208. package/src/definitions/globals/site.js +461 -475
  209. package/src/definitions/globals/site.less +106 -108
  210. package/src/definitions/modules/accordion.js +567 -594
  211. package/src/definitions/modules/accordion.less +242 -246
  212. package/src/definitions/modules/calendar.js +1894 -1808
  213. package/src/definitions/modules/calendar.less +98 -95
  214. package/src/definitions/modules/checkbox.js +841 -840
  215. package/src/definitions/modules/checkbox.less +536 -542
  216. package/src/definitions/modules/dimmer.js +707 -736
  217. package/src/definitions/modules/dimmer.less +300 -297
  218. package/src/definitions/modules/dropdown.js +4160 -4233
  219. package/src/definitions/modules/dropdown.less +1577 -1589
  220. package/src/definitions/modules/embed.js +650 -674
  221. package/src/definitions/modules/embed.less +81 -82
  222. package/src/definitions/modules/flyout.js +1463 -1464
  223. package/src/definitions/modules/flyout.less +445 -451
  224. package/src/definitions/modules/modal.js +1490 -1484
  225. package/src/definitions/modules/modal.less +459 -459
  226. package/src/definitions/modules/nag.js +517 -525
  227. package/src/definitions/modules/nag.less +134 -138
  228. package/src/definitions/modules/popup.js +1436 -1455
  229. package/src/definitions/modules/popup.less +742 -687
  230. package/src/definitions/modules/progress.js +968 -996
  231. package/src/definitions/modules/progress.less +521 -494
  232. package/src/definitions/modules/rating.js +504 -522
  233. package/src/definitions/modules/rating.less +94 -101
  234. package/src/definitions/modules/search.js +1497 -1533
  235. package/src/definitions/modules/search.less +375 -382
  236. package/src/definitions/modules/shape.js +791 -808
  237. package/src/definitions/modules/shape.less +71 -76
  238. package/src/definitions/modules/sidebar.js +1070 -1097
  239. package/src/definitions/modules/sidebar.less +463 -472
  240. package/src/definitions/modules/slider.js +1286 -1305
  241. package/src/definitions/modules/slider.less +307 -308
  242. package/src/definitions/modules/sticky.js +873 -918
  243. package/src/definitions/modules/sticky.less +21 -23
  244. package/src/definitions/modules/tab.js +921 -962
  245. package/src/definitions/modules/tab.less +51 -52
  246. package/src/definitions/modules/toast.js +885 -886
  247. package/src/definitions/modules/toast.less +584 -586
  248. package/src/definitions/modules/transition.js +1040 -1076
  249. package/src/definitions/modules/transition.less +62 -28
  250. package/src/definitions/views/ad.less +206 -206
  251. package/src/definitions/views/card.less +968 -970
  252. package/src/definitions/views/comment.less +190 -198
  253. package/src/definitions/views/feed.less +220 -224
  254. package/src/definitions/views/item.less +436 -446
  255. package/src/definitions/views/statistic.less +271 -277
  256. package/src/theme.less +29 -32
  257. package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  258. package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  259. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  260. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  261. package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  262. package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  263. package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  264. package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  265. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  266. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  267. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  268. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  269. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  270. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  271. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  272. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  273. package/src/themes/default/elements/container.variables +0 -7
  274. package/src/themes/default/elements/icon.variables +18 -0
  275. package/src/themes/default/elements/segment.variables +0 -7
  276. package/src/themes/default/globals/colors.less +589 -589
  277. package/src/themes/default/globals/site.variables +8 -0
  278. package/src/themes/default/globals/variation.variables +13 -1
  279. package/src/themes/default/modules/calendar.variables +2 -0
  280. package/src/themes/default/modules/nag.variables +1 -1
  281. package/src/themes/default/modules/popup.variables +2 -0
  282. package/src/themes/default/modules/transition.variables +8 -1
  283. package/tasks/admin/components/create.js +274 -276
  284. package/tasks/admin/components/init.js +123 -130
  285. package/tasks/admin/components/update.js +149 -157
  286. package/tasks/admin/distributions/create.js +184 -187
  287. package/tasks/admin/distributions/init.js +123 -130
  288. package/tasks/admin/distributions/update.js +145 -152
  289. package/tasks/admin/publish.js +5 -7
  290. package/tasks/admin/register.js +36 -38
  291. package/tasks/admin/release.js +8 -10
  292. package/tasks/build/assets.js +42 -39
  293. package/tasks/build/css.js +225 -216
  294. package/tasks/build/javascript.js +118 -113
  295. package/tasks/build.js +10 -10
  296. package/tasks/check-install.js +14 -16
  297. package/tasks/clean.js +5 -5
  298. package/tasks/collections/admin.js +34 -36
  299. package/tasks/collections/build.js +18 -20
  300. package/tasks/collections/docs.js +9 -11
  301. package/tasks/collections/install.js +9 -11
  302. package/tasks/collections/rtl.js +9 -11
  303. package/tasks/collections/various.js +8 -10
  304. package/tasks/config/admin/github.js +17 -17
  305. package/tasks/config/admin/oauth.example.js +4 -4
  306. package/tasks/config/admin/release.js +98 -98
  307. package/tasks/config/admin/templates/component-package.js +9 -10
  308. package/tasks/config/admin/templates/css-package.js +18 -20
  309. package/tasks/config/admin/templates/less-package.js +11 -13
  310. package/tasks/config/defaults.js +116 -114
  311. package/tasks/config/docs.js +23 -23
  312. package/tasks/config/npm/gulpfile.js +8 -9
  313. package/tasks/config/project/config.js +127 -134
  314. package/tasks/config/project/install.js +715 -713
  315. package/tasks/config/project/release.js +32 -38
  316. package/tasks/config/tasks.js +165 -156
  317. package/tasks/config/user.js +23 -26
  318. package/tasks/docs/build.js +97 -95
  319. package/tasks/docs/metadata.js +90 -96
  320. package/tasks/docs/serve.js +80 -81
  321. package/tasks/install.js +370 -378
  322. package/tasks/rtl/build.js +2 -2
  323. package/tasks/rtl/watch.js +2 -2
  324. package/tasks/version.js +4 -4
  325. package/tasks/watch.js +28 -30
  326. package/test/meteor/assets.js +10 -13
  327. package/test/meteor/fonts.js +12 -13
  328. package/test/modules/accordion.spec.js +6 -8
  329. package/test/modules/checkbox.spec.js +5 -7
  330. package/test/modules/dropdown.spec.js +5 -7
  331. package/test/modules/modal.spec.js +6 -8
  332. package/test/modules/module.spec.js +158 -178
  333. package/test/modules/popup.spec.js +5 -7
  334. package/test/modules/search.spec.js +5 -7
  335. package/test/modules/shape.spec.js +5 -7
  336. package/test/modules/sidebar.spec.js +5 -7
  337. package/test/modules/tab.spec.js +6 -8
  338. package/test/modules/transition.spec.js +5 -7
  339. package/test/modules/video.spec.js +5 -7
@@ -12,7 +12,7 @@
12
12
  Theme
13
13
  *******************************/
14
14
 
15
- @type : 'module';
15
+ @type : 'module';
16
16
  @element : 'dimmer';
17
17
 
18
18
  @import (multiple) '../../theme.config';
@@ -22,76 +22,76 @@
22
22
  *******************************/
23
23
 
24
24
  .dimmable:not(body) {
25
- position: @dimmablePosition;
25
+ position: @dimmablePosition;
26
26
  }
27
27
 
28
28
  .ui.dimmer {
29
- display: none;
30
- position: @dimmerPosition;
31
- top: 0;
32
- left: 0;
29
+ display: none;
30
+ position: @dimmerPosition;
31
+ top: 0;
32
+ left: 0;
33
33
 
34
- width: 100%;
35
- height: 100%;
34
+ width: 100%;
35
+ height: 100%;
36
36
 
37
- text-align: @textAlign;
38
- vertical-align: @verticalAlign;
39
- padding: @padding;
37
+ text-align: @textAlign;
38
+ vertical-align: @verticalAlign;
39
+ padding: @padding;
40
40
 
41
- background: @backgroundColor;
42
- opacity: @hiddenOpacity;
43
- line-height: @lineHeight;
41
+ background: @backgroundColor;
42
+ opacity: @hiddenOpacity;
43
+ line-height: @lineHeight;
44
44
 
45
- animation-fill-mode: both;
46
- animation-duration: @duration;
47
- transition: @transition;
45
+ animation-fill-mode: both;
46
+ animation-duration: @duration;
47
+ transition: @transition;
48
48
 
49
- flex-direction: column;
50
- align-items: center;
51
- justify-content: center;
49
+ flex-direction: column;
50
+ align-items: center;
51
+ justify-content: center;
52
52
 
53
- user-select: none;
54
- will-change: opacity;
55
- z-index: @zIndex;
53
+ user-select: none;
54
+ will-change: opacity;
55
+ z-index: @zIndex;
56
56
  }
57
57
 
58
58
  /* Dimmer Content */
59
59
  .ui.dimmer > .content {
60
- user-select: text;
61
- color: @textColor;
60
+ user-select: text;
61
+ color: @textColor;
62
62
  }
63
63
 
64
-
65
64
  /* Loose Coupling */
66
65
  .ui.segment > .ui.dimmer:not(.page) {
67
- border-radius: inherit;
66
+ border-radius: inherit;
68
67
  }
69
68
 
70
69
  /* Scrollbars */
71
70
  & when (@useCustomScrollbars) {
72
- .ui.dimmer:not(.inverted)::-webkit-scrollbar-track {
73
- background: @trackInvertedBackground;
74
- }
75
- .ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb {
76
- background: @thumbInvertedBackground;
77
- }
78
- .ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:window-inactive {
79
- background: @thumbInvertedInactiveBackground;
80
- }
81
- .ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:hover {
82
- background: @thumbInvertedHoverBackground;
83
- }
84
- .ui.dimmer:not(.inverted) {
85
- & when (@supportIE) {
86
- /* IE11 */
87
- scrollbar-face-color: @thumbInvertedBackgroundHex;
88
- scrollbar-shadow-color: @thumbInvertedBackgroundHex;
89
- scrollbar-track-color: @trackInvertedBackgroundHex;
90
- scrollbar-arrow-color: @trackInvertedBackgroundHex;
91
- }
92
- /* firefox : first color thumb, second track */
93
- scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
94
- }
71
+ .ui.dimmer:not(.inverted)::-webkit-scrollbar-track {
72
+ background: @trackInvertedBackground;
73
+ }
74
+ .ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb {
75
+ background: @thumbInvertedBackground;
76
+ }
77
+ .ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:window-inactive {
78
+ background: @thumbInvertedInactiveBackground;
79
+ }
80
+ .ui.dimmer:not(.inverted)::-webkit-scrollbar-thumb:hover {
81
+ background: @thumbInvertedHoverBackground;
82
+ }
83
+ .ui.dimmer:not(.inverted) {
84
+ & when (@supportIE) {
85
+ /* IE11 */
86
+ scrollbar-face-color: @thumbInvertedBackgroundHex;
87
+ scrollbar-shadow-color: @thumbInvertedBackgroundHex;
88
+ scrollbar-track-color: @trackInvertedBackgroundHex;
89
+ scrollbar-arrow-color: @trackInvertedBackgroundHex;
90
+ }
91
+
92
+ /* firefox : first color thumb, second track */
93
+ scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
94
+ }
95
95
  }
96
96
 
97
97
  /*******************************
@@ -101,304 +101,307 @@
101
101
  /* Animating */
102
102
  .animating.dimmable:not(body),
103
103
  .dimmed.dimmable:not(body) {
104
- overflow: @overflow;
104
+ overflow: @overflow;
105
105
  }
106
106
 
107
107
  /* Animating / Active / Visible */
108
108
  .dimmed.dimmable > .ui.animating.dimmer,
109
109
  .dimmed.dimmable > .ui.visible.dimmer,
110
110
  .ui.active.dimmer {
111
- display: flex;
112
- opacity: @visibleOpacity;
111
+ display: flex;
112
+ opacity: @visibleOpacity;
113
113
  }
114
114
 
115
115
  & when (@variationDimmerDisabled) {
116
- /* Disabled */
117
- .ui.disabled.dimmer {
118
- width: 0 !important;
119
- height: 0 !important;
120
- }
116
+ /* Disabled */
117
+ .ui.disabled.dimmer {
118
+ width: 0 !important;
119
+ height: 0 !important;
120
+ }
121
121
  }
122
122
 
123
-
124
123
  /*******************************
125
124
  Variations
126
125
  *******************************/
127
126
 
128
127
  & when (@variationDimmerLegacy) {
129
- /*--------------
130
- Legacy
131
- ---------------*/
132
-
133
- /* Animating / Active / Visible */
134
- .dimmed.dimmable > .ui.animating.legacy.dimmer,
135
- .dimmed.dimmable > .ui.visible.legacy.dimmer,
136
- .ui.active.legacy.dimmer {
137
- display: block;
138
- }
128
+ /* --------------
129
+ Legacy
130
+ --------------- */
131
+
132
+ /* Animating / Active / Visible */
133
+ .dimmed.dimmable > .ui.animating.legacy.dimmer,
134
+ .dimmed.dimmable > .ui.visible.legacy.dimmer,
135
+ .ui.active.legacy.dimmer {
136
+ display: block;
137
+ }
139
138
  }
140
139
 
141
140
  & when (@variationDimmerAligned) {
142
- /*--------------
143
- Alignment
144
- ---------------*/
145
-
146
- .ui[class*="top aligned"].dimmer {
147
- justify-content: flex-start;
148
- }
149
- .ui[class*="bottom aligned"].dimmer {
150
- justify-content: flex-end;
151
- }
141
+ /* --------------
142
+ Alignment
143
+ --------------- */
144
+
145
+ .ui[class*="top aligned"].dimmer {
146
+ justify-content: flex-start;
147
+ }
148
+ .ui[class*="bottom aligned"].dimmer {
149
+ justify-content: flex-end;
150
+ }
152
151
  }
153
152
 
154
153
  & when (@variationDimmerPage) {
155
- /*--------------
156
- Page
157
- ---------------*/
158
-
159
- .ui.page.dimmer {
160
- position: @pageDimmerPosition;
161
- transform-style: @transformStyle;
162
- perspective: @perspective;
163
- transform-origin: center center;
164
- &.modals {
165
- -moz-perspective: none;
166
- }
167
- }
154
+ /* --------------
155
+ Page
156
+ --------------- */
157
+
158
+ .ui.page.dimmer {
159
+ position: @pageDimmerPosition;
160
+ transform-style: @transformStyle;
161
+ perspective: @perspective;
162
+ transform-origin: center center;
163
+ &.modals {
164
+ -moz-perspective: none;
165
+ }
166
+ }
168
167
  }
169
168
 
170
169
  body.animating.in.dimmable,
171
170
  body.dimmed.dimmable {
172
- overflow: hidden;
171
+ overflow: hidden;
173
172
  }
174
173
 
175
174
  body.dimmable > .dimmer {
176
- position: fixed;
175
+ position: fixed;
177
176
  }
178
177
 
179
178
  & when (@variationDimmerBlurring) {
180
- /*--------------
181
- Blurring
182
- ---------------*/
183
-
184
- @supports (not (-webkit-backdrop-filter: none)) and (not (backdrop-filter: none)) {
185
- .blurring.dimmable > :not(.dimmer) {
186
- filter: @blurredStartFilter;
187
- transition: @blurredTransition;
188
- }
189
- .blurring.dimmed.dimmable > :not(.dimmer):not(.popup) {
190
- filter: @blurredEndFilter;
191
- }
192
- }
193
-
194
- /* Dimmer Color */
195
- .blurring.dimmable > .dimmer {
196
- background: @blurredBackgroundColor;
197
- -webkit-backdrop-filter: @blurredEndFilter;
198
- backdrop-filter: @blurredEndFilter;
199
- }
200
- .blurring.dimmable > .inverted.dimmer {
201
- background: @blurredInvertedBackgroundColor;
202
- }
179
+ /* --------------
180
+ Blurring
181
+ --------------- */
182
+
183
+ @supports (not (-webkit-backdrop-filter: none)) and (not (backdrop-filter: none)) {
184
+ .blurring.dimmable > :not(.dimmer) {
185
+ filter: @blurredStartFilter;
186
+ transition: @blurredTransition;
187
+ }
188
+ .blurring.dimmed.dimmable > :not(.dimmer):not(.popup) {
189
+ filter: @blurredEndFilter;
190
+ }
191
+ }
192
+
193
+ /* Dimmer Color */
194
+ .blurring.dimmable > .dimmer {
195
+ background: @blurredBackgroundColor;
196
+ -webkit-backdrop-filter: @blurredEndFilter;
197
+ backdrop-filter: @blurredEndFilter;
198
+ }
199
+ .blurring.dimmable > .inverted.dimmer {
200
+ background: @blurredInvertedBackgroundColor;
201
+ }
203
202
  }
204
203
  & when (@variationDimmerAligned) {
205
- /*--------------
206
- Aligned
207
- ---------------*/
208
-
209
- .ui.dimmer > .top.aligned.content > * {
210
- vertical-align: top;
211
- }
212
- .ui.dimmer > .bottom.aligned.content > * {
213
- vertical-align: bottom;
214
- }
204
+ /* --------------
205
+ Aligned
206
+ --------------- */
207
+
208
+ .ui.dimmer > .top.aligned.content > * {
209
+ vertical-align: top;
210
+ }
211
+ .ui.dimmer > .bottom.aligned.content > * {
212
+ vertical-align: bottom;
213
+ }
215
214
  }
216
215
 
217
216
  & when (@variationDimmerShades) {
218
- /*--------------
219
- Shades
220
- ---------------*/
221
-
222
- .medium.medium.medium.medium.medium.dimmer {
223
- background: @mediumBackgroundColor;
224
- }
225
- .light.light.light.light.light.dimmer {
226
- background: @lightBackgroundColor;
227
- }
228
- .very.light.light.light.light.dimmer {
229
- background: @veryLightBackgroundColor;
230
- }
217
+ /* --------------
218
+ Shades
219
+ --------------- */
220
+
221
+ .medium.medium.medium.medium.medium.dimmer {
222
+ background: @mediumBackgroundColor;
223
+ }
224
+ .light.light.light.light.light.dimmer {
225
+ background: @lightBackgroundColor;
226
+ }
227
+ .very.light.light.light.light.dimmer {
228
+ background: @veryLightBackgroundColor;
229
+ }
231
230
  }
232
231
 
233
232
  & when (@variationDimmerInverted) {
234
- /*--------------
235
- Inverted
236
- ---------------*/
237
-
238
- .ui.inverted.dimmer {
239
- background: @invertedBackgroundColor;
240
- }
241
- .ui.inverted.dimmer > .content,
242
- .ui.inverted.dimmer > .content > * {
243
- color: @invertedTextColor;
244
- }
233
+ /* --------------
234
+ Inverted
235
+ --------------- */
245
236
 
246
- & when (@variationDimmerShades) {
247
- /*--------------
248
- Inverted Shades
249
- ---------------*/
250
-
251
- .medium.medium.medium.medium.medium.inverted.dimmer {
252
- background: @mediumInvertedBackgroundColor;
237
+ .ui.inverted.dimmer {
238
+ background: @invertedBackgroundColor;
253
239
  }
254
- .light.light.light.light.light.inverted.dimmer {
255
- background: @lightInvertedBackgroundColor;
240
+ .ui.inverted.dimmer > .content,
241
+ .ui.inverted.dimmer > .content > * {
242
+ color: @invertedTextColor;
256
243
  }
257
- .very.light.light.light.light.inverted.dimmer {
258
- background: @veryLightInvertedBackgroundColor;
244
+
245
+ & when (@variationDimmerShades) {
246
+ /* --------------
247
+ Inverted Shades
248
+ --------------- */
249
+
250
+ .medium.medium.medium.medium.medium.inverted.dimmer {
251
+ background: @mediumInvertedBackgroundColor;
252
+ }
253
+ .light.light.light.light.light.inverted.dimmer {
254
+ background: @lightInvertedBackgroundColor;
255
+ }
256
+ .very.light.light.light.light.inverted.dimmer {
257
+ background: @veryLightInvertedBackgroundColor;
258
+ }
259
259
  }
260
- }
261
260
  }
262
261
 
263
262
  & when (@variationDimmerSimple) {
264
- /*--------------
265
- Simple
266
- ---------------*/
263
+ /* --------------
264
+ Simple
265
+ --------------- */
266
+
267
+ /* Displays without javascript */
268
+ .ui.simple.dimmer {
269
+ display: block;
270
+ overflow: hidden;
271
+ opacity: 0;
272
+ width: 0;
273
+ height: 0;
274
+ z-index: -100;
275
+ background: @simpleStartBackgroundColor;
276
+ }
277
+ .dimmed.dimmable > .ui.simple.dimmer {
278
+ overflow: visible;
279
+ opacity: 1;
280
+ width: 100%;
281
+ height: 100%;
282
+ background: @simpleEndBackgroundColor;
283
+ z-index: @simpleZIndex;
284
+ }
267
285
 
268
- /* Displays without javascript */
269
- .ui.simple.dimmer {
270
- display: block;
271
- overflow: hidden;
272
- opacity: 0;
273
- width: 0;
274
- height: 0;
275
- z-index: -100;
276
- background: @simpleStartBackgroundColor;
277
- }
278
- .dimmed.dimmable > .ui.simple.dimmer {
279
- overflow: visible;
280
- opacity: 1;
281
- width: 100%;
282
- height: 100%;
283
- background: @simpleEndBackgroundColor;
284
- z-index: @simpleZIndex;
285
- }
286
-
287
- .ui.simple.inverted.dimmer {
288
- background: @simpleInvertedStartBackgroundColor;
289
- }
290
- .dimmed.dimmable > .ui.simple.inverted.dimmer {
291
- background: @simpleInvertedEndBackgroundColor;
292
- }
286
+ .ui.simple.inverted.dimmer {
287
+ background: @simpleInvertedStartBackgroundColor;
288
+ }
289
+ .dimmed.dimmable > .ui.simple.inverted.dimmer {
290
+ background: @simpleInvertedEndBackgroundColor;
291
+ }
293
292
  }
294
293
 
295
294
  & when (@variationDimmerPartially) {
296
- /*--------------
297
- Partially
298
- ----------------*/
299
-
300
- .ui[class*="top dimmer"],
301
- .ui[class*="center dimmer"],
302
- .ui[class*="bottom dimmer"] {
303
- height: auto;
304
- }
305
- .ui[class*="bottom dimmer"] {
306
- top: auto;
307
- bottom: 0;
308
- }
309
- .ui[class*="center dimmer"] {
310
- top:50%;
311
- transform: translateY(-50%);
312
- -webkit-transform: translateY(calc(-50% - .5px));
313
- }
314
-
315
- .ui.segment > .ui.ui[class*="top dimmer"] {
316
- border-bottom-left-radius: 0;
317
- border-bottom-right-radius: 0;
318
- }
319
- .ui.segment > .ui.ui[class*="center dimmer"] {
320
- border-radius: 0;
321
- }
322
- .ui.segment > .ui.ui[class*="bottom dimmer"] {
323
- border-top-left-radius: 0;
324
- border-top-right-radius: 0;
325
- }
326
-
327
- .ui[class*="center dimmer"].transition[class*="fade up"].in {
328
- animation-name: fadeInUpCenter;
329
- }
330
- .ui[class*="center dimmer"].transition[class*="fade down"].in {
331
- animation-name: fadeInDownCenter;
332
- }
333
- .ui[class*="center dimmer"].transition[class*="fade up"].out {
334
- animation-name: fadeOutUpCenter;
335
- }
336
- .ui[class*="center dimmer"].transition[class*="fade down"].out {
337
- animation-name: fadeOutDownCenter;
338
- }
339
- .ui[class*="center dimmer"].bounce.transition {
340
- animation-name: bounceCenter;
341
- }
342
- @keyframes fadeInUpCenter {
343
- 0% {
344
- opacity: 0;
345
- transform: translateY(-40%);
346
- -webkit-transform: translateY(calc(-40% - .5px));
347
- }
348
- 100% {
349
- opacity: 1;
350
- transform: translateY(-50%);
351
- -webkit-transform: translateY(calc(-50% - .5px));
352
- }
353
- }
354
- @keyframes fadeInDownCenter {
355
- 0% {
356
- opacity: 0;
357
- transform: translateY(-60%);
358
- -webkit-transform: translateY(calc(-60% - .5px));
359
- }
360
- 100% {
361
- opacity: 1;
362
- transform: translateY(-50%);
363
- -webkit-transform: translateY(calc(-50% - .5px));
364
- }
365
- }
366
- @keyframes fadeOutUpCenter {
367
- 0% {
368
- opacity: 1;
369
- transform: translateY(-50%);
370
- -webkit-transform: translateY(calc(-50% - .5px));
371
- }
372
- 100% {
373
- opacity: 0;
374
- transform: translateY(-45%);
375
- -webkit-transform: translateY(calc(-45% - .5px));
376
- }
377
- }
378
- @keyframes fadeOutDownCenter {
379
- 0% {
380
- opacity: 1;
381
- transform: translateY(-50%);
382
- -webkit-transform: translateY(calc(-50% - .5px));
383
- }
384
- 100% {
385
- opacity: 0;
386
- transform: translateY(-55%);
387
- -webkit-transform: translateY(calc(-55% - .5px));
388
- }
389
- }
390
- @keyframes bounceCenter {
391
- 0%, 20%, 50%, 80%, 100% {
392
- transform: translateY(-50%);
393
- -webkit-transform: translateY(calc(-50% - .5px));
394
- }
395
- 40% {
396
- transform: translateY(calc(-50% - 30px));
397
- }
398
- 60% {
399
- transform: translateY(calc(-50% - 15px));
400
- }
401
- }
295
+ /* --------------
296
+ Partially
297
+ ---------------- */
298
+
299
+ .ui[class*="top dimmer"],
300
+ .ui[class*="center dimmer"],
301
+ .ui[class*="bottom dimmer"] {
302
+ height: auto;
303
+ }
304
+ .ui[class*="bottom dimmer"] {
305
+ top: auto;
306
+ bottom: 0;
307
+ }
308
+ .ui[class*="center dimmer"] {
309
+ top: 50%;
310
+ transform: translateY(-50%);
311
+ -webkit-transform: translateY(calc(-50% - .5px));
312
+ }
313
+
314
+ .ui.segment > .ui.ui[class*="top dimmer"] {
315
+ border-bottom-left-radius: 0;
316
+ border-bottom-right-radius: 0;
317
+ }
318
+ .ui.segment > .ui.ui[class*="center dimmer"] {
319
+ border-radius: 0;
320
+ }
321
+ .ui.segment > .ui.ui[class*="bottom dimmer"] {
322
+ border-top-left-radius: 0;
323
+ border-top-right-radius: 0;
324
+ }
325
+
326
+ .ui[class*="center dimmer"].transition[class*="fade up"].in {
327
+ animation-name: fadeInUpCenter;
328
+ }
329
+ .ui[class*="center dimmer"].transition[class*="fade down"].in {
330
+ animation-name: fadeInDownCenter;
331
+ }
332
+ .ui[class*="center dimmer"].transition[class*="fade up"].out {
333
+ animation-name: fadeOutUpCenter;
334
+ }
335
+ .ui[class*="center dimmer"].transition[class*="fade down"].out {
336
+ animation-name: fadeOutDownCenter;
337
+ }
338
+ .ui[class*="center dimmer"].bounce.transition {
339
+ animation-name: bounceCenter;
340
+ }
341
+ @keyframes fadeInUpCenter {
342
+ 0% {
343
+ opacity: 0;
344
+ transform: translateY(-40%);
345
+ -webkit-transform: translateY(calc(-40% - .5px));
346
+ }
347
+ 100% {
348
+ opacity: 1;
349
+ transform: translateY(-50%);
350
+ -webkit-transform: translateY(calc(-50% - .5px));
351
+ }
352
+ }
353
+ @keyframes fadeInDownCenter {
354
+ 0% {
355
+ opacity: 0;
356
+ transform: translateY(-60%);
357
+ -webkit-transform: translateY(calc(-60% - .5px));
358
+ }
359
+ 100% {
360
+ opacity: 1;
361
+ transform: translateY(-50%);
362
+ -webkit-transform: translateY(calc(-50% - .5px));
363
+ }
364
+ }
365
+ @keyframes fadeOutUpCenter {
366
+ 0% {
367
+ opacity: 1;
368
+ transform: translateY(-50%);
369
+ -webkit-transform: translateY(calc(-50% - .5px));
370
+ }
371
+ 100% {
372
+ opacity: 0;
373
+ transform: translateY(-45%);
374
+ -webkit-transform: translateY(calc(-45% - .5px));
375
+ }
376
+ }
377
+ @keyframes fadeOutDownCenter {
378
+ 0% {
379
+ opacity: 1;
380
+ transform: translateY(-50%);
381
+ -webkit-transform: translateY(calc(-50% - .5px));
382
+ }
383
+ 100% {
384
+ opacity: 0;
385
+ transform: translateY(-55%);
386
+ -webkit-transform: translateY(calc(-55% - .5px));
387
+ }
388
+ }
389
+ @keyframes bounceCenter {
390
+ 0%,
391
+ 20%,
392
+ 50%,
393
+ 80%,
394
+ 100% {
395
+ transform: translateY(-50%);
396
+ -webkit-transform: translateY(calc(-50% - .5px));
397
+ }
398
+ 40% {
399
+ transform: translateY(calc(-50% - 30px));
400
+ }
401
+ 60% {
402
+ transform: translateY(calc(-50% - 15px));
403
+ }
404
+ }
402
405
  }
403
406
 
404
407
  .loadUIOverrides();