fomantic-ui-sass 2.8.6 → 2.8.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/README.md +6 -0
  4. data/app/assets/fonts/semantic-ui/brand-icons.eot +0 -0
  5. data/app/assets/fonts/semantic-ui/brand-icons.svg +6 -41
  6. data/app/assets/fonts/semantic-ui/brand-icons.ttf +0 -0
  7. data/app/assets/fonts/semantic-ui/brand-icons.woff +0 -0
  8. data/app/assets/fonts/semantic-ui/brand-icons.woff2 +0 -0
  9. data/app/assets/fonts/semantic-ui/icons.eot +0 -0
  10. data/app/assets/fonts/semantic-ui/icons.svg +7 -245
  11. data/app/assets/fonts/semantic-ui/icons.ttf +0 -0
  12. data/app/assets/fonts/semantic-ui/icons.woff +0 -0
  13. data/app/assets/fonts/semantic-ui/icons.woff2 +0 -0
  14. data/app/assets/fonts/semantic-ui/outline-icons.eot +0 -0
  15. data/app/assets/fonts/semantic-ui/outline-icons.svg +2 -2
  16. data/app/assets/fonts/semantic-ui/outline-icons.ttf +0 -0
  17. data/app/assets/fonts/semantic-ui/outline-icons.woff +0 -0
  18. data/app/assets/fonts/semantic-ui/outline-icons.woff2 +0 -0
  19. data/app/assets/javascripts/semantic-ui/calendar.js +153 -29
  20. data/app/assets/javascripts/semantic-ui/checkbox.js +1 -1
  21. data/app/assets/javascripts/semantic-ui/dimmer.js +11 -14
  22. data/app/assets/javascripts/semantic-ui/dropdown.js +240 -112
  23. data/app/assets/javascripts/semantic-ui/form.js +131 -67
  24. data/app/assets/javascripts/semantic-ui/modal.js +259 -16
  25. data/app/assets/javascripts/semantic-ui/nag.js +130 -64
  26. data/app/assets/javascripts/semantic-ui/popup.js +4 -4
  27. data/app/assets/javascripts/semantic-ui/progress.js +25 -31
  28. data/app/assets/javascripts/semantic-ui/search.js +15 -12
  29. data/app/assets/javascripts/semantic-ui/slider.js +57 -33
  30. data/app/assets/javascripts/semantic-ui/toast.js +26 -6
  31. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +1 -1
  32. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +69 -74
  33. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +14 -7
  34. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +14 -11
  35. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +52 -5
  36. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +9 -5
  37. data/app/assets/stylesheets/semantic-ui/elements/_all.scss +1 -0
  38. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +29 -2
  39. data/app/assets/stylesheets/semantic-ui/elements/_container.scss +3 -4
  40. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +1 -1
  41. data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +1 -1
  42. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +14 -9
  43. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +244 -66
  44. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +34 -5
  45. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +34 -33
  46. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +1 -1
  47. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +13 -13
  48. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +41 -37
  49. data/app/assets/stylesheets/semantic-ui/elements/_placeholder.scss +1 -1
  50. data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +1 -1
  51. data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +1 -1
  52. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +40 -2
  53. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +10 -10
  54. data/app/assets/stylesheets/semantic-ui/elements/_text.scss +13 -1
  55. data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +2 -3
  56. data/app/assets/stylesheets/semantic-ui/globals/_site.scss +2 -2
  57. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +1 -1
  58. data/app/assets/stylesheets/semantic-ui/modules/_calendar.scss +18 -11
  59. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +46 -4
  60. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +15 -15
  61. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +180 -28
  62. data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +7 -7
  63. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +22 -11
  64. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +168 -16
  65. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +6 -2
  66. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +18 -10
  67. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +18 -33
  68. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +1 -1
  69. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +1 -1
  70. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +3 -2
  71. data/app/assets/stylesheets/semantic-ui/modules/_slider.scss +11 -0
  72. data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +1 -2
  73. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +1 -1
  74. data/app/assets/stylesheets/semantic-ui/modules/_toast.scss +103 -16
  75. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1 -1
  76. data/app/assets/stylesheets/semantic-ui/views/_ad.scss +1 -1
  77. data/app/assets/stylesheets/semantic-ui/views/_card.scss +75 -3
  78. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +1 -1
  79. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +6 -6
  80. data/app/assets/stylesheets/semantic-ui/views/_item.scss +1 -1
  81. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +5 -5
  82. data/lib/fomantic/ui/sass/version.rb +2 -2
  83. metadata +3 -3
@@ -88,6 +88,7 @@ $.fn.slider = function(parameters) {
88
88
  precision,
89
89
  isTouch,
90
90
  gapRatio = 1,
91
+ previousValue,
91
92
 
92
93
  initialPosition,
93
94
  initialLoad,
@@ -205,28 +206,26 @@ $.fn.slider = function(parameters) {
205
206
  });
206
207
  },
207
208
  autoLabel: function() {
208
- if(module.get.step() != 0) {
209
- $labels = $module.find('.labels');
210
- if($labels.length != 0) {
211
- $labels.empty();
212
- }
213
- else {
214
- $labels = $module.append('<ul class="auto labels"></ul>').find('.labels');
215
- }
216
- for(var i = 0, len = module.get.numLabels(); i <= len; i++) {
217
- var
218
- labelText = module.get.label(i),
219
- $label = (labelText !== "")
220
- ? !(i % module.get.gapRatio())
221
- ? $('<li class="label">' + labelText + '</li>')
222
- : $('<li class="halftick label"></li>')
223
- : null,
224
- ratio = i / len
225
- ;
226
- if($label) {
227
- module.update.labelPosition(ratio, $label);
228
- $labels.append($label);
229
- }
209
+ $labels = $module.find('.labels');
210
+ if($labels.length != 0) {
211
+ $labels.empty();
212
+ }
213
+ else {
214
+ $labels = $module.append('<ul class="auto labels"></ul>').find('.labels');
215
+ }
216
+ for(var i = 0, len = module.get.numLabels(); i <= len; i++) {
217
+ var
218
+ labelText = module.get.label(i),
219
+ $label = (labelText !== "")
220
+ ? !(i % module.get.gapRatio())
221
+ ? $('<li class="label">' + labelText + '</li>')
222
+ : $('<li class="halftick label"></li>')
223
+ : null,
224
+ ratio = i / len
225
+ ;
226
+ if($label) {
227
+ module.update.labelPosition(ratio, $label);
228
+ $labels.append($label);
230
229
  }
231
230
  }
232
231
  }
@@ -331,7 +330,13 @@ $.fn.slider = function(parameters) {
331
330
  } else {
332
331
  $currThumb = module.determine.closestThumb(newPos);
333
332
  }
333
+ if (previousValue === undefined) {
334
+ previousValue = module.get.currentThumbValue();
335
+ }
336
+ } else if (previousValue === undefined) {
337
+ previousValue = module.get.value();
334
338
  }
339
+
335
340
  if(!module.is.disabled()) {
336
341
  module.bind.slidingEvents();
337
342
  }
@@ -379,6 +384,9 @@ $.fn.slider = function(parameters) {
379
384
  var value = module.determine.valueFromEvent(event);
380
385
  module.set.value(value);
381
386
  module.unbind.slidingEvents();
387
+ if (previousValue !== undefined) {
388
+ previousValue = undefined;
389
+ }
382
390
  },
383
391
  keydown: function(event, first) {
384
392
  if(settings.preventCrossover && module.is.range() && module.thumbVal === module.secondThumbVal) {
@@ -577,7 +585,7 @@ $.fn.slider = function(parameters) {
577
585
  return settings.step;
578
586
  },
579
587
  numLabels: function() {
580
- var value = Math.round((module.get.max() - module.get.min()) / module.get.step());
588
+ var value = Math.round((module.get.max() - module.get.min()) / (module.get.step() === 0 ? 1 : module.get.step()));
581
589
  module.debug('Determined that there should be ' + value + ' labels');
582
590
  return value;
583
591
  },
@@ -591,7 +599,7 @@ $.fn.slider = function(parameters) {
591
599
 
592
600
  switch (settings.labelType) {
593
601
  case settings.labelTypes.number:
594
- return Math.round(((value * module.get.step()) + module.get.min()) * precision ) / precision;
602
+ return Math.round(((value * (module.get.step() === 0 ? 1 : module.get.step())) + module.get.min()) * precision ) / precision;
595
603
  case settings.labelTypes.letter:
596
604
  return alphabet[(value) % 26];
597
605
  default:
@@ -789,9 +797,8 @@ $.fn.slider = function(parameters) {
789
797
  }
790
798
  // Use precision to avoid ugly Javascript floating point rounding issues
791
799
  // (like 35 * .01 = 0.35000000000000003)
792
- difference = Math.round(difference * precision) / precision;
793
800
  module.verbose('Cutting off additional decimal places');
794
- return difference + module.get.min();
801
+ return Math.round((difference + module.get.min()) * precision) / precision;
795
802
  },
796
803
  keyMovement: function(event) {
797
804
  var
@@ -854,20 +861,31 @@ $.fn.slider = function(parameters) {
854
861
  },
855
862
 
856
863
  set: {
857
- value: function(newValue) {
864
+ value: function(newValue, fireChange) {
865
+ fireChange = fireChange !== false;
866
+ var toReset = previousValue === undefined;
867
+ previousValue = previousValue === undefined ? module.get.value() : previousValue;
858
868
  module.update.value(newValue, function(value, thumbVal, secondThumbVal) {
859
- if (!initialLoad || settings.fireOnInit){
860
- settings.onChange.call(element, value, thumbVal, secondThumbVal);
869
+ if ((!initialLoad || settings.fireOnInit) && fireChange){
870
+ if (newValue !== previousValue) {
871
+ settings.onChange.call(element, value, thumbVal, secondThumbVal);
872
+ }
861
873
  settings.onMove.call(element, value, thumbVal, secondThumbVal);
862
874
  }
875
+ if (toReset) {
876
+ previousValue = undefined;
877
+ }
863
878
  });
864
879
  },
865
- rangeValue: function(first, second) {
880
+ rangeValue: function(first, second, fireChange) {
881
+ fireChange = fireChange !== false;
866
882
  if(module.is.range()) {
867
883
  var
868
884
  min = module.get.min(),
869
- max = module.get.max()
885
+ max = module.get.max(),
886
+ toReset = previousValue === undefined
870
887
  ;
888
+ previousValue = previousValue === undefined ? module.get.value() : previousValue;
871
889
  if (first <= min) {
872
890
  first = min;
873
891
  } else if(first >= max){
@@ -883,10 +901,15 @@ $.fn.slider = function(parameters) {
883
901
  value = Math.abs(module.thumbVal - module.secondThumbVal);
884
902
  module.update.position(module.thumbVal, $thumb);
885
903
  module.update.position(module.secondThumbVal, $secondThumb);
886
- if (!initialLoad || settings.fireOnInit) {
887
- settings.onChange.call(element, value, module.thumbVal, module.secondThumbVal);
904
+ if ((!initialLoad || settings.fireOnInit) && fireChange) {
905
+ if (value !== previousValue) {
906
+ settings.onChange.call(element, value, module.thumbVal, module.secondThumbVal);
907
+ }
888
908
  settings.onMove.call(element, value, module.thumbVal, module.secondThumbVal);
889
909
  }
910
+ if (toReset) {
911
+ previousValue = undefined;
912
+ }
890
913
  } else {
891
914
  module.error(error.notrange);
892
915
  }
@@ -1271,6 +1294,7 @@ $.fn.slider.settings = {
1271
1294
  labelDistance : 100,
1272
1295
  preventCrossover : true,
1273
1296
  fireOnInit : false,
1297
+ interpretLabel : false,
1274
1298
 
1275
1299
  //the decimal place to round to if step is undefined
1276
1300
  decimalPlaces : 2,
@@ -144,15 +144,15 @@ $.fn.toast = function(parameters) {
144
144
  create: {
145
145
  container: function() {
146
146
  module.verbose('Creating container');
147
- $context.append($('<div/>',{class: settings.position + ' ' + className.container}));
147
+ $context.append($('<div/>',{class: settings.position + ' ' + className.container + ' ' +(settings.horizontal ? className.horizontal : '')}));
148
148
  },
149
149
  toast: function() {
150
150
  $toastBox = $('<div/>', {class: className.box});
151
+ var iconClass = module.get.iconClass();
151
152
  if (!isToastComponent) {
152
153
  module.verbose('Creating toast');
153
154
  $toast = $('<div/>');
154
155
  var $content = $('<div/>', {class: className.content});
155
- var iconClass = module.get.iconClass();
156
156
  if (iconClass !== '') {
157
157
  $toast.append($('<i/>', {class: iconClass + ' ' + className.icon}));
158
158
  }
@@ -170,7 +170,7 @@ $.fn.toast = function(parameters) {
170
170
  }));
171
171
  }
172
172
 
173
- $content.append($('<div/>', {html: module.helpers.escape(settings.message, settings.preserveHTML)}));
173
+ $content.append($('<div/>', {class: className.message, html: module.helpers.escape(settings.message, settings.preserveHTML)}));
174
174
 
175
175
  $toast
176
176
  .addClass(settings.class + ' ' + className.toast)
@@ -189,6 +189,18 @@ $.fn.toast = function(parameters) {
189
189
  $toast = settings.cloneModule ? $module.clone().removeAttr('id') : $module;
190
190
  $close = $toast.find('> i'+module.helpers.toClass(className.close));
191
191
  settings.closeIcon = ($close.length > 0);
192
+ if (iconClass !== '') {
193
+ $toast.find(selector.icon).attr('class',iconClass + ' ' + className.icon);
194
+ }
195
+ if (settings.showImage) {
196
+ $toast.find(selector.image).attr('src',settings.showImage);
197
+ }
198
+ if (settings.title !== '') {
199
+ $toast.find(selector.title).html(module.helpers.escape(settings.title, settings.preserveHTML));
200
+ }
201
+ if (settings.message !== '') {
202
+ $toast.find(selector.message).html(module.helpers.escape(settings.message, settings.preserveHTML));
203
+ }
192
204
  }
193
205
  if ($toast.hasClass(className.compact)) {
194
206
  settings.compact = true;
@@ -391,7 +403,7 @@ $.fn.toast = function(parameters) {
391
403
  if(settings.transition.closeEasing !== ''){
392
404
  if($toastBox) {
393
405
  $toastBox.css('opacity', 0);
394
- $toastBox.wrap('<div/>').parent().slideUp(500, settings.transition.closeEasing, function () {
406
+ $toastBox.wrap('<div/>').parent().hide(settings.transition.closeDuration, settings.transition.closeEasing, function () {
395
407
  if ($toastBox) {
396
408
  $toastBox.parent().remove();
397
409
  callback.call($toastBox);
@@ -431,7 +443,7 @@ $.fn.toast = function(parameters) {
431
443
  has: {
432
444
  container: function() {
433
445
  module.verbose('Determining if there is already a container');
434
- return ($context.find(module.helpers.toClass(settings.position) + selector.container).length > 0);
446
+ return ($context.find(module.helpers.toClass(settings.position) + selector.container + (settings.horizontal ? module.helpers.toClass(className.horizontal) : '')).length > 0);
435
447
  },
436
448
  toast: function(){
437
449
  return !!module.get.toast();
@@ -750,6 +762,7 @@ $.fn.toast.settings = {
750
762
  context : 'body',
751
763
 
752
764
  position : 'top right',
765
+ horizontal : false,
753
766
  class : 'neutral',
754
767
  classProgress : false,
755
768
  classActions : false,
@@ -780,7 +793,8 @@ $.fn.toast.settings = {
780
793
  showDuration : 500,
781
794
  hideMethod : 'scale',
782
795
  hideDuration : 500,
783
- closeEasing : 'easeOutCubic' //Set to empty string to stack the closed toast area immediately (old behaviour)
796
+ closeEasing : 'easeOutCubic', //Set to empty string to stack the closed toast area immediately (old behaviour)
797
+ closeDuration: 500
784
798
  },
785
799
 
786
800
  error: {
@@ -798,6 +812,7 @@ $.fn.toast.settings = {
798
812
  visible : 'visible',
799
813
  content : 'content',
800
814
  title : 'ui header',
815
+ message : 'message',
801
816
  actions : 'actions',
802
817
  extraContent : 'extra content',
803
818
  button : 'ui button',
@@ -805,6 +820,7 @@ $.fn.toast.settings = {
805
820
  close : 'close icon',
806
821
  image : 'ui image',
807
822
  vertical : 'vertical',
823
+ horizontal : 'horizontal',
808
824
  attached : 'attached',
809
825
  inverted : 'inverted',
810
826
  compact : 'compact',
@@ -828,6 +844,10 @@ $.fn.toast.settings = {
828
844
  container : '.ui.toast-container',
829
845
  box : '.toast-box',
830
846
  toast : '.ui.toast',
847
+ title : '.header',
848
+ message : '.message:not(.ui)',
849
+ image : '> img.image, > .image > img',
850
+ icon : '> i.icon',
831
851
  input : 'input:not([type="hidden"]), textarea, select, button, .ui.button, ui.dropdown',
832
852
  approve : '.actions .positive, .actions .approve, .actions .ok',
833
853
  deny : '.actions .negative, .actions .deny, .actions .cancel'
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI - Breadcrumb
2
+ * # Fomantic-UI 2.8.8 - Breadcrumb
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI - Form
2
+ * # Fomantic-UI 2.8.8 - Form
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -372,6 +372,7 @@
372
372
  }
373
373
  .ui.form ::-moz-placeholder {
374
374
  color: rgba(191, 191, 191, 0.87);
375
+ opacity: 1;
375
376
  }
376
377
  .ui.form :focus::-webkit-input-placeholder {
377
378
  color: rgba(115, 115, 115, 0.87);
@@ -480,11 +481,17 @@
480
481
  display: flex;
481
482
  }
482
483
  .ui.ui.form .fields.error .field label,
484
+ .ui.ui.form .fields.error .field .ui.label:not(.corner),
483
485
  .ui.ui.form .field.error label,
486
+ .ui.ui.form .field.error .ui.label:not(.corner),
484
487
  .ui.ui.form .fields.error .field .input,
485
488
  .ui.ui.form .field.error .input {
486
489
  color: #9F3A38;
487
490
  }
491
+ .ui.form .fields.error .field .ui.label,
492
+ .ui.form .field.error .ui.label {
493
+ background-color: #ecd1d1;
494
+ }
488
495
  .ui.form .fields.error .field .corner.label,
489
496
  .ui.form .field.error .corner.label {
490
497
  border-color: #9F3A38;
@@ -599,7 +606,7 @@
599
606
  .ui.form .fields.error .field .ui.dropdown,
600
607
  .ui.form .fields.error .field .ui.dropdown .item,
601
608
  .ui.form .field.error .ui.dropdown,
602
- .ui.form .field.error .ui.dropdown .text,
609
+ .ui.form .field.error .ui.dropdown > .text,
603
610
  .ui.form .field.error .ui.dropdown .item {
604
611
  background: #FFF6F6;
605
612
  color: #9F3A38;
@@ -663,6 +670,10 @@
663
670
  .ui.form .field.error .checkbox .box:after {
664
671
  color: #9F3A38;
665
672
  }
673
+ .ui.inverted.form .fields.error .field label,
674
+ .ui.inverted.form .error.field label {
675
+ color: #ecd1d1;
676
+ }
666
677
 
667
678
  /* On Form */
668
679
  .ui.form.info .info.message:not(:empty) {
@@ -693,11 +704,17 @@
693
704
  display: flex;
694
705
  }
695
706
  .ui.ui.form .fields.info .field label,
707
+ .ui.ui.form .fields.info .field .ui.label:not(.corner),
696
708
  .ui.ui.form .field.info label,
709
+ .ui.ui.form .field.info .ui.label:not(.corner),
697
710
  .ui.ui.form .fields.info .field .input,
698
711
  .ui.ui.form .field.info .input {
699
712
  color: #276F86;
700
713
  }
714
+ .ui.form .fields.info .field .ui.label,
715
+ .ui.form .field.info .ui.label {
716
+ background-color: #c6e3e9;
717
+ }
701
718
  .ui.form .fields.info .field .corner.label,
702
719
  .ui.form .field.info .corner.label {
703
720
  border-color: #276F86;
@@ -812,7 +829,7 @@
812
829
  .ui.form .fields.info .field .ui.dropdown,
813
830
  .ui.form .fields.info .field .ui.dropdown .item,
814
831
  .ui.form .field.info .ui.dropdown,
815
- .ui.form .field.info .ui.dropdown .text,
832
+ .ui.form .field.info .ui.dropdown > .text,
816
833
  .ui.form .field.info .ui.dropdown .item {
817
834
  background: #F8FFFF;
818
835
  color: #276F86;
@@ -876,6 +893,10 @@
876
893
  .ui.form .field.info .checkbox .box:after {
877
894
  color: #276F86;
878
895
  }
896
+ .ui.inverted.form .fields.info .field label,
897
+ .ui.inverted.form .info.field label {
898
+ color: #c6e3e9;
899
+ }
879
900
 
880
901
  /* On Form */
881
902
  .ui.form.success .success.message:not(:empty) {
@@ -906,11 +927,17 @@
906
927
  display: flex;
907
928
  }
908
929
  .ui.ui.form .fields.success .field label,
930
+ .ui.ui.form .fields.success .field .ui.label:not(.corner),
909
931
  .ui.ui.form .field.success label,
932
+ .ui.ui.form .field.success .ui.label:not(.corner),
910
933
  .ui.ui.form .fields.success .field .input,
911
934
  .ui.ui.form .field.success .input {
912
935
  color: #2C662D;
913
936
  }
937
+ .ui.form .fields.success .field .ui.label,
938
+ .ui.form .field.success .ui.label {
939
+ background-color: #b9d1ad;
940
+ }
914
941
  .ui.form .fields.success .field .corner.label,
915
942
  .ui.form .field.success .corner.label {
916
943
  border-color: #2C662D;
@@ -1025,7 +1052,7 @@
1025
1052
  .ui.form .fields.success .field .ui.dropdown,
1026
1053
  .ui.form .fields.success .field .ui.dropdown .item,
1027
1054
  .ui.form .field.success .ui.dropdown,
1028
- .ui.form .field.success .ui.dropdown .text,
1055
+ .ui.form .field.success .ui.dropdown > .text,
1029
1056
  .ui.form .field.success .ui.dropdown .item {
1030
1057
  background: #FCFFF5;
1031
1058
  color: #2C662D;
@@ -1089,6 +1116,10 @@
1089
1116
  .ui.form .field.success .checkbox .box:after {
1090
1117
  color: #2C662D;
1091
1118
  }
1119
+ .ui.inverted.form .fields.success .field label,
1120
+ .ui.inverted.form .success.field label {
1121
+ color: #b9d1ad;
1122
+ }
1092
1123
 
1093
1124
  /* On Form */
1094
1125
  .ui.form.warning .warning.message:not(:empty) {
@@ -1119,11 +1150,17 @@
1119
1150
  display: flex;
1120
1151
  }
1121
1152
  .ui.ui.form .fields.warning .field label,
1153
+ .ui.ui.form .fields.warning .field .ui.label:not(.corner),
1122
1154
  .ui.ui.form .field.warning label,
1155
+ .ui.ui.form .field.warning .ui.label:not(.corner),
1123
1156
  .ui.ui.form .fields.warning .field .input,
1124
1157
  .ui.ui.form .field.warning .input {
1125
1158
  color: #573A08;
1126
1159
  }
1160
+ .ui.form .fields.warning .field .ui.label,
1161
+ .ui.form .field.warning .ui.label {
1162
+ background-color: #d7ccb5;
1163
+ }
1127
1164
  .ui.form .fields.warning .field .corner.label,
1128
1165
  .ui.form .field.warning .corner.label {
1129
1166
  border-color: #573A08;
@@ -1238,7 +1275,7 @@
1238
1275
  .ui.form .fields.warning .field .ui.dropdown,
1239
1276
  .ui.form .fields.warning .field .ui.dropdown .item,
1240
1277
  .ui.form .field.warning .ui.dropdown,
1241
- .ui.form .field.warning .ui.dropdown .text,
1278
+ .ui.form .field.warning .ui.dropdown > .text,
1242
1279
  .ui.form .field.warning .ui.dropdown .item {
1243
1280
  background: #FFFAF3;
1244
1281
  color: #573A08;
@@ -1302,6 +1339,10 @@
1302
1339
  .ui.form .field.warning .checkbox .box:after {
1303
1340
  color: #573A08;
1304
1341
  }
1342
+ .ui.inverted.form .fields.warning .field label,
1343
+ .ui.inverted.form .warning.field label {
1344
+ color: #d7ccb5;
1345
+ }
1305
1346
 
1306
1347
  /*--------------------
1307
1348
  Disabled
@@ -1471,6 +1512,9 @@
1471
1512
  margin: 0.5em 0;
1472
1513
  padding: 0;
1473
1514
  }
1515
+ .ui.form .grouped.inline.fields .ui.checkbox {
1516
+ margin-bottom: 0.4em;
1517
+ }
1474
1518
 
1475
1519
  /*--------------------
1476
1520
  Fields
@@ -1544,28 +1588,11 @@
1544
1588
  .ui.form .fields {
1545
1589
  -ms-flex-wrap: wrap;
1546
1590
  flex-wrap: wrap;
1591
+ margin-bottom: 0;
1547
1592
  }
1548
- .ui[class*="equal width"].form:not(.unstackable) .fields > .field,
1549
- .ui.form:not(.unstackable) [class*="equal width"].fields:not(.unstackable) > .field,
1550
- .ui.form:not(.unstackable) .two.fields:not(.unstackable) > .fields,
1551
- .ui.form:not(.unstackable) .two.fields:not(.unstackable) > .field,
1552
- .ui.form:not(.unstackable) .three.fields:not(.unstackable) > .fields,
1553
- .ui.form:not(.unstackable) .three.fields:not(.unstackable) > .field,
1554
- .ui.form:not(.unstackable) .four.fields:not(.unstackable) > .fields,
1555
- .ui.form:not(.unstackable) .four.fields:not(.unstackable) > .field,
1556
- .ui.form:not(.unstackable) .five.fields:not(.unstackable) > .fields,
1557
- .ui.form:not(.unstackable) .five.fields:not(.unstackable) > .field,
1558
- .ui.form:not(.unstackable) .six.fields:not(.unstackable) > .fields,
1559
- .ui.form:not(.unstackable) .six.fields:not(.unstackable) > .field,
1560
- .ui.form:not(.unstackable) .seven.fields:not(.unstackable) > .fields,
1561
- .ui.form:not(.unstackable) .seven.fields:not(.unstackable) > .field,
1562
- .ui.form:not(.unstackable) .eight.fields:not(.unstackable) > .fields,
1563
- .ui.form:not(.unstackable) .eight.fields:not(.unstackable) > .field,
1564
- .ui.form:not(.unstackable) .nine.fields:not(.unstackable) > .fields,
1565
- .ui.form:not(.unstackable) .nine.fields:not(.unstackable) > .field,
1566
- .ui.form:not(.unstackable) .ten.fields:not(.unstackable) > .fields,
1567
- .ui.form:not(.unstackable) .ten.fields:not(.unstackable) > .field {
1568
- width: 100% !important;
1593
+ .ui.form:not(.unstackable) .fields:not(.unstackable) > .fields,
1594
+ .ui.form:not(.unstackable) .fields:not(.unstackable) > .field {
1595
+ width: 100%;
1569
1596
  margin: 0 0 1em;
1570
1597
  }
1571
1598
  }
@@ -1577,84 +1604,52 @@
1577
1604
  padding-right: 0.5em;
1578
1605
  }
1579
1606
  .ui.form .one.wide.field {
1580
- width: 6.25% !important;
1607
+ width: 6.25%;
1581
1608
  }
1582
1609
  .ui.form .two.wide.field {
1583
- width: 12.5% !important;
1610
+ width: 12.5%;
1584
1611
  }
1585
1612
  .ui.form .three.wide.field {
1586
- width: 18.75% !important;
1613
+ width: 18.75%;
1587
1614
  }
1588
1615
  .ui.form .four.wide.field {
1589
- width: 25% !important;
1616
+ width: 25%;
1590
1617
  }
1591
1618
  .ui.form .five.wide.field {
1592
- width: 31.25% !important;
1619
+ width: 31.25%;
1593
1620
  }
1594
1621
  .ui.form .six.wide.field {
1595
- width: 37.5% !important;
1622
+ width: 37.5%;
1596
1623
  }
1597
1624
  .ui.form .seven.wide.field {
1598
- width: 43.75% !important;
1625
+ width: 43.75%;
1599
1626
  }
1600
1627
  .ui.form .eight.wide.field {
1601
- width: 50% !important;
1628
+ width: 50%;
1602
1629
  }
1603
1630
  .ui.form .nine.wide.field {
1604
- width: 56.25% !important;
1631
+ width: 56.25%;
1605
1632
  }
1606
1633
  .ui.form .ten.wide.field {
1607
- width: 62.5% !important;
1634
+ width: 62.5%;
1608
1635
  }
1609
1636
  .ui.form .eleven.wide.field {
1610
- width: 68.75% !important;
1637
+ width: 68.75%;
1611
1638
  }
1612
1639
  .ui.form .twelve.wide.field {
1613
- width: 75% !important;
1640
+ width: 75%;
1614
1641
  }
1615
1642
  .ui.form .thirteen.wide.field {
1616
- width: 81.25% !important;
1643
+ width: 81.25%;
1617
1644
  }
1618
1645
  .ui.form .fourteen.wide.field {
1619
- width: 87.5% !important;
1646
+ width: 87.5%;
1620
1647
  }
1621
1648
  .ui.form .fifteen.wide.field {
1622
- width: 93.75% !important;
1649
+ width: 93.75%;
1623
1650
  }
1624
1651
  .ui.form .sixteen.wide.field {
1625
- width: 100% !important;
1626
- }
1627
-
1628
- /* Swap to full width on mobile */
1629
- @media only screen and (max-width: 767.98px) {
1630
- .ui.form:not(.unstackable) .two.fields:not(.unstackable) > .fields,
1631
- .ui.form:not(.unstackable) .two.fields:not(.unstackable) > .field,
1632
- .ui.form:not(.unstackable) .three.fields:not(.unstackable) > .fields,
1633
- .ui.form:not(.unstackable) .three.fields:not(.unstackable) > .field,
1634
- .ui.form:not(.unstackable) .four.fields:not(.unstackable) > .fields,
1635
- .ui.form:not(.unstackable) .four.fields:not(.unstackable) > .field,
1636
- .ui.form:not(.unstackable) .five.fields:not(.unstackable) > .fields,
1637
- .ui.form:not(.unstackable) .five.fields:not(.unstackable) > .field,
1638
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .two.wide.field,
1639
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .three.wide.field,
1640
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .four.wide.field,
1641
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .five.wide.field,
1642
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .six.wide.field,
1643
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .seven.wide.field,
1644
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .eight.wide.field,
1645
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .nine.wide.field,
1646
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .ten.wide.field,
1647
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .eleven.wide.field,
1648
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .twelve.wide.field,
1649
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .thirteen.wide.field,
1650
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .fourteen.wide.field,
1651
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .fifteen.wide.field,
1652
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .sixteen.wide.field {
1653
- width: 100% !important;
1654
- }
1655
- .ui.form .fields {
1656
- margin-bottom: 0;
1657
- }
1652
+ width: 100%;
1658
1653
  }
1659
1654
 
1660
1655
  /*--------------------
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI - Grid
2
+ * # Fomantic-UI 2.8.8 - Grid
3
3
  * http://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1320,9 +1320,8 @@
1320
1320
  .ui.grid > .justified.column.column,
1321
1321
  .ui.grid > .row > .justified.column.column {
1322
1322
  text-align: justify;
1323
- -webkit-hyphens: auto;
1324
- -ms-hyphens: auto;
1325
- hyphens: auto;
1323
+ -ms-hyphens: auto;
1324
+ hyphens: auto;
1326
1325
  }
1327
1326
 
1328
1327
  /*----------------------
@@ -1794,7 +1793,7 @@
1794
1793
  --------------------*/
1795
1794
 
1796
1795
  @media only screen and (max-width: 767.98px) {
1797
- .ui.stackable.grid {
1796
+ .ui.ui.ui.ui.stackable.grid {
1798
1797
  width: auto;
1799
1798
  margin-left: 0 !important;
1800
1799
  margin-right: 0 !important;
@@ -1998,6 +1997,9 @@
1998
1997
  Compact
1999
1998
  -----------------*/
2000
1999
 
2000
+ .ui.ui.ui.compact.grid {
2001
+ margin: -0.5rem;
2002
+ }
2001
2003
  .ui.ui.ui.compact.grid > .column:not(.row),
2002
2004
  .ui.ui.ui.compact.grid > .row > .column {
2003
2005
  padding-left: 0.5rem;
@@ -2012,6 +2014,8 @@
2012
2014
  .ui.ui.ui.compact.grid > .row {
2013
2015
  padding-top: 0.5rem;
2014
2016
  padding-bottom: 0.5rem;
2017
+ padding-left: 0;
2018
+ padding-right: 0;
2015
2019
  }
2016
2020
 
2017
2021
  /* Columns */
@@ -2034,6 +2038,9 @@
2034
2038
  Very compact
2035
2039
  -----------------*/
2036
2040
 
2041
+ .ui.ui.ui[class*="very compact"].grid {
2042
+ margin: -0.25rem;
2043
+ }
2037
2044
  .ui.ui.ui[class*="very compact"].grid > .column:not(.row),
2038
2045
  .ui.ui.ui[class*="very compact"].grid > .row > .column {
2039
2046
  padding-left: 0.25rem;
@@ -2048,8 +2055,8 @@
2048
2055
  .ui.ui.ui[class*="very compact"].grid > .row {
2049
2056
  padding-top: 0.25rem;
2050
2057
  padding-bottom: 0.25rem;
2051
- padding-left: 0.75rem;
2052
- padding-right: 0.75rem;
2058
+ padding-left: 0;
2059
+ padding-right: 0;
2053
2060
  }
2054
2061
 
2055
2062
  /* Columns */