fomantic-ui 2.10.0-beta.64 → 2.10.0-beta.66

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 (245) hide show
  1. package/.eslintrc.js +0 -3
  2. package/.stylelintrc.js +1 -13
  3. package/dist/components/accordion.css +1 -1
  4. package/dist/components/accordion.js +1 -1
  5. package/dist/components/accordion.min.css +1 -1
  6. package/dist/components/accordion.min.js +1 -1
  7. package/dist/components/ad.css +1 -1
  8. package/dist/components/ad.min.css +1 -1
  9. package/dist/components/api.js +2 -2
  10. package/dist/components/api.min.js +2 -2
  11. package/dist/components/breadcrumb.css +1 -1
  12. package/dist/components/breadcrumb.min.css +1 -1
  13. package/dist/components/button.css +1 -1
  14. package/dist/components/button.min.css +1 -1
  15. package/dist/components/calendar.css +1 -1
  16. package/dist/components/calendar.js +21 -21
  17. package/dist/components/calendar.min.css +1 -1
  18. package/dist/components/calendar.min.js +2 -2
  19. package/dist/components/card.css +1 -1
  20. package/dist/components/card.min.css +1 -1
  21. package/dist/components/checkbox.css +1 -1
  22. package/dist/components/checkbox.js +1 -10
  23. package/dist/components/checkbox.min.css +1 -1
  24. package/dist/components/checkbox.min.js +2 -2
  25. package/dist/components/comment.css +1 -1
  26. package/dist/components/comment.min.css +1 -1
  27. package/dist/components/container.css +1 -1
  28. package/dist/components/container.min.css +1 -1
  29. package/dist/components/dimmer.css +1 -1
  30. package/dist/components/dimmer.js +1 -1
  31. package/dist/components/dimmer.min.css +1 -1
  32. package/dist/components/dimmer.min.js +1 -1
  33. package/dist/components/divider.css +1 -1
  34. package/dist/components/divider.min.css +1 -1
  35. package/dist/components/dropdown.css +9 -25
  36. package/dist/components/dropdown.js +6 -12
  37. package/dist/components/dropdown.min.css +2 -2
  38. package/dist/components/dropdown.min.js +2 -2
  39. package/dist/components/embed.css +1 -1
  40. package/dist/components/embed.js +1 -1
  41. package/dist/components/embed.min.css +1 -1
  42. package/dist/components/embed.min.js +1 -1
  43. package/dist/components/emoji.css +1 -1
  44. package/dist/components/emoji.min.css +1 -1
  45. package/dist/components/feed.css +1 -1
  46. package/dist/components/feed.min.css +1 -1
  47. package/dist/components/flag.css +1 -1
  48. package/dist/components/flag.min.css +1 -1
  49. package/dist/components/flyout.css +1 -1
  50. package/dist/components/flyout.js +8 -6
  51. package/dist/components/flyout.min.css +1 -1
  52. package/dist/components/flyout.min.js +2 -2
  53. package/dist/components/form.css +3 -5
  54. package/dist/components/form.js +2 -2
  55. package/dist/components/form.min.css +2 -2
  56. package/dist/components/form.min.js +2 -2
  57. package/dist/components/grid.css +1 -1
  58. package/dist/components/grid.min.css +1 -1
  59. package/dist/components/header.css +1 -1
  60. package/dist/components/header.min.css +1 -1
  61. package/dist/components/icon.css +10 -37
  62. package/dist/components/icon.min.css +2 -2
  63. package/dist/components/image.css +1 -1
  64. package/dist/components/image.min.css +1 -1
  65. package/dist/components/input.css +1 -3
  66. package/dist/components/input.min.css +2 -2
  67. package/dist/components/item.css +1 -1
  68. package/dist/components/item.min.css +1 -1
  69. package/dist/components/label.css +4 -13
  70. package/dist/components/label.min.css +2 -2
  71. package/dist/components/list.css +1 -1
  72. package/dist/components/list.min.css +1 -1
  73. package/dist/components/loader.css +1 -1
  74. package/dist/components/loader.min.css +1 -1
  75. package/dist/components/menu.css +6 -21
  76. package/dist/components/menu.min.css +2 -2
  77. package/dist/components/message.css +1 -1
  78. package/dist/components/message.min.css +1 -1
  79. package/dist/components/modal.css +1 -1
  80. package/dist/components/modal.js +8 -6
  81. package/dist/components/modal.min.css +1 -1
  82. package/dist/components/modal.min.js +2 -2
  83. package/dist/components/nag.css +1 -1
  84. package/dist/components/nag.js +1 -1
  85. package/dist/components/nag.min.css +1 -1
  86. package/dist/components/nag.min.js +1 -1
  87. package/dist/components/placeholder.css +1 -1
  88. package/dist/components/placeholder.min.css +1 -1
  89. package/dist/components/popup.css +19 -73
  90. package/dist/components/popup.js +11 -13
  91. package/dist/components/popup.min.css +2 -2
  92. package/dist/components/popup.min.js +2 -2
  93. package/dist/components/progress.css +4 -13
  94. package/dist/components/progress.js +6 -6
  95. package/dist/components/progress.min.css +2 -2
  96. package/dist/components/progress.min.js +2 -2
  97. package/dist/components/rail.css +1 -1
  98. package/dist/components/rail.min.css +1 -1
  99. package/dist/components/rating.css +1 -1
  100. package/dist/components/rating.js +1 -1
  101. package/dist/components/rating.min.css +1 -1
  102. package/dist/components/rating.min.js +1 -1
  103. package/dist/components/reset.css +47 -208
  104. package/dist/components/reset.min.css +2 -2
  105. package/dist/components/reveal.css +2 -5
  106. package/dist/components/reveal.min.css +2 -2
  107. package/dist/components/search.css +2 -3
  108. package/dist/components/search.js +1 -1
  109. package/dist/components/search.min.css +2 -2
  110. package/dist/components/search.min.js +1 -1
  111. package/dist/components/segment.css +1 -1
  112. package/dist/components/segment.min.css +1 -1
  113. package/dist/components/shape.css +1 -1
  114. package/dist/components/shape.js +1 -1
  115. package/dist/components/shape.min.css +1 -1
  116. package/dist/components/shape.min.js +1 -1
  117. package/dist/components/sidebar.css +1 -1
  118. package/dist/components/sidebar.js +3 -3
  119. package/dist/components/sidebar.min.css +1 -1
  120. package/dist/components/sidebar.min.js +2 -2
  121. package/dist/components/site.css +1 -1
  122. package/dist/components/site.js +1 -1
  123. package/dist/components/site.min.css +1 -1
  124. package/dist/components/site.min.js +1 -1
  125. package/dist/components/slider.css +1 -1
  126. package/dist/components/slider.js +6 -6
  127. package/dist/components/slider.min.css +1 -1
  128. package/dist/components/slider.min.js +2 -2
  129. package/dist/components/state.js +1 -1
  130. package/dist/components/state.min.js +1 -1
  131. package/dist/components/statistic.css +1 -1
  132. package/dist/components/statistic.min.css +1 -1
  133. package/dist/components/step.css +1 -1
  134. package/dist/components/step.min.css +1 -1
  135. package/dist/components/sticky.css +1 -1
  136. package/dist/components/sticky.js +12 -14
  137. package/dist/components/sticky.min.css +1 -1
  138. package/dist/components/sticky.min.js +2 -2
  139. package/dist/components/tab.css +1 -1
  140. package/dist/components/tab.js +1 -1
  141. package/dist/components/tab.min.css +1 -1
  142. package/dist/components/tab.min.js +1 -1
  143. package/dist/components/table.css +1 -1
  144. package/dist/components/table.min.css +1 -1
  145. package/dist/components/text.css +1 -1
  146. package/dist/components/text.min.css +1 -1
  147. package/dist/components/toast.css +1 -1
  148. package/dist/components/toast.js +8 -6
  149. package/dist/components/toast.min.css +1 -1
  150. package/dist/components/toast.min.js +2 -2
  151. package/dist/components/transition.css +1 -1
  152. package/dist/components/transition.js +3 -3
  153. package/dist/components/transition.min.css +1 -1
  154. package/dist/components/transition.min.js +2 -2
  155. package/dist/components/visibility.js +12 -14
  156. package/dist/components/visibility.min.js +2 -2
  157. package/dist/semantic.css +148 -457
  158. package/dist/semantic.js +120 -135
  159. package/dist/semantic.min.css +2 -2
  160. package/dist/semantic.min.js +2 -2
  161. package/package.json +3 -3
  162. package/src/definitions/behaviors/api.js +1 -1
  163. package/src/definitions/behaviors/form.js +1 -1
  164. package/src/definitions/behaviors/visibility.js +11 -13
  165. package/src/definitions/collections/breadcrumb.less +0 -1
  166. package/src/definitions/collections/form.less +1 -7
  167. package/src/definitions/collections/grid.less +0 -1
  168. package/src/definitions/collections/menu.less +5 -21
  169. package/src/definitions/collections/message.less +0 -1
  170. package/src/definitions/collections/table.less +0 -1
  171. package/src/definitions/elements/button.less +0 -1
  172. package/src/definitions/elements/container.less +0 -1
  173. package/src/definitions/elements/divider.less +0 -1
  174. package/src/definitions/elements/emoji.less +1 -1
  175. package/src/definitions/elements/flag.less +1 -1
  176. package/src/definitions/elements/header.less +0 -1
  177. package/src/definitions/elements/icon.less +10 -37
  178. package/src/definitions/elements/image.less +0 -1
  179. package/src/definitions/elements/input.less +0 -3
  180. package/src/definitions/elements/label.less +3 -13
  181. package/src/definitions/elements/list.less +0 -1
  182. package/src/definitions/elements/loader.less +0 -1
  183. package/src/definitions/elements/placeholder.less +0 -1
  184. package/src/definitions/elements/rail.less +0 -1
  185. package/src/definitions/elements/reveal.less +1 -5
  186. package/src/definitions/elements/segment.less +0 -1
  187. package/src/definitions/elements/step.less +0 -1
  188. package/src/definitions/elements/text.less +0 -1
  189. package/src/definitions/globals/reset.less +0 -1
  190. package/src/definitions/globals/site.less +0 -1
  191. package/src/definitions/modules/accordion.less +0 -1
  192. package/src/definitions/modules/calendar.js +20 -20
  193. package/src/definitions/modules/calendar.less +0 -1
  194. package/src/definitions/modules/checkbox.js +0 -9
  195. package/src/definitions/modules/checkbox.less +0 -1
  196. package/src/definitions/modules/dimmer.less +0 -1
  197. package/src/definitions/modules/dropdown.js +5 -11
  198. package/src/definitions/modules/dropdown.less +8 -25
  199. package/src/definitions/modules/embed.less +0 -1
  200. package/src/definitions/modules/flyout.js +7 -5
  201. package/src/definitions/modules/flyout.less +0 -1
  202. package/src/definitions/modules/modal.js +7 -5
  203. package/src/definitions/modules/modal.less +0 -1
  204. package/src/definitions/modules/nag.less +0 -1
  205. package/src/definitions/modules/popup.js +10 -12
  206. package/src/definitions/modules/popup.less +18 -73
  207. package/src/definitions/modules/progress.js +5 -5
  208. package/src/definitions/modules/progress.less +3 -13
  209. package/src/definitions/modules/rating.less +0 -1
  210. package/src/definitions/modules/search.less +1 -3
  211. package/src/definitions/modules/shape.less +0 -1
  212. package/src/definitions/modules/sidebar.js +2 -2
  213. package/src/definitions/modules/sidebar.less +0 -1
  214. package/src/definitions/modules/slider.js +5 -5
  215. package/src/definitions/modules/slider.less +0 -1
  216. package/src/definitions/modules/sticky.js +11 -13
  217. package/src/definitions/modules/sticky.less +0 -1
  218. package/src/definitions/modules/tab.less +0 -1
  219. package/src/definitions/modules/toast.js +7 -5
  220. package/src/definitions/modules/toast.less +0 -1
  221. package/src/definitions/modules/transition.js +2 -2
  222. package/src/definitions/modules/transition.less +0 -1
  223. package/src/definitions/views/ad.less +0 -1
  224. package/src/definitions/views/card.less +0 -1
  225. package/src/definitions/views/comment.less +0 -1
  226. package/src/definitions/views/feed.less +0 -1
  227. package/src/definitions/views/item.less +0 -1
  228. package/src/definitions/views/statistic.less +0 -1
  229. package/src/semantic.less +1 -1
  230. package/src/themes/amazon/elements/button.variables +0 -1
  231. package/src/themes/amazon/globals/site.variables +0 -1
  232. package/src/themes/bootstrap3/elements/button.variables +0 -1
  233. package/src/themes/default/collections/form.variables +0 -1
  234. package/src/themes/default/elements/button.variables +0 -1
  235. package/src/themes/default/globals/reset.overrides +45 -201
  236. package/src/themes/default/modules/accordion.variables +0 -1
  237. package/src/themes/default/views/card.variables +0 -1
  238. package/src/themes/default/views/item.variables +0 -1
  239. package/src/themes/github/modules/dropdown.variables +0 -2
  240. package/src/themes/twitter/elements/button.variables +0 -1
  241. package/tasks/admin/distributions/create.js +2 -2
  242. package/tasks/config/project/config.js +1 -1
  243. package/tasks/install.js +3 -1
  244. package/test/meteor/assets.js +2 -2
  245. package/test/meteor/fonts.js +10 -11
@@ -324,7 +324,7 @@
324
324
  save: {
325
325
  bodyMargin: function () {
326
326
  initialBodyMargin = $context.css((isBody ? 'margin-' : 'padding-') + (module.can.leftBodyScrollbar() ? 'left' : 'right'));
327
- initialBodyMarginInt = parseInt(initialBodyMargin.replace(/[^\d.]/g, ''), 10);
327
+ initialBodyMarginInt = Number.parseInt(initialBodyMargin.replace(/[^\d.]/g, ''), 10);
328
328
  const bodyScrollbarWidth = isBody ? window.innerWidth - document.documentElement.clientWidth : $context[0].offsetWidth - $context[0].clientWidth;
329
329
  tempBodyMargin = initialBodyMarginInt + bodyScrollbarWidth;
330
330
  },
@@ -672,7 +672,7 @@
672
672
  return module.cache.isFirefox;
673
673
  },
674
674
  iframe: function () {
675
- return !(self === top);
675
+ return !(window.self === window.top);
676
676
  },
677
677
  mobile: function () {
678
678
  const userAgent = navigator.userAgent;
@@ -667,5 +667,4 @@ body.pushable > .pusher {
667
667
  }
668
668
  }
669
669
 
670
- // stylelint-disable no-invalid-position-at-import-rule
671
670
  @import (multiple, optional) "../../overrides.less";
@@ -815,9 +815,9 @@
815
815
  : pagePos - module.get.trackOffset() - module.get.trackStartPos();
816
816
  },
817
817
  closestThumb: function (eventPos) {
818
- const thumbPos = parseFloat(module.determine.thumbPos($thumb));
818
+ const thumbPos = Number.parseFloat(module.determine.thumbPos($thumb));
819
819
  const thumbDelta = Math.abs(eventPos - thumbPos);
820
- const secondThumbPos = parseFloat(module.determine.thumbPos($secondThumb));
820
+ const secondThumbPos = Number.parseFloat(module.determine.thumbPos($secondThumb));
821
821
  const secondThumbDelta = Math.abs(eventPos - secondThumbPos);
822
822
  if (thumbDelta === secondThumbDelta && module.get.thumbValue() === module.get.min()) {
823
823
  return $secondThumb;
@@ -826,9 +826,9 @@
826
826
  return thumbDelta <= secondThumbDelta ? $thumb : $secondThumb;
827
827
  },
828
828
  closestThumbPos: function (eventPos) {
829
- const thumbPos = parseFloat(module.determine.thumbPos($thumb));
829
+ const thumbPos = Number.parseFloat(module.determine.thumbPos($thumb));
830
830
  const thumbDelta = Math.abs(eventPos - thumbPos);
831
- const secondThumbPos = parseFloat(module.determine.thumbPos($secondThumb));
831
+ const secondThumbPos = Number.parseFloat(module.determine.thumbPos($secondThumb));
832
832
  const secondThumbDelta = Math.abs(eventPos - secondThumbPos);
833
833
 
834
834
  return thumbDelta <= secondThumbDelta ? thumbPos : secondThumbPos;
@@ -987,7 +987,7 @@
987
987
  const $child = $(this);
988
988
  let attrValue = $child.attr('data-value');
989
989
  if (attrValue) {
990
- attrValue = parseInt(attrValue, 10);
990
+ attrValue = Number.parseInt(attrValue, 10);
991
991
  if (attrValue >= thumbVal && attrValue <= secondThumbVal) {
992
992
  $child.addClass(className.active);
993
993
  } else {
@@ -528,5 +528,4 @@
528
528
  });
529
529
  }
530
530
 
531
- // stylelint-disable no-invalid-position-at-import-rule
532
531
  @import (multiple, optional) "../../overrides.less";
@@ -171,16 +171,14 @@
171
171
  }, 100);
172
172
  },
173
173
  documentChanged: function (mutations) {
174
- Array.prototype.forEach.call(mutations, function (mutation) {
175
- if (mutation.removedNodes) {
176
- Array.prototype.forEach.call(mutation.removedNodes, function (node) {
177
- if (node === element || $(node).find(element).length > 0) {
178
- module.debug('Element removed from DOM, tearing down events');
179
- module.destroy();
180
- }
181
- });
174
+ for (const mutation of mutations) {
175
+ for (const node of mutation.removedNodes) {
176
+ if (node === element || $(node).find(element).length > 0) {
177
+ module.debug('Element removed from DOM, tearing down events');
178
+ module.destroy();
179
+ }
182
180
  }
183
- });
181
+ }
184
182
  },
185
183
  load: function () {
186
184
  module.verbose('Page contents finished loading');
@@ -236,8 +234,8 @@
236
234
  };
237
235
  const element = {
238
236
  margin: {
239
- top: parseInt($module.css('margin-top'), 10),
240
- bottom: parseInt($module.css('margin-bottom'), 10),
237
+ top: Number.parseInt($module.css('margin-top'), 10),
238
+ bottom: Number.parseInt($module.css('margin-bottom'), 10),
241
239
  },
242
240
  offset: $module.offset(),
243
241
  width: $module.outerWidth(),
@@ -305,8 +303,8 @@
305
303
  }
306
304
 
307
305
  return module.is.top()
308
- ? Math.abs(parseInt($module.css('top'), 10)) || 0
309
- : Math.abs(parseInt($module.css('bottom'), 10)) || 0;
306
+ ? Math.abs(Number.parseInt($module.css('top'), 10)) || 0
307
+ : Math.abs(Number.parseInt($module.css('bottom'), 10)) || 0;
310
308
  },
311
309
 
312
310
  elementScroll: function (scroll = $scroll.scrollTop()) {
@@ -65,5 +65,4 @@
65
65
  position: sticky;
66
66
  }
67
67
 
68
- // stylelint-disable no-invalid-position-at-import-rule
69
68
  @import (multiple, optional) "../../overrides.less";
@@ -82,5 +82,4 @@
82
82
  }
83
83
  }
84
84
 
85
- // stylelint-disable no-invalid-position-at-import-rule
86
85
  @import (multiple, optional) "../../overrides.less";
@@ -246,7 +246,7 @@
246
246
  module.error(error.verticalCard);
247
247
  }
248
248
  }
249
- settings.actions.forEach(function (el) {
249
+ for (const el of settings.actions) {
250
250
  const icon = el[fields.icon]
251
251
  ? '<i ' + (el[fields.text] ? 'aria-hidden="true"' : '')
252
252
  + ' class="' + module.helpers.escape(el[fields.icon]) + ' icon"></i>'
@@ -256,6 +256,8 @@
256
256
  const click = el[fields.click] && isFunction(el[fields.click])
257
257
  ? el[fields.click]
258
258
  : function () {};
259
+ const elementRef = element;
260
+ const $moduleRef = $module;
259
261
  $actions.append($('<button/>', {
260
262
  html: icon + text,
261
263
  'aria-label': (el[fields.text] || el[fields.icon] || '').replace(/<[^>]+(>|$)/g, ''),
@@ -263,14 +265,14 @@
263
265
  on: {
264
266
  click: function () {
265
267
  const $button = $(this);
266
- if ($button.is(selector.approve) || $button.is(selector.deny) || click.call(element, $module) === false) {
268
+ if ($button.is(selector.approve) || $button.is(selector.deny) || click.call(elementRef, $moduleRef) === false) {
267
269
  return;
268
270
  }
269
271
  module.close();
270
272
  },
271
273
  },
272
274
  }));
273
- });
275
+ }
274
276
  }
275
277
  if ($actions && $actions.hasClass(className.vertical)) {
276
278
  $toast.addClass(className.vertical);
@@ -565,9 +567,9 @@
565
567
  const classes = selector.trim().split(/\s+/);
566
568
  let result = '';
567
569
 
568
- classes.forEach(function (element) {
570
+ for (const element of classes) {
569
571
  result += '.' + element;
570
- });
572
+ }
571
573
 
572
574
  return result;
573
575
  },
@@ -732,5 +732,4 @@
732
732
  }
733
733
  }
734
734
 
735
- // stylelint-disable no-invalid-position-at-import-rule
736
735
  @import (multiple, optional) "../../overrides.less";
@@ -518,8 +518,8 @@
518
518
 
519
519
  return typeof duration === 'string'
520
520
  ? (duration.includes('ms')
521
- ? parseFloat(duration)
522
- : parseFloat(duration) * 1000)
521
+ ? Number.parseFloat(duration)
522
+ : Number.parseFloat(duration) * 1000)
523
523
  : duration;
524
524
  },
525
525
  displayType: function (shouldDetermine = true) {
@@ -113,5 +113,4 @@
113
113
  }
114
114
  }
115
115
 
116
- // stylelint-disable no-invalid-position-at-import-rule
117
116
  @import (multiple, optional) "../../overrides.less";
@@ -293,5 +293,4 @@
293
293
  }
294
294
  }
295
295
 
296
- // stylelint-disable no-invalid-position-at-import-rule
297
296
  @import (multiple, optional) "../../overrides.less";
@@ -1180,5 +1180,4 @@
1180
1180
  }
1181
1181
  }
1182
1182
 
1183
- // stylelint-disable no-invalid-position-at-import-rule
1184
1183
  @import (multiple, optional) "../../overrides.less";
@@ -298,5 +298,4 @@
298
298
  }
299
299
  }
300
300
 
301
- // stylelint-disable no-invalid-position-at-import-rule
302
301
  @import (multiple, optional) "../../overrides.less";
@@ -536,5 +536,4 @@
536
536
  }
537
537
  }
538
538
 
539
- // stylelint-disable no-invalid-position-at-import-rule
540
539
  @import (multiple, optional) "../../overrides.less";
@@ -607,5 +607,4 @@
607
607
  }
608
608
  }
609
609
 
610
- // stylelint-disable no-invalid-position-at-import-rule
611
610
  @import (multiple, optional) "../../overrides.less";
@@ -414,5 +414,4 @@
414
414
  });
415
415
  }
416
416
 
417
- // stylelint-disable no-invalid-position-at-import-rule
418
417
  @import (multiple, optional) "../../overrides.less";
package/src/semantic.less CHANGED
@@ -10,7 +10,7 @@
10
10
  Import this file into your LESS project to use Fomantic-UI without build tools
11
11
  */
12
12
 
13
- // stylelint-disable no-invalid-position-at-import-rule
13
+
14
14
 
15
15
  /* Global */
16
16
  & { @import "definitions/globals/reset"; }
@@ -29,7 +29,6 @@
29
29
  0 1px 0 1px rgb(255 255 255 / 0.3) inset,
30
30
  0 0 0 1px #adb2bb inset;
31
31
 
32
- @coloredBackgroundImage: linear-gradient(rgb(255 255 255 / 0.2), rgb(0 0 0 / 0.2));
33
32
  @coloredBoxShadow: 0 1px 0 0 rgb(255 255 255 / 0.2) inset;
34
33
 
35
34
  @downBoxShadow:
@@ -18,7 +18,6 @@
18
18
  @disabledOpacity: 0.3;
19
19
 
20
20
  @black: #444c55;
21
- @orange: #fde07b;
22
21
 
23
22
  @linkColor: #0066c0;
24
23
  @linkHoverColor: #c45500;
@@ -23,7 +23,6 @@
23
23
 
24
24
  @borderBoxShadowColor: rgb(0 0 0 / 0.14);
25
25
 
26
- @green: #5cb85c;
27
26
  @red: #d9534f;
28
27
  @blue: #337ab7;
29
28
  @green: #60b044;
@@ -129,7 +129,6 @@
129
129
  /* Inverted */
130
130
  @invertedInputBackground: @inputBackground;
131
131
  @invertedInputBorderColor: @whiteBorderColor;
132
- @invertedInputBoxShadow: @inputBoxShadow;
133
132
  @invertedInputColor: @inputColor;
134
133
  @invertedLabelColor: @invertedTextColor;
135
134
  @invertedInputBoxShadow: none;
@@ -156,7 +156,6 @@
156
156
  @iconButtonOpacity: 0.9;
157
157
 
158
158
  /* Labeled */
159
- @labeledLabelFontSize: @medium;
160
159
  @labeledLabelAlign: center;
161
160
  @labeledLabelPadding: "";
162
161
  @labeledLabelFontSize: @relativeMedium;
@@ -1,20 +1,26 @@
1
- /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
1
+ /*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
2
2
 
3
- /* Document
4
- ========================================================================== */
3
+ /*
4
+ Document
5
+ ========
6
+ */
5
7
 
6
8
  /**
7
9
  * 1. Correct the line height in all browsers.
8
10
  * 2. Prevent adjustments of font size after orientation changes in iOS.
11
+ * 3. Use a more readable tab size (opinionated).
9
12
  */
10
13
 
11
14
  html {
12
15
  line-height: 1.15; /* 1 */
13
16
  -webkit-text-size-adjust: 100%; /* 2 */
17
+ tab-size: 4; /* 3 */
14
18
  }
15
19
 
16
- /* Sections
17
- ========================================================================== */
20
+ /*
21
+ Sections
22
+ ========
23
+ */
18
24
 
19
25
  /**
20
26
  * Remove the margin in all browsers.
@@ -24,74 +30,13 @@ body {
24
30
  margin: 0;
25
31
  }
26
32
 
27
- /**
28
- * Render the `main` element consistently in IE.
29
- */
30
-
31
- main {
32
- display: block;
33
- }
34
-
35
- /**
36
- * Correct the font size and margin on `h1` elements within `section` and
37
- * `article` contexts in Chrome, Firefox, and Safari.
38
- */
39
-
40
- h1 {
41
- font-size: 2em;
42
- margin: 0.67em 0;
43
- }
44
-
45
- /* Grouping content
46
- ========================================================================== */
47
-
48
- /**
49
- * 1. Add the correct box sizing in Firefox.
50
- * 2. Show the overflow in Edge and IE.
51
- */
52
-
53
- hr {
54
- box-sizing: content-box; /* 1 */
55
- height: 0; /* 1 */
56
- overflow: visible; /* 2 */
57
- }
58
-
59
- /**
60
- * 1. Correct the inheritance and scaling of font size in all browsers.
61
- * 2. Correct the odd `em` font sizing in all browsers.
62
- */
63
-
64
- pre {
65
- // https://github.com/necolas/normalize.css/issues/519
66
- // stylelint-disable-next-line font-family-no-duplicate-names
67
- font-family: monospace, monospace; /* 1 */
68
- font-size: 1em; /* 2 */
69
- }
70
-
71
- /* Text-level semantics
72
- ========================================================================== */
73
-
74
- /**
75
- * Remove the gray background on active links in IE 10.
76
- */
77
-
78
- a {
79
- background-color: transparent;
80
- }
81
-
82
- /**
83
- * 1. Remove the bottom border in Chrome 57-
84
- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
85
- */
86
-
87
- abbr[title] {
88
- border-bottom: none; /* 1 */
89
- text-decoration: underline; /* 2 */
90
- text-decoration: underline dotted; /* 2 */
91
- }
33
+ /*
34
+ Text-level semantics
35
+ ====================
36
+ */
92
37
 
93
38
  /**
94
- * Add the correct font weight in Chrome, Edge, and Safari.
39
+ * Add the correct font weight in Chrome and Safari.
95
40
  */
96
41
 
97
42
  b,
@@ -100,16 +45,15 @@ strong {
100
45
  }
101
46
 
102
47
  /**
103
- * 1. Correct the inheritance and scaling of font size in all browsers.
104
- * 2. Correct the odd `em` font sizing in all browsers.
48
+ * 1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
49
+ * 2. Correct the odd 'em' font sizing in all browsers.
105
50
  */
106
51
 
107
52
  code,
108
53
  kbd,
109
- samp {
110
- // https://github.com/necolas/normalize.css/issues/519
111
- // stylelint-disable-next-line font-family-no-duplicate-names
112
- font-family: monospace, monospace; /* 1 */
54
+ samp,
55
+ pre {
56
+ font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; /* 1 */
113
57
  font-size: 1em; /* 2 */
114
58
  }
115
59
 
@@ -122,8 +66,7 @@ small {
122
66
  }
123
67
 
124
68
  /**
125
- * Prevent `sub` and `sup` elements from affecting the line height in
126
- * all browsers.
69
+ * Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
127
70
  */
128
71
 
129
72
  sub,
@@ -142,19 +85,23 @@ sup {
142
85
  top: -0.5em;
143
86
  }
144
87
 
145
- /* Embedded content
146
- ========================================================================== */
88
+ /*
89
+ Tabular data
90
+ ============
91
+ */
147
92
 
148
93
  /**
149
- * Remove the border on images inside links in IE 10.
94
+ * Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
150
95
  */
151
96
 
152
- img {
153
- border-style: none;
97
+ table {
98
+ border-color: currentColor;
154
99
  }
155
100
 
156
- /* Forms
157
- ========================================================================== */
101
+ /*
102
+ Forms
103
+ =====
104
+ */
158
105
 
159
106
  /**
160
107
  * 1. Change the font styles in all browsers.
@@ -172,26 +119,6 @@ textarea {
172
119
  margin: 0; /* 2 */
173
120
  }
174
121
 
175
- /**
176
- * Show the overflow in IE.
177
- * 1. Show the overflow in Edge.
178
- */
179
-
180
- button,
181
- input {
182
- overflow: visible; /* 1 */
183
- }
184
-
185
- /**
186
- * Remove the inheritance of text transform in Edge, Firefox, and IE.
187
- * 1. Remove the inheritance of text transform in Firefox.
188
- */
189
-
190
- button,
191
- select {
192
- text-transform: none; /* 1 */
193
- }
194
-
195
122
  /**
196
123
  * Correct the inability to style clickable types in iOS and Safari.
197
124
  */
@@ -204,54 +131,15 @@ button,
204
131
  }
205
132
 
206
133
  /**
207
- * Remove the inner border and padding in Firefox.
208
- */
209
-
210
- button::-moz-focus-inner,
211
- [type="button"]::-moz-focus-inner,
212
- [type="reset"]::-moz-focus-inner,
213
- [type="submit"]::-moz-focus-inner {
214
- border-style: none;
215
- padding: 0;
216
- }
217
-
218
- /**
219
- * Restore the focus styles unset by the previous rule.
220
- */
221
-
222
- button:-moz-focusring,
223
- [type="button"]:-moz-focusring,
224
- [type="reset"]:-moz-focusring,
225
- [type="submit"]:-moz-focusring {
226
- outline: 1px dotted ButtonText;
227
- }
228
-
229
- /**
230
- * Correct the padding in Firefox.
231
- */
232
-
233
- fieldset {
234
- padding: 0.35em 0.75em 0.625em;
235
- }
236
-
237
- /**
238
- * 1. Correct the text wrapping in Edge and IE.
239
- * 2. Correct the color inheritance from `fieldset` elements in IE.
240
- * 3. Remove the padding so developers are not caught out when they zero out
241
- * `fieldset` elements in all browsers.
134
+ * Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
242
135
  */
243
136
 
244
137
  legend {
245
- box-sizing: border-box; /* 1 */
246
- color: inherit; /* 2 */
247
- display: table; /* 1 */
248
- max-width: 100%; /* 1 */
249
- padding: 0; /* 3 */
250
- white-space: normal; /* 1 */
138
+ padding: 0;
251
139
  }
252
140
 
253
141
  /**
254
- * Add the correct vertical alignment in Chrome, Firefox, and Opera.
142
+ * Add the correct vertical alignment in Chrome and Firefox.
255
143
  */
256
144
 
257
145
  progress {
@@ -259,30 +147,11 @@ progress {
259
147
  }
260
148
 
261
149
  /**
262
- * Remove the default vertical scrollbar in IE 10+.
150
+ * Correct the cursor style of increment and decrement buttons in Safari.
263
151
  */
264
152
 
265
- textarea {
266
- overflow: auto;
267
- }
268
-
269
- /**
270
- * 1. Add the correct box sizing in IE 10.
271
- * 2. Remove the padding in IE 10.
272
- */
273
-
274
- [type="checkbox"],
275
- [type="radio"] {
276
- box-sizing: border-box; /* 1 */
277
- padding: 0; /* 2 */
278
- }
279
-
280
- /**
281
- * Correct the cursor style of increment and decrement buttons in Chrome.
282
- */
283
-
284
- [type="number"]::-webkit-inner-spin-button,
285
- [type="number"]::-webkit-outer-spin-button {
153
+ ::-webkit-inner-spin-button,
154
+ ::-webkit-outer-spin-button {
286
155
  height: auto;
287
156
  }
288
157
 
@@ -300,13 +169,13 @@ textarea {
300
169
  * Remove the inner padding in Chrome and Safari on macOS.
301
170
  */
302
171
 
303
- [type="search"]::-webkit-search-decoration {
172
+ ::-webkit-search-decoration {
304
173
  -webkit-appearance: none;
305
174
  }
306
175
 
307
176
  /**
308
177
  * 1. Correct the inability to style clickable types in iOS and Safari.
309
- * 2. Change font properties to `inherit` in Safari.
178
+ * 2. Change font properties to 'inherit' in Safari.
310
179
  */
311
180
 
312
181
  ::-webkit-file-upload-button {
@@ -314,40 +183,15 @@ textarea {
314
183
  font: inherit; /* 2 */
315
184
  }
316
185
 
317
- /* Interactive
318
- ========================================================================== */
319
-
320
186
  /*
321
- * Add the correct display in Edge, IE 10+, and Firefox.
322
- */
323
-
324
- details {
325
- display: block;
326
- }
187
+ Interactive
188
+ ===========
189
+ */
327
190
 
328
191
  /*
329
- * Add the correct display in all browsers.
192
+ * Add the correct display in Chrome and Safari.
330
193
  */
331
194
 
332
195
  summary {
333
196
  display: list-item;
334
197
  }
335
-
336
- /* Misc
337
- ========================================================================== */
338
-
339
- /**
340
- * Add the correct display in IE 10+.
341
- */
342
-
343
- template {
344
- display: none;
345
- }
346
-
347
- /**
348
- * Add the correct display in IE 10.
349
- */
350
-
351
- [hidden] {
352
- display: none;
353
- }
@@ -75,7 +75,6 @@
75
75
  @styledTitlePadding: 0.75em 1em;
76
76
  @styledTitleFontWeight: @bold;
77
77
  @styledTitleColor: @unselectedTextColor;
78
- @styledTitleTransition: background-color @defaultDuration @defaultEasing;
79
78
  @styledTitleBorder: 1px solid @borderColor;
80
79
  @styledTitleTransition:
81
80
  background @defaultDuration @defaultEasing,
@@ -49,7 +49,6 @@
49
49
  /* Image */
50
50
  @imageBackground: @transparentBlack;
51
51
  @imagePadding: 0;
52
- @imageBorder: none;
53
52
  @imageBoxShadow: none;
54
53
  @imageBorder: none;
55
54