semantic-ui-sass 2.1.4.0 → 2.1.6.0

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 (72) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/app/assets/javascripts/semantic-ui/accordion.js +1 -1
  4. data/app/assets/javascripts/semantic-ui/api.js +1 -1
  5. data/app/assets/javascripts/semantic-ui/checkbox.js +9 -4
  6. data/app/assets/javascripts/semantic-ui/colorize.js +1 -1
  7. data/app/assets/javascripts/semantic-ui/dimmer.js +2 -2
  8. data/app/assets/javascripts/semantic-ui/dropdown.js +77 -52
  9. data/app/assets/javascripts/semantic-ui/embed.js +1 -1
  10. data/app/assets/javascripts/semantic-ui/form.js +6 -4
  11. data/app/assets/javascripts/semantic-ui/modal.js +6 -3
  12. data/app/assets/javascripts/semantic-ui/nag.js +1 -1
  13. data/app/assets/javascripts/semantic-ui/popup.js +12 -3
  14. data/app/assets/javascripts/semantic-ui/progress.js +2 -1
  15. data/app/assets/javascripts/semantic-ui/rating.js +1 -1
  16. data/app/assets/javascripts/semantic-ui/search.js +22 -9
  17. data/app/assets/javascripts/semantic-ui/shape.js +1 -1
  18. data/app/assets/javascripts/semantic-ui/sidebar.js +1 -1
  19. data/app/assets/javascripts/semantic-ui/site.js +1 -1
  20. data/app/assets/javascripts/semantic-ui/state.js +1 -1
  21. data/app/assets/javascripts/semantic-ui/sticky.js +40 -20
  22. data/app/assets/javascripts/semantic-ui/tab.js +1 -1
  23. data/app/assets/javascripts/semantic-ui/transition.js +3 -1
  24. data/app/assets/javascripts/semantic-ui/visibility.js +1 -1
  25. data/app/assets/javascripts/semantic-ui/visit.js +1 -1
  26. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +2 -2
  27. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +55 -51
  28. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +42 -42
  29. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +73 -73
  30. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +50 -50
  31. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +81 -64
  32. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +284 -284
  33. data/app/assets/stylesheets/semantic-ui/elements/_container.scss +1 -1
  34. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +2 -2
  35. data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +1 -1
  36. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +42 -41
  37. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +58 -55
  38. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +1 -1
  39. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +13 -13
  40. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +115 -115
  41. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +3 -3
  42. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +3 -3
  43. data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +1 -1
  44. data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +1 -1
  45. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +52 -47
  46. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +13 -13
  47. data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +1 -1
  48. data/app/assets/stylesheets/semantic-ui/globals/_site.scss +6 -6
  49. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +2 -2
  50. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +19 -19
  51. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +3 -3
  52. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +20 -20
  53. data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +4 -4
  54. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +12 -12
  55. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +4 -4
  56. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +38 -8
  57. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +45 -45
  58. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +9 -9
  59. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +13 -13
  60. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +2 -2
  61. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +2 -2
  62. data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +1 -1
  63. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +1 -1
  64. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1 -1
  65. data/app/assets/stylesheets/semantic-ui/views/_ad.scss +2 -2
  66. data/app/assets/stylesheets/semantic-ui/views/_card.scss +35 -35
  67. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +1 -1
  68. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +3 -3
  69. data/app/assets/stylesheets/semantic-ui/views/_item.scss +5 -5
  70. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +26 -26
  71. data/lib/semantic/ui/sass/version.rb +2 -2
  72. metadata +2 -2
@@ -483,4 +483,4 @@ $.fn.nag.settings = {
483
483
 
484
484
  };
485
485
 
486
- })( jQuery, window , document );
486
+ })( jQuery, window, document );
@@ -423,6 +423,12 @@ $.fn.popup = function(parameters) {
423
423
  }
424
424
  },
425
425
 
426
+ change: {
427
+ content: function(html) {
428
+ $popup.html(html);
429
+ }
430
+ },
431
+
426
432
  get: {
427
433
  html: function() {
428
434
  $module.removeData(metadata.html);
@@ -440,13 +446,16 @@ $.fn.popup = function(parameters) {
440
446
  $module.removeData(metadata.variation);
441
447
  return $module.data(metadata.variation) || settings.variation;
442
448
  },
449
+ popup: function() {
450
+ return $popup;
451
+ },
443
452
  popupOffset: function() {
444
453
  return $popup.offset();
445
454
  },
446
455
  calculations: function() {
447
456
  var
448
457
  targetElement = $target[0],
449
- targetPosition = (settings.inline || settings.popup)
458
+ targetPosition = (settings.inline || (settings.popup && settings.movePopup))
450
459
  ? $target.position()
451
460
  : $target.offset(),
452
461
  calculations = {},
@@ -688,7 +697,7 @@ $.fn.popup = function(parameters) {
688
697
  popup = calculations.popup;
689
698
  parent = calculations.parent;
690
699
 
691
- if(target.width === 0 && target.height === 0) {
700
+ if(target.width === 0 && target.height === 0 && !(target.element instanceof SVGGraphicsElement)) {
692
701
  module.debug('Popup target is hidden, no action taken');
693
702
  return false;
694
703
  }
@@ -1397,4 +1406,4 @@ $.fn.popup.settings = {
1397
1406
  };
1398
1407
 
1399
1408
 
1400
- })( jQuery, window , document );
1409
+ })( jQuery, window, document );
@@ -89,6 +89,7 @@ $.fn.progress = function(parameters) {
89
89
 
90
90
  reset: function() {
91
91
  module.set.percent(0);
92
+ module.set.value(0);
92
93
  },
93
94
 
94
95
  complete: function() {
@@ -791,4 +792,4 @@ $.fn.progress.settings = {
791
792
  };
792
793
 
793
794
 
794
- })( jQuery, window , document );
795
+ })( jQuery, window, document );
@@ -472,4 +472,4 @@ $.fn.rating.settings = {
472
472
 
473
473
  };
474
474
 
475
- })( jQuery, window , document );
475
+ })( jQuery, window, document );
@@ -209,9 +209,7 @@ $.fn.search = function(parameters) {
209
209
  // search shortcuts
210
210
  if(keyCode == keys.escape) {
211
211
  module.verbose('Escape key pressed, blurring search field');
212
- $prompt
213
- .trigger('blur')
214
- ;
212
+ module.trigger.blur();
215
213
  }
216
214
  if( module.is.visible() ) {
217
215
  if(keyCode == keys.enter) {
@@ -311,6 +309,20 @@ $.fn.search = function(parameters) {
311
309
  }
312
310
  },
313
311
 
312
+ trigger: {
313
+ blur: function() {
314
+ var
315
+ events = document.createEvent('HTMLEvents'),
316
+ promptElement = $prompt[0]
317
+ ;
318
+ if(promptElement) {
319
+ module.verbose('Triggering native blur event');
320
+ events.initEvent('blur', false, false);
321
+ promptElement.dispatchEvent(events);
322
+ }
323
+ }
324
+ },
325
+
314
326
  get: {
315
327
  inputEvent: function() {
316
328
  var
@@ -424,8 +436,8 @@ $.fn.search = function(parameters) {
424
436
  else {
425
437
  module.error(error.source);
426
438
  }
427
- settings.onSearchQuery.call(element, searchTerm);
428
439
  }
440
+ settings.onSearchQuery.call(element, searchTerm);
429
441
  }
430
442
  else {
431
443
  module.hideResults();
@@ -1134,6 +1146,7 @@ $.fn.search.settings = {
1134
1146
  price : 'price', // result price
1135
1147
  results : 'results', // array of results (standard)
1136
1148
  title : 'title', // result title
1149
+ url : 'url', // result url
1137
1150
  action : 'action', // "view more" object name
1138
1151
  actionText : 'text', // "view more" text
1139
1152
  actionURL : 'url' // "view more" url
@@ -1211,8 +1224,8 @@ $.fn.search.settings = {
1211
1224
 
1212
1225
  // each item inside category
1213
1226
  $.each(category.results, function(index, result) {
1214
- if(response[fields.url]) {
1215
- html += '<a class="result" href="' + response[fields.url] + '">';
1227
+ if(result[fields.url]) {
1228
+ html += '<a class="result" href="' + result[fields.url] + '">';
1216
1229
  }
1217
1230
  else {
1218
1231
  html += '<a class="result">';
@@ -1262,8 +1275,8 @@ $.fn.search.settings = {
1262
1275
 
1263
1276
  // each result
1264
1277
  $.each(response[fields.results], function(index, result) {
1265
- if(response[fields.url]) {
1266
- html += '<a class="result" href="' + response[fields.url] + '">';
1278
+ if(result[fields.url]) {
1279
+ html += '<a class="result" href="' + result[fields.url] + '">';
1267
1280
  }
1268
1281
  else {
1269
1282
  html += '<a class="result">';
@@ -1304,4 +1317,4 @@ $.fn.search.settings = {
1304
1317
  }
1305
1318
  };
1306
1319
 
1307
- })( jQuery, window , document );
1320
+ })( jQuery, window, document );
@@ -873,4 +873,4 @@ $.fn.shape.settings = {
873
873
  };
874
874
 
875
875
 
876
- })( jQuery, window , document );
876
+ })( jQuery, window, document );
@@ -1019,4 +1019,4 @@ $.fn.sidebar.settings = {
1019
1019
  };
1020
1020
 
1021
1021
 
1022
- })( jQuery, window , document );
1022
+ })( jQuery, window, document );
@@ -484,4 +484,4 @@ $.extend($.expr[ ":" ], {
484
484
  });
485
485
 
486
486
 
487
- })( jQuery, window , document );
487
+ })( jQuery, window, document );
@@ -692,4 +692,4 @@ $.fn.state.settings = {
692
692
 
693
693
 
694
694
 
695
- })( jQuery, window , document );
695
+ })( jQuery, window, document );
@@ -223,8 +223,8 @@ $.fn.sticky = function(parameters) {
223
223
  },
224
224
  positions: function() {
225
225
  var
226
- window = {
227
- height: $window.height()
226
+ scrollContext = {
227
+ height : $scroll.height()
228
228
  },
229
229
  element = {
230
230
  margin: {
@@ -236,17 +236,28 @@ $.fn.sticky = function(parameters) {
236
236
  height : $module.outerHeight()
237
237
  },
238
238
  context = {
239
- offset : $context.offset(),
240
- height : $context.outerHeight()
239
+ offset : $context.offset(),
240
+ height : $context.outerHeight()
241
241
  },
242
242
  container = {
243
243
  height: $container.outerHeight()
244
244
  }
245
245
  ;
246
+ if( !module.is.standardScroll() ) {
247
+ module.debug('Non-standard scroll. Removing scroll offset from element offset');
248
+
249
+ scrollContext.top = $scroll.scrollTop();
250
+ scrollContext.left = $scroll.scrollLeft();
251
+
252
+ element.offset.top += scrollContext.top;
253
+ context.offset.top += scrollContext.top;
254
+ element.offset.left += scrollContext.left;
255
+ context.offset.left += scrollContext.left;
256
+ }
246
257
  module.cache = {
247
- fits : ( element.height < window.height ),
248
- window: {
249
- height: window.height
258
+ fits : ( element.height < scrollContext.height ),
259
+ scrollContext : {
260
+ height : scrollContext.height
250
261
  },
251
262
  element: {
252
263
  margin : element.margin,
@@ -306,9 +317,9 @@ $.fn.sticky = function(parameters) {
306
317
  scroll = scroll || $scroll.scrollTop();
307
318
  var
308
319
  element = module.cache.element,
309
- window = module.cache.window,
320
+ scrollContext = module.cache.scrollContext,
310
321
  delta = module.get.scrollChange(scroll),
311
- maxScroll = (element.height - window.height + settings.offset),
322
+ maxScroll = (element.height - scrollContext.height + settings.offset),
312
323
  elementScroll = module.get.currentElementScroll(),
313
324
  possibleScroll = (elementScroll + delta)
314
325
  ;
@@ -397,6 +408,9 @@ $.fn.sticky = function(parameters) {
397
408
  },
398
409
 
399
410
  is: {
411
+ standardScroll: function() {
412
+ return ($scroll[0] == window);
413
+ },
400
414
  top: function() {
401
415
  return $module.hasClass(className.top);
402
416
  },
@@ -423,14 +437,14 @@ $.fn.sticky = function(parameters) {
423
437
  cache = module.cache,
424
438
  fits = cache.fits,
425
439
  element = cache.element,
426
- window = cache.window,
440
+ scrollContext = cache.scrollContext,
427
441
  context = cache.context,
428
442
  offset = (module.is.bottom() && settings.pushing)
429
443
  ? settings.bottomOffset
430
444
  : settings.offset,
431
445
  scroll = {
432
446
  top : cachedPosition + offset,
433
- bottom : cachedPosition + offset + window.height
447
+ bottom : cachedPosition + offset + scrollContext.height
434
448
  },
435
449
  direction = module.get.direction(scroll.top),
436
450
  elementScroll = (fits)
@@ -504,16 +518,22 @@ $.fn.sticky = function(parameters) {
504
518
  }
505
519
  }
506
520
  else if( module.is.bottom() ) {
507
- if(settings.pushing) {
508
- if(module.is.bound() && scroll.bottom <= context.bottom ) {
509
- module.debug('Fixing bottom attached element to bottom of browser.');
510
- module.fixBottom();
511
- }
521
+ if( scroll.top <= element.top ) {
522
+ module.debug('Jumped from bottom fixed to top fixed, most likely used home/end button');
523
+ module.setInitialPosition();
512
524
  }
513
525
  else {
514
- if(module.is.bound() && (scroll.top <= context.bottom - element.height) ) {
515
- module.debug('Fixing bottom attached element to top of browser.');
516
- module.fixTop();
526
+ if(settings.pushing) {
527
+ if(module.is.bound() && scroll.bottom <= context.bottom ) {
528
+ module.debug('Fixing bottom attached element to bottom of browser.');
529
+ module.fixBottom();
530
+ }
531
+ }
532
+ else {
533
+ if(module.is.bound() && (scroll.top <= context.bottom - element.height) ) {
534
+ module.debug('Fixing bottom attached element to top of browser.');
535
+ module.fixTop();
536
+ }
517
537
  }
518
538
  }
519
539
  }
@@ -884,4 +904,4 @@ $.fn.sticky.settings = {
884
904
 
885
905
  };
886
906
 
887
- })( jQuery, window , document );
907
+ })( jQuery, window, document );
@@ -895,4 +895,4 @@ $.fn.tab.settings = {
895
895
 
896
896
  };
897
897
 
898
- })( jQuery, window , document );
898
+ })( jQuery, window, document );
@@ -228,7 +228,9 @@ $.fn.transition = function() {
228
228
  module.show();
229
229
  }
230
230
  else {
231
+ module.verbose('Static animation completed');
231
232
  module.restore.conditions();
233
+ settings.onComplete.call(element);
232
234
  }
233
235
  }
234
236
  },
@@ -1069,4 +1071,4 @@ $.fn.transition.settings = {
1069
1071
  };
1070
1072
 
1071
1073
 
1072
- })( jQuery, window , document );
1074
+ })( jQuery, window, document );
@@ -1213,4 +1213,4 @@ $.fn.visibility.settings = {
1213
1213
 
1214
1214
  };
1215
1215
 
1216
- })( jQuery, window , document );
1216
+ })( jQuery, window, document );
@@ -514,4 +514,4 @@ $.fn.visit.settings = {
514
514
 
515
515
  };
516
516
 
517
- })( jQuery, window , document );
517
+ })( jQuery, window, document );
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.4 - Breadcrumb
2
+ * # Semantic UI 2.1.6 - Breadcrumb
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -45,7 +45,7 @@
45
45
 
46
46
  /* Link */
47
47
  .ui.breadcrumb a {
48
- color: #4183c4;
48
+ color: #4183C4;
49
49
  }
50
50
  .ui.breadcrumb a:hover {
51
51
  color: #1e70bf;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.4 - Form
2
+ * # Semantic UI 2.1.6 - Form
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -106,7 +106,7 @@
106
106
  line-height: 1.2142em;
107
107
  padding: 0.67861429em 1em;
108
108
  font-size: 1em;
109
- background: #ffffff;
109
+ background: #FFFFFF;
110
110
  border: 1px solid rgba(34, 36, 38, 0.15);
111
111
  color: rgba(0, 0, 0, 0.87);
112
112
  border-radius: 0.28571429rem;
@@ -121,7 +121,7 @@
121
121
  -webkit-appearance: none;
122
122
  tap-highlight-color: rgba(255, 255, 255, 0);
123
123
  padding: 0.78571429em 1em;
124
- background: #ffffff;
124
+ background: #FFFFFF;
125
125
  border: 1px solid rgba(34, 36, 38, 0.15);
126
126
  outline: none;
127
127
  color: rgba(0, 0, 0, 0.87);
@@ -159,7 +159,7 @@
159
159
  display: block;
160
160
  height: auto;
161
161
  width: 100%;
162
- background: #ffffff;
162
+ background: #FFFFFF;
163
163
  border: 1px solid rgba(34, 36, 38, 0.15);
164
164
  border-radius: 0.28571429rem;
165
165
  box-shadow: 0em 0em 0em 0em transparent inset;
@@ -235,15 +235,6 @@
235
235
  width: 0px;
236
236
  }
237
237
 
238
- /*--------------------
239
- Dividers
240
- ---------------------*/
241
-
242
- .ui.form .divider {
243
- clear: both;
244
- margin: 1em 0em;
245
- }
246
-
247
238
  /*--------------------
248
239
  Types of Messages
249
240
  ---------------------*/
@@ -265,9 +256,9 @@
265
256
 
266
257
  .ui.form .field .prompt.label {
267
258
  white-space: normal;
268
- background: #ffffff !important;
269
- border: 1px solid #e0b4b4 !important;
270
- color: #9f3a38 !important;
259
+ background: #FFFFFF !important;
260
+ border: 1px solid #E0B4B4 !important;
261
+ color: #9F3A38 !important;
271
262
  }
272
263
  .ui.form .inline.fields .field .prompt,
273
264
  .ui.form .inline.field .prompt {
@@ -294,20 +285,20 @@
294
285
  ---------------------*/
295
286
 
296
287
  .ui.form .field.field input:-webkit-autofill {
297
- box-shadow: 0px 0px 0px 100px #fffff0 inset !important;
298
- border-color: #e5dfa1 !important;
288
+ box-shadow: 0px 0px 0px 100px #FFFFF0 inset !important;
289
+ border-color: #E5DFA1 !important;
299
290
  }
300
291
 
301
292
  /* Focus */
302
293
  .ui.form .field.field input:-webkit-autofill:focus {
303
- box-shadow: 0px 0px 0px 100px #fffff0 inset !important;
304
- border-color: #d5c315 !important;
294
+ box-shadow: 0px 0px 0px 100px #FFFFF0 inset !important;
295
+ border-color: #D5C315 !important;
305
296
  }
306
297
 
307
298
  /* Error */
308
299
  .ui.form .error.error input:-webkit-autofill {
309
- box-shadow: 0px 0px 0px 100px #fffaf0 inset !important;
310
- border-color: #e0b4b4 !important;
300
+ box-shadow: 0px 0px 0px 100px #FFFAF0 inset !important;
301
+ border-color: #E0B4B4 !important;
311
302
  }
312
303
 
313
304
  /*--------------------
@@ -371,16 +362,16 @@
371
362
  .ui.form input[type="text"]:focus,
372
363
  .ui.form input[type="url"]:focus {
373
364
  color: rgba(0, 0, 0, 0.95);
374
- border-color: #85b7d9;
365
+ border-color: #85B7D9;
375
366
  border-radius: 0.28571429rem;
376
- background: #ffffff;
367
+ background: #FFFFFF;
377
368
  box-shadow: 0px 0em 0em 0em rgba(34, 36, 38, 0.35) inset;
378
369
  }
379
370
  .ui.form textarea:focus {
380
371
  color: rgba(0, 0, 0, 0.95);
381
- border-color: #85b7d9;
372
+ border-color: #85B7D9;
382
373
  border-radius: 0.28571429rem;
383
- background: #ffffff;
374
+ background: #FFFFFF;
384
375
  box-shadow: 0px 0em 0em 0em rgba(34, 36, 38, 0.35) inset;
385
376
  -webkit-appearance: none;
386
377
  }
@@ -438,12 +429,12 @@
438
429
  .ui.form .field.error label,
439
430
  .ui.form .fields.error .field .input,
440
431
  .ui.form .field.error .input {
441
- color: #9f3a38;
432
+ color: #9F3A38;
442
433
  }
443
434
  .ui.form .fields.error .field .corner.label,
444
435
  .ui.form .field.error .corner.label {
445
- border-color: #9f3a38;
446
- color: #ffffff;
436
+ border-color: #9F3A38;
437
+ color: #FFFFFF;
447
438
  }
448
439
  .ui.form .fields.error .field textarea,
449
440
  .ui.form .fields.error .field select,
@@ -471,9 +462,9 @@
471
462
  .ui.form .field.error input[type="time"],
472
463
  .ui.form .field.error input[type="text"],
473
464
  .ui.form .field.error input[type="url"] {
474
- background: #fff6f6;
475
- border-color: #e0b4b4;
476
- color: #9f3a38;
465
+ background: #FFF6F6;
466
+ border-color: #E0B4B4;
467
+ color: #9F3A38;
477
468
  border-radius: '';
478
469
  box-shadow: none;
479
470
  }
@@ -490,9 +481,9 @@
490
481
  .ui.form .field.error input[type="time"]:focus,
491
482
  .ui.form .field.error input[type="text"]:focus,
492
483
  .ui.form .field.error input[type="url"]:focus {
493
- background: #fff6f6;
494
- border-color: #e0b4b4;
495
- color: #9f3a38;
484
+ background: #FFF6F6;
485
+ border-color: #E0B4B4;
486
+ color: #9F3A38;
496
487
  -webkit-appearance: none;
497
488
  box-shadow: none;
498
489
  }
@@ -511,43 +502,43 @@
511
502
  .ui.form .field.error .ui.dropdown,
512
503
  .ui.form .field.error .ui.dropdown .text,
513
504
  .ui.form .field.error .ui.dropdown .item {
514
- background: #fff6f6;
515
- color: #9f3a38;
505
+ background: #FFF6F6;
506
+ color: #9F3A38;
516
507
  }
517
508
  .ui.form .fields.error .field .ui.dropdown,
518
509
  .ui.form .field.error .ui.dropdown {
519
- border-color: #e0b4b4 !important;
510
+ border-color: #E0B4B4 !important;
520
511
  }
521
512
  .ui.form .fields.error .field .ui.dropdown:hover,
522
513
  .ui.form .field.error .ui.dropdown:hover {
523
- border-color: #e0b4b4 !important;
514
+ border-color: #E0B4B4 !important;
524
515
  }
525
516
  .ui.form .fields.error .field .ui.dropdown:hover .menu,
526
517
  .ui.form .field.error .ui.dropdown:hover .menu {
527
- border-color: #e0b4b4;
518
+ border-color: #E0B4B4;
528
519
  }
529
520
  .ui.form .fields.error .field .ui.multiple.selection.dropdown > .label,
530
521
  .ui.form .field.error .ui.multiple.selection.dropdown > .label {
531
- background-color: #eacbcb;
532
- color: #9f3a38;
522
+ background-color: #EACBCB;
523
+ color: #9F3A38;
533
524
  }
534
525
 
535
526
  /* Hover */
536
527
  .ui.form .fields.error .field .ui.dropdown .menu .item:hover,
537
528
  .ui.form .field.error .ui.dropdown .menu .item:hover {
538
- background-color: #fbe7e7;
529
+ background-color: #FBE7E7;
539
530
  }
540
531
 
541
532
  /* Selected */
542
533
  .ui.form .fields.error .field .ui.dropdown .menu .selected.item,
543
534
  .ui.form .field.error .ui.dropdown .menu .selected.item {
544
- background-color: #fbe7e7;
535
+ background-color: #FBE7E7;
545
536
  }
546
537
 
547
538
  /* Active */
548
539
  .ui.form .fields.error .field .ui.dropdown .menu .active.item,
549
540
  .ui.form .field.error .ui.dropdown .menu .active.item {
550
- background-color: #fdcfcf !important;
541
+ background-color: #FDCFCF !important;
551
542
  }
552
543
 
553
544
  /*--------------------
@@ -558,20 +549,20 @@
558
549
  .ui.form .field.error .checkbox:not(.toggle):not(.slider) label,
559
550
  .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) .box,
560
551
  .ui.form .field.error .checkbox:not(.toggle):not(.slider) .box {
561
- color: #9f3a38;
552
+ color: #9F3A38;
562
553
  }
563
554
  .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) label:before,
564
555
  .ui.form .field.error .checkbox:not(.toggle):not(.slider) label:before,
565
556
  .ui.form .fields.error .field .checkbox:not(.toggle):not(.slider) .box:before,
566
557
  .ui.form .field.error .checkbox:not(.toggle):not(.slider) .box:before {
567
- background: #fff6f6;
568
- border-color: #e0b4b4;
558
+ background: #FFF6F6;
559
+ border-color: #E0B4B4;
569
560
  }
570
561
  .ui.form .fields.error .field .checkbox label:after,
571
562
  .ui.form .field.error .checkbox label:after,
572
563
  .ui.form .fields.error .field .checkbox .box:after,
573
564
  .ui.form .field.error .checkbox .box:after {
574
- color: #9f3a38;
565
+ color: #9F3A38;
575
566
  }
576
567
 
577
568
  /*--------------------
@@ -673,7 +664,7 @@
673
664
  .ui.form .required.field > .checkbox:after {
674
665
  margin: -0.2em 0em 0em 0.2em;
675
666
  content: '*';
676
- color: #db2828;
667
+ color: #DB2828;
677
668
  }
678
669
  .ui.form .required.fields:not(.grouped) > .field > label:after,
679
670
  .ui.form .required.fields.grouped > label:after,
@@ -719,7 +710,7 @@
719
710
  .ui.inverted.form input[type="time"],
720
711
  .ui.inverted.form input[type="text"],
721
712
  .ui.inverted.form input[type="url"] {
722
- background: #ffffff;
713
+ background: #FFFFFF;
723
714
  border-color: rgba(255, 255, 255, 0.1);
724
715
  color: rgba(0, 0, 0, 0.87);
725
716
  box-shadow: none;
@@ -951,6 +942,19 @@
951
942
  }
952
943
  }
953
944
 
945
+ /*--------------------
946
+ Equal Width
947
+ ---------------------*/
948
+
949
+ .ui[class*="equal width"].form .fields > .field,
950
+ .ui.form [class*="equal width"].fields > .field {
951
+ width: 100%;
952
+ -webkit-box-flex: 1;
953
+ -webkit-flex: 1 1 auto;
954
+ -ms-flex: 1 1 auto;
955
+ flex: 1 1 auto;
956
+ }
957
+
954
958
  /*--------------------
955
959
  Inline Fields
956
960
  ---------------------*/