semantic-ui-sass 1.7.0.0 → 1.7.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/app/assets/javascripts/semantic-ui/accordion.js +100 -47
  4. data/app/assets/javascripts/semantic-ui/api.js +9 -9
  5. data/app/assets/javascripts/semantic-ui/checkbox.js +14 -13
  6. data/app/assets/javascripts/semantic-ui/dimmer.js +9 -9
  7. data/app/assets/javascripts/semantic-ui/dropdown.js +98 -58
  8. data/app/assets/javascripts/semantic-ui/form.js +23 -23
  9. data/app/assets/javascripts/semantic-ui/modal.js +14 -14
  10. data/app/assets/javascripts/semantic-ui/popup.js +91 -40
  11. data/app/assets/javascripts/semantic-ui/progress.js +12 -6
  12. data/app/assets/javascripts/semantic-ui/rating.js +6 -6
  13. data/app/assets/javascripts/semantic-ui/search.js +217 -206
  14. data/app/assets/javascripts/semantic-ui/shape.js +8 -8
  15. data/app/assets/javascripts/semantic-ui/sidebar.js +116 -93
  16. data/app/assets/javascripts/semantic-ui/site.js +2 -2
  17. data/app/assets/javascripts/semantic-ui/state.js +6 -6
  18. data/app/assets/javascripts/semantic-ui/sticky.js +11 -11
  19. data/app/assets/javascripts/semantic-ui/tab.js +12 -12
  20. data/app/assets/javascripts/semantic-ui/transition.js +9 -9
  21. data/app/assets/javascripts/semantic-ui/video.js +4 -4
  22. data/app/assets/javascripts/semantic-ui/visibility.js +3 -3
  23. data/app/assets/javascripts/semantic-ui/visit.js +7 -7
  24. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +1 -1
  25. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +1 -1
  26. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +118 -14
  27. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +23 -9
  28. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +4 -4
  29. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +1 -1
  30. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +127 -126
  31. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +1 -1
  32. data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +1 -2
  33. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +1 -1
  34. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +2 -2
  35. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +1 -1
  36. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +1 -1
  37. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +5 -5
  38. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +4 -3
  39. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +1 -1
  40. data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +1 -1
  41. data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +13 -1
  42. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +1 -7
  43. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +36 -35
  44. data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +1 -1
  45. data/app/assets/stylesheets/semantic-ui/globals/_site.scss +23 -4
  46. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +3 -3
  47. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +1 -1
  48. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +1 -1
  49. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +115 -29
  50. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +1 -1
  51. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +1 -1
  52. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +1 -6
  53. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +13 -1
  54. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +1 -1
  55. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +1 -1
  56. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +1 -1
  57. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +134 -16
  58. data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +1 -1
  59. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +1 -1
  60. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1 -1
  61. data/app/assets/stylesheets/semantic-ui/modules/_video.scss +1 -1
  62. data/app/assets/stylesheets/semantic-ui/views/_ad.scss +13 -1
  63. data/app/assets/stylesheets/semantic-ui/views/_card.scss +1 -1
  64. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +1 -1
  65. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +1 -1
  66. data/app/assets/stylesheets/semantic-ui/views/_item.scss +1 -1
  67. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +1 -1
  68. data/lib/semantic/ui/sass/version.rb +2 -2
  69. metadata +2 -2
@@ -150,7 +150,7 @@ $.site = $.fn.site = function(parameters) {
150
150
  $.fn[name].settings[setting] = value;
151
151
  if(modifyExisting && namespace) {
152
152
  $existingModules = $(':data(module-' + namespace + ')');
153
- if($existingModules.size() > 0) {
153
+ if($existingModules.length > 0) {
154
154
  module.verbose('Modifying existing settings', $existingModules);
155
155
  $existingModules[name]('setting', setting, value);
156
156
  }
@@ -176,7 +176,7 @@ $.site = $.fn.site = function(parameters) {
176
176
  $.extend(true, $.fn[name].settings, newSettings);
177
177
  if(modifyExisting && namespace) {
178
178
  $existingModules = $(':data(module-' + namespace + ')');
179
- if($existingModules.size() > 0) {
179
+ if($existingModules.length > 0) {
180
180
  module.verbose('Modifying existing settings', $existingModules);
181
181
  $existingModules[name]('setting', newSettings);
182
182
  }
@@ -252,7 +252,7 @@ $.fn.state = function(parameters) {
252
252
  if(settings.sync) {
253
253
  module.sync();
254
254
  }
255
- $.proxy(settings.onChange, element)();
255
+ settings.onChange.call(element);
256
256
  },
257
257
 
258
258
  text: function() {
@@ -287,24 +287,24 @@ $.fn.state = function(parameters) {
287
287
  },
288
288
 
289
289
  activate: function() {
290
- if( $.proxy(settings.activateTest, element)() ) {
290
+ if( settings.activateTest.call(element) ) {
291
291
  module.debug('Setting state to active');
292
292
  $module
293
293
  .addClass(className.active)
294
294
  ;
295
295
  module.update.text(text.active);
296
- $.proxy(settings.onActivate, element)();
296
+ settings.onActivate.call(element);
297
297
  }
298
298
  },
299
299
 
300
300
  deactivate: function() {
301
- if($.proxy(settings.deactivateTest, element)() ) {
301
+ if( settings.deactivateTest.call(element) ) {
302
302
  module.debug('Setting state to inactive');
303
303
  $module
304
304
  .removeClass(className.active)
305
305
  ;
306
306
  module.update.text(text.inactive);
307
- $.proxy(settings.onDeactivate, element)();
307
+ settings.onDeactivate.call(element);
308
308
  }
309
309
  },
310
310
 
@@ -347,7 +347,7 @@ $.fn.state = function(parameters) {
347
347
  module.update.text(text);
348
348
  setTimeout(function(){
349
349
  module.update.text(previousText);
350
- $.proxy(callback, element)();
350
+ callback.call(element);
351
351
  }, duration);
352
352
  }
353
353
  },
@@ -68,7 +68,7 @@ $.fn.sticky = function(parameters) {
68
68
  else {
69
69
  $context = $container;
70
70
  }
71
- if($context.size() === 0) {
71
+ if($context.length === 0) {
72
72
  module.error(error.invalidContext, settings.context, $module);
73
73
  return;
74
74
  }
@@ -155,7 +155,7 @@ $.fn.sticky = function(parameters) {
155
155
  scroll: function() {
156
156
  requestAnimationFrame(function() {
157
157
  module.stick();
158
- $.proxy(settings.onScroll, element)();
158
+ settings.onScroll.call(element);
159
159
  });
160
160
  }
161
161
  },
@@ -167,7 +167,7 @@ $.fn.sticky = function(parameters) {
167
167
  }
168
168
  module.save.positions();
169
169
  module.stick();
170
- $.proxy(settings.onReposition, element)();
170
+ settings.onReposition.call(element);
171
171
  },
172
172
 
173
173
  supports: {
@@ -226,7 +226,7 @@ $.fn.sticky = function(parameters) {
226
226
  }
227
227
  };
228
228
  module.set.containerSize();
229
- module.set.size();
229
+ module.set.length;
230
230
  module.stick();
231
231
  module.debug('Caching element positions', module.cache);
232
232
  }
@@ -458,8 +458,8 @@ $.fn.sticky = function(parameters) {
458
458
  .addClass(className.bound)
459
459
  .addClass(className.top)
460
460
  ;
461
- $.proxy(settings.onTop, element)();
462
- $.proxy(settings.onUnstick, element)();
461
+ settings.onTop.call(element);
462
+ settings.onUnstick.call(element);
463
463
  },
464
464
  bindBottom: function() {
465
465
  module.debug('Binding element to bottom of parent container');
@@ -473,8 +473,8 @@ $.fn.sticky = function(parameters) {
473
473
  .addClass(className.bound)
474
474
  .addClass(className.bottom)
475
475
  ;
476
- $.proxy(settings.onBottom, element)();
477
- $.proxy(settings.onUnstick, element)();
476
+ settings.onBottom.call(element);
477
+ settings.onUnstick.call(element);
478
478
  },
479
479
 
480
480
  setInitialPosition: function() {
@@ -493,7 +493,7 @@ $.fn.sticky = function(parameters) {
493
493
  .addClass(className.fixed)
494
494
  .addClass(className.top)
495
495
  ;
496
- $.proxy(settings.onStick, element)();
496
+ settings.onStick.call(element);
497
497
  },
498
498
 
499
499
  fixBottom: function() {
@@ -506,7 +506,7 @@ $.fn.sticky = function(parameters) {
506
506
  .addClass(className.fixed)
507
507
  .addClass(className.bottom)
508
508
  ;
509
- $.proxy(settings.onStick, element)();
509
+ settings.onStick.call(element);
510
510
  },
511
511
 
512
512
  unbind: function() {
@@ -527,7 +527,7 @@ $.fn.sticky = function(parameters) {
527
527
  .removeClass(className.top)
528
528
  .removeClass(className.bottom)
529
529
  ;
530
- $.proxy(settings.onUnstick, this)();
530
+ settings.onUnstick.call(element);
531
531
  },
532
532
 
533
533
  reset: function() {
@@ -98,7 +98,7 @@ $.fn.tab = function(parameters) {
98
98
 
99
99
  // determine tab context
100
100
  if(settings.context === 'parent') {
101
- if($module.closest(selector.ui).size() > 0) {
101
+ if($module.closest(selector.ui).length > 0) {
102
102
  $reference = $module.closest(selector.ui);
103
103
  module.verbose('Using closest UI element for determining parent', $reference);
104
104
  }
@@ -297,8 +297,8 @@ $.fn.tab = function(parameters) {
297
297
  firstLoad = false;
298
298
  module.cache.add(tabPath, $tab.html());
299
299
  module.activate.all(currentPath);
300
- $.proxy(settings.onTabInit, $tab)(currentPath, parameterArray, historyEvent);
301
- $.proxy(settings.onTabLoad, $tab)(currentPath, parameterArray, historyEvent);
300
+ settings.onTabInit.call($tab, currentPath, parameterArray, historyEvent);
301
+ settings.onTabLoad.call($tab, currentPath, parameterArray, historyEvent);
302
302
  }
303
303
  return false;
304
304
  }
@@ -308,9 +308,9 @@ $.fn.tab = function(parameters) {
308
308
  if( !module.cache.read(currentPath) ) {
309
309
  module.cache.add(currentPath, true);
310
310
  module.debug('First time tab loaded calling tab init');
311
- $.proxy(settings.onTabInit, $tab)(currentPath, parameterArray, historyEvent);
311
+ settings.onTabInit.call($tab, currentPath, parameterArray, historyEvent);
312
312
  }
313
- $.proxy(settings.onTabLoad, $tab)(currentPath, parameterArray, historyEvent);
313
+ settings.onTabLoad.call($tab, currentPath, parameterArray, historyEvent);
314
314
  }
315
315
  }
316
316
  else if(tabPath.search('/') == -1 && tabPath !== '') {
@@ -319,13 +319,13 @@ $.fn.tab = function(parameters) {
319
319
  currentPath = $anchor.closest('[data-tab]').data('tab');
320
320
  $tab = module.get.tabElement(currentPath);
321
321
  // if anchor exists use parent tab
322
- if($anchor && $anchor.size() > 0 && currentPath) {
322
+ if($anchor && $anchor.length > 0 && currentPath) {
323
323
  module.debug('No tab found, but deep anchor link present, opening parent tab');
324
324
  module.activate.all(currentPath);
325
325
  if( !module.cache.read(currentPath) ) {
326
326
  module.cache.add(currentPath, true);
327
327
  module.debug('First time tab loaded calling tab init');
328
- $.proxy(settings.onTabInit, $tab)(currentPath, parameterArray, historyEvent);
328
+ settings.onTabInit.call($tab, currentPath, parameterArray, historyEvent);
329
329
  }
330
330
  return false;
331
331
  }
@@ -355,8 +355,8 @@ $.fn.tab = function(parameters) {
355
355
  else {
356
356
  module.debug('Content loaded in background', tabPath);
357
357
  }
358
- $.proxy(settings.onTabInit, $tab)(tabPath, parameterArray, historyEvent);
359
- $.proxy(settings.onTabLoad, $tab)(tabPath, parameterArray, historyEvent);
358
+ settings.onTabInit.call($tab, tabPath, parameterArray, historyEvent);
359
+ settings.onTabLoad.call($tab, tabPath, parameterArray, historyEvent);
360
360
  },
361
361
  urlData: { tab: fullTabPath }
362
362
  },
@@ -373,7 +373,7 @@ $.fn.tab = function(parameters) {
373
373
  module.debug('Showing existing content', fullTabPath);
374
374
  module.content.update(tabPath, cachedContent);
375
375
  module.activate.tab(tabPath);
376
- $.proxy(settings.onTabLoad, $tab)(tabPath, parameterArray, historyEvent);
376
+ settings.onTabLoad.call($tab, tabPath, parameterArray, historyEvent);
377
377
  }
378
378
  else if(existingRequest) {
379
379
  module.debug('Content is already loading', fullTabPath);
@@ -451,7 +451,7 @@ $.fn.tab = function(parameters) {
451
451
  is: {
452
452
  tab: function(tabName) {
453
453
  return (tabName !== undefined)
454
- ? ( module.get.tabElement(tabName).size() > 0 )
454
+ ? ( module.get.tabElement(tabName).length > 0 )
455
455
  : false
456
456
  ;
457
457
  }
@@ -503,7 +503,7 @@ $.fn.tab = function(parameters) {
503
503
  lastTab = module.utilities.last(tabPathArray);
504
504
  $fullPathTab = $tabs.filter('[data-' + metadata.tab + '="' + lastTab + '"]');
505
505
  $simplePathTab = $tabs.filter('[data-' + metadata.tab + '="' + tabPath + '"]');
506
- return ($fullPathTab.size() > 0)
506
+ return ($fullPathTab.length > 0)
507
507
  ? $fullPathTab
508
508
  : $simplePathTab
509
509
  ;
@@ -111,7 +111,7 @@ $.fn.transition = function() {
111
111
  $parentElement = $module.parent(),
112
112
  $nextElement = $module.next()
113
113
  ;
114
- if($nextElement.size() === 0) {
114
+ if($nextElement.length === 0) {
115
115
  $module.detach().appendTo($parentElement);
116
116
  }
117
117
  else {
@@ -183,14 +183,14 @@ $.fn.transition = function() {
183
183
  module.verbose('Animation is outward, hiding element');
184
184
  module.restore.conditions();
185
185
  module.hide();
186
- $.proxy(settings.onHide, this)();
186
+ settings.onHide.call(this);
187
187
  }
188
188
  else if( module.is.inward() ) {
189
189
  module.verbose('Animation is outward, showing element');
190
190
  module.restore.conditions();
191
191
  module.show();
192
192
  module.set.display();
193
- $.proxy(settings.onShow, this)();
193
+ settings.onShow.call(this);
194
194
  }
195
195
  else {
196
196
  module.restore.conditions();
@@ -198,7 +198,7 @@ $.fn.transition = function() {
198
198
  module.remove.animation();
199
199
  module.remove.animating();
200
200
  }
201
- $.proxy(settings.onComplete, this)();
201
+ settings.onComplete.call(this);
202
202
  },
203
203
 
204
204
  has: {
@@ -241,7 +241,7 @@ $.fn.transition = function() {
241
241
  module.add.failSafe();
242
242
  }
243
243
  module.set.duration(settings.duration);
244
- $.proxy(settings.onStart, this)();
244
+ settings.onStart.call(this);
245
245
  module.debug('Starting tween', animation, $module.attr('class'));
246
246
  },
247
247
  duration: function(animationName, duration) {
@@ -635,7 +635,7 @@ $.fn.transition = function() {
635
635
  occuring: function(animation) {
636
636
  animation = animation || settings.animation;
637
637
  animation = animation.replace(' ', '.');
638
- return ( $module.filter(animation).size() > 0 );
638
+ return ( $module.filter(animation).length > 0 );
639
639
  },
640
640
  visible: function() {
641
641
  return $module.is(':visible');
@@ -766,8 +766,8 @@ $.fn.transition = function() {
766
766
  if(moduleSelector) {
767
767
  title += ' \'' + moduleSelector + '\'';
768
768
  }
769
- if($allModules.size() > 1) {
770
- title += ' ' + '(' + $allModules.size() + ')';
769
+ if($allModules.length > 1) {
770
+ title += ' ' + '(' + $allModules.length + ')';
771
771
  }
772
772
  if( (console.group !== undefined || console.table !== undefined) && performance.length > 0) {
773
773
  console.groupCollapsed(title);
@@ -879,7 +879,7 @@ $.fn.transition.settings = {
879
879
  onHide : function() {},
880
880
 
881
881
  // whether timeout should be used to ensure callback fires in cases animationend does not
882
- useFailSafe : false,
882
+ useFailSafe : true,
883
883
 
884
884
  // whether EXACT animation can occur twice in a row
885
885
  allowRepeats : false,
@@ -205,14 +205,14 @@ $.fn.video = function(parameters) {
205
205
  }
206
206
  if(source == 'vimeo') {
207
207
  html = ''
208
- + '<iframe src="http://player.vimeo.com/video/' + id + '?=' + module.generate.url(source) + '"'
208
+ + '<iframe src="//player.vimeo.com/video/' + id + '?=' + module.generate.url(source) + '"'
209
209
  + ' width="100%" height="100%"'
210
210
  + ' frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'
211
211
  ;
212
212
  }
213
213
  else if(source == 'youtube') {
214
214
  html = ''
215
- + '<iframe src="http://www.youtube.com/embed/' + id + '?=' + module.generate.url(source) + '"'
215
+ + '<iframe src="//www.youtube.com/embed/' + id + '?=' + module.generate.url(source) + '"'
216
216
  + ' width="100%" height="100%"'
217
217
  + ' frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'
218
218
  ;
@@ -366,8 +366,8 @@ $.fn.video = function(parameters) {
366
366
  if(moduleSelector) {
367
367
  title += ' \'' + moduleSelector + '\'';
368
368
  }
369
- if($allModules.size() > 1) {
370
- title += ' ' + '(' + $allModules.size() + ')';
369
+ if($allModules.length > 1) {
370
+ title += ' ' + '(' + $allModules.length + ')';
371
371
  }
372
372
  if( (console.group !== undefined || console.table !== undefined) && performance.length > 0) {
373
373
  console.groupCollapsed(title);
@@ -241,7 +241,7 @@ $.fn.visibility = function(parameters) {
241
241
  module.reset();
242
242
  module.save.position();
243
243
  module.checkVisibility();
244
- $.proxy(settings.onRefresh, element)();
244
+ settings.onRefresh.call(element);
245
245
  },
246
246
 
247
247
  reset: function() {
@@ -529,11 +529,11 @@ $.fn.visibility = function(parameters) {
529
529
  if(callback) {
530
530
  if(settings.continuous) {
531
531
  module.debug('Callback being called continuously', callbackName, calculations);
532
- $.proxy(callback, element)(calculations, screen);
532
+ callback.call(element, calculations, screen);
533
533
  }
534
534
  else if(!module.get.occurred(callbackName)) {
535
535
  module.debug('Conditions met', callbackName, calculations);
536
- $.proxy(callback, element)(calculations, screen);
536
+ callback.call(element, calculations, screen);
537
537
  }
538
538
  }
539
539
  module.save.occurred(callbackName);
@@ -197,9 +197,9 @@ $.visit = $.fn.visit = function(parameters) {
197
197
  var
198
198
  $element = $(selector)
199
199
  ;
200
- if($element.size() > 0 && !$.isWindow($element[0])) {
200
+ if($element.length > 0 && !$.isWindow($element[0])) {
201
201
  module.debug('Updating visit count for element', $element);
202
- $displays = ($displays.size() > 0)
202
+ $displays = ($displays.length > 0)
203
203
  ? $displays.add($element)
204
204
  : $element
205
205
  ;
@@ -233,10 +233,10 @@ $.visit = $.fn.visit = function(parameters) {
233
233
  if(settings.limit) {
234
234
  if(value >= settings.limit) {
235
235
  module.debug('Pages viewed exceeded limit, firing callback', value, settings.limit);
236
- $.proxy(settings.onLimit, element)(value);
236
+ settings.onLimit.call(element, value);
237
237
  }
238
238
  module.debug('Limit not reached', value, settings.limit);
239
- $.proxy(settings.onChange, element)(value);
239
+ settings.onChange.call(element, value);
240
240
  }
241
241
  module.update.display(value);
242
242
  }
@@ -245,7 +245,7 @@ $.visit = $.fn.visit = function(parameters) {
245
245
  update: {
246
246
  display: function(value) {
247
247
  value = value || module.get.count();
248
- if($displays.size() > 0) {
248
+ if($displays.length > 0) {
249
249
  module.debug('Updating displayed view count', $displays);
250
250
  $displays.html(value);
251
251
  }
@@ -379,8 +379,8 @@ $.visit = $.fn.visit = function(parameters) {
379
379
  if(moduleSelector) {
380
380
  title += ' \'' + moduleSelector + '\'';
381
381
  }
382
- if($allModules.size() > 1) {
383
- title += ' ' + '(' + $allModules.size() + ')';
382
+ if($allModules.length > 1) {
383
+ title += ' ' + '(' + $allModules.length + ')';
384
384
  }
385
385
  if( (console.group !== undefined || console.table !== undefined) && performance.length > 0) {
386
386
  console.groupCollapsed(title);
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Semantic UI
2
+ * # Semantic UI - 1.7.3
3
3
  * https://github.com/Semantic-Org/Semantic-UI
4
4
  * http://www.semantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Semantic UI
2
+ * # Semantic UI - 1.7.3
3
3
  * https://github.com/Semantic-Org/Semantic-UI
4
4
  * http://www.semantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Semantic UI
2
+ * # Semantic UI - 1.7.3
3
3
  * https://github.com/Semantic-Org/Semantic-UI
4
4
  * http://www.semantic-ui.com/
5
5
  *
@@ -1169,7 +1169,7 @@
1169
1169
  .ui[class*="left aligned"].grid > .row > .column,
1170
1170
  .ui[class*="left aligned"].grid > .column,
1171
1171
  .ui.grid [class*="left aligned"].column,
1172
- .ui.grid > [class*="left aligned"].aligned.row > .column {
1172
+ .ui.grid > [class*="left aligned"].row > .column {
1173
1173
  text-align: left;
1174
1174
  }
1175
1175
  .ui.grid [class*="left aligned"].column {
@@ -1180,7 +1180,7 @@
1180
1180
  .ui[class*="center aligned"].grid,
1181
1181
  .ui[class*="center aligned"].grid > .row > .column,
1182
1182
  .ui[class*="center aligned"].grid > .column,
1183
- .ui.grid > [class*="center aligned"].aligned.row > .column {
1183
+ .ui.grid > [class*="center aligned"].row > .column {
1184
1184
  text-align: center;
1185
1185
  }
1186
1186
  .ui.grid [class*="center aligned"].column {
@@ -1191,7 +1191,7 @@
1191
1191
  .ui[class*="right aligned"].grid,
1192
1192
  .ui[class*="right aligned"].grid > .row > .column,
1193
1193
  .ui[class*="right aligned"].grid > .column,
1194
- .ui.grid > [class*="right aligned"].aligned.row > .column {
1194
+ .ui.grid > [class*="right aligned"].row > .column {
1195
1195
  text-align: right;
1196
1196
  }
1197
1197
  .ui.grid [class*="right aligned"].column {
@@ -1228,7 +1228,7 @@
1228
1228
  .ui[class*="top aligned"].grid > .row > .column,
1229
1229
  .ui[class*="top aligned"].grid > .column,
1230
1230
  .ui.grid [class*="top aligned"].column,
1231
- .ui.grid > [class*="top aligned"].aligned.row > .column {
1231
+ .ui.grid > [class*="top aligned"].row > .column {
1232
1232
  vertical-align: top;
1233
1233
  }
1234
1234
  .ui.grid [class*="top aligned"].column {
@@ -1236,11 +1236,15 @@
1236
1236
  }
1237
1237
 
1238
1238
  /* Middle Aligned */
1239
- .ui[class*="center aligned"].grid,
1239
+ .ui[class*="middle aligned"].grid,
1240
1240
  .ui[class*="middle aligned"].grid > .row > .column,
1241
1241
  .ui[class*="middle aligned"].grid > .column,
1242
- .ui.grid > [class*="middle aligned"].aligned.row > .column {
1242
+ .ui.grid > [class*="middle aligned"].row > .column {
1243
1243
  vertical-align: middle;
1244
+ -webkit-box-align: center;
1245
+ -webkit-align-items: center;
1246
+ -ms-flex-align: center;
1247
+ align-items: center;
1244
1248
  }
1245
1249
  .ui.grid [class*="middle aligned"].column {
1246
1250
  vertical-align: middle !important;
@@ -1250,8 +1254,12 @@
1250
1254
  .ui[class*="bottom aligned"].grid,
1251
1255
  .ui[class*="bottom aligned"].grid > .row > .column,
1252
1256
  .ui[class*="bottom aligned"].grid > .column,
1253
- .ui.grid > [class*="bottom aligned"].aligned.row > .column {
1257
+ .ui.grid > [class*="bottom aligned"].row > .column {
1254
1258
  vertical-align: bottom;
1259
+ -webkit-box-align: end;
1260
+ -webkit-align-items: flex-end;
1261
+ -ms-flex-align: end;
1262
+ align-items: flex-end;
1255
1263
  }
1256
1264
  .ui.grid [class*="bottom aligned"].column {
1257
1265
  vertical-align: bottom !important;
@@ -1372,6 +1380,69 @@
1372
1380
  padding-bottom: 1rem;
1373
1381
  }
1374
1382
 
1383
+ /*----------------------
1384
+ Equal Width
1385
+ -----------------------*/
1386
+
1387
+ .ui[class*="equal width"].grid {
1388
+ display: table;
1389
+ table-layout: fixed;
1390
+ }
1391
+ .ui[class*="equal width"].grid > .row,
1392
+ .ui.grid > [class*="equal width"].row {
1393
+ display: table;
1394
+ table-layout: fixed;
1395
+ width: 100% !important;
1396
+ }
1397
+ .ui[class*="equal width"].grid > .column,
1398
+ .ui[class*="equal width"].grid > .row > .column,
1399
+ .ui.grid > [class*="equal width"].row > .column {
1400
+ display: table-cell;
1401
+ }
1402
+
1403
+ /* Flexbox (Experimental / Overrides Where Supported) */
1404
+ .ui[class*="equal width"].grid {
1405
+ display: -webkit-box;
1406
+ display: -webkit-flex;
1407
+ display: -ms-flexbox;
1408
+ display: flex;
1409
+ -webkit-box-orient: vertical;
1410
+ -webkit-box-direction: normal;
1411
+ -webkit-flex-direction: column;
1412
+ -ms-flex-direction: column;
1413
+ flex-direction: column;
1414
+ }
1415
+ .ui[class*="equal width"].grid > .row,
1416
+ .ui.grid > [class*="equal width"].row {
1417
+ display: -webkit-box;
1418
+ display: -webkit-flex;
1419
+ display: -ms-flexbox;
1420
+ display: flex;
1421
+ -webkit-box-orient: horizontal;
1422
+ -webkit-box-direction: normal;
1423
+ -webkit-flex-direction: row;
1424
+ -ms-flex-direction: row;
1425
+ flex-direction: row;
1426
+ -webkit-box-align: stretch;
1427
+ -webkit-align-items: stretch;
1428
+ -ms-flex-align: stretch;
1429
+ align-items: stretch;
1430
+ }
1431
+ .ui[class*="equal width"].grid > .column,
1432
+ .ui[class*="equal width"].grid > .row > .column,
1433
+ .ui.grid > [class*="equal width"].row > .column {
1434
+ display: inline-block;
1435
+ -webkit-box-orient: vertical;
1436
+ -webkit-box-direction: normal;
1437
+ -webkit-flex-direction: column;
1438
+ -ms-flex-direction: column;
1439
+ flex-direction: column;
1440
+ -webkit-box-flex: 1;
1441
+ -webkit-flex: 1 0 auto;
1442
+ -ms-flex: 1 0 auto;
1443
+ flex: 1 0 auto;
1444
+ }
1445
+
1375
1446
  /*----------------------
1376
1447
  Equal Height Columns
1377
1448
  -----------------------*/
@@ -1381,7 +1452,7 @@
1381
1452
  table-layout: fixed;
1382
1453
  }
1383
1454
  .ui[class*="equal height"].grid > .row,
1384
- .ui[class*="equal height"].row {
1455
+ .ui.grid > [class*="equal height"].row {
1385
1456
  display: table;
1386
1457
  table-layout: fixed;
1387
1458
  width: 100% !important;
@@ -1392,6 +1463,39 @@
1392
1463
  display: table-cell;
1393
1464
  }
1394
1465
 
1466
+ /* Flexbox (Experimental / Overrides Where Supported) */
1467
+ .ui[class*="equal height"].grid,
1468
+ .ui[class*="equal height"].grid > .row,
1469
+ .ui.grid > [class*="equal height"].row {
1470
+ display: -webkit-box;
1471
+ display: -webkit-flex;
1472
+ display: -ms-flexbox;
1473
+ display: flex;
1474
+ -webkit-box-orient: horizontal;
1475
+ -webkit-box-direction: normal;
1476
+ -webkit-flex-direction: row;
1477
+ -ms-flex-direction: row;
1478
+ flex-direction: row;
1479
+ -webkit-box-align: stretch;
1480
+ -webkit-align-items: stretch;
1481
+ -ms-flex-align: stretch;
1482
+ align-items: stretch;
1483
+ }
1484
+ .ui[class*="equal height"].grid > .column,
1485
+ .ui[class*="equal height"].grid > .row > .column,
1486
+ .ui.grid > [class*="equal height"].row > .column {
1487
+ display: inline-block;
1488
+ -webkit-box-orient: vertical;
1489
+ -webkit-box-direction: normal;
1490
+ -webkit-flex-direction: column;
1491
+ -ms-flex-direction: column;
1492
+ flex-direction: column;
1493
+ -webkit-box-flex: 1;
1494
+ -webkit-flex: 1 0 auto;
1495
+ -ms-flex: 1 0 auto;
1496
+ flex: 1 0 auto;
1497
+ }
1498
+
1395
1499
  /*-------------------
1396
1500
  Doubling
1397
1501
  --------------------*/
@@ -1564,8 +1668,8 @@
1564
1668
  .ui.stackable.grid {
1565
1669
  display: block !important;
1566
1670
  width: auto;
1567
- margin-left: 0em !important;
1568
- margin-right: 0em !important;
1671
+ margin-left: -1rem !important;
1672
+ margin-right: -1rem !important;
1569
1673
  padding: 0em;
1570
1674
  }
1571
1675
  .ui.stackable.grid > .row > .wide.column,
@@ -1584,9 +1688,9 @@
1584
1688
  margin: 0em;
1585
1689
  padding: 0em;
1586
1690
  }
1587
- .ui.stackable.grid .column > .ui.stackable.grid {
1588
- margin-left: -1rem !important;
1589
- margin-right: -1rem !important;
1691
+ .ui.stackable.page.grid {
1692
+ margin-left: 0em !important;
1693
+ margin-right: 0em !important;
1590
1694
  }
1591
1695
 
1592
1696
  /* Equal Height Stackable */