fomantic-ui 2.9.0-beta.290 → 2.9.0-beta.293

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 (159) hide show
  1. package/dist/components/accordion.css +1 -1
  2. package/dist/components/accordion.js +1 -1
  3. package/dist/components/accordion.min.css +1 -1
  4. package/dist/components/accordion.min.js +1 -1
  5. package/dist/components/ad.css +1 -1
  6. package/dist/components/ad.min.css +1 -1
  7. package/dist/components/api.js +1 -1
  8. package/dist/components/api.min.js +1 -1
  9. package/dist/components/breadcrumb.css +1 -1
  10. package/dist/components/breadcrumb.min.css +1 -1
  11. package/dist/components/button.css +1 -1
  12. package/dist/components/button.min.css +1 -1
  13. package/dist/components/calendar.css +1 -1
  14. package/dist/components/calendar.js +1 -1
  15. package/dist/components/calendar.min.css +1 -1
  16. package/dist/components/calendar.min.js +1 -1
  17. package/dist/components/card.css +1 -1
  18. package/dist/components/card.min.css +1 -1
  19. package/dist/components/checkbox.css +1 -1
  20. package/dist/components/checkbox.js +1 -1
  21. package/dist/components/checkbox.min.css +1 -1
  22. package/dist/components/checkbox.min.js +1 -1
  23. package/dist/components/comment.css +1 -1
  24. package/dist/components/comment.min.css +1 -1
  25. package/dist/components/container.css +1 -1
  26. package/dist/components/container.min.css +1 -1
  27. package/dist/components/dimmer.css +1 -1
  28. package/dist/components/dimmer.js +1 -1
  29. package/dist/components/dimmer.min.css +1 -1
  30. package/dist/components/dimmer.min.js +1 -1
  31. package/dist/components/divider.css +1 -1
  32. package/dist/components/divider.min.css +1 -1
  33. package/dist/components/dropdown.css +1 -1
  34. package/dist/components/dropdown.js +1 -1
  35. package/dist/components/dropdown.min.css +1 -1
  36. package/dist/components/dropdown.min.js +1 -1
  37. package/dist/components/embed.css +1 -1
  38. package/dist/components/embed.js +1 -1
  39. package/dist/components/embed.min.css +1 -1
  40. package/dist/components/embed.min.js +1 -1
  41. package/dist/components/feed.css +1 -1
  42. package/dist/components/feed.min.css +1 -1
  43. package/dist/components/flag.css +1 -1
  44. package/dist/components/flag.min.css +1 -1
  45. package/dist/components/form.css +1 -1
  46. package/dist/components/form.js +1 -1
  47. package/dist/components/form.min.css +1 -1
  48. package/dist/components/form.min.js +1 -1
  49. package/dist/components/grid.css +1 -1
  50. package/dist/components/grid.min.css +1 -1
  51. package/dist/components/header.css +1 -1
  52. package/dist/components/header.min.css +1 -1
  53. package/dist/components/icon.css +1 -1
  54. package/dist/components/icon.min.css +1 -1
  55. package/dist/components/image.css +1 -1
  56. package/dist/components/image.min.css +1 -1
  57. package/dist/components/input.css +1 -1
  58. package/dist/components/input.min.css +1 -1
  59. package/dist/components/item.css +1 -1
  60. package/dist/components/item.min.css +1 -1
  61. package/dist/components/label.css +1 -1
  62. package/dist/components/label.min.css +1 -1
  63. package/dist/components/list.css +1 -1
  64. package/dist/components/list.min.css +1 -1
  65. package/dist/components/loader.css +1 -1
  66. package/dist/components/loader.min.css +1 -1
  67. package/dist/components/message.css +1 -1
  68. package/dist/components/message.min.css +1 -1
  69. package/dist/components/modal.css +1 -1
  70. package/dist/components/modal.js +1 -1
  71. package/dist/components/modal.min.css +1 -1
  72. package/dist/components/modal.min.js +1 -1
  73. package/dist/components/nag.css +1 -1
  74. package/dist/components/nag.js +1 -1
  75. package/dist/components/nag.min.css +1 -1
  76. package/dist/components/nag.min.js +1 -1
  77. package/dist/components/placeholder.css +1 -1
  78. package/dist/components/placeholder.min.css +1 -1
  79. package/dist/components/popup.css +1 -1
  80. package/dist/components/popup.js +1 -1
  81. package/dist/components/popup.min.css +1 -1
  82. package/dist/components/popup.min.js +1 -1
  83. package/dist/components/progress.css +1 -1
  84. package/dist/components/progress.js +1 -1
  85. package/dist/components/progress.min.css +1 -1
  86. package/dist/components/progress.min.js +1 -1
  87. package/dist/components/rail.css +1 -1
  88. package/dist/components/rail.min.css +1 -1
  89. package/dist/components/rating.css +1 -1
  90. package/dist/components/rating.js +1 -1
  91. package/dist/components/rating.min.css +1 -1
  92. package/dist/components/rating.min.js +1 -1
  93. package/dist/components/reset.css +1 -1
  94. package/dist/components/reset.min.css +1 -1
  95. package/dist/components/reveal.css +1 -1
  96. package/dist/components/reveal.min.css +1 -1
  97. package/dist/components/search.css +1 -1
  98. package/dist/components/search.js +1 -1
  99. package/dist/components/search.min.css +1 -1
  100. package/dist/components/search.min.js +1 -1
  101. package/dist/components/segment.css +1 -1
  102. package/dist/components/segment.min.css +1 -1
  103. package/dist/components/shape.css +1 -1
  104. package/dist/components/shape.js +1 -1
  105. package/dist/components/shape.min.css +1 -1
  106. package/dist/components/shape.min.js +1 -1
  107. package/dist/components/sidebar.css +1 -1
  108. package/dist/components/sidebar.js +1 -1
  109. package/dist/components/sidebar.min.css +1 -1
  110. package/dist/components/sidebar.min.js +1 -1
  111. package/dist/components/site.css +1 -1
  112. package/dist/components/site.js +1 -1
  113. package/dist/components/site.min.css +1 -1
  114. package/dist/components/site.min.js +1 -1
  115. package/dist/components/slider.js +1 -1
  116. package/dist/components/slider.min.js +1 -1
  117. package/dist/components/state.js +1 -1
  118. package/dist/components/state.min.js +1 -1
  119. package/dist/components/statistic.css +1 -1
  120. package/dist/components/statistic.min.css +1 -1
  121. package/dist/components/step.css +1 -1
  122. package/dist/components/step.min.css +1 -1
  123. package/dist/components/sticky.css +1 -1
  124. package/dist/components/sticky.js +1 -1
  125. package/dist/components/sticky.min.css +1 -1
  126. package/dist/components/sticky.min.js +1 -1
  127. package/dist/components/tab.css +1 -1
  128. package/dist/components/tab.js +1 -1
  129. package/dist/components/tab.min.css +1 -1
  130. package/dist/components/tab.min.js +1 -1
  131. package/dist/components/table.css +511 -241
  132. package/dist/components/table.min.css +2 -2
  133. package/dist/components/text.css +1 -1
  134. package/dist/components/text.min.css +1 -1
  135. package/dist/components/toast.css +1 -1
  136. package/dist/components/toast.js +1 -1
  137. package/dist/components/toast.min.css +1 -1
  138. package/dist/components/toast.min.js +1 -1
  139. package/dist/components/transition.css +1 -1
  140. package/dist/components/transition.js +1 -1
  141. package/dist/components/transition.min.css +1 -1
  142. package/dist/components/transition.min.js +1 -1
  143. package/dist/components/visibility.js +1 -1
  144. package/dist/components/visibility.min.js +1 -1
  145. package/dist/semantic.css +559 -289
  146. package/dist/semantic.js +25 -25
  147. package/dist/semantic.min.css +2 -2
  148. package/dist/semantic.min.js +1 -1
  149. package/package.json +1 -1
  150. package/src/definitions/collections/form.less +5 -5
  151. package/src/definitions/collections/menu.less +8 -4
  152. package/src/definitions/collections/table.less +53 -30
  153. package/src/definitions/elements/input.less +40 -34
  154. package/src/definitions/elements/segment.less +3 -1
  155. package/src/definitions/globals/site.less +14 -12
  156. package/src/definitions/modules/dimmer.less +7 -6
  157. package/src/definitions/modules/dropdown.less +18 -14
  158. package/src/definitions/modules/sticky.less +3 -1
  159. package/src/definitions/views/card.less +3 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.290+9631798
2
+ * # Fomantic UI - 2.9.0-beta.293+2a71b5e
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fomantic-ui",
3
- "version": "2.9.0-beta.290+9631798",
3
+ "version": "2.9.0-beta.293+2a71b5e",
4
4
  "description": "Fomantic empowers designers and developers by creating a shared vocabulary for UI.",
5
5
  "keywords": [
6
6
  "fomantic-ui",
@@ -395,7 +395,7 @@
395
395
  .ui.form ::-webkit-input-placeholder {
396
396
  color: @inputPlaceholderColor;
397
397
  }
398
- .ui.form :-ms-input-placeholder {
398
+ .ui.form :-ms-input-placeholder when (@supportIE) {
399
399
  color: @inputPlaceholderColor !important;
400
400
  }
401
401
  .ui.form ::-moz-placeholder {
@@ -406,7 +406,7 @@
406
406
  .ui.form :focus::-webkit-input-placeholder {
407
407
  color: @inputPlaceholderFocusColor;
408
408
  }
409
- .ui.form :focus:-ms-input-placeholder {
409
+ .ui.form :focus:-ms-input-placeholder when (@supportIE) {
410
410
  color: @inputPlaceholderFocusColor !important;
411
411
  }
412
412
  .ui.form :focus::-moz-placeholder {
@@ -600,7 +600,7 @@
600
600
  border-radius: @formStates[@@state][borderRadius];
601
601
  box-shadow: @formStates[@@state][boxShadow];
602
602
  }
603
- .ui.form .field input:not(:-ms-input-placeholder):invalid {
603
+ .ui.form .field input:not(:-ms-input-placeholder):invalid when (@supportIE) {
604
604
  color: @c;
605
605
  background: @bg;
606
606
  border-color: @formStates[@@state][borderColor];
@@ -662,7 +662,7 @@
662
662
  .ui.form .@{state} ::-webkit-input-placeholder {
663
663
  color: @formStates[@@state][inputPlaceholderColor];
664
664
  }
665
- .ui.form .@{state} :-ms-input-placeholder {
665
+ .ui.form .@{state} :-ms-input-placeholder when (@supportIE) {
666
666
  color: @formStates[@@state][inputPlaceholderColor] !important;
667
667
  }
668
668
  .ui.form .@{state} ::-moz-placeholder {
@@ -672,7 +672,7 @@
672
672
  .ui.form .@{state} :focus::-webkit-input-placeholder {
673
673
  color: @formStates[@@state][inputPlaceholderFocusColor];
674
674
  }
675
- .ui.form .@{state} :focus:-ms-input-placeholder {
675
+ .ui.form .@{state} :focus:-ms-input-placeholder when (@supportIE) {
676
676
  color: @formStates[@@state][inputPlaceholderFocusColor] !important;
677
677
  }
678
678
  .ui.form .@{state} :focus::-moz-placeholder {
@@ -293,8 +293,10 @@
293
293
  }
294
294
  .ui.vertical.menu .dropdown.item .menu {
295
295
  left: 100%;
296
- /* IE needs 0, all others support max-content to show dropdown icon inline, so keep both settings! */
297
- min-width: 0;
296
+ & when (@supportIE) {
297
+ /* IE needs 0, all others support max-content to show dropdown icon inline, so keep both settings! */
298
+ min-width: 0;
299
+ }
298
300
  min-width: max-content;
299
301
  margin: 0 0 0 @dropdownMenuDistance;
300
302
  box-shadow: @dropdownVerticalMenuBoxShadow;
@@ -1599,8 +1601,10 @@ Floated Menu / Item
1599
1601
  }
1600
1602
  & when (@variationMenuVertical) {
1601
1603
  .ui.compact.vertical.menu {
1602
- /* IE hack to make dropdown icons appear inline */
1603
- display: -ms-inline-flexbox !important;
1604
+ & when (@supportIE) {
1605
+ /* IE hack to make dropdown icons appear inline */
1606
+ display: -ms-inline-flexbox !important;
1607
+ }
1604
1608
  display: inline-block;
1605
1609
  }
1606
1610
  }
@@ -243,7 +243,7 @@
243
243
  @color: @value;
244
244
  @c: @colors[@@color][color];
245
245
  @l: @colors[@@color][light];
246
- .ui.ui.ui.ui.table:not(.unstackable) tr.marked.@{color} {
246
+ .ui.ui.ui.ui.table:not(.unstackable) tr[class*="@{color} marked"] {
247
247
  &.left {
248
248
  box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @c inset;
249
249
  }
@@ -252,7 +252,7 @@
252
252
  }
253
253
  }
254
254
  & when (@variationTableInverted) {
255
- .ui.ui.ui.ui.inverted.table:not(.unstackable) tr.marked.@{color} {
255
+ .ui.ui.ui.ui.inverted.table:not(.unstackable) tr[class*="@{color} marked"] {
256
256
  &.left {
257
257
  box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @l inset;
258
258
  }
@@ -438,25 +438,29 @@
438
438
  .ui.scrolling.table > thead,
439
439
  .ui.scrolling.table > tfoot {
440
440
  scrollbar-color: currentColor currentColor;
441
- scrollbar-face-color: currentColor;
442
- scrollbar-shadow-color: currentColor;
443
- scrollbar-track-color: currentColor;
444
- scrollbar-arrow-color: currentColor;
441
+ & when (@supportIE) {
442
+ scrollbar-face-color: currentColor;
443
+ scrollbar-shadow-color: currentColor;
444
+ scrollbar-track-color: currentColor;
445
+ scrollbar-arrow-color: currentColor;
446
+ }
445
447
  }
448
+ & when (@supportIE) {
446
449
  /* IE scrollbar color needs hex values */
447
- @media all and (-ms-high-contrast:none) {
448
- .ui.scrolling.table > thead {
449
- color: @headerBackgroundHex;
450
- }
451
- .ui.scrolling.table > tfoot {
452
- color: @footerBackgroundHex;
453
- }
454
- & when (@variationTableInverted) {
455
- .ui.inverted.scrolling.table > thead {
456
- color: @invertedHeaderBackgroundHex;
450
+ @media all and (-ms-high-contrast: none) {
451
+ .ui.scrolling.table > thead {
452
+ color: @headerBackgroundHex;
453
+ }
454
+ .ui.scrolling.table > tfoot {
455
+ color: @footerBackgroundHex;
457
456
  }
458
- .ui.inverted.scrolling.table > tfoot {
459
- color: @invertedFooterBackgroundHex;
457
+ & when (@variationTableInverted) {
458
+ .ui.inverted.scrolling.table > thead {
459
+ color: @invertedHeaderBackgroundHex;
460
+ }
461
+ .ui.inverted.scrolling.table > tfoot {
462
+ color: @invertedFooterBackgroundHex;
463
+ }
460
464
  }
461
465
  }
462
466
  }
@@ -474,12 +478,13 @@
474
478
  background: @thumbInvertedHoverBackground;
475
479
  }
476
480
  .ui.inverted.scrolling.table > tbody {
477
- /* IE11 */
478
- scrollbar-face-color: @thumbInvertedBackgroundHex;
479
- scrollbar-shadow-color: @thumbInvertedBackgroundHex;
480
- scrollbar-track-color: @trackInvertedBackgroundHex;
481
- scrollbar-arrow-color: @trackInvertedBackgroundHex;
482
-
481
+ & when (@supportIE) {
482
+ /* IE11 */
483
+ scrollbar-face-color: @thumbInvertedBackgroundHex;
484
+ scrollbar-shadow-color: @thumbInvertedBackgroundHex;
485
+ scrollbar-track-color: @trackInvertedBackgroundHex;
486
+ scrollbar-arrow-color: @trackInvertedBackgroundHex;
487
+ }
483
488
  /* firefox : first color thumb, second track */
484
489
  scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
485
490
  }
@@ -872,7 +877,7 @@
872
877
  @color: @value;
873
878
  @c: @colors[@@color][color];
874
879
  @l: @colors[@@color][light];
875
- .ui.ui.ui.ui[class*="tablet stackable"].table tr.marked.@{color} {
880
+ .ui.ui.ui.ui[class*="tablet stackable"].table tr[class*="@{color} marked"] {
876
881
  &.left {
877
882
  box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @c inset;
878
883
  }
@@ -881,7 +886,7 @@
881
886
  }
882
887
  }
883
888
  & when (@variationTableInverted) {
884
- .ui.ui.ui.ui[class*="tablet stackable"].inverted.table tr.marked.@{color} {
889
+ .ui.ui.ui.ui[class*="tablet stackable"].inverted.table tr[class*="@{color} marked"] {
885
890
  &.left {
886
891
  box-shadow: @responsiveRowBoxShadow, @coloredBorderSize 0 0 0 @l inset;
887
892
  }
@@ -1180,6 +1185,9 @@
1180
1185
  }
1181
1186
  }
1182
1187
  }
1188
+ .ui.ui.ui.ui.table tr[class*="@{color} colored"],
1189
+ .ui.ui.table th[class*="@{color} colored"],
1190
+ .ui.ui.table td[class*="@{color} colored"],
1183
1191
  .ui.ui.ui.ui.table tr.@{color}:not(.marked),
1184
1192
  .ui.ui.table th.@{color}:not(.marked),
1185
1193
  .ui.ui.table td.@{color}:not(.marked) {
@@ -1199,6 +1207,9 @@
1199
1207
  color: @t;
1200
1208
  }
1201
1209
  }
1210
+ .ui.table > thead > tr[class*="@{color} colored"] > th,
1211
+ .ui.table > tfoot > tr[class*="@{color} colored"] > th,
1212
+ .ui.table > tfoot > tr[class*="@{color} colored"] > td,
1202
1213
  .ui.table > thead > tr.@{color}:not(.marked) > th,
1203
1214
  .ui.table > tfoot > tr.@{color}:not(.marked) > th,
1204
1215
  .ui.table > tfoot > tr.@{color}:not(.marked) > td {
@@ -1212,12 +1223,18 @@
1212
1223
  }
1213
1224
 
1214
1225
  & when (@variationTableInverted) {
1226
+ .ui.ui.ui.ui.inverted.table tr[class*="@{color} colored"],
1227
+ .ui.ui.inverted.table th[class*="@{color} colored"],
1228
+ .ui.ui.inverted.table td[class*="@{color} colored"],
1215
1229
  .ui.ui.ui.ui.inverted.table tr.@{color}:not(.marked),
1216
1230
  .ui.ui.inverted.table th.@{color}:not(.marked),
1217
1231
  .ui.ui.inverted.table td.@{color}:not(.marked) {
1218
1232
  background: @c;
1219
1233
  color: @white;
1220
1234
  }
1235
+ .ui.inverted.table > thead > tr[class*="@{color} colored"] > th,
1236
+ .ui.inverted.table > tfoot > tr[class*="@{color} colored"] > th,
1237
+ .ui.inverted.table > tfoot > tr[class*="@{color} colored"] > td,
1221
1238
  .ui.inverted.table > thead > tr.@{color}:not(.marked) > th,
1222
1239
  .ui.inverted.table > tfoot > tr.@{color}:not(.marked) > th,
1223
1240
  .ui.inverted.table > tfoot > tr.@{color}:not(.marked) > td {
@@ -1226,6 +1243,9 @@
1226
1243
  }
1227
1244
  }
1228
1245
  & when (@variationTableSelectable) {
1246
+ .ui.ui.selectable.table tr[class*="@{color} colored"]:hover,
1247
+ .ui.table tr td.selectable[class*="@{color} colored"]:hover,
1248
+ .ui.selectable.table tr:hover td[class*="@{color} colored"],
1229
1249
  .ui.ui.selectable.table tr.@{color}:not(.marked):hover,
1230
1250
  .ui.table tr td.selectable.@{color}:not(.marked):hover,
1231
1251
  .ui.selectable.table tr:hover td.@{color}:not(.marked) {
@@ -1243,6 +1263,9 @@
1243
1263
  }
1244
1264
  }
1245
1265
  & when (@variationTableInverted) {
1266
+ .ui.ui.inverted.selectable.table tr[class*="@{color} colored"]:hover,
1267
+ .ui.inverted.table tr td.selectable[class*="@{color} colored"]:hover,
1268
+ .ui.inverted.selectable.table tr:hover td[class*="@{color} colored"],
1246
1269
  .ui.ui.inverted.selectable.table tr.@{color}:not(.marked):hover,
1247
1270
  .ui.inverted.table tr td.selectable.@{color}:not(.marked):hover,
1248
1271
  .ui.inverted.selectable.table tr:hover td.@{color}:not(.marked) {
@@ -1262,8 +1285,8 @@
1262
1285
  }
1263
1286
  }
1264
1287
  & when (@variationTableMarked) {
1265
- .ui.table td.marked.@{color},
1266
- .ui.table tr.marked.@{color} {
1288
+ .ui.table td[class*="@{color} marked"],
1289
+ .ui.table tr[class*="@{color} marked"] {
1267
1290
  &.left {
1268
1291
  box-shadow: @coloredBorderSize 0 0 0 @c inset;
1269
1292
  }
@@ -1272,8 +1295,8 @@
1272
1295
  }
1273
1296
  }
1274
1297
  & when (@variationTableInverted) {
1275
- .ui.inverted.table td.marked.@{color},
1276
- .ui.inverted.table tr.marked.@{color} {
1298
+ .ui.inverted.table td[class*="@{color} marked"],
1299
+ .ui.inverted.table tr[class*="@{color} marked"] {
1277
1300
  &.left {
1278
1301
  box-shadow: @coloredBorderSize 0 0 0 @l inset;
1279
1302
  }
@@ -77,7 +77,7 @@
77
77
  color: @placeholderColor;
78
78
  opacity: 1;
79
79
  }
80
- .ui.input > input:-ms-input-placeholder {
80
+ .ui.input > input:-ms-input-placeholder when (@supportIE){
81
81
  color: @placeholderColor;
82
82
  }
83
83
 
@@ -170,9 +170,11 @@
170
170
  .ui.input > input:focus::-moz-placeholder {
171
171
  color: @placeholderFocusColor;
172
172
  }
173
- .ui.input.focus > input:-ms-input-placeholder,
174
- .ui.input > input:focus:-ms-input-placeholder {
175
- color: @placeholderFocusColor;
173
+ & when (@supportIE) {
174
+ .ui.input.focus > input:-ms-input-placeholder,
175
+ .ui.input > input:focus:-ms-input-placeholder {
176
+ color: @placeholderFocusColor;
177
+ }
176
178
  }
177
179
 
178
180
 
@@ -196,7 +198,7 @@
196
198
  color: @formStates[@@state][color];
197
199
  box-shadow: @formStates[@@state][boxShadow];
198
200
  }
199
- .ui.input > input:not(:-ms-input-placeholder):invalid {
201
+ .ui.input > input:not(:-ms-input-placeholder):invalid when (@supportIE){
200
202
  background-color: @formStates[@@state][background];
201
203
  border-color: @formStates[@@state][borderColor];
202
204
  color: @formStates[@@state][color];
@@ -211,7 +213,7 @@
211
213
  .ui.input.@{state} > input::-moz-placeholder {
212
214
  color: @formStates[@@state][inputPlaceholderColor];
213
215
  }
214
- .ui.input.@{state} > input:-ms-input-placeholder {
216
+ .ui.input.@{state} > input:-ms-input-placeholder when (@supportIE) {
215
217
  color: @formStates[@@state][inputPlaceholderColor] !important;
216
218
  }
217
219
 
@@ -222,7 +224,7 @@
222
224
  .ui.input.@{state} > input:focus::-moz-placeholder {
223
225
  color: @formStates[@@state][inputPlaceholderFocusColor];
224
226
  }
225
- .ui.input.@{state} > input:focus:-ms-input-placeholder {
227
+ .ui.input.@{state} > input:focus:-ms-input-placeholder when (@supportIE){
226
228
  color: @formStates[@@state][inputPlaceholderFocusColor] !important;
227
229
  }
228
230
  })
@@ -277,7 +279,7 @@
277
279
  .ui.transparent.inverted.input > input::-moz-placeholder {
278
280
  color: @transparentInvertedPlaceholderColor;
279
281
  }
280
- .ui.transparent.inverted.input > input:-ms-input-placeholder {
282
+ .ui.transparent.inverted.input > input:-ms-input-placeholder when (@supportIE) {
281
283
  color: @transparentInvertedPlaceholderColor;
282
284
  }
283
285
  }
@@ -672,28 +674,30 @@
672
674
  color: @fileButtonTextColor;
673
675
  }
674
676
  }
675
- .ui.action.file.input input[type="file"]::-ms-browse {
676
- display: none;
677
- }
678
- .ui.form .field input[type="file"]::-ms-browse,
679
- .ui.file.input input[type="file"]::-ms-browse {
680
- border: none;
681
- cursor: pointer;
682
- padding: @padding;
683
- margin: 0;
684
- background: @fileButtonBackground;
685
- font-weight: @fileButtonFontWeight;
686
- color: @fileButtonTextColor;
687
- &:hover {
688
- background: @fileButtonBackgroundHover;
677
+ & when (@supportIE) {
678
+ .ui.action.file.input input[type="file"]::-ms-browse {
679
+ display: none;
680
+ }
681
+ .ui.form .field input[type="file"]::-ms-browse,
682
+ .ui.file.input input[type="file"]::-ms-browse {
683
+ border: none;
684
+ cursor: pointer;
685
+ padding: @padding;
686
+ margin: 0;
687
+ background: @fileButtonBackground;
688
+ font-weight: @fileButtonFontWeight;
689
689
  color: @fileButtonTextColor;
690
+ &:hover {
691
+ background: @fileButtonBackgroundHover;
692
+ color: @fileButtonTextColor;
693
+ }
690
694
  }
691
- }
692
- /* IE needs additional styling for input field :S */
693
- @media all and (-ms-high-contrast:none) {
694
- .ui.file.input > input[type="file"],
695
- input[type="file"].ui.file.input {
696
- padding: 0 !important;
695
+ /* IE needs additional styling for input field :S */
696
+ @media all and (-ms-high-contrast: none) {
697
+ .ui.file.input > input[type="file"],
698
+ input[type="file"].ui.file.input {
699
+ padding: 0 !important;
700
+ }
697
701
  }
698
702
  }
699
703
 
@@ -769,12 +773,14 @@
769
773
  background: @h;
770
774
  }
771
775
  }
772
- input[type="file"].ui.@{color}.file.input::-ms-browse,
773
- .ui.@{color}.file.input input[type="file"]::-ms-browse {
774
- background: @c;
775
- color: @white;
776
- &:hover {
777
- background: @h;
776
+ & when (@supportIE) {
777
+ input[type="file"].ui.@{color}.file.input::-ms-browse,
778
+ .ui.@{color}.file.input input[type="file"]::-ms-browse {
779
+ background: @c;
780
+ color: @white;
781
+ &:hover {
782
+ background: @h;
783
+ }
778
784
  }
779
785
  }
780
786
  input[type="file"].ui.@{color}.file.input::file-selector-button,
@@ -460,7 +460,9 @@
460
460
  /* Horizontal Segment */
461
461
  .ui.horizontal.segments:not(.compact) > .segment:not(.compact) {
462
462
  flex: 1 1 auto;
463
- -ms-flex: 1 1 0; /* Solves #2550 MS Flex */
463
+ & when (@supportIE) {
464
+ -ms-flex: 1 1 0; /* Solves #2550 MS Flex */
465
+ }
464
466
  }
465
467
  .ui.horizontal.segments > .segment {
466
468
  margin: 0;
@@ -153,12 +153,13 @@ a:hover {
153
153
  background: @thumbHoverBackground;
154
154
  }
155
155
  body .ui {
156
- /* IE11 */
157
- scrollbar-face-color: @thumbBackgroundHex;
158
- scrollbar-shadow-color: @thumbBackgroundHex;
159
- scrollbar-track-color: @trackBackgroundHex;
160
- scrollbar-arrow-color: @trackBackgroundHex;
161
-
156
+ & when (@supportIE) {
157
+ /* IE11 */
158
+ scrollbar-face-color: @thumbBackgroundHex;
159
+ scrollbar-shadow-color: @thumbBackgroundHex;
160
+ scrollbar-track-color: @trackBackgroundHex;
161
+ scrollbar-arrow-color: @trackBackgroundHex;
162
+ }
162
163
  /* firefox : first color thumb, second track*/
163
164
  scrollbar-color: @thumbBackground @trackBackground;
164
165
  scrollbar-width: thin;
@@ -179,12 +180,13 @@ a:hover {
179
180
  }
180
181
 
181
182
  body .ui.inverted:not(.dimmer) {
182
- /* IE11 */
183
- scrollbar-face-color: @thumbInvertedBackgroundHex;
184
- scrollbar-shadow-color: @thumbInvertedBackgroundHex;
185
- scrollbar-track-color: @trackInvertedBackgroundHex;
186
- scrollbar-arrow-color: @trackInvertedBackgroundHex;
187
-
183
+ & when (@supportIE) {
184
+ /* IE11 */
185
+ scrollbar-face-color: @thumbInvertedBackgroundHex;
186
+ scrollbar-shadow-color: @thumbInvertedBackgroundHex;
187
+ scrollbar-track-color: @trackInvertedBackgroundHex;
188
+ scrollbar-arrow-color: @trackInvertedBackgroundHex;
189
+ }
188
190
  /* firefox : first color thumb, second track */
189
191
  scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
190
192
  }
@@ -82,12 +82,13 @@
82
82
  background: @thumbInvertedHoverBackground;
83
83
  }
84
84
  .ui.dimmer:not(.inverted) {
85
- /* IE11 */
86
- scrollbar-face-color: @thumbInvertedBackgroundHex;
87
- scrollbar-shadow-color: @thumbInvertedBackgroundHex;
88
- scrollbar-track-color: @trackInvertedBackgroundHex;
89
- scrollbar-arrow-color: @trackInvertedBackgroundHex;
90
-
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
+ }
91
92
  /* firefox : first color thumb, second track */
92
93
  scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
93
94
  }
@@ -1343,12 +1343,13 @@ select.ui.dropdown {
1343
1343
  .ui.dropdown > .visible.menu .scrolling.menu {
1344
1344
  display: block;
1345
1345
  }
1346
-
1347
- /* Scrollbar in IE */
1348
- @media all and (-ms-high-contrast:none) {
1349
- .ui.scrolling.dropdown .menu,
1350
- .ui.dropdown .scrolling.menu {
1351
- min-width: e(%("calc(100%% - %d)", @scrollbarWidth));
1346
+ & when (@supportIE) {
1347
+ /* Scrollbar in IE */
1348
+ @media all and (-ms-high-contrast: none) {
1349
+ .ui.scrolling.dropdown .menu,
1350
+ .ui.dropdown .scrolling.menu {
1351
+ min-width: e(%("calc(100%% - %d)", @scrollbarWidth));
1352
+ }
1352
1353
  }
1353
1354
  }
1354
1355
  @media only screen and (max-width : @largestMobileScreen) {
@@ -1435,8 +1436,10 @@ select.ui.dropdown {
1435
1436
  }
1436
1437
  .ui.simple.dropdown .menu {
1437
1438
  position: absolute;
1438
- /* IE hack to make dropdown icons appear inline */
1439
- display: -ms-inline-flexbox !important;
1439
+ & when (@supportIE) {
1440
+ /* IE hack to make dropdown icons appear inline */
1441
+ display: -ms-inline-flexbox !important;
1442
+ }
1440
1443
  display: block;
1441
1444
  overflow: hidden;
1442
1445
  top: -9999px;
@@ -1952,12 +1955,13 @@ select.ui.dropdown {
1952
1955
  }
1953
1956
  .ui.dropdown .inverted.menu,
1954
1957
  .ui.inverted.dropdown .menu {
1955
- /* IE11 */
1956
- scrollbar-face-color: @thumbInvertedBackgroundHex;
1957
- scrollbar-shadow-color: @thumbInvertedBackgroundHex;
1958
- scrollbar-track-color: @trackInvertedBackgroundHex;
1959
- scrollbar-arrow-color: @trackInvertedBackgroundHex;
1960
-
1958
+ & when (@supportIE) {
1959
+ /* IE11 */
1960
+ scrollbar-face-color: @thumbInvertedBackgroundHex;
1961
+ scrollbar-shadow-color: @thumbInvertedBackgroundHex;
1962
+ scrollbar-track-color: @trackInvertedBackgroundHex;
1963
+ scrollbar-arrow-color: @trackInvertedBackgroundHex;
1964
+ }
1961
1965
  /* firefox : first color thumb, second track */
1962
1966
  scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
1963
1967
  }
@@ -66,7 +66,9 @@
66
66
  .ui.native.sticky {
67
67
  position: -webkit-sticky;
68
68
  position: -moz-sticky;
69
- position: -ms-sticky;
69
+ & when (@supportIE) {
70
+ position: -ms-sticky;
71
+ }
70
72
  position: -o-sticky;
71
73
  position: sticky;
72
74
  }
@@ -559,7 +559,9 @@
559
559
  align-items: center;
560
560
  display: -webkit-box;
561
561
  display: -moz-box;
562
- display: -ms-flexbox;
562
+ & when (@supportIE) {
563
+ display: -ms-flexbox;
564
+ }
563
565
  display: -webkit-flex;
564
566
  display: flex;
565
567
  width: 100%;