fomantic-ui-sass 2.9.1 → 2.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/app/assets/fonts/semantic-ui/Lato-Bold.woff +0 -0
  4. data/app/assets/fonts/semantic-ui/Lato-Bold.woff2 +0 -0
  5. data/app/assets/fonts/semantic-ui/Lato-BoldItalic.woff +0 -0
  6. data/app/assets/fonts/semantic-ui/Lato-BoldItalic.woff2 +0 -0
  7. data/app/assets/fonts/semantic-ui/Lato-Italic.woff +0 -0
  8. data/app/assets/fonts/semantic-ui/Lato-Italic.woff2 +0 -0
  9. data/app/assets/fonts/semantic-ui/Lato-Regular.woff +0 -0
  10. data/app/assets/fonts/semantic-ui/Lato-Regular.woff2 +0 -0
  11. data/app/assets/fonts/semantic-ui/LatoLatin-Bold.woff +0 -0
  12. data/app/assets/fonts/semantic-ui/LatoLatin-Bold.woff2 +0 -0
  13. data/app/assets/fonts/semantic-ui/LatoLatin-BoldItalic.woff +0 -0
  14. data/app/assets/fonts/semantic-ui/LatoLatin-BoldItalic.woff2 +0 -0
  15. data/app/assets/fonts/semantic-ui/LatoLatin-Italic.woff +0 -0
  16. data/app/assets/fonts/semantic-ui/LatoLatin-Italic.woff2 +0 -0
  17. data/app/assets/fonts/semantic-ui/LatoLatin-Regular.woff +0 -0
  18. data/app/assets/fonts/semantic-ui/LatoLatin-Regular.woff2 +0 -0
  19. data/app/assets/javascripts/semantic-ui/accordion.js +4 -8
  20. data/app/assets/javascripts/semantic-ui/api.js +22 -15
  21. data/app/assets/javascripts/semantic-ui/calendar.js +1 -6
  22. data/app/assets/javascripts/semantic-ui/checkbox.js +4 -6
  23. data/app/assets/javascripts/semantic-ui/dimmer.js +3 -7
  24. data/app/assets/javascripts/semantic-ui/dropdown.js +58 -35
  25. data/app/assets/javascripts/semantic-ui/embed.js +2 -7
  26. data/app/assets/javascripts/semantic-ui/flyout.js +56 -86
  27. data/app/assets/javascripts/semantic-ui/form.js +216 -157
  28. data/app/assets/javascripts/semantic-ui/modal.js +58 -39
  29. data/app/assets/javascripts/semantic-ui/nag.js +17 -9
  30. data/app/assets/javascripts/semantic-ui/popup.js +46 -26
  31. data/app/assets/javascripts/semantic-ui/progress.js +3 -34
  32. data/app/assets/javascripts/semantic-ui/rating.js +1 -5
  33. data/app/assets/javascripts/semantic-ui/search.js +5 -8
  34. data/app/assets/javascripts/semantic-ui/shape.js +15 -41
  35. data/app/assets/javascripts/semantic-ui/sidebar.js +21 -64
  36. data/app/assets/javascripts/semantic-ui/site.js +1 -1
  37. data/app/assets/javascripts/semantic-ui/slider.js +130 -34
  38. data/app/assets/javascripts/semantic-ui/state.js +23 -20
  39. data/app/assets/javascripts/semantic-ui/sticky.js +17 -16
  40. data/app/assets/javascripts/semantic-ui/tab.js +18 -8
  41. data/app/assets/javascripts/semantic-ui/toast.js +19 -11
  42. data/app/assets/javascripts/semantic-ui/transition.js +11 -66
  43. data/app/assets/javascripts/semantic-ui/visibility.js +15 -6
  44. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +1 -1
  45. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +118 -56
  46. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +113 -107
  47. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +39 -9
  48. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +1 -1
  49. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +66 -2
  50. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +2 -2
  51. data/app/assets/stylesheets/semantic-ui/elements/_container.scss +62 -1
  52. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +1 -1
  53. data/app/assets/stylesheets/semantic-ui/elements/_emoji.scss +698 -250
  54. data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +3 -2
  55. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +1 -1
  56. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +62 -62
  57. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +1 -1
  58. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +61 -51
  59. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +21 -2
  60. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +13 -13
  61. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +282 -282
  62. data/app/assets/stylesheets/semantic-ui/elements/_placeholder.scss +1 -1
  63. data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +1 -1
  64. data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +1 -1
  65. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +186 -37
  66. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +4 -4
  67. data/app/assets/stylesheets/semantic-ui/elements/_text.scss +2 -2
  68. data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +1 -1
  69. data/app/assets/stylesheets/semantic-ui/globals/_site.scss +1 -10
  70. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +1 -1
  71. data/app/assets/stylesheets/semantic-ui/modules/_calendar.scss +145 -8
  72. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +89 -45
  73. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +3 -3
  74. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +126 -31
  75. data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +2 -2
  76. data/app/assets/stylesheets/semantic-ui/modules/_flyout.scss +1 -1
  77. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +10 -3
  78. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +1 -1
  79. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +188 -42
  80. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +1 -1
  81. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +1 -1
  82. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +26 -1
  83. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +1 -1
  84. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +1 -1
  85. data/app/assets/stylesheets/semantic-ui/modules/_slider.scss +9 -6
  86. data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +1 -1
  87. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +1 -1
  88. data/app/assets/stylesheets/semantic-ui/modules/_toast.scss +6 -1
  89. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1 -1
  90. data/app/assets/stylesheets/semantic-ui/views/_ad.scss +1 -1
  91. data/app/assets/stylesheets/semantic-ui/views/_card.scss +1 -1
  92. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +6 -1
  93. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +486 -5
  94. data/app/assets/stylesheets/semantic-ui/views/_item.scss +7 -2
  95. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +1 -1
  96. data/lib/fomantic/ui/sass/version.rb +2 -2
  97. metadata +1 -1
@@ -22,7 +22,7 @@
22
22
  $.fn.toast = function (parameters) {
23
23
  var
24
24
  $allModules = $(this),
25
- moduleSelector = $allModules.selector || '',
25
+ $body = $('body'),
26
26
 
27
27
  time = Date.now(),
28
28
  performance = [],
@@ -30,6 +30,19 @@
30
30
  query = arguments[0],
31
31
  methodInvoked = typeof query === 'string',
32
32
  queryArguments = [].slice.call(arguments, 1),
33
+ contextCheck = function (context, win) {
34
+ var $context;
35
+ if ([window, document].indexOf(context) >= 0) {
36
+ $context = $(context);
37
+ } else {
38
+ $context = $(win.document).find(context);
39
+ if ($context.length === 0) {
40
+ $context = win.frameElement ? contextCheck(context, win.parent) : $body;
41
+ }
42
+ }
43
+
44
+ return $context;
45
+ },
33
46
  returnedValue
34
47
  ;
35
48
  $allModules.each(function () {
@@ -55,9 +68,7 @@
55
68
  $progressBar,
56
69
  $animationObject,
57
70
  $close,
58
- $context = settings.context
59
- ? ([window, document].indexOf(settings.context) < 0 ? $(document).find(settings.context) : $(settings.context))
60
- : $('body'),
71
+ $context = settings.context ? contextCheck(settings.context, window) : $body,
61
72
 
62
73
  isToastComponent = $module.hasClass('toast') || $module.hasClass('message') || $module.hasClass('card'),
63
74
 
@@ -106,11 +117,11 @@
106
117
  if ($toastBox) {
107
118
  module.debug('Removing toast', $toastBox);
108
119
  module.unbind.events();
120
+ settings.onRemove.call($toastBox, element);
109
121
  $toastBox.remove();
110
122
  $toastBox = undefined;
111
123
  $toast = undefined;
112
124
  $animationObject = undefined;
113
- settings.onRemove.call($toastBox, element);
114
125
  $progress = undefined;
115
126
  $progressBar = undefined;
116
127
  $close = undefined;
@@ -397,7 +408,7 @@
397
408
  animate: {
398
409
  show: function (callback) {
399
410
  callback = isFunction(callback) ? callback : function () {};
400
- if (settings.transition && module.can.useElement('transition') && $module.transition('is supported')) {
411
+ if (settings.transition && module.can.useElement('transition')) {
401
412
  module.set.visible();
402
413
  $toastBox
403
414
  .transition({
@@ -417,7 +428,7 @@
417
428
  },
418
429
  close: function (callback) {
419
430
  callback = isFunction(callback) ? callback : function () {};
420
- if (settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
431
+ if (settings.transition && $.fn.transition !== undefined) {
421
432
  $toastBox
422
433
  .transition({
423
434
  animation: settings.transition.hideMethod + ' out',
@@ -691,7 +702,7 @@
691
702
  });
692
703
  }
693
704
  clearTimeout(module.performance.timer);
694
- module.performance.timer = setTimeout(module.performance.display, 500);
705
+ module.performance.timer = setTimeout(function () { module.performance.display(); }, 500);
695
706
  },
696
707
  display: function () {
697
708
  var
@@ -704,9 +715,6 @@
704
715
  totalTime += data['Execution Time'];
705
716
  });
706
717
  title += ' ' + totalTime + 'ms';
707
- if (moduleSelector) {
708
- title += ' \'' + moduleSelector + '\'';
709
- }
710
718
  if (performance.length > 0) {
711
719
  console.groupCollapsed(title);
712
720
  if (console.table) {
@@ -22,7 +22,6 @@
22
22
  $.fn.transition = function () {
23
23
  var
24
24
  $allModules = $(this),
25
- moduleSelector = $allModules.selector || '',
26
25
 
27
26
  time = Date.now(),
28
27
  performance = [],
@@ -46,7 +45,6 @@
46
45
  error,
47
46
  className,
48
47
  metadata,
49
- animationEnd,
50
48
 
51
49
  moduleNamespace,
52
50
  eventNamespace,
@@ -69,9 +67,6 @@
69
67
  moduleNamespace = 'module-' + settings.namespace;
70
68
  instance = $module.data(moduleNamespace) || module;
71
69
 
72
- // get vendor specific events
73
- animationEnd = module.get.animationEndEvent();
74
-
75
70
  if (methodInvoked) {
76
71
  methodInvoked = module.invoke(query);
77
72
  }
@@ -147,16 +142,12 @@
147
142
  ? ($allModules.length - index) * interval
148
143
  : index * interval;
149
144
  module.debug('Delaying animation by', delay);
150
- setTimeout(module.animate, delay);
145
+ setTimeout(function () { module.animate(); }, delay);
151
146
  },
152
147
 
153
148
  animate: function (overrideSettings) {
154
149
  settings = overrideSettings || settings;
155
- if (!module.is.supported()) {
156
- module.error(error.support);
157
150
 
158
- return false;
159
- }
160
151
  module.debug('Preparing animation', settings.animation);
161
152
  if (module.is.animating()) {
162
153
  if (settings.queue) {
@@ -195,7 +186,7 @@
195
186
  module.debug('Queueing animation of', animation);
196
187
  module.queuing = true;
197
188
  $module
198
- .one(animationEnd + '.queue' + eventNamespace, function () {
189
+ .one('animationend.queue' + eventNamespace, function () {
199
190
  module.queuing = false;
200
191
  module.repaint();
201
192
  module.animate.apply(this, settings);
@@ -216,7 +207,7 @@
216
207
  module.restore.conditions();
217
208
  module.hide();
218
209
  } else if (module.is.inward()) {
219
- module.verbose('Animation is outward, showing element');
210
+ module.verbose('Animation is inward, showing element');
220
211
  module.restore.conditions();
221
212
  module.show();
222
213
  } else {
@@ -375,7 +366,7 @@
375
366
  module.debug('Starting tween', animationClass);
376
367
  $module
377
368
  .addClass(animationClass)
378
- .one(animationEnd + '.complete' + eventNamespace, module.complete)
369
+ .one('animationend.complete' + eventNamespace, module.complete)
379
370
  ;
380
371
  if (settings.useFailSafe) {
381
372
  module.add.failSafe();
@@ -424,7 +415,7 @@
424
415
  duration = module.get.duration()
425
416
  ;
426
417
  module.timer = setTimeout(function () {
427
- $module.triggerHandler(animationEnd);
418
+ $module.triggerHandler('animationend');
428
419
  }, duration + settings.failSafeDelay);
429
420
  module.verbose('Adding fail safe timer', module.timer);
430
421
  },
@@ -612,45 +603,6 @@
612
603
  transitionExists: function (animation) {
613
604
  return $.fn.transition.exists[animation];
614
605
  },
615
- animationStartEvent: function () {
616
- var
617
- element = document.createElement('div'),
618
- animations = {
619
- animation: 'animationstart',
620
- OAnimation: 'oAnimationStart',
621
- MozAnimation: 'mozAnimationStart',
622
- WebkitAnimation: 'webkitAnimationStart',
623
- },
624
- animation
625
- ;
626
- for (animation in animations) {
627
- if (element.style[animation] !== undefined) {
628
- return animations[animation];
629
- }
630
- }
631
-
632
- return false;
633
- },
634
- animationEndEvent: function () {
635
- var
636
- element = document.createElement('div'),
637
- animations = {
638
- animation: 'animationend',
639
- OAnimation: 'oAnimationEnd',
640
- MozAnimation: 'mozAnimationEnd',
641
- WebkitAnimation: 'webkitAnimationEnd',
642
- },
643
- animation
644
- ;
645
- for (animation in animations) {
646
- if (element.style[animation] !== undefined) {
647
- return animations[animation];
648
- }
649
- }
650
-
651
- return false;
652
- },
653
-
654
606
  },
655
607
 
656
608
  can: {
@@ -750,7 +702,8 @@
750
702
  return $module.css('visibility') === 'hidden';
751
703
  },
752
704
  supported: function () {
753
- return animationEnd !== false;
705
+ // keep method for backward compatibility until 2.10.0
706
+ return true;
754
707
  },
755
708
  },
756
709
 
@@ -801,13 +754,13 @@
801
754
 
802
755
  stop: function () {
803
756
  module.debug('Stopping current animation');
804
- $module.triggerHandler(animationEnd);
757
+ $module.triggerHandler('animationend');
805
758
  },
806
759
 
807
760
  stopAll: function () {
808
761
  module.debug('Stopping all animation');
809
762
  module.remove.queueCallback();
810
- $module.triggerHandler(animationEnd);
763
+ $module.triggerHandler('animationend');
811
764
  },
812
765
 
813
766
  clear: {
@@ -896,7 +849,7 @@
896
849
  });
897
850
  }
898
851
  clearTimeout(module.performance.timer);
899
- module.performance.timer = setTimeout(module.performance.display, 500);
852
+ module.performance.timer = setTimeout(function () { module.performance.display(); }, 500);
900
853
  },
901
854
  display: function () {
902
855
  var
@@ -909,9 +862,6 @@
909
862
  totalTime += data['Execution Time'];
910
863
  });
911
864
  title += ' ' + totalTime + 'ms';
912
- if (moduleSelector) {
913
- title += ' \'' + moduleSelector + '\'';
914
- }
915
865
  if ($allModules.length > 1) {
916
866
  title += ' (' + $allModules.length + ')';
917
867
  }
@@ -945,8 +895,7 @@
945
895
  $.each(query, function (depth, value) {
946
896
  var camelCaseValue = depth !== maxDepth
947
897
  ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
948
- : query
949
- ;
898
+ : query;
950
899
  if ($.isPlainObject(object[camelCaseValue]) && (depth !== maxDepth)) {
951
900
  object = object[camelCaseValue];
952
901
  } else if (object[camelCaseValue] !== undefined) {
@@ -960,8 +909,6 @@
960
909
 
961
910
  return false;
962
911
  } else {
963
- module.error(error.method, query);
964
-
965
912
  return false;
966
913
  }
967
914
  });
@@ -1077,8 +1024,6 @@
1077
1024
  // possible errors
1078
1025
  error: {
1079
1026
  noAnimation: 'Element is no longer attached to DOM. Unable to animate. Use silent setting to suppress this warning in production.',
1080
- method: 'The method you called is not defined',
1081
- support: 'This browser does not support CSS animations',
1082
1027
  },
1083
1028
 
1084
1029
  };
@@ -22,7 +22,6 @@
22
22
  $.fn.visibility = function (parameters) {
23
23
  var
24
24
  $allModules = $(this),
25
- moduleSelector = $allModules.selector || '',
26
25
 
27
26
  time = Date.now(),
28
27
  performance = [],
@@ -30,6 +29,19 @@
30
29
  query = arguments[0],
31
30
  methodInvoked = typeof query === 'string',
32
31
  queryArguments = [].slice.call(arguments, 1),
32
+ contextCheck = function (context, win) {
33
+ var $context;
34
+ if ([window, document].indexOf(context) >= 0) {
35
+ $context = $(context);
36
+ } else {
37
+ $context = $(win.document).find(context);
38
+ if ($context.length === 0) {
39
+ $context = win.frameElement ? contextCheck(context, win.parent) : window;
40
+ }
41
+ }
42
+
43
+ return $context;
44
+ },
33
45
  returnedValue,
34
46
 
35
47
  moduleCount = $allModules.length,
@@ -53,7 +65,7 @@
53
65
  $window = $(window),
54
66
 
55
67
  $module = $(this),
56
- $context = [window, document].indexOf(settings.context) < 0 ? $(document).find(settings.context) : $(settings.context),
68
+ $context = contextCheck(settings.context, window),
57
69
 
58
70
  $placeholder,
59
71
 
@@ -1076,7 +1088,7 @@
1076
1088
  });
1077
1089
  }
1078
1090
  clearTimeout(module.performance.timer);
1079
- module.performance.timer = setTimeout(module.performance.display, 500);
1091
+ module.performance.timer = setTimeout(function () { module.performance.display(); }, 500);
1080
1092
  },
1081
1093
  display: function () {
1082
1094
  var
@@ -1089,9 +1101,6 @@
1089
1101
  totalTime += data['Execution Time'];
1090
1102
  });
1091
1103
  title += ' ' + totalTime + 'ms';
1092
- if (moduleSelector) {
1093
- title += ' \'' + moduleSelector + '\'';
1094
- }
1095
1104
  if (performance.length > 0) {
1096
1105
  console.groupCollapsed(title);
1097
1106
  if (console.table) {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1 - Breadcrumb
2
+ * # Fomantic-UI 2.9.3 - Breadcrumb
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.9.1 - Form
2
+ * # Fomantic-UI 2.9.3 - Form
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -359,25 +359,30 @@
359
359
  --------------------- */
360
360
 
361
361
  /* browsers require these rules separate */
362
- .ui.form ::-webkit-input-placeholder {
362
+ .ui.form :-ms-input-placeholder {
363
+ color: rgba(191, 191, 191, 0.87);
364
+ }
365
+ .ui.form ::-ms-input-placeholder {
366
+ color: rgba(191, 191, 191, 0.87);
367
+ }
368
+ .ui.form ::placeholder {
363
369
  color: rgba(191, 191, 191, 0.87);
364
370
  }
365
371
  .ui.form :-ms-input-placeholder {
366
372
  color: rgba(191, 191, 191, 0.87) !important;
367
373
  }
368
- .ui.form ::-moz-placeholder {
369
- color: rgba(191, 191, 191, 0.87);
370
- opacity: 1;
374
+ .ui.form :focus:-ms-input-placeholder {
375
+ color: rgba(115, 115, 115, 0.87);
371
376
  }
372
- .ui.form :focus::-webkit-input-placeholder {
377
+ .ui.form :focus::-ms-input-placeholder {
378
+ color: rgba(115, 115, 115, 0.87);
379
+ }
380
+ .ui.form :focus::placeholder {
373
381
  color: rgba(115, 115, 115, 0.87);
374
382
  }
375
383
  .ui.form :focus:-ms-input-placeholder {
376
384
  color: rgba(115, 115, 115, 0.87) !important;
377
385
  }
378
- .ui.form :focus::-moz-placeholder {
379
- color: rgba(115, 115, 115, 0.87);
380
- }
381
386
 
382
387
  /* --------------------
383
388
  Focus
@@ -489,6 +494,11 @@
489
494
  .ui.ui.form .field.error .input {
490
495
  color: #9f3a38;
491
496
  }
497
+ @supports selector(:has(.f)) {
498
+ .ui.form .fields:has(.error) > label {
499
+ color: #9f3a38;
500
+ }
501
+ }
492
502
  .ui.form .fields.error .field .ui.label,
493
503
  .ui.form .field.error .ui.label {
494
504
  background-color: #ecd1d1;
@@ -538,21 +548,7 @@
538
548
  border-radius: "";
539
549
  box-shadow: none;
540
550
  }
541
- .ui.form .field input:not(:-ms-input-placeholder):invalid {
542
- color: #9f3a38;
543
- background: #fff6f6;
544
- border-color: #e0b4b4;
545
- border-radius: "";
546
- box-shadow: none;
547
- }
548
- .ui.form .field input:not(:placeholder-shown):invalid {
549
- color: #9f3a38;
550
- background: #fff6f6;
551
- border-color: #e0b4b4;
552
- border-radius: "";
553
- box-shadow: none;
554
- }
555
- .ui.form .field input:not(:-ms-input-placeholder):invalid {
551
+ .ui.form:not(.initial) .field input:invalid {
556
552
  color: #9f3a38;
557
553
  background: #fff6f6;
558
554
  border-color: #e0b4b4;
@@ -608,24 +604,30 @@
608
604
  }
609
605
 
610
606
  /* Placeholder */
611
- .ui.form .error ::-webkit-input-placeholder {
607
+ .ui.form .error :-ms-input-placeholder {
608
+ color: #e7bdbc;
609
+ }
610
+ .ui.form .error ::-ms-input-placeholder {
611
+ color: #e7bdbc;
612
+ }
613
+ .ui.form .error ::placeholder {
612
614
  color: #e7bdbc;
613
615
  }
614
616
  .ui.form .error :-ms-input-placeholder {
615
617
  color: #e7bdbc !important;
616
618
  }
617
- .ui.form .error ::-moz-placeholder {
618
- color: #e7bdbc;
619
+ .ui.form .error :focus:-ms-input-placeholder {
620
+ color: #da9796;
619
621
  }
620
- .ui.form .error :focus::-webkit-input-placeholder {
622
+ .ui.form .error :focus::-ms-input-placeholder {
623
+ color: #da9796;
624
+ }
625
+ .ui.form .error :focus::placeholder {
621
626
  color: #da9796;
622
627
  }
623
628
  .ui.form .error :focus:-ms-input-placeholder {
624
629
  color: #da9796 !important;
625
630
  }
626
- .ui.form .error :focus::-moz-placeholder {
627
- color: #da9796;
628
- }
629
631
 
630
632
  /*------------------
631
633
  Dropdown State
@@ -696,6 +698,11 @@
696
698
  .ui.inverted.form .error.field label {
697
699
  color: #ecd1d1;
698
700
  }
701
+ @supports selector(:has(.f)) {
702
+ .ui.inverted.form .fields:has(.error) > label {
703
+ color: #ecd1d1;
704
+ }
705
+ }
699
706
 
700
707
  /* On Form */
701
708
  .ui.form.info .info.message:not(:empty) {
@@ -729,6 +736,11 @@
729
736
  .ui.ui.form .field.info .input {
730
737
  color: #276f86;
731
738
  }
739
+ @supports selector(:has(.f)) {
740
+ .ui.form .fields:has(.info) > label {
741
+ color: #276f86;
742
+ }
743
+ }
732
744
  .ui.form .fields.info .field .ui.label,
733
745
  .ui.form .field.info .ui.label {
734
746
  background-color: #c6e3e9;
@@ -827,24 +839,30 @@
827
839
  }
828
840
 
829
841
  /* Placeholder */
830
- .ui.form .info ::-webkit-input-placeholder {
842
+ .ui.form .info :-ms-input-placeholder {
843
+ color: #98cfe1;
844
+ }
845
+ .ui.form .info ::-ms-input-placeholder {
846
+ color: #98cfe1;
847
+ }
848
+ .ui.form .info ::placeholder {
831
849
  color: #98cfe1;
832
850
  }
833
851
  .ui.form .info :-ms-input-placeholder {
834
852
  color: #98cfe1 !important;
835
853
  }
836
- .ui.form .info ::-moz-placeholder {
837
- color: #98cfe1;
854
+ .ui.form .info :focus:-ms-input-placeholder {
855
+ color: #70bdd6;
856
+ }
857
+ .ui.form .info :focus::-ms-input-placeholder {
858
+ color: #70bdd6;
838
859
  }
839
- .ui.form .info :focus::-webkit-input-placeholder {
860
+ .ui.form .info :focus::placeholder {
840
861
  color: #70bdd6;
841
862
  }
842
863
  .ui.form .info :focus:-ms-input-placeholder {
843
864
  color: #70bdd6 !important;
844
865
  }
845
- .ui.form .info :focus::-moz-placeholder {
846
- color: #70bdd6;
847
- }
848
866
 
849
867
  /*------------------
850
868
  Dropdown State
@@ -915,6 +933,11 @@
915
933
  .ui.inverted.form .info.field label {
916
934
  color: #c6e3e9;
917
935
  }
936
+ @supports selector(:has(.f)) {
937
+ .ui.inverted.form .fields:has(.info) > label {
938
+ color: #c6e3e9;
939
+ }
940
+ }
918
941
 
919
942
  /* On Form */
920
943
  .ui.form.success .success.message:not(:empty) {
@@ -948,6 +971,11 @@
948
971
  .ui.ui.form .field.success .input {
949
972
  color: #2c662d;
950
973
  }
974
+ @supports selector(:has(.f)) {
975
+ .ui.form .fields:has(.success) > label {
976
+ color: #2c662d;
977
+ }
978
+ }
951
979
  .ui.form .fields.success .field .ui.label,
952
980
  .ui.form .field.success .ui.label {
953
981
  background-color: #b9d1ad;
@@ -1046,24 +1074,30 @@
1046
1074
  }
1047
1075
 
1048
1076
  /* Placeholder */
1049
- .ui.form .success ::-webkit-input-placeholder {
1077
+ .ui.form .success :-ms-input-placeholder {
1078
+ color: #8fcf90;
1079
+ }
1080
+ .ui.form .success ::-ms-input-placeholder {
1081
+ color: #8fcf90;
1082
+ }
1083
+ .ui.form .success ::placeholder {
1050
1084
  color: #8fcf90;
1051
1085
  }
1052
1086
  .ui.form .success :-ms-input-placeholder {
1053
1087
  color: #8fcf90 !important;
1054
1088
  }
1055
- .ui.form .success ::-moz-placeholder {
1056
- color: #8fcf90;
1089
+ .ui.form .success :focus:-ms-input-placeholder {
1090
+ color: #6cbf6d;
1091
+ }
1092
+ .ui.form .success :focus::-ms-input-placeholder {
1093
+ color: #6cbf6d;
1057
1094
  }
1058
- .ui.form .success :focus::-webkit-input-placeholder {
1095
+ .ui.form .success :focus::placeholder {
1059
1096
  color: #6cbf6d;
1060
1097
  }
1061
1098
  .ui.form .success :focus:-ms-input-placeholder {
1062
1099
  color: #6cbf6d !important;
1063
1100
  }
1064
- .ui.form .success :focus::-moz-placeholder {
1065
- color: #6cbf6d;
1066
- }
1067
1101
 
1068
1102
  /*------------------
1069
1103
  Dropdown State
@@ -1134,6 +1168,11 @@
1134
1168
  .ui.inverted.form .success.field label {
1135
1169
  color: #b9d1ad;
1136
1170
  }
1171
+ @supports selector(:has(.f)) {
1172
+ .ui.inverted.form .fields:has(.success) > label {
1173
+ color: #b9d1ad;
1174
+ }
1175
+ }
1137
1176
 
1138
1177
  /* On Form */
1139
1178
  .ui.form.warning .warning.message:not(:empty) {
@@ -1167,6 +1206,11 @@
1167
1206
  .ui.ui.form .field.warning .input {
1168
1207
  color: #573a08;
1169
1208
  }
1209
+ @supports selector(:has(.f)) {
1210
+ .ui.form .fields:has(.warning) > label {
1211
+ color: #573a08;
1212
+ }
1213
+ }
1170
1214
  .ui.form .fields.warning .field .ui.label,
1171
1215
  .ui.form .field.warning .ui.label {
1172
1216
  background-color: #d7ccb5;
@@ -1265,24 +1309,30 @@
1265
1309
  }
1266
1310
 
1267
1311
  /* Placeholder */
1268
- .ui.form .warning ::-webkit-input-placeholder {
1312
+ .ui.form .warning :-ms-input-placeholder {
1313
+ color: #edad3e;
1314
+ }
1315
+ .ui.form .warning ::-ms-input-placeholder {
1316
+ color: #edad3e;
1317
+ }
1318
+ .ui.form .warning ::placeholder {
1269
1319
  color: #edad3e;
1270
1320
  }
1271
1321
  .ui.form .warning :-ms-input-placeholder {
1272
1322
  color: #edad3e !important;
1273
1323
  }
1274
- .ui.form .warning ::-moz-placeholder {
1275
- color: #edad3e;
1324
+ .ui.form .warning :focus:-ms-input-placeholder {
1325
+ color: #e39715;
1276
1326
  }
1277
- .ui.form .warning :focus::-webkit-input-placeholder {
1327
+ .ui.form .warning :focus::-ms-input-placeholder {
1328
+ color: #e39715;
1329
+ }
1330
+ .ui.form .warning :focus::placeholder {
1278
1331
  color: #e39715;
1279
1332
  }
1280
1333
  .ui.form .warning :focus:-ms-input-placeholder {
1281
1334
  color: #e39715 !important;
1282
1335
  }
1283
- .ui.form .warning :focus::-moz-placeholder {
1284
- color: #e39715;
1285
- }
1286
1336
 
1287
1337
  /*------------------
1288
1338
  Dropdown State
@@ -1353,6 +1403,11 @@
1353
1403
  .ui.inverted.form .warning.field label {
1354
1404
  color: #d7ccb5;
1355
1405
  }
1406
+ @supports selector(:has(.f)) {
1407
+ .ui.inverted.form .fields:has(.warning) > label {
1408
+ color: #d7ccb5;
1409
+ }
1410
+ }
1356
1411
 
1357
1412
  /* --------------------
1358
1413
  Disabled
@@ -1417,29 +1472,36 @@
1417
1472
  /* --------------------
1418
1473
  Required Field
1419
1474
  --------------------- */
1420
- .ui.form .required.fields:not(.grouped) > .field > label::after,
1475
+ .ui.form .required.fields:not(.grouped):not(.inline) > .field > label::after,
1476
+ .ui.form .required.fields.inline > label::after,
1421
1477
  .ui.form .required.fields.grouped > label::after,
1422
1478
  .ui.form .required.field > label::after,
1423
- .ui.form .required.fields:not(.grouped) > .field > .checkbox::after,
1479
+ .ui.form .required.fields:not(.grouped):not(.inline) > .field > .checkbox::after,
1424
1480
  .ui.form .required.field > .checkbox::after,
1425
1481
  .ui.form label.required::after {
1426
1482
  margin: -0.2em 0 0 0.2em;
1427
1483
  content: "*";
1428
1484
  color: #db2828;
1429
1485
  }
1430
- .ui.form .required.fields:not(.grouped) > .field > label::after,
1486
+ .ui.form .required.fields:not(.grouped):not(.inline) > .field > label::after,
1487
+ .ui.form .required.fields.inline > label::after,
1431
1488
  .ui.form .required.fields.grouped > label::after,
1432
1489
  .ui.form .required.field > label::after,
1433
1490
  .ui.form label.required::after {
1434
1491
  display: inline-block;
1435
1492
  vertical-align: top;
1436
1493
  }
1437
- .ui.form .required.fields:not(.grouped) > .field > .checkbox::after,
1494
+ .ui.form .required.fields:not(.grouped):not(.inline) > .field > .checkbox::after,
1438
1495
  .ui.form .required.field > .checkbox::after {
1439
1496
  position: absolute;
1440
1497
  top: 0;
1441
1498
  left: 100%;
1442
1499
  }
1500
+ .ui.ui.ui.ui.form .fields > label:empty::after,
1501
+ .ui.ui.ui.ui.form .field > label:empty::after {
1502
+ content: " ";
1503
+ display: inline-block;
1504
+ }
1443
1505
 
1444
1506
 
1445
1507
  /*******************************