fomantic-ui-sass 2.8.2 → 2.8.7

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 (65) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +24 -0
  3. data/app/assets/fonts/semantic-ui/brand-icons.eot +0 -0
  4. data/app/assets/fonts/semantic-ui/brand-icons.svg +928 -689
  5. data/app/assets/fonts/semantic-ui/brand-icons.ttf +0 -0
  6. data/app/assets/fonts/semantic-ui/brand-icons.woff +0 -0
  7. data/app/assets/fonts/semantic-ui/brand-icons.woff2 +0 -0
  8. data/app/assets/fonts/semantic-ui/icons.eot +0 -0
  9. data/app/assets/fonts/semantic-ui/icons.svg +610 -426
  10. data/app/assets/fonts/semantic-ui/icons.ttf +0 -0
  11. data/app/assets/fonts/semantic-ui/icons.woff +0 -0
  12. data/app/assets/fonts/semantic-ui/icons.woff2 +0 -0
  13. data/app/assets/fonts/semantic-ui/outline-icons.eot +0 -0
  14. data/app/assets/fonts/semantic-ui/outline-icons.svg +22 -18
  15. data/app/assets/fonts/semantic-ui/outline-icons.ttf +0 -0
  16. data/app/assets/fonts/semantic-ui/outline-icons.woff +0 -0
  17. data/app/assets/fonts/semantic-ui/outline-icons.woff2 +0 -0
  18. data/app/assets/javascripts/semantic-ui/calendar.js +249 -60
  19. data/app/assets/javascripts/semantic-ui/checkbox.js +2 -2
  20. data/app/assets/javascripts/semantic-ui/dimmer.js +3 -3
  21. data/app/assets/javascripts/semantic-ui/dropdown.js +98 -62
  22. data/app/assets/javascripts/semantic-ui/form.js +97 -35
  23. data/app/assets/javascripts/semantic-ui/modal.js +9 -1
  24. data/app/assets/javascripts/semantic-ui/popup.js +8 -7
  25. data/app/assets/javascripts/semantic-ui/progress.js +20 -24
  26. data/app/assets/javascripts/semantic-ui/search.js +30 -2
  27. data/app/assets/javascripts/semantic-ui/slider.js +8 -8
  28. data/app/assets/javascripts/semantic-ui/tab.js +3 -2
  29. data/app/assets/javascripts/semantic-ui/toast.js +11 -9
  30. data/app/assets/javascripts/semantic-ui/visibility.js +1 -1
  31. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +86 -93
  32. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +8 -6
  33. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +36 -35
  34. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +4 -4
  35. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +39 -23
  36. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +9 -3
  37. data/app/assets/stylesheets/semantic-ui/elements/_emoji.scss +1 -1
  38. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +8 -8
  39. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +159 -18
  40. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +33 -4
  41. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +68 -68
  42. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +38 -2
  43. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +12 -12
  44. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +7 -1
  45. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +16 -9
  46. data/app/assets/stylesheets/semantic-ui/elements/_text.scss +15 -0
  47. data/app/assets/stylesheets/semantic-ui/modules/_calendar.scss +16 -9
  48. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +1 -0
  49. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +26 -23
  50. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +123 -32
  51. data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +6 -6
  52. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +13 -6
  53. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +36 -7
  54. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +32 -3
  55. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +90 -0
  56. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +1 -0
  57. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +2 -1
  58. data/app/assets/stylesheets/semantic-ui/modules/_slider.scss +9 -0
  59. data/app/assets/stylesheets/semantic-ui/modules/_toast.scss +7 -7
  60. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +34 -34
  61. data/app/assets/stylesheets/semantic-ui/views/_card.scss +1 -1
  62. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +5 -5
  63. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +4 -4
  64. data/lib/fomantic/ui/sass/version.rb +2 -2
  65. metadata +6 -6
@@ -239,6 +239,7 @@ $.fn.search = function(parameters) {
239
239
  }
240
240
  module.hideResults();
241
241
  if(href) {
242
+ event.preventDefault();
242
243
  module.verbose('Opening search link found in result', $link);
243
244
  if(target == '_blank' || event.ctrlKey) {
244
245
  window.open(href);
@@ -250,6 +251,25 @@ $.fn.search = function(parameters) {
250
251
  }
251
252
  }
252
253
  },
254
+ ensureVisible: function ensureVisible($el) {
255
+ var elTop, elBottom, resultsScrollTop, resultsHeight;
256
+
257
+ elTop = $el.position().top;
258
+ elBottom = elTop + $el.outerHeight(true);
259
+
260
+ resultsScrollTop = $results.scrollTop();
261
+ resultsHeight = $results.height()
262
+ parseInt($results.css('paddingTop'), 0) +
263
+ parseInt($results.css('paddingBottom'), 0);
264
+
265
+ if (elTop < 0) {
266
+ $results.scrollTop(resultsScrollTop + elTop);
267
+ }
268
+
269
+ else if (resultsHeight < elBottom) {
270
+ $results.scrollTop(resultsScrollTop + (elBottom - resultsHeight));
271
+ }
272
+ },
253
273
  handleKeyboard: function(event) {
254
274
  var
255
275
  // force selector refresh
@@ -301,6 +321,7 @@ $.fn.search = function(parameters) {
301
321
  .closest($category)
302
322
  .addClass(className.active)
303
323
  ;
324
+ module.ensureVisible($result.eq(newIndex));
304
325
  event.preventDefault();
305
326
  }
306
327
  else if(keyCode == keys.downArrow) {
@@ -319,6 +340,7 @@ $.fn.search = function(parameters) {
319
340
  .closest($category)
320
341
  .addClass(className.active)
321
342
  ;
343
+ module.ensureVisible($result.eq(newIndex));
322
344
  event.preventDefault();
323
345
  }
324
346
  }
@@ -952,6 +974,12 @@ $.fn.search = function(parameters) {
952
974
  debug : settings.debug,
953
975
  verbose : settings.verbose,
954
976
  duration : settings.duration,
977
+ onShow : function() {
978
+ var $firstResult = $module.find(selector.result).eq(0);
979
+ if($firstResult.length > 0) {
980
+ module.ensureVisible($firstResult);
981
+ }
982
+ },
955
983
  onComplete : function() {
956
984
  callback();
957
985
  },
@@ -1369,10 +1397,9 @@ $.fn.search.settings = {
1369
1397
  return string;
1370
1398
  }
1371
1399
  var
1372
- badChars = /[&<>"'`]/g,
1400
+ badChars = /[<>"'`]/g,
1373
1401
  shouldEscape = /[&<>"'`]/,
1374
1402
  escape = {
1375
- "&": "&amp;",
1376
1403
  "<": "&lt;",
1377
1404
  ">": "&gt;",
1378
1405
  '"': "&quot;",
@@ -1384,6 +1411,7 @@ $.fn.search.settings = {
1384
1411
  }
1385
1412
  ;
1386
1413
  if(shouldEscape.test(string)) {
1414
+ string = string.replace(/&(?![a-z0-9#]{1,6};)/, "&amp;");
1387
1415
  return string.replace(badChars, escapedChar);
1388
1416
  }
1389
1417
  return string;
@@ -325,7 +325,7 @@ $.fn.slider = function(parameters) {
325
325
  newPos = module.determine.pos(eventPos)
326
326
  ;
327
327
  // Special handling if range mode and both thumbs have the same value
328
- if(module.is.range() && settings.preventCrossover && module.thumbVal === module.secondThumbVal) {
328
+ if(settings.preventCrossover && module.is.range() && module.thumbVal === module.secondThumbVal) {
329
329
  initialPosition = newPos;
330
330
  $currThumb = undefined;
331
331
  } else {
@@ -353,13 +353,13 @@ $.fn.slider = function(parameters) {
353
353
  thumbSmoothVal = module.determine.smoothValueFromEvent(event)
354
354
  ;
355
355
  if(!$currThumb.hasClass('second')) {
356
- if(settings.preventCrossover) {
356
+ if(settings.preventCrossover && module.is.range()) {
357
357
  value = Math.min(secondThumbVal, value);
358
358
  thumbSmoothVal = Math.min(secondThumbVal, thumbSmoothVal);
359
359
  }
360
360
  thumbVal = value;
361
361
  } else {
362
- if(settings.preventCrossover) {
362
+ if(settings.preventCrossover && module.is.range()) {
363
363
  value = Math.max(thumbVal, value);
364
364
  thumbSmoothVal = Math.max(thumbVal, thumbSmoothVal);
365
365
  }
@@ -381,7 +381,7 @@ $.fn.slider = function(parameters) {
381
381
  module.unbind.slidingEvents();
382
382
  },
383
383
  keydown: function(event, first) {
384
- if(module.is.range() && settings.preventCrossover && module.thumbVal === module.secondThumbVal) {
384
+ if(settings.preventCrossover && module.is.range() && module.thumbVal === module.secondThumbVal) {
385
385
  $currThumb = undefined;
386
386
  }
387
387
  if(module.is.focused()) {
@@ -789,9 +789,8 @@ $.fn.slider = function(parameters) {
789
789
  }
790
790
  // Use precision to avoid ugly Javascript floating point rounding issues
791
791
  // (like 35 * .01 = 0.35000000000000003)
792
- difference = Math.round(difference * precision) / precision;
793
792
  module.verbose('Cutting off additional decimal places');
794
- return difference + module.get.min();
793
+ return Math.round((difference + module.get.min()) * precision) / precision;
795
794
  },
796
795
  keyMovement: function(event) {
797
796
  var
@@ -926,12 +925,12 @@ $.fn.slider = function(parameters) {
926
925
  $currThumb = newValue <= module.get.currentThumbValue() ? $thumb : $secondThumb;
927
926
  }
928
927
  if(!$currThumb.hasClass('second')) {
929
- if(settings.preventCrossover) {
928
+ if(settings.preventCrossover && module.is.range()) {
930
929
  newValue = Math.min(module.secondThumbVal, newValue);
931
930
  }
932
931
  module.thumbVal = newValue;
933
932
  } else {
934
- if(settings.preventCrossover) {
933
+ if(settings.preventCrossover && module.is.range()) {
935
934
  newValue = Math.max(module.thumbVal, newValue);
936
935
  }
937
936
  module.secondThumbVal = newValue;
@@ -1271,6 +1270,7 @@ $.fn.slider.settings = {
1271
1270
  labelDistance : 100,
1272
1271
  preventCrossover : true,
1273
1272
  fireOnInit : false,
1273
+ interpretLabel : false,
1274
1274
 
1275
1275
  //the decimal place to round to if step is undefined
1276
1276
  decimalPlaces : 2,
@@ -100,9 +100,9 @@ $.fn.tab = function(parameters) {
100
100
  initializedHistory = true;
101
101
  }
102
102
 
103
- if(instance === undefined && module.determine.activeTab() == null) {
103
+ if(settings.autoTabActivation && instance === undefined && module.determine.activeTab() == null) {
104
104
  module.debug('No active tab detected, setting first tab active', module.get.initialPath());
105
- module.changeTab(module.get.initialPath());
105
+ module.changeTab(settings.autoTabActivation === true ? module.get.initialPath() : settings.autoTabActivation);
106
106
  };
107
107
 
108
108
  module.instantiate();
@@ -953,6 +953,7 @@ $.fn.tab.settings = {
953
953
 
954
954
  apiSettings : false, // settings for api call
955
955
  evaluateScripts : 'once', // whether inline scripts should be parsed (true/false/once). Once will not re-evaluate on cached content
956
+ autoTabActivation: true, // whether a non existing active tab will auto activate the first available tab
956
957
 
957
958
  onFirstLoad : function(tabPath, parameterArray, historyEvent) {}, // called first time loaded
958
959
  onLoad : function(tabPath, parameterArray, historyEvent) {}, // called on every load
@@ -389,13 +389,15 @@ $.fn.toast = function(parameters) {
389
389
  onBeforeHide: function(callback){
390
390
  callback = $.isFunction(callback)?callback : function(){};
391
391
  if(settings.transition.closeEasing !== ''){
392
- $toastBox.css('opacity',0);
393
- $toastBox.wrap('<div/>').parent().slideUp(500,settings.transition.closeEasing,function(){
394
- if($toastBox){
395
- $toastBox.parent().remove();
396
- callback.call($toastBox);
397
- }
398
- });
392
+ if($toastBox) {
393
+ $toastBox.css('opacity', 0);
394
+ $toastBox.wrap('<div/>').parent().slideUp(500, settings.transition.closeEasing, function () {
395
+ if ($toastBox) {
396
+ $toastBox.parent().remove();
397
+ callback.call($toastBox);
398
+ }
399
+ });
400
+ }
399
401
  } else {
400
402
  callback.call($toastBox);
401
403
  }
@@ -519,10 +521,9 @@ $.fn.toast = function(parameters) {
519
521
  return string;
520
522
  }
521
523
  var
522
- badChars = /[&<>"'`]/g,
524
+ badChars = /[<>"'`]/g,
523
525
  shouldEscape = /[&<>"'`]/,
524
526
  escape = {
525
- "&": "&amp;",
526
527
  "<": "&lt;",
527
528
  ">": "&gt;",
528
529
  '"': "&quot;",
@@ -534,6 +535,7 @@ $.fn.toast = function(parameters) {
534
535
  }
535
536
  ;
536
537
  if(shouldEscape.test(string)) {
538
+ string = string.replace(/&(?![a-z0-9#]{1,6};)/, "&amp;");
537
539
  return string.replace(badChars, escapedChar);
538
540
  }
539
541
  return string;
@@ -902,7 +902,7 @@ $.fn.visibility = function(parameters) {
902
902
  element.offset.top += $context.scrollTop() - $context.offset().top;
903
903
  }
904
904
  if(module.is.horizontallyScrollableContext()) {
905
- element.offset.left += $context.scrollLeft - $context.offset().left;
905
+ element.offset.left += $context.scrollLeft() - $context.offset().left;
906
906
  }
907
907
  // store
908
908
  module.cache.element = element;
@@ -39,6 +39,7 @@
39
39
  clear: both;
40
40
  margin: 0 0 1em;
41
41
  }
42
+ .ui.form .fields .fields,
42
43
  .ui.form .field:last-child,
43
44
  .ui.form .fields:last-child .field {
44
45
  margin-bottom: 0;
@@ -405,6 +406,36 @@
405
406
  -webkit-box-shadow: 0 0 0 0 rgba(34, 36, 38, 0.35) inset;
406
407
  box-shadow: 0 0 0 0 rgba(34, 36, 38, 0.35) inset;
407
408
  }
409
+ .ui.form .ui.action.input:not([class*="left action"]) input:not([type]):focus,
410
+ .ui.form .ui.action.input:not([class*="left action"]) input[type="date"]:focus,
411
+ .ui.form .ui.action.input:not([class*="left action"]) input[type="datetime-local"]:focus,
412
+ .ui.form .ui.action.input:not([class*="left action"]) input[type="email"]:focus,
413
+ .ui.form .ui.action.input:not([class*="left action"]) input[type="number"]:focus,
414
+ .ui.form .ui.action.input:not([class*="left action"]) input[type="password"]:focus,
415
+ .ui.form .ui.action.input:not([class*="left action"]) input[type="search"]:focus,
416
+ .ui.form .ui.action.input:not([class*="left action"]) input[type="tel"]:focus,
417
+ .ui.form .ui.action.input:not([class*="left action"]) input[type="time"]:focus,
418
+ .ui.form .ui.action.input:not([class*="left action"]) input[type="text"]:focus,
419
+ .ui.form .ui.action.input:not([class*="left action"]) input[type="file"]:focus,
420
+ .ui.form .ui.action.input:not([class*="left action"]) input[type="url"]:focus {
421
+ border-top-right-radius: 0;
422
+ border-bottom-right-radius: 0;
423
+ }
424
+ .ui.form .ui[class*="left action"].input input:not([type]),
425
+ .ui.form .ui[class*="left action"].input input[type="date"],
426
+ .ui.form .ui[class*="left action"].input input[type="datetime-local"],
427
+ .ui.form .ui[class*="left action"].input input[type="email"],
428
+ .ui.form .ui[class*="left action"].input input[type="number"],
429
+ .ui.form .ui[class*="left action"].input input[type="password"],
430
+ .ui.form .ui[class*="left action"].input input[type="search"],
431
+ .ui.form .ui[class*="left action"].input input[type="tel"],
432
+ .ui.form .ui[class*="left action"].input input[type="time"],
433
+ .ui.form .ui[class*="left action"].input input[type="text"],
434
+ .ui.form .ui[class*="left action"].input input[type="file"],
435
+ .ui.form .ui[class*="left action"].input input[type="url"] {
436
+ border-bottom-left-radius: 0;
437
+ border-top-left-radius: 0;
438
+ }
408
439
  .ui.form textarea:focus {
409
440
  color: rgba(0, 0, 0, 0.95);
410
441
  border-color: #85B7D9;
@@ -530,15 +561,15 @@
530
561
  .ui.form .field.error .transparent.input textarea,
531
562
  .ui.form .field.error input.transparent,
532
563
  .ui.form .field.error textarea.transparent {
533
- background-color: #FFF6F6;
534
- color: #9F3A38;
564
+ background-color: #FFF6F6 !important;
565
+ color: #9F3A38 !important;
535
566
  }
536
567
 
537
568
  /* Autofilled */
538
569
  .ui.form .error.error input:-webkit-autofill {
539
570
  -webkit-box-shadow: 0 0 0 100px #FFFAF0 inset !important;
540
571
  box-shadow: 0 0 0 100px #FFFAF0 inset !important;
541
- border-color: #E0B4B4;
572
+ border-color: #E0B4B4 !important;
542
573
  }
543
574
 
544
575
  /* Placeholder */
@@ -546,7 +577,7 @@
546
577
  color: #e7bdbc;
547
578
  }
548
579
  .ui.form .error :-ms-input-placeholder {
549
- color: #e7bdbc;
580
+ color: #e7bdbc !important;
550
581
  }
551
582
  .ui.form .error ::-moz-placeholder {
552
583
  color: #e7bdbc;
@@ -555,7 +586,7 @@
555
586
  color: #da9796;
556
587
  }
557
588
  .ui.form .error :focus:-ms-input-placeholder {
558
- color: #da9796;
589
+ color: #da9796 !important;
559
590
  }
560
591
  .ui.form .error :focus::-moz-placeholder {
561
592
  color: #da9796;
@@ -606,7 +637,7 @@
606
637
  /* Active */
607
638
  .ui.form .fields.error .field .ui.dropdown .menu .active.item,
608
639
  .ui.form .field.error .ui.dropdown .menu .active.item {
609
- background-color: #FDCFCF;
640
+ background-color: #FDCFCF !important;
610
641
  }
611
642
 
612
643
  /*--------------------
@@ -743,15 +774,15 @@
743
774
  .ui.form .field.info .transparent.input textarea,
744
775
  .ui.form .field.info input.transparent,
745
776
  .ui.form .field.info textarea.transparent {
746
- background-color: #F8FFFF;
747
- color: #276F86;
777
+ background-color: #F8FFFF !important;
778
+ color: #276F86 !important;
748
779
  }
749
780
 
750
781
  /* Autofilled */
751
782
  .ui.form .info.info input:-webkit-autofill {
752
783
  -webkit-box-shadow: 0 0 0 100px #F0FAFF inset !important;
753
784
  box-shadow: 0 0 0 100px #F0FAFF inset !important;
754
- border-color: #b3e0e0;
785
+ border-color: #b3e0e0 !important;
755
786
  }
756
787
 
757
788
  /* Placeholder */
@@ -759,7 +790,7 @@
759
790
  color: #98cfe1;
760
791
  }
761
792
  .ui.form .info :-ms-input-placeholder {
762
- color: #98cfe1;
793
+ color: #98cfe1 !important;
763
794
  }
764
795
  .ui.form .info ::-moz-placeholder {
765
796
  color: #98cfe1;
@@ -768,7 +799,7 @@
768
799
  color: #70bdd6;
769
800
  }
770
801
  .ui.form .info :focus:-ms-input-placeholder {
771
- color: #70bdd6;
802
+ color: #70bdd6 !important;
772
803
  }
773
804
  .ui.form .info :focus::-moz-placeholder {
774
805
  color: #70bdd6;
@@ -819,7 +850,7 @@
819
850
  /* Active */
820
851
  .ui.form .fields.info .field .ui.dropdown .menu .active.item,
821
852
  .ui.form .field.info .ui.dropdown .menu .active.item {
822
- background-color: #cef1fd;
853
+ background-color: #cef1fd !important;
823
854
  }
824
855
 
825
856
  /*--------------------
@@ -956,15 +987,15 @@
956
987
  .ui.form .field.success .transparent.input textarea,
957
988
  .ui.form .field.success input.transparent,
958
989
  .ui.form .field.success textarea.transparent {
959
- background-color: #FCFFF5;
960
- color: #2C662D;
990
+ background-color: #FCFFF5 !important;
991
+ color: #2C662D !important;
961
992
  }
962
993
 
963
994
  /* Autofilled */
964
995
  .ui.form .success.success input:-webkit-autofill {
965
996
  -webkit-box-shadow: 0 0 0 100px #F0FFF0 inset !important;
966
997
  box-shadow: 0 0 0 100px #F0FFF0 inset !important;
967
- border-color: #bee0b3;
998
+ border-color: #bee0b3 !important;
968
999
  }
969
1000
 
970
1001
  /* Placeholder */
@@ -972,7 +1003,7 @@
972
1003
  color: #8fcf90;
973
1004
  }
974
1005
  .ui.form .success :-ms-input-placeholder {
975
- color: #8fcf90;
1006
+ color: #8fcf90 !important;
976
1007
  }
977
1008
  .ui.form .success ::-moz-placeholder {
978
1009
  color: #8fcf90;
@@ -981,7 +1012,7 @@
981
1012
  color: #6cbf6d;
982
1013
  }
983
1014
  .ui.form .success :focus:-ms-input-placeholder {
984
- color: #6cbf6d;
1015
+ color: #6cbf6d !important;
985
1016
  }
986
1017
  .ui.form .success :focus::-moz-placeholder {
987
1018
  color: #6cbf6d;
@@ -1032,7 +1063,7 @@
1032
1063
  /* Active */
1033
1064
  .ui.form .fields.success .field .ui.dropdown .menu .active.item,
1034
1065
  .ui.form .field.success .ui.dropdown .menu .active.item {
1035
- background-color: #dafdce;
1066
+ background-color: #dafdce !important;
1036
1067
  }
1037
1068
 
1038
1069
  /*--------------------
@@ -1169,15 +1200,15 @@
1169
1200
  .ui.form .field.warning .transparent.input textarea,
1170
1201
  .ui.form .field.warning input.transparent,
1171
1202
  .ui.form .field.warning textarea.transparent {
1172
- background-color: #FFFAF3;
1173
- color: #573A08;
1203
+ background-color: #FFFAF3 !important;
1204
+ color: #573A08 !important;
1174
1205
  }
1175
1206
 
1176
1207
  /* Autofilled */
1177
1208
  .ui.form .warning.warning input:-webkit-autofill {
1178
1209
  -webkit-box-shadow: 0 0 0 100px #FFFFe0 inset !important;
1179
1210
  box-shadow: 0 0 0 100px #FFFFe0 inset !important;
1180
- border-color: #e0e0b3;
1211
+ border-color: #e0e0b3 !important;
1181
1212
  }
1182
1213
 
1183
1214
  /* Placeholder */
@@ -1185,7 +1216,7 @@
1185
1216
  color: #edad3e;
1186
1217
  }
1187
1218
  .ui.form .warning :-ms-input-placeholder {
1188
- color: #edad3e;
1219
+ color: #edad3e !important;
1189
1220
  }
1190
1221
  .ui.form .warning ::-moz-placeholder {
1191
1222
  color: #edad3e;
@@ -1194,7 +1225,7 @@
1194
1225
  color: #e39715;
1195
1226
  }
1196
1227
  .ui.form .warning :focus:-ms-input-placeholder {
1197
- color: #e39715;
1228
+ color: #e39715 !important;
1198
1229
  }
1199
1230
  .ui.form .warning :focus::-moz-placeholder {
1200
1231
  color: #e39715;
@@ -1245,7 +1276,7 @@
1245
1276
  /* Active */
1246
1277
  .ui.form .fields.warning .field .ui.dropdown .menu .active.item,
1247
1278
  .ui.form .field.warning .ui.dropdown .menu .active.item {
1248
- background-color: #fdfdce;
1279
+ background-color: #fdfdce !important;
1249
1280
  }
1250
1281
 
1251
1282
  /*--------------------
@@ -1440,6 +1471,9 @@
1440
1471
  margin: 0.5em 0;
1441
1472
  padding: 0;
1442
1473
  }
1474
+ .ui.form .grouped.inline.fields .ui.checkbox {
1475
+ margin-bottom: 0.4em;
1476
+ }
1443
1477
 
1444
1478
  /*--------------------
1445
1479
  Fields
@@ -1513,28 +1547,11 @@
1513
1547
  .ui.form .fields {
1514
1548
  -ms-flex-wrap: wrap;
1515
1549
  flex-wrap: wrap;
1550
+ margin-bottom: 0;
1516
1551
  }
1517
- .ui[class*="equal width"].form:not(.unstackable) .fields > .field,
1518
- .ui.form:not(.unstackable) [class*="equal width"].fields:not(.unstackable) > .field,
1519
- .ui.form:not(.unstackable) .two.fields:not(.unstackable) > .fields,
1520
- .ui.form:not(.unstackable) .two.fields:not(.unstackable) > .field,
1521
- .ui.form:not(.unstackable) .three.fields:not(.unstackable) > .fields,
1522
- .ui.form:not(.unstackable) .three.fields:not(.unstackable) > .field,
1523
- .ui.form:not(.unstackable) .four.fields:not(.unstackable) > .fields,
1524
- .ui.form:not(.unstackable) .four.fields:not(.unstackable) > .field,
1525
- .ui.form:not(.unstackable) .five.fields:not(.unstackable) > .fields,
1526
- .ui.form:not(.unstackable) .five.fields:not(.unstackable) > .field,
1527
- .ui.form:not(.unstackable) .six.fields:not(.unstackable) > .fields,
1528
- .ui.form:not(.unstackable) .six.fields:not(.unstackable) > .field,
1529
- .ui.form:not(.unstackable) .seven.fields:not(.unstackable) > .fields,
1530
- .ui.form:not(.unstackable) .seven.fields:not(.unstackable) > .field,
1531
- .ui.form:not(.unstackable) .eight.fields:not(.unstackable) > .fields,
1532
- .ui.form:not(.unstackable) .eight.fields:not(.unstackable) > .field,
1533
- .ui.form:not(.unstackable) .nine.fields:not(.unstackable) > .fields,
1534
- .ui.form:not(.unstackable) .nine.fields:not(.unstackable) > .field,
1535
- .ui.form:not(.unstackable) .ten.fields:not(.unstackable) > .fields,
1536
- .ui.form:not(.unstackable) .ten.fields:not(.unstackable) > .field {
1537
- width: 100% !important;
1552
+ .ui.form:not(.unstackable) .fields:not(.unstackable) > .fields,
1553
+ .ui.form:not(.unstackable) .fields:not(.unstackable) > .field {
1554
+ width: 100%;
1538
1555
  margin: 0 0 1em;
1539
1556
  }
1540
1557
  }
@@ -1546,84 +1563,52 @@
1546
1563
  padding-right: 0.5em;
1547
1564
  }
1548
1565
  .ui.form .one.wide.field {
1549
- width: 6.25% !important;
1566
+ width: 6.25%;
1550
1567
  }
1551
1568
  .ui.form .two.wide.field {
1552
- width: 12.5% !important;
1569
+ width: 12.5%;
1553
1570
  }
1554
1571
  .ui.form .three.wide.field {
1555
- width: 18.75% !important;
1572
+ width: 18.75%;
1556
1573
  }
1557
1574
  .ui.form .four.wide.field {
1558
- width: 25% !important;
1575
+ width: 25%;
1559
1576
  }
1560
1577
  .ui.form .five.wide.field {
1561
- width: 31.25% !important;
1578
+ width: 31.25%;
1562
1579
  }
1563
1580
  .ui.form .six.wide.field {
1564
- width: 37.5% !important;
1581
+ width: 37.5%;
1565
1582
  }
1566
1583
  .ui.form .seven.wide.field {
1567
- width: 43.75% !important;
1584
+ width: 43.75%;
1568
1585
  }
1569
1586
  .ui.form .eight.wide.field {
1570
- width: 50% !important;
1587
+ width: 50%;
1571
1588
  }
1572
1589
  .ui.form .nine.wide.field {
1573
- width: 56.25% !important;
1590
+ width: 56.25%;
1574
1591
  }
1575
1592
  .ui.form .ten.wide.field {
1576
- width: 62.5% !important;
1593
+ width: 62.5%;
1577
1594
  }
1578
1595
  .ui.form .eleven.wide.field {
1579
- width: 68.75% !important;
1596
+ width: 68.75%;
1580
1597
  }
1581
1598
  .ui.form .twelve.wide.field {
1582
- width: 75% !important;
1599
+ width: 75%;
1583
1600
  }
1584
1601
  .ui.form .thirteen.wide.field {
1585
- width: 81.25% !important;
1602
+ width: 81.25%;
1586
1603
  }
1587
1604
  .ui.form .fourteen.wide.field {
1588
- width: 87.5% !important;
1605
+ width: 87.5%;
1589
1606
  }
1590
1607
  .ui.form .fifteen.wide.field {
1591
- width: 93.75% !important;
1608
+ width: 93.75%;
1592
1609
  }
1593
1610
  .ui.form .sixteen.wide.field {
1594
- width: 100% !important;
1595
- }
1596
-
1597
- /* Swap to full width on mobile */
1598
- @media only screen and (max-width: 767.98px) {
1599
- .ui.form:not(.unstackable) .two.fields:not(.unstackable) > .fields,
1600
- .ui.form:not(.unstackable) .two.fields:not(.unstackable) > .field,
1601
- .ui.form:not(.unstackable) .three.fields:not(.unstackable) > .fields,
1602
- .ui.form:not(.unstackable) .three.fields:not(.unstackable) > .field,
1603
- .ui.form:not(.unstackable) .four.fields:not(.unstackable) > .fields,
1604
- .ui.form:not(.unstackable) .four.fields:not(.unstackable) > .field,
1605
- .ui.form:not(.unstackable) .five.fields:not(.unstackable) > .fields,
1606
- .ui.form:not(.unstackable) .five.fields:not(.unstackable) > .field,
1607
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .two.wide.field,
1608
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .three.wide.field,
1609
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .four.wide.field,
1610
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .five.wide.field,
1611
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .six.wide.field,
1612
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .seven.wide.field,
1613
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .eight.wide.field,
1614
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .nine.wide.field,
1615
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .ten.wide.field,
1616
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .eleven.wide.field,
1617
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .twelve.wide.field,
1618
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .thirteen.wide.field,
1619
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .fourteen.wide.field,
1620
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .fifteen.wide.field,
1621
- .ui.form:not(.unstackable) .fields:not(.unstackable) > .sixteen.wide.field {
1622
- width: 100% !important;
1623
- }
1624
- .ui.form .fields {
1625
- margin-bottom: 0;
1626
- }
1611
+ width: 100%;
1627
1612
  }
1628
1613
 
1629
1614
  /*--------------------
@@ -1687,6 +1672,14 @@
1687
1672
  vertical-align: middle;
1688
1673
  font-size: 1em;
1689
1674
  }
1675
+ .ui.form .inline.fields .field .calendar:not(.popup),
1676
+ .ui.form .inline.field .calendar:not(.popup) {
1677
+ display: inline-block;
1678
+ }
1679
+ .ui.form .inline.fields .field .calendar:not(.popup) > .input > input,
1680
+ .ui.form .inline.field .calendar:not(.popup) > .input > input {
1681
+ width: 13.11em;
1682
+ }
1690
1683
 
1691
1684
  /* Label */
1692
1685
  .ui.form .inline.fields .field > :first-child,