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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/.all-contributorsrc +9 -0
  2. package/.eslintrc.js +0 -10
  3. package/CHANGELOG.md +5289 -2325
  4. package/CONTRIBUTING.md +4 -1
  5. package/CONTRIBUTORS.md +1 -0
  6. package/FAQ.md +7 -2
  7. package/README.md +5 -9
  8. package/ROADMAP.md +4 -4
  9. package/SECURITY.md +8 -7
  10. package/changelog-setup.js +85 -69
  11. package/changelog-template.hbs +256 -251
  12. package/dist/components/accordion.css +1 -1
  13. package/dist/components/accordion.js +103 -142
  14. package/dist/components/accordion.min.css +1 -1
  15. package/dist/components/accordion.min.js +2 -2
  16. package/dist/components/ad.css +1 -1
  17. package/dist/components/ad.min.css +1 -1
  18. package/dist/components/api.js +157 -210
  19. package/dist/components/api.min.js +2 -2
  20. package/dist/components/breadcrumb.css +1 -1
  21. package/dist/components/breadcrumb.min.css +1 -1
  22. package/dist/components/button.css +1 -2
  23. package/dist/components/button.min.css +2 -2
  24. package/dist/components/calendar.css +1 -2
  25. package/dist/components/calendar.js +314 -352
  26. package/dist/components/calendar.min.css +2 -2
  27. package/dist/components/calendar.min.js +2 -2
  28. package/dist/components/card.css +1 -1
  29. package/dist/components/card.min.css +1 -1
  30. package/dist/components/checkbox.css +1 -2
  31. package/dist/components/checkbox.js +85 -135
  32. package/dist/components/checkbox.min.css +2 -2
  33. package/dist/components/checkbox.min.js +2 -2
  34. package/dist/components/comment.css +1 -1
  35. package/dist/components/comment.min.css +1 -1
  36. package/dist/components/container.css +2 -4
  37. package/dist/components/container.min.css +2 -2
  38. package/dist/components/dimmer.css +1 -11
  39. package/dist/components/dimmer.js +61 -94
  40. package/dist/components/dimmer.min.css +2 -2
  41. package/dist/components/dimmer.min.js +2 -2
  42. package/dist/components/divider.css +1 -2
  43. package/dist/components/divider.min.css +2 -2
  44. package/dist/components/dropdown.css +30 -51
  45. package/dist/components/dropdown.js +754 -1096
  46. package/dist/components/dropdown.min.css +2 -2
  47. package/dist/components/dropdown.min.js +2 -2
  48. package/dist/components/embed.css +1 -1
  49. package/dist/components/embed.js +84 -114
  50. package/dist/components/embed.min.css +1 -1
  51. package/dist/components/embed.min.js +2 -2
  52. package/dist/components/emoji.css +3809 -7617
  53. package/dist/components/emoji.min.css +2 -2
  54. package/dist/components/feed.css +1 -1
  55. package/dist/components/feed.min.css +1 -1
  56. package/dist/components/flag.css +1 -1
  57. package/dist/components/flag.min.css +1 -1
  58. package/dist/components/flyout.css +2 -3
  59. package/dist/components/flyout.js +225 -355
  60. package/dist/components/flyout.min.css +2 -2
  61. package/dist/components/flyout.min.js +2 -2
  62. package/dist/components/form.css +5 -95
  63. package/dist/components/form.js +335 -444
  64. package/dist/components/form.min.css +2 -2
  65. package/dist/components/form.min.js +2 -2
  66. package/dist/components/grid.css +2 -58
  67. package/dist/components/grid.min.css +2 -2
  68. package/dist/components/header.css +1 -1
  69. package/dist/components/header.min.css +1 -1
  70. package/dist/components/icon.css +4 -4
  71. package/dist/components/icon.min.css +2 -2
  72. package/dist/components/image.css +1 -1
  73. package/dist/components/image.min.css +1 -1
  74. package/dist/components/input.css +1 -536
  75. package/dist/components/input.min.css +2 -2
  76. package/dist/components/item.css +1 -1
  77. package/dist/components/item.min.css +1 -1
  78. package/dist/components/label.css +1 -1
  79. package/dist/components/label.min.css +1 -1
  80. package/dist/components/list.css +1 -3
  81. package/dist/components/list.min.css +2 -2
  82. package/dist/components/loader.css +1 -1
  83. package/dist/components/loader.min.css +1 -1
  84. package/dist/components/menu.css +40 -48
  85. package/dist/components/menu.min.css +2 -2
  86. package/dist/components/message.css +1 -1
  87. package/dist/components/message.min.css +1 -1
  88. package/dist/components/modal.css +5 -9
  89. package/dist/components/modal.js +260 -384
  90. package/dist/components/modal.min.css +2 -2
  91. package/dist/components/modal.min.js +2 -2
  92. package/dist/components/nag.css +1 -1
  93. package/dist/components/nag.js +68 -98
  94. package/dist/components/nag.min.css +1 -1
  95. package/dist/components/nag.min.js +2 -2
  96. package/dist/components/placeholder.css +1 -1
  97. package/dist/components/placeholder.min.css +1 -1
  98. package/dist/components/popup.css +1 -2
  99. package/dist/components/popup.js +197 -271
  100. package/dist/components/popup.min.css +2 -2
  101. package/dist/components/popup.min.js +2 -2
  102. package/dist/components/progress.css +1 -1
  103. package/dist/components/progress.js +109 -144
  104. package/dist/components/progress.min.css +1 -1
  105. package/dist/components/progress.min.js +2 -2
  106. package/dist/components/rail.css +1 -1
  107. package/dist/components/rail.min.css +1 -1
  108. package/dist/components/rating.css +1 -1
  109. package/dist/components/rating.js +90 -123
  110. package/dist/components/rating.min.css +1 -1
  111. package/dist/components/rating.min.js +2 -2
  112. package/dist/components/reset.css +1 -1
  113. package/dist/components/reset.min.css +1 -1
  114. package/dist/components/reveal.css +1 -1
  115. package/dist/components/reveal.min.css +1 -1
  116. package/dist/components/search.css +2 -9
  117. package/dist/components/search.js +276 -379
  118. package/dist/components/search.min.css +2 -2
  119. package/dist/components/search.min.js +2 -2
  120. package/dist/components/segment.css +2 -7
  121. package/dist/components/segment.min.css +2 -2
  122. package/dist/components/shape.css +1 -2
  123. package/dist/components/shape.js +158 -224
  124. package/dist/components/shape.min.css +2 -2
  125. package/dist/components/shape.min.js +2 -2
  126. package/dist/components/sidebar.css +2 -3
  127. package/dist/components/sidebar.js +124 -206
  128. package/dist/components/sidebar.min.css +2 -2
  129. package/dist/components/sidebar.min.js +2 -2
  130. package/dist/components/site.css +9 -25
  131. package/dist/components/site.js +38 -57
  132. package/dist/components/site.min.css +2 -2
  133. package/dist/components/site.min.js +2 -2
  134. package/dist/components/slider.css +1 -1
  135. package/dist/components/slider.js +246 -329
  136. package/dist/components/slider.min.css +1 -1
  137. package/dist/components/slider.min.js +2 -2
  138. package/dist/components/state.js +70 -100
  139. package/dist/components/state.min.js +2 -2
  140. package/dist/components/statistic.css +1 -1
  141. package/dist/components/statistic.min.css +1 -1
  142. package/dist/components/step.css +1 -1
  143. package/dist/components/step.min.css +1 -1
  144. package/dist/components/sticky.css +1 -1
  145. package/dist/components/sticky.js +135 -180
  146. package/dist/components/sticky.min.css +1 -1
  147. package/dist/components/sticky.min.js +2 -2
  148. package/dist/components/tab.css +1 -1
  149. package/dist/components/tab.js +176 -241
  150. package/dist/components/tab.min.css +1 -1
  151. package/dist/components/tab.min.js +2 -2
  152. package/dist/components/table.css +3 -37
  153. package/dist/components/table.min.css +2 -2
  154. package/dist/components/text.css +1 -1
  155. package/dist/components/text.min.css +1 -1
  156. package/dist/components/toast.css +1 -3
  157. package/dist/components/toast.js +108 -147
  158. package/dist/components/toast.min.css +1 -1
  159. package/dist/components/toast.min.js +2 -2
  160. package/dist/components/transition.css +1 -1
  161. package/dist/components/transition.js +91 -146
  162. package/dist/components/transition.min.css +1 -1
  163. package/dist/components/transition.min.js +2 -2
  164. package/dist/components/visibility.js +146 -224
  165. package/dist/components/visibility.min.js +2 -2
  166. package/dist/semantic.css +3945 -8759
  167. package/dist/semantic.js +4408 -6193
  168. package/dist/semantic.min.css +2 -2
  169. package/dist/semantic.min.js +2 -2
  170. package/examples/assets/show-examples.js +2 -4
  171. package/examples/attached.html +1 -1
  172. package/examples/components/menu.html +1 -1
  173. package/gulpfile.js +5 -7
  174. package/package.json +3 -6
  175. package/scripts/nightly-version.js +7 -10
  176. package/src/README.md +3 -3
  177. package/src/definitions/behaviors/api.js +156 -209
  178. package/src/definitions/behaviors/form.js +334 -443
  179. package/src/definitions/behaviors/state.js +69 -99
  180. package/src/definitions/behaviors/visibility.js +145 -223
  181. package/src/definitions/collections/form.less +1 -13
  182. package/src/definitions/collections/grid.less +1 -61
  183. package/src/definitions/collections/menu.less +101 -107
  184. package/src/definitions/collections/table.less +1 -35
  185. package/src/definitions/elements/input.less +1 -61
  186. package/src/definitions/elements/segment.less +0 -6
  187. package/src/definitions/globals/site.js +37 -56
  188. package/src/definitions/globals/site.less +2 -18
  189. package/src/definitions/modules/accordion.js +102 -141
  190. package/src/definitions/modules/calendar.js +313 -351
  191. package/src/definitions/modules/checkbox.js +84 -134
  192. package/src/definitions/modules/dimmer.js +60 -93
  193. package/src/definitions/modules/dimmer.less +0 -9
  194. package/src/definitions/modules/dropdown.js +753 -1095
  195. package/src/definitions/modules/dropdown.less +31 -47
  196. package/src/definitions/modules/embed.js +83 -113
  197. package/src/definitions/modules/flyout.js +224 -354
  198. package/src/definitions/modules/modal.js +259 -383
  199. package/src/definitions/modules/modal.less +1 -1
  200. package/src/definitions/modules/nag.js +67 -97
  201. package/src/definitions/modules/popup.js +196 -270
  202. package/src/definitions/modules/progress.js +108 -143
  203. package/src/definitions/modules/rating.js +89 -122
  204. package/src/definitions/modules/search.js +275 -378
  205. package/src/definitions/modules/search.less +0 -3
  206. package/src/definitions/modules/shape.js +157 -223
  207. package/src/definitions/modules/sidebar.js +123 -205
  208. package/src/definitions/modules/slider.js +245 -328
  209. package/src/definitions/modules/slider.less +1 -1
  210. package/src/definitions/modules/sticky.js +134 -179
  211. package/src/definitions/modules/tab.js +175 -240
  212. package/src/definitions/modules/toast.js +107 -146
  213. package/src/definitions/modules/toast.less +1 -1
  214. package/src/definitions/modules/transition.js +90 -145
  215. package/src/theme.less +0 -13
  216. package/src/themes/basic/elements/icon.variables +1 -1
  217. package/src/themes/chubby/collections/menu.variables +1 -1
  218. package/src/themes/default/collections/grid.variables +0 -30
  219. package/src/themes/default/collections/menu.variables +23 -23
  220. package/src/themes/default/collections/table.variables +1 -5
  221. package/src/themes/default/elements/icon.variables +3 -3
  222. package/src/themes/default/globals/site.variables +8 -15
  223. package/src/themes/default/globals/variation.variables +3 -3
  224. package/src/themes/default/modules/dropdown.variables +1 -0
  225. package/src/themes/default/modules/slider.variables +1 -1
  226. package/src/themes/github/elements/icon.variables +1 -1
  227. package/src/themes/material/elements/icon.variables +1 -1
  228. package/tasks/README.md +1 -1
  229. package/tasks/admin/components/create.js +89 -122
  230. package/tasks/admin/components/init.js +34 -65
  231. package/tasks/admin/components/update.js +50 -61
  232. package/tasks/admin/distributions/create.js +71 -111
  233. package/tasks/admin/distributions/init.js +32 -63
  234. package/tasks/admin/distributions/update.js +49 -57
  235. package/tasks/admin/publish.js +1 -1
  236. package/tasks/admin/register.js +14 -19
  237. package/tasks/admin/release.js +2 -2
  238. package/tasks/build/assets.js +14 -18
  239. package/tasks/build/css.js +59 -68
  240. package/tasks/build/javascript.js +48 -56
  241. package/tasks/build.js +4 -6
  242. package/tasks/check-install.js +5 -8
  243. package/tasks/clean.js +5 -7
  244. package/tasks/collections/admin.js +14 -16
  245. package/tasks/collections/build.js +6 -8
  246. package/tasks/collections/docs.js +4 -6
  247. package/tasks/collections/install.js +2 -4
  248. package/tasks/collections/rtl.js +2 -4
  249. package/tasks/collections/various.js +2 -4
  250. package/tasks/config/admin/github.js +9 -19
  251. package/tasks/config/admin/templates/README.md +2 -2
  252. package/tasks/config/admin/templates/bower.json +2 -4
  253. package/tasks/config/admin/templates/composer.json +1 -1
  254. package/tasks/config/admin/templates/css-package.js +1 -4
  255. package/tasks/config/admin/templates/less-package.js +1 -3
  256. package/tasks/config/defaults.js +0 -1
  257. package/tasks/config/npm/gulpfile.js +4 -6
  258. package/tasks/config/project/config.js +27 -35
  259. package/tasks/config/project/install.js +64 -82
  260. package/tasks/config/project/release.js +7 -9
  261. package/tasks/config/tasks.js +10 -21
  262. package/tasks/config/user.js +14 -20
  263. package/tasks/docs/build.js +26 -31
  264. package/tasks/docs/metadata.js +30 -39
  265. package/tasks/docs/serve.js +23 -27
  266. package/tasks/install.js +94 -128
  267. package/tasks/rtl/build.js +2 -4
  268. package/tasks/rtl/watch.js +3 -5
  269. package/tasks/watch.js +13 -13
  270. package/test/meteor/fonts.js +1 -2
  271. package/test/modules/module.spec.js +16 -18
  272. package/types/fomantic-ui-calendar.d.ts +1 -1
  273. package/types/fomantic-ui-dropdown.d.ts +45 -1
  274. package/types/fomantic-ui-embed.d.ts +1 -1
  275. package/types/fomantic-ui-flyout.d.ts +1 -1
  276. package/types/fomantic-ui-form.d.ts +0 -7
  277. package/types/fomantic-ui-modal.d.ts +1 -1
  278. package/types/fomantic-ui-search.d.ts +12 -6
  279. package/types/fomantic-ui-toast.d.ts +1 -1
  280. package/src/themes/basic/assets/fonts/icons.woff +0 -0
  281. package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  282. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  283. package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  284. package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  285. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  286. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  287. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  288. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  289. package/src/themes/default/assets/fonts/brand-icons.woff +0 -0
  290. package/src/themes/default/assets/fonts/icons.woff +0 -0
  291. package/src/themes/default/assets/fonts/outline-icons.woff +0 -0
  292. package/src/themes/github/assets/fonts/octicons.woff +0 -0
  293. package/src/themes/material/assets/fonts/icons.woff +0 -0
@@ -406,9 +406,6 @@
406
406
  .ui.form ::placeholder {
407
407
  color: @inputPlaceholderColor;
408
408
  }
409
- .ui.form :-ms-input-placeholder when (@supportIE) {
410
- color: @inputPlaceholderColor !important;
411
- }
412
409
  .ui.form ::-moz-placeholder {
413
410
  opacity: 1;
414
411
  }
@@ -416,9 +413,6 @@
416
413
  .ui.form :focus::placeholder {
417
414
  color: @inputPlaceholderFocusColor;
418
415
  }
419
- .ui.form :focus:-ms-input-placeholder when (@supportIE) {
420
- color: @inputPlaceholderFocusColor !important;
421
- }
422
416
 
423
417
  /* --------------------
424
418
  Focus
@@ -645,7 +639,7 @@
645
639
  border-color: @formStates[@@state][inputHoverBorderColor];
646
640
  }
647
641
 
648
- /* Preserve Native Select Stylings */
642
+ /* Preserve Native Select Styling */
649
643
  .ui.form .field.@{state} select {
650
644
  -webkit-appearance: menulist-button;
651
645
  }
@@ -675,17 +669,11 @@
675
669
  .ui.form .@{state} ::placeholder {
676
670
  color: @formStates[@@state][inputPlaceholderColor];
677
671
  }
678
- .ui.form .@{state} :-ms-input-placeholder when (@supportIE) {
679
- color: @formStates[@@state][inputPlaceholderColor] !important;
680
- }
681
672
 
682
673
  .ui.form .@{state} .ui.dropdown > input:focus ~ .default.text,
683
674
  .ui.form .@{state} :focus::placeholder {
684
675
  color: @formStates[@@state][inputPlaceholderFocusColor];
685
676
  }
686
- .ui.form .@{state} :focus:-ms-input-placeholder when (@supportIE) {
687
- color: @formStates[@@state][inputPlaceholderFocusColor] !important;
688
- }
689
677
 
690
678
  /*------------------
691
679
  Dropdown State
@@ -160,58 +160,6 @@
160
160
  Variations
161
161
  *******************************/
162
162
 
163
- & when (@variationGridPage) {
164
- /* -----------------------
165
- Page Grid
166
- ------------------------- */
167
-
168
- @media only screen and (max-width: @largestMobileScreen) {
169
- .ui.page.grid {
170
- width: @mobileWidth;
171
- padding-left: @mobileGutter;
172
- padding-right: @mobileGutter;
173
- margin-left: 0;
174
- margin-right: 0;
175
- }
176
- }
177
- @media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) {
178
- .ui.page.grid {
179
- width: @tabletWidth;
180
- margin-left: @tabletMargin;
181
- margin-right: @tabletMargin;
182
- padding-left: @tabletGutter;
183
- padding-right: @tabletGutter;
184
- }
185
- }
186
- @media only screen and (min-width: @computerBreakpoint) and (max-width: @largestSmallMonitor) {
187
- .ui.page.grid {
188
- width: @computerWidth;
189
- margin-left: @computerMargin;
190
- margin-right: @computerMargin;
191
- padding-left: @computerGutter;
192
- padding-right: @computerGutter;
193
- }
194
- }
195
- @media only screen and (min-width: @largeMonitorBreakpoint) and (max-width: @largestLargeMonitor) {
196
- .ui.page.grid {
197
- width: @largeMonitorWidth;
198
- margin-left: @largeMonitorMargin;
199
- margin-right: @largeMonitorMargin;
200
- padding-left: @largeMonitorGutter;
201
- padding-right: @largeMonitorGutter;
202
- }
203
- }
204
- @media only screen and (min-width: @widescreenMonitorBreakpoint) {
205
- .ui.page.grid {
206
- width: @widescreenMonitorWidth;
207
- margin-left: @widescreenMargin;
208
- margin-right: @widescreenMargin;
209
- padding-left: @widescreenMonitorGutter;
210
- padding-right: @widescreenMonitorGutter;
211
- }
212
- }
213
- }
214
-
215
163
  /* -------------------
216
164
  Column Count
217
165
  -------------------- */
@@ -338,13 +286,6 @@
338
286
  width: @sixteenColumn !important;
339
287
  }
340
288
 
341
- & when (@variationGridCelled) and (@variationGridPage) {
342
- /* Celled Page */
343
- .ui.celled.page.grid {
344
- box-shadow: none;
345
- }
346
- }
347
-
348
289
  & when (@variationGridWide) {
349
290
  /* -------------------
350
291
  Column Width
@@ -1724,8 +1665,7 @@
1724
1665
  }
1725
1666
 
1726
1667
  /* Don't pad inside segment or nested grid */
1727
- .ui.grid .ui.stackable.grid,
1728
- .ui.segment@{notVertical} .ui.stackable.page.grid {
1668
+ .ui.grid .ui.stackable.grid {
1729
1669
  margin-left: -(@stackableGutter / 2);
1730
1670
  margin-right: -(@stackableGutter / 2);
1731
1671
  }
@@ -19,7 +19,7 @@
19
19
 
20
20
  @notSecondary: if(@variationMenuSecondary, e(":not(.secondary)"));
21
21
  @notText: if(@variationMenuText, e(":not(.text)"));
22
- @notTabular: if(@variationMenuTabular, e(":not(.tabular)"));
22
+ @notTabbed: if(@variationMenuTabbed, e(":not(.tabbed)"));
23
23
  @notVertical: if(@variationMenuVertical, e(":not(.vertical)"));
24
24
  @notBorderless: if(@variationMenuBorderless, e(":not(.borderless)"));
25
25
  @notFluid: if(@variationMenuFluid, e(":not(.fluid)"));
@@ -296,11 +296,6 @@
296
296
  }
297
297
  .ui.vertical.menu .dropdown.item .menu {
298
298
  left: 100%;
299
- & when (@supportIE) {
300
- /* IE needs 0, all others support max-content to show dropdown icon inline, so keep both settings! */
301
- min-width: 0;
302
- }
303
-
304
299
  min-width: max-content;
305
300
  margin: 0 0 0 @dropdownMenuDistance;
306
301
  box-shadow: @dropdownVerticalMenuBoxShadow;
@@ -412,11 +407,11 @@
412
407
  }
413
408
  }
414
409
  @media only screen and (min-width: @tabletBreakpoint) {
415
- .ui.menu@{notSecondary}@{notText}@{notTabular}@{notBorderless} > .container > .item:not(.right)@{notBorderless}:first-child {
410
+ .ui.menu@{notSecondary}@{notText}@{notTabbed}@{notBorderless} > .container > .item:not(.right)@{notBorderless}:first-child {
416
411
  border-left: @dividerSize solid @dividerBackground;
417
412
  }
418
- .ui.menu@{notSecondary}@{notText}@{notTabular}@{notBorderless} > .container > .right.item@{notBorderless}:last-child,
419
- .ui.menu@{notSecondary}@{notText}@{notTabular}@{notBorderless} > .container > .right.menu > .item@{notBorderless}:last-child {
413
+ .ui.menu@{notSecondary}@{notText}@{notTabbed}@{notBorderless} > .container > .right.item@{notBorderless}:last-child,
414
+ .ui.menu@{notSecondary}@{notText}@{notTabbed}@{notBorderless} > .container > .right.menu > .item@{notBorderless}:last-child {
420
415
  border-right: @dividerSize solid @dividerBackground;
421
416
  }
422
417
  }
@@ -634,156 +629,156 @@ Floated Menu / Item
634
629
  }
635
630
  }
636
631
 
637
- & when (@variationMenuTabular) {
632
+ & when (@variationMenuTabbed) {
638
633
  /* --------------
639
- Tabular
634
+ Tabbed
640
635
  --------------- */
641
636
 
642
- .ui.tabular.menu {
637
+ .ui.tabbed.menu {
643
638
  border-radius: 0;
644
639
  box-shadow: none !important;
645
640
  border: none;
646
- background: @tabularBackground;
647
- border-bottom: @tabularBorderWidth solid @tabularBorderColor;
641
+ background: @tabbedBackground;
642
+ border-bottom: @tabbedBorderWidth solid @tabbedBorderColor;
648
643
  }
649
- .ui.tabular.fluid.menu {
650
- width: @tabularFluidWidth !important;
644
+ .ui.tabbed.fluid.menu {
645
+ width: @tabbedFluidWidth !important;
651
646
  }
652
- .ui.tabular.menu .item {
647
+ .ui.tabbed.menu .item {
653
648
  background: transparent;
654
649
  border-bottom: none;
655
- border-left: @tabularBorderWidth solid transparent;
656
- border-right: @tabularBorderWidth solid transparent;
657
- border-top: @tabularOppositeBorderWidth solid transparent;
658
- padding: @tabularVerticalPadding @tabularHorizontalPadding;
659
- color: @tabularTextColor;
650
+ border-left: @tabbedBorderWidth solid transparent;
651
+ border-right: @tabbedBorderWidth solid transparent;
652
+ border-top: @tabbedOppositeBorderWidth solid transparent;
653
+ padding: @tabbedVerticalPadding @tabbedHorizontalPadding;
654
+ color: @tabbedTextColor;
660
655
  }
661
- .ui.tabular.menu .item::before {
656
+ .ui.tabbed.menu .item::before {
662
657
  display: none;
663
658
  }
664
659
 
665
660
  /* Hover */
666
- .ui.tabular.menu .item:hover {
661
+ .ui.tabbed.menu .item:hover {
667
662
  background-color: transparent;
668
- color: @tabularHoveredTextColor;
663
+ color: @tabbedHoveredTextColor;
669
664
  }
670
665
 
671
666
  /* Active */
672
- .ui.tabular.menu .active.item {
673
- background: @tabularActiveBackground;
674
- color: @tabularActiveColor;
675
- border-top-width: @tabularBorderWidth;
676
- border-color: @tabularBorderColor;
677
- font-weight: @tabularActiveWeight;
678
- margin-bottom: -@tabularBorderWidth;
679
- box-shadow: @tabularActiveBoxShadow;
680
- border-radius: @tabularBorderRadius @tabularBorderRadius 0 0 !important;
667
+ .ui.tabbed.menu .active.item {
668
+ background: @tabbedActiveBackground;
669
+ color: @tabbedActiveColor;
670
+ border-top-width: @tabbedBorderWidth;
671
+ border-color: @tabbedBorderColor;
672
+ font-weight: @tabbedActiveWeight;
673
+ margin-bottom: -@tabbedBorderWidth;
674
+ box-shadow: @tabbedActiveBoxShadow;
675
+ border-radius: @tabbedBorderRadius @tabbedBorderRadius 0 0 !important;
681
676
  &:hover {
682
677
  cursor: default;
683
678
  }
684
679
  }
685
680
 
686
681
  /* Coupling with segment for attachment */
687
- .ui.tabular.menu ~ .attached:not(.top).segment {
682
+ .ui.tabbed.menu ~ .attached:not(.top).segment {
688
683
  border-top: none;
689
684
  margin-left: 0;
690
685
  margin-top: 0;
691
686
  margin-right: 0;
692
687
  width: 100%;
693
688
  }
694
- .top.attached.segment + .ui.bottom.tabular.menu {
689
+ .top.attached.segment + .ui.bottom.tabbed.menu {
695
690
  position: relative;
696
- width: @tabularFluidWidth;
697
- left: -@tabularFluidOffset;
691
+ width: @tabbedFluidWidth;
692
+ left: -@tabbedFluidOffset;
698
693
  }
699
694
 
700
- /* Bottom Vertical Tabular */
701
- .ui.bottom.tabular.menu {
702
- background: @tabularBackground;
695
+ /* Bottom Vertical Tabbed */
696
+ .ui.bottom.tabbed.menu {
697
+ background: @tabbedBackground;
703
698
  border-radius: 0;
704
699
  box-shadow: none !important;
705
700
  border-bottom: none;
706
- border-top: @tabularBorderWidth solid @tabularBorderColor;
701
+ border-top: @tabbedBorderWidth solid @tabbedBorderColor;
707
702
  }
708
- .ui.bottom.tabular.menu .item {
703
+ .ui.bottom.tabbed.menu .item {
709
704
  background: none;
710
- border-left: @tabularBorderWidth solid transparent;
711
- border-right: @tabularBorderWidth solid transparent;
712
- border-bottom: @tabularBorderWidth solid transparent;
705
+ border-left: @tabbedBorderWidth solid transparent;
706
+ border-right: @tabbedBorderWidth solid transparent;
707
+ border-bottom: @tabbedBorderWidth solid transparent;
713
708
  border-top: none;
714
709
  }
715
- .ui.bottom.tabular.menu .active.item {
716
- background: @tabularActiveBackground;
717
- color: @tabularActiveColor;
718
- border-color: @tabularBorderColor;
719
- margin: -@tabularBorderWidth 0 0 0;
720
- border-radius: 0 0 @tabularBorderRadius @tabularBorderRadius !important;
710
+ .ui.bottom.tabbed.menu .active.item {
711
+ background: @tabbedActiveBackground;
712
+ color: @tabbedActiveColor;
713
+ border-color: @tabbedBorderColor;
714
+ margin: -@tabbedBorderWidth 0 0 0;
715
+ border-radius: 0 0 @tabbedBorderRadius @tabbedBorderRadius !important;
721
716
  }
722
717
  & when (@variationMenuVertical) {
723
- /* Vertical Tabular (Left) */
724
- .ui.vertical.tabular.menu {
725
- background: @tabularVerticalBackground;
718
+ /* Vertical Tabbed (Left) */
719
+ .ui.vertical.tabbed.menu {
720
+ background: @tabbedVerticalBackground;
726
721
  border-radius: 0;
727
722
  box-shadow: none !important;
728
723
  border-bottom: none;
729
- border-right: @tabularBorderWidth solid @tabularBorderColor;
724
+ border-right: @tabbedBorderWidth solid @tabbedBorderColor;
730
725
  }
731
- .ui.vertical.tabular.menu .item {
726
+ .ui.vertical.tabbed.menu .item {
732
727
  background: none;
733
- border-left: @tabularBorderWidth solid transparent;
734
- border-bottom: @tabularBorderWidth solid transparent;
735
- border-top: @tabularBorderWidth solid transparent;
728
+ border-left: @tabbedBorderWidth solid transparent;
729
+ border-bottom: @tabbedBorderWidth solid transparent;
730
+ border-top: @tabbedBorderWidth solid transparent;
736
731
  border-right: none;
737
732
  }
738
- .ui.vertical.tabular.menu .active.item {
739
- background: @tabularActiveBackground;
740
- color: @tabularActiveColor;
741
- border-color: @tabularBorderColor;
742
- margin: 0 -@tabularBorderWidth 0 0;
743
- border-radius: @tabularBorderRadius 0 0 @tabularBorderRadius !important;
733
+ .ui.vertical.tabbed.menu .active.item {
734
+ background: @tabbedActiveBackground;
735
+ color: @tabbedActiveColor;
736
+ border-color: @tabbedBorderColor;
737
+ margin: 0 -@tabbedBorderWidth 0 0;
738
+ border-radius: @tabbedBorderRadius 0 0 @tabbedBorderRadius !important;
744
739
  }
745
740
 
746
- /* Vertical Right Tabular */
747
- .ui.vertical.right.tabular.menu {
748
- background: @tabularVerticalBackground;
741
+ /* Vertical Right Tabbed */
742
+ .ui.vertical.right.tabbed.menu {
743
+ background: @tabbedVerticalBackground;
749
744
  border-radius: 0;
750
745
  box-shadow: none !important;
751
746
  border-bottom: none;
752
747
  border-right: none;
753
- border-left: @tabularBorderWidth solid @tabularBorderColor;
748
+ border-left: @tabbedBorderWidth solid @tabbedBorderColor;
754
749
  }
755
- .ui.vertical.right.tabular.menu .item {
750
+ .ui.vertical.right.tabbed.menu .item {
756
751
  background: none;
757
- border-right: @tabularBorderWidth solid transparent;
758
- border-bottom: @tabularBorderWidth solid transparent;
759
- border-top: @tabularBorderWidth solid transparent;
752
+ border-right: @tabbedBorderWidth solid transparent;
753
+ border-bottom: @tabbedBorderWidth solid transparent;
754
+ border-top: @tabbedBorderWidth solid transparent;
760
755
  border-left: none;
761
756
  }
762
- .ui.vertical.right.tabular.menu .active.item {
763
- background: @tabularActiveBackground;
764
- color: @tabularActiveColor;
765
- border-color: @tabularBorderColor;
766
- margin: 0 0 0 -@tabularBorderWidth;
767
- border-radius: 0 @tabularBorderRadius @tabularBorderRadius 0 !important;
757
+ .ui.vertical.right.tabbed.menu .active.item {
758
+ background: @tabbedActiveBackground;
759
+ color: @tabbedActiveColor;
760
+ border-color: @tabbedBorderColor;
761
+ margin: 0 0 0 -@tabbedBorderWidth;
762
+ border-radius: 0 @tabbedBorderRadius @tabbedBorderRadius 0 !important;
768
763
  }
769
764
  }
770
765
 
771
766
  /* Dropdown */
772
- .ui.tabular.menu .active.dropdown.item {
767
+ .ui.tabbed.menu .active.dropdown.item {
773
768
  margin-bottom: 0;
774
- border-left: @tabularBorderWidth solid transparent;
775
- border-right: @tabularBorderWidth solid transparent;
776
- border-top: @tabularOppositeBorderWidth solid transparent;
769
+ border-left: @tabbedBorderWidth solid transparent;
770
+ border-right: @tabbedBorderWidth solid transparent;
771
+ border-top: @tabbedOppositeBorderWidth solid transparent;
777
772
  border-bottom: none;
778
773
  }
779
774
  & when (@variationMenuInverted) {
780
- .ui.inverted.tabular.menu .active.item,
781
- .ui.inverted.tabular.menu .active.item:hover {
782
- background: @invertedTabularActiveBackground;
783
- border-color: @invertedTabularBorderColor;
775
+ .ui.inverted.tabbed.menu .active.item,
776
+ .ui.inverted.tabbed.menu .active.item:hover {
777
+ background: @invertedTabbedActiveBackground;
778
+ border-color: @invertedTabbedBorderColor;
784
779
  }
785
- .ui.inverted.tabular.menu .item:not(.active):hover {
786
- color: @invertedTabularHoveredTextColor;
780
+ .ui.inverted.tabbed.menu .item:not(.active):hover {
781
+ color: @invertedTabbedHoveredTextColor;
787
782
  background: transparent;
788
783
  cursor: pointer;
789
784
  }
@@ -1598,12 +1593,6 @@ Floated Menu / Item
1598
1593
  }
1599
1594
  & when (@variationMenuVertical) {
1600
1595
  .ui.compact.vertical.menu {
1601
- & when (@supportIE) {
1602
- /* IE hack to make dropdown icons appear inline */
1603
- // stylelint-disable-next-line value-no-vendor-prefix
1604
- display: -ms-inline-flexbox !important;
1605
- }
1606
-
1607
1596
  display: inline-block;
1608
1597
  }
1609
1598
  }
@@ -1654,8 +1643,8 @@ Floated Menu / Item
1654
1643
  text-align: center;
1655
1644
  justify-content: center;
1656
1645
  }
1657
- .ui.attached[class*="equal width"].menu@{notTabular},
1658
- .ui.attached.item.menu@{notTabular} {
1646
+ .ui.attached[class*="equal width"].menu@{notTabbed},
1647
+ .ui.attached.item.menu@{notTabbed} {
1659
1648
  margin: 0 @attachedHorizontalOffset !important;
1660
1649
  }
1661
1650
 
@@ -1914,22 +1903,22 @@ Floated Menu / Item
1914
1903
  border-radius: 0 0 0 @borderRadius;
1915
1904
  }
1916
1905
 
1917
- /* Tabular Attached */
1918
- .ui.attached.menu@{notTabular}@{notText} {
1906
+ /* Tabbed Attached */
1907
+ .ui.attached.menu@{notTabbed}@{notText} {
1919
1908
  border: @attachedBorder;
1920
1909
  }
1921
1910
  & when (@variationMenuInverted) {
1922
1911
  .ui.attached.inverted.menu {
1923
1912
  border: none;
1924
1913
  }
1925
- & when (@variationMenuTabular) {
1926
- .ui[class*="top attached"].inverted.tabular.menu {
1927
- border-bottom: @invertedTabularBorder;
1914
+ & when (@variationMenuTabbed) {
1915
+ .ui[class*="top attached"].inverted.tabbed.menu {
1916
+ border-bottom: @invertedTabbedBorder;
1928
1917
  }
1929
1918
  }
1930
1919
  }
1931
- & when (@variationMenuTabular) {
1932
- .ui.attached.tabular.menu {
1920
+ & when (@variationMenuTabbed) {
1921
+ .ui.attached.tabbed.menu {
1933
1922
  margin-left: 0;
1934
1923
  margin-right: 0;
1935
1924
  width: 100%;
@@ -1947,7 +1936,7 @@ Floated Menu / Item
1947
1936
  & .item:first-child::before {
1948
1937
  display: none;
1949
1938
  }
1950
- &@{notSecondary}@{notText}@{notTabular}@{notBorderless} .item {
1939
+ &@{notSecondary}@{notText}@{notTabbed}@{notBorderless} .item {
1951
1940
  &:last-of-type,
1952
1941
  &:last-child {
1953
1942
  border-right: @dividerSize solid @dividerBackground;
@@ -1955,7 +1944,7 @@ Floated Menu / Item
1955
1944
  }
1956
1945
  }
1957
1946
  & when (@variationMenuWrapped) {
1958
- .ui.wrapped.menu@{notSecondary}@{notText}@{notTabular}@{notBorderless} .item {
1947
+ .ui.wrapped.menu@{notSecondary}@{notText}@{notTabbed}@{notBorderless} .item {
1959
1948
  &:first-child {
1960
1949
  border-bottom-left-radius: 0;
1961
1950
  }
@@ -2029,5 +2018,10 @@ Floated Menu / Item
2029
2018
  }
2030
2019
  }
2031
2020
 
2021
+ & when (@variationMenuTabbedLegacyTabular) {
2022
+ .tabbed:extend(.tabular all) {
2023
+ }
2024
+ }
2025
+
2032
2026
  // stylelint-disable no-invalid-position-at-import-rule
2033
2027
  @import (multiple, optional) "../../overrides.less";
@@ -519,32 +519,6 @@
519
519
  }
520
520
  }
521
521
 
522
- & when (@supportIE) {
523
- /* IE scrollbar color needs hex values */
524
- @media all and (-ms-high-contrast: none) {
525
- .ui.scrolling.table > thead,
526
- .ui.scrolling.table > tfoot {
527
- scrollbar-face-color: currentColor;
528
- scrollbar-shadow-color: currentColor;
529
- scrollbar-track-color: currentColor;
530
- scrollbar-arrow-color: currentColor;
531
- }
532
- .ui.scrolling.table > thead {
533
- color: @headerBackgroundHex;
534
- }
535
- .ui.scrolling.table > tfoot {
536
- color: @footerBackgroundHex;
537
- }
538
- & when (@variationTableInverted) {
539
- .ui.inverted.scrolling.table > thead {
540
- color: @invertedHeaderBackgroundHex;
541
- }
542
- .ui.inverted.scrolling.table > tfoot {
543
- color: @invertedFooterBackgroundHex;
544
- }
545
- }
546
- }
547
- }
548
522
  & when (@variationTableInverted) {
549
523
  .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-track {
550
524
  background: @trackInvertedBackground;
@@ -558,15 +532,7 @@
558
532
  .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:hover {
559
533
  background: @thumbInvertedHoverBackground;
560
534
  }
561
- & when (@supportIE) {
562
- .ui.inverted.scrolling.table > tbody {
563
- /* IE11 */
564
- scrollbar-face-color: @thumbInvertedBackgroundHex;
565
- scrollbar-shadow-color: @thumbInvertedBackgroundHex;
566
- scrollbar-track-color: @trackInvertedBackgroundHex;
567
- scrollbar-arrow-color: @trackInvertedBackgroundHex;
568
- }
569
- }
535
+
570
536
  @supports (-moz-appearance: none) {
571
537
  .ui.inverted.scrolling.table > tbody {
572
538
  /* firefox: first color thumb, second track */
@@ -78,9 +78,6 @@
78
78
  .ui.input > input::-moz-placeholder {
79
79
  opacity: 1;
80
80
  }
81
- .ui.input > input:-ms-input-placeholder when (@supportIE) {
82
- color: @placeholderColor;
83
- }
84
81
 
85
82
  /*******************************
86
83
  States
@@ -166,12 +163,6 @@
166
163
  .ui.input > input:focus::placeholder {
167
164
  color: @placeholderFocusColor;
168
165
  }
169
- & when (@supportIE) {
170
- .ui.input.focus > input:-ms-input-placeholder,
171
- .ui.input > input:focus:-ms-input-placeholder {
172
- color: @placeholderFocusColor;
173
- }
174
- }
175
166
 
176
167
  & when not (@variationInputStates = false) {
177
168
  /* --------------------
@@ -193,29 +184,17 @@
193
184
  color: @formStates[@@state][color];
194
185
  box-shadow: @formStates[@@state][boxShadow];
195
186
  }
196
- .ui.input > input:not(:-ms-input-placeholder):invalid when (@supportIE){
197
- background-color: @formStates[@@state][background];
198
- border-color: @formStates[@@state][borderColor];
199
- color: @formStates[@@state][color];
200
- box-shadow: @formStates[@@state][boxShadow];
201
- }
202
187
  }
203
188
 
204
189
  /* Placeholder */
205
190
  .ui.input.@{state} > input::placeholder {
206
191
  color: @formStates[@@state][inputPlaceholderColor];
207
192
  }
208
- .ui.input.@{state} > input:-ms-input-placeholder when (@supportIE) {
209
- color: @formStates[@@state][inputPlaceholderColor] !important;
210
- }
211
193
 
212
194
  /* Focused Placeholder */
213
195
  .ui.input.@{state} > input:focus::placeholder {
214
196
  color: @formStates[@@state][inputPlaceholderFocusColor];
215
197
  }
216
- .ui.input.@{state} > input:focus:-ms-input-placeholder when (@supportIE){
217
- color: @formStates[@@state][inputPlaceholderFocusColor] !important;
218
- }
219
198
  });
220
199
  }
221
200
 
@@ -265,9 +244,6 @@
265
244
  .ui.transparent.inverted.input > input::placeholder {
266
245
  color: @transparentInvertedPlaceholderColor;
267
246
  }
268
- .ui.transparent.inverted.input > input:-ms-input-placeholder when (@supportIE) {
269
- color: @transparentInvertedPlaceholderColor;
270
- }
271
247
  }
272
248
  }
273
249
 
@@ -675,33 +651,6 @@
675
651
  color: @fileButtonTextColor;
676
652
  }
677
653
  }
678
- & when (@supportIE) {
679
- .ui.action.file.input input[type="file"]::-ms-browse {
680
- display: none;
681
- }
682
- .ui.form .field input[type="file"]::-ms-browse,
683
- .ui.file.input input[type="file"]::-ms-browse {
684
- border: none;
685
- cursor: pointer;
686
- padding: @padding;
687
- margin: 0;
688
- background: @fileButtonBackground;
689
- font-weight: @fileButtonFontWeight;
690
- color: @fileButtonTextColor;
691
- &:hover {
692
- background: @fileButtonBackgroundHover;
693
- color: @fileButtonTextColor;
694
- }
695
- }
696
-
697
- /* IE needs additional styling for input field :S */
698
- @media all and (-ms-high-contrast: none) {
699
- .ui.file.input > input[type="file"],
700
- input[type="file"].ui.file.input {
701
- padding: 0 !important;
702
- }
703
- }
704
- }
705
654
 
706
655
  .ui.action.file.input input[type="file"]::file-selector-button {
707
656
  display: none;
@@ -776,16 +725,7 @@
776
725
  background: @h;
777
726
  }
778
727
  }
779
- & when (@supportIE) {
780
- input[type="file"].ui.@{color}.file.input::-ms-browse,
781
- .ui.@{color}.file.input input[type="file"]::-ms-browse {
782
- background: @c;
783
- color: @white;
784
- &:hover {
785
- background: @h;
786
- }
787
- }
788
- }
728
+
789
729
  input[type="file"].ui.@{color}.file.input::file-selector-button,
790
730
  .ui.@{color}.file.input input[type="file"]::file-selector-button {
791
731
  background: @c;
@@ -94,7 +94,6 @@
94
94
  }
95
95
 
96
96
  /* Grid */
97
- .ui.page.grid.segment,
98
97
  .ui.grid > .row > .ui.segment.column,
99
98
  .ui.grid > .ui.segment.column {
100
99
  padding-top: @pageGridMargin;
@@ -484,11 +483,6 @@
484
483
  /* Horizontal Segment */
485
484
  .ui.horizontal.segments@{notCompact} > .segment@{notCompact} {
486
485
  flex: 1 1 auto;
487
- & when (@supportIE) {
488
- // https://github.com/Semantic-Org/Semantic-UI/issues/2550
489
- // stylelint-disable-next-line property-no-vendor-prefix
490
- -ms-flex: 1 1 0;
491
- }
492
486
  }
493
487
  .ui.horizontal.segments > .segment {
494
488
  margin: 0;