uikit2-rails 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/lib/uikit2/rails/version.rb +1 -1
  3. data/vendor/assets/fonts/FontAwesome.otf +0 -0
  4. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  5. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  6. data/vendor/assets/fonts/fontawesome-webfont.woff2 +0 -0
  7. data/vendor/assets/javascripts/uikit/components/accordion.js +1 -1
  8. data/vendor/assets/javascripts/uikit/components/autocomplete.js +1 -1
  9. data/vendor/assets/javascripts/uikit/components/datepicker.js +1 -1
  10. data/vendor/assets/javascripts/uikit/components/form-password.js +1 -1
  11. data/vendor/assets/javascripts/uikit/components/form-select.js +1 -1
  12. data/vendor/assets/javascripts/uikit/components/grid.js +1 -1
  13. data/vendor/assets/javascripts/uikit/components/htmleditor.js +1 -1
  14. data/vendor/assets/javascripts/uikit/components/lightbox.js +1 -1
  15. data/vendor/assets/javascripts/uikit/components/nestable.js +1 -1
  16. data/vendor/assets/javascripts/uikit/components/notify.js +1 -1
  17. data/vendor/assets/javascripts/uikit/components/pagination.js +1 -1
  18. data/vendor/assets/javascripts/uikit/components/parallax.js +4 -4
  19. data/vendor/assets/javascripts/uikit/components/search.js +1 -1
  20. data/vendor/assets/javascripts/uikit/components/slider.js +1 -1
  21. data/vendor/assets/javascripts/uikit/components/slideset.js +1 -1
  22. data/vendor/assets/javascripts/uikit/components/slideshow-fx.js +1 -1
  23. data/vendor/assets/javascripts/uikit/components/slideshow.js +11 -4
  24. data/vendor/assets/javascripts/uikit/components/sortable.js +2 -2
  25. data/vendor/assets/javascripts/uikit/components/sticky.js +14 -8
  26. data/vendor/assets/javascripts/uikit/components/timepicker.js +1 -1
  27. data/vendor/assets/javascripts/uikit/components/tooltip.js +1 -1
  28. data/vendor/assets/javascripts/uikit/components/upload.js +1 -1
  29. data/vendor/assets/javascripts/uikit/core/alert.js +1 -1
  30. data/vendor/assets/javascripts/uikit/core/button.js +1 -1
  31. data/vendor/assets/javascripts/uikit/core/core.js +2 -2
  32. data/vendor/assets/javascripts/uikit/core/cover.js +1 -1
  33. data/vendor/assets/javascripts/uikit/core/dropdown.js +4 -1
  34. data/vendor/assets/javascripts/uikit/core/grid.js +1 -1
  35. data/vendor/assets/javascripts/uikit/core/modal.js +10 -7
  36. data/vendor/assets/javascripts/uikit/core/nav.js +1 -1
  37. data/vendor/assets/javascripts/uikit/core/offcanvas.js +1 -1
  38. data/vendor/assets/javascripts/uikit/core/scrollspy.js +2 -2
  39. data/vendor/assets/javascripts/uikit/core/smooth-scroll.js +1 -1
  40. data/vendor/assets/javascripts/uikit/core/switcher.js +1 -1
  41. data/vendor/assets/javascripts/uikit/core/tab.js +1 -1
  42. data/vendor/assets/javascripts/uikit/core/toggle.js +1 -1
  43. data/vendor/assets/javascripts/uikit/core/touch.js +1 -1
  44. data/vendor/assets/javascripts/uikit/core/utility.js +2 -2
  45. data/vendor/assets/stylesheets/uikit.almost-flat.css +68 -1
  46. data/vendor/assets/stylesheets/uikit.css +68 -1
  47. data/vendor/assets/stylesheets/uikit.gradient.css +68 -1
  48. data/vendor/assets/stylesheets/uikit/components/accordion.almost-flat.css +1 -1
  49. data/vendor/assets/stylesheets/uikit/components/accordion.css +1 -1
  50. data/vendor/assets/stylesheets/uikit/components/accordion.gradient.css +1 -1
  51. data/vendor/assets/stylesheets/uikit/components/autocomplete.almost-flat.css +1 -1
  52. data/vendor/assets/stylesheets/uikit/components/autocomplete.css +1 -1
  53. data/vendor/assets/stylesheets/uikit/components/autocomplete.gradient.css +1 -1
  54. data/vendor/assets/stylesheets/uikit/components/datepicker.almost-flat.css +1 -1
  55. data/vendor/assets/stylesheets/uikit/components/datepicker.css +1 -1
  56. data/vendor/assets/stylesheets/uikit/components/datepicker.gradient.css +1 -1
  57. data/vendor/assets/stylesheets/uikit/components/dotnav.almost-flat.css +1 -1
  58. data/vendor/assets/stylesheets/uikit/components/dotnav.css +1 -1
  59. data/vendor/assets/stylesheets/uikit/components/dotnav.gradient.css +1 -1
  60. data/vendor/assets/stylesheets/uikit/components/form-advanced.almost-flat.css +1 -1
  61. data/vendor/assets/stylesheets/uikit/components/form-advanced.css +1 -1
  62. data/vendor/assets/stylesheets/uikit/components/form-advanced.gradient.css +1 -1
  63. data/vendor/assets/stylesheets/uikit/components/form-file.almost-flat.css +1 -1
  64. data/vendor/assets/stylesheets/uikit/components/form-file.css +1 -1
  65. data/vendor/assets/stylesheets/uikit/components/form-file.gradient.css +1 -1
  66. data/vendor/assets/stylesheets/uikit/components/form-password.almost-flat.css +1 -1
  67. data/vendor/assets/stylesheets/uikit/components/form-password.css +1 -1
  68. data/vendor/assets/stylesheets/uikit/components/form-password.gradient.css +1 -1
  69. data/vendor/assets/stylesheets/uikit/components/form-select.almost-flat.css +1 -1
  70. data/vendor/assets/stylesheets/uikit/components/form-select.css +1 -1
  71. data/vendor/assets/stylesheets/uikit/components/form-select.gradient.css +1 -1
  72. data/vendor/assets/stylesheets/uikit/components/htmleditor.almost-flat.css +1 -1
  73. data/vendor/assets/stylesheets/uikit/components/htmleditor.css +1 -1
  74. data/vendor/assets/stylesheets/uikit/components/htmleditor.gradient.css +1 -1
  75. data/vendor/assets/stylesheets/uikit/components/nestable.almost-flat.css +1 -1
  76. data/vendor/assets/stylesheets/uikit/components/nestable.css +1 -1
  77. data/vendor/assets/stylesheets/uikit/components/nestable.gradient.css +1 -1
  78. data/vendor/assets/stylesheets/uikit/components/notify.almost-flat.css +1 -1
  79. data/vendor/assets/stylesheets/uikit/components/notify.css +1 -1
  80. data/vendor/assets/stylesheets/uikit/components/notify.gradient.css +1 -1
  81. data/vendor/assets/stylesheets/uikit/components/placeholder.almost-flat.css +1 -1
  82. data/vendor/assets/stylesheets/uikit/components/placeholder.css +1 -1
  83. data/vendor/assets/stylesheets/uikit/components/placeholder.gradient.css +1 -1
  84. data/vendor/assets/stylesheets/uikit/components/progress.almost-flat.css +1 -1
  85. data/vendor/assets/stylesheets/uikit/components/progress.css +1 -1
  86. data/vendor/assets/stylesheets/uikit/components/progress.gradient.css +1 -1
  87. data/vendor/assets/stylesheets/uikit/components/search.almost-flat.css +1 -1
  88. data/vendor/assets/stylesheets/uikit/components/search.css +1 -1
  89. data/vendor/assets/stylesheets/uikit/components/search.gradient.css +1 -1
  90. data/vendor/assets/stylesheets/uikit/components/slidenav.almost-flat.css +1 -1
  91. data/vendor/assets/stylesheets/uikit/components/slidenav.css +1 -1
  92. data/vendor/assets/stylesheets/uikit/components/slidenav.gradient.css +1 -1
  93. data/vendor/assets/stylesheets/uikit/components/slider.almost-flat.css +1 -1
  94. data/vendor/assets/stylesheets/uikit/components/slider.css +1 -1
  95. data/vendor/assets/stylesheets/uikit/components/slider.gradient.css +1 -1
  96. data/vendor/assets/stylesheets/uikit/components/slideshow.almost-flat.css +1 -1
  97. data/vendor/assets/stylesheets/uikit/components/slideshow.css +1 -1
  98. data/vendor/assets/stylesheets/uikit/components/slideshow.gradient.css +1 -1
  99. data/vendor/assets/stylesheets/uikit/components/sortable.almost-flat.css +1 -1
  100. data/vendor/assets/stylesheets/uikit/components/sortable.css +1 -1
  101. data/vendor/assets/stylesheets/uikit/components/sortable.gradient.css +1 -1
  102. data/vendor/assets/stylesheets/uikit/components/sticky.almost-flat.css +1 -1
  103. data/vendor/assets/stylesheets/uikit/components/sticky.css +1 -1
  104. data/vendor/assets/stylesheets/uikit/components/sticky.gradient.css +1 -1
  105. data/vendor/assets/stylesheets/uikit/components/tooltip.almost-flat.css +1 -1
  106. data/vendor/assets/stylesheets/uikit/components/tooltip.css +1 -1
  107. data/vendor/assets/stylesheets/uikit/components/tooltip.gradient.css +1 -1
  108. data/vendor/assets/stylesheets/uikit/components/upload.almost-flat.css +1 -1
  109. data/vendor/assets/stylesheets/uikit/components/upload.css +1 -1
  110. data/vendor/assets/stylesheets/uikit/components/upload.gradient.css +1 -1
  111. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7bedafb2de8fefbeefd4b4d0ca0e29a5d9469a7e
4
- data.tar.gz: cc9953bc441104fad9c8eb8f17f4f970dd20439b
3
+ metadata.gz: 35f43cc4e5b412a795a8e22dc80163c482dbd1ff
4
+ data.tar.gz: 9e8fcc6a21ded31e21caf2581d4dc51adf2c52a4
5
5
  SHA512:
6
- metadata.gz: ce64661010a420f30951392662cb300600d2c4c21a7acd086eefac10c9e9b0fe177d665f2e96fcbe51059c3d3b19cf1f7cad293721b6b70007772987b8157b04
7
- data.tar.gz: db4a3e7627f84a77e8f517ffff40ebf32ea707de699869e8da4a7242b061743b744819a928324e99c0a64c9733635501dd0a2ef2b3fc35a47b0d2342b07c513d
6
+ metadata.gz: 01ae5bf83dbe1ca0308e3ccf8d9c1c258c07e61d2355866cd0a70528a838786986d1c72dd9d025c52c7aadddb2b0ff4cdfd7f5faa16912a2c4123f0b164a2301
7
+ data.tar.gz: 5e13121840a9ce05d2a9ddad20032735a86ef81c8902f3e41e057b3074811a468f0dbfc6f9b09c301d8bf64337fad449e8dc8de7778220a16a05e24d7669ce5e
@@ -1,5 +1,5 @@
1
1
  module Uikit2
2
2
  module Rails
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
Binary file
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
  var component;
4
4
 
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  /*
3
3
  * Based on Nestable jQuery Plugin - Copyright (c) 2012 David Bushell - http://dbushell.com/
4
4
  */
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  /*
3
3
  * Based on simplePagination - Copyright (c) 2012 Flavius Matis - http://flaviusmatis.github.com/simplePagination.js/ (MIT)
4
4
  */
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -239,9 +239,9 @@
239
239
  case "bg":
240
240
 
241
241
  // don't move if image height is too small
242
- if ($this.element.data('bgsize') && ($this.element.data('bgsize').h + val - window.innerHeight) < 0) {
243
- break;
244
- }
242
+ // if ($this.element.data('bgsize') && ($this.element.data('bgsize').h + val - window.innerHeight) < 0) {
243
+ // break;
244
+ // }
245
245
 
246
246
  css['background-position'] = '50% '+val+'px';
247
247
  break;
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -105,7 +105,14 @@
105
105
 
106
106
  var cover = UI.$('<div class="uk-cover-background uk-position-cover"></div>').css({'background-image':'url('+ media.attr('src') + ')'});
107
107
 
108
- media.css({'width': '100%','height': 'auto'});
108
+ if (media.attr('width') && media.attr('height')) {
109
+ placeholder = UI.$('<canvas></canvas>').attr({width:media.attr('width'), height:media.attr('height')});
110
+ media.replaceWith(placeholder);
111
+ media = placeholder;
112
+ placeholder = undefined;
113
+ }
114
+
115
+ media.css({width: '100%',height: 'auto', opacity:0});
109
116
  slide.prepend(cover).data('cover', cover);
110
117
  break;
111
118
 
@@ -347,11 +354,11 @@
347
354
  },
348
355
 
349
356
  next: function() {
350
- this.show(this.slides[this.current + 1] ? (this.current + 1) : 0);
357
+ this.show(this.slides[this.current + 1] ? (this.current + 1) : 0, 1);
351
358
  },
352
359
 
353
360
  previous: function() {
354
- this.show(this.slides[this.current - 1] ? (this.current - 1) : (this.slides.length - 1));
361
+ this.show(this.slides[this.current - 1] ? (this.current - 1) : (this.slides.length - 1), -1);
355
362
  },
356
363
 
357
364
  start: function() {
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  /*
3
3
  * Based on nativesortable - Copyright (c) Brian Grinstead - https://github.com/bgrins/nativesortable
4
4
  */
@@ -386,7 +386,7 @@
386
386
 
387
387
  dragMove: function(e, elem) {
388
388
 
389
- overElement = UI.$(document.elementFromPoint(e.pageX - document.body.scrollLeft, e.pageY - document.body.scrollTop));
389
+ overElement = UI.$(document.elementFromPoint(e.pageX - (document.body.scrollLeft || document.scrollLeft || 0), e.pageY - (document.body.scrollTop || document.documentElement.scrollTop || 0)));
390
390
 
391
391
  var overRoot = overElement.closest('.'+this.options.baseClass),
392
392
  groupOver = overRoot.data("sortable-group"),
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -53,8 +53,8 @@
53
53
  if (!sticked.length) return;
54
54
 
55
55
  for (var i = 0; i < sticked.length; i++) {
56
- //sticked[i].reset(true);
57
- sticked[i].self.computeWrapper();
56
+ sticked[i].reset(true);
57
+ //sticked[i].self.computeWrapper();
58
58
  }
59
59
 
60
60
  checkscrollposition();
@@ -106,7 +106,7 @@
106
106
  currentTop : null,
107
107
  wrapper : this.wrapper,
108
108
  init : false,
109
- getWidthFrom : this.options.getWidthFrom || this.wrapper,
109
+ getWidthFrom : UI.$(this.options.getWidthFrom || this.wrapper),
110
110
  boundary : boundary,
111
111
  boundtoparent : boundtoparent,
112
112
  top : 0,
@@ -237,6 +237,12 @@
237
237
  'float' : this.element.css('float') != 'none' ? this.element.css('float') : '',
238
238
  'margin' : this.element.css('margin')
239
239
  });
240
+
241
+ if (this.element.css('position') == 'fixed') {
242
+ this.element.css({
243
+ width: this.sticky.getWidthFrom.length ? this.sticky.getWidthFrom.width() : this.element.width()
244
+ });
245
+ }
240
246
  }
241
247
  });
242
248
 
@@ -294,10 +300,10 @@
294
300
  if (sticky.currentTop != newTop) {
295
301
 
296
302
  sticky.element.css({
297
- "position" : "fixed",
298
- "top" : newTop,
299
- "width" : (typeof sticky.getWidthFrom !== 'undefined') ? UI.$(sticky.getWidthFrom).width() : sticky.element.width(),
300
- "left" : sticky.wrapper.offset().left
303
+ position : "fixed",
304
+ top : newTop,
305
+ width : sticky.getWidthFrom.length ? sticky.getWidthFrom.width() : sticky.element.width(),
306
+ left : sticky.wrapper.offset().left
301
307
  });
302
308
 
303
309
  if (!sticky.init) {
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
  var component;
4
4
 
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(addon) {
3
3
 
4
4
  var component;
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(UI) {
3
3
 
4
4
  "use strict";
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(UI) {
3
3
 
4
4
  "use strict";
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(core) {
3
3
 
4
4
  if (typeof define == "function" && define.amd) { // AMD
@@ -44,7 +44,7 @@
44
44
 
45
45
  var UI = {}, _UI = global.UIkit ? Object.create(global.UIkit) : undefined;
46
46
 
47
- UI.version = '2.24.0';
47
+ UI.version = '2.24.2';
48
48
 
49
49
  UI.noConflict = function() {
50
50
  // restore UIkit version
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(UI){
3
3
 
4
4
  "use strict";
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(UI) {
3
3
 
4
4
  "use strict";
@@ -190,6 +190,9 @@
190
190
  }
191
191
 
192
192
  if (active && active == $this) {
193
+ if (!$this.dropdown.find(e.target).length || $target.is(".uk-dropdown-close") || $target.parents(".uk-dropdown-close").length) {
194
+ $this.hide();
195
+ }
193
196
  return;
194
197
  }
195
198
 
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(UI) {
3
3
 
4
4
  "use strict";
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(UI) {
3
3
 
4
4
  "use strict";
@@ -144,14 +144,17 @@
144
144
 
145
145
  if (scrollable.length) {
146
146
 
147
- scrollable.css("height", 0);
147
+ scrollable.css('height', 0);
148
148
 
149
- var offset = Math.abs(parseInt(this.dialog.css("margin-top"), 10)),
149
+ var offset = Math.abs(parseInt(this.dialog.css('margin-top'), 10)),
150
150
  dh = this.dialog.outerHeight(),
151
151
  wh = window.innerHeight,
152
152
  h = wh - 2*(offset < 20 ? 20:offset) - dh;
153
153
 
154
- scrollable.css("height", h < this.options.minScrollHeight ? "":h);
154
+ scrollable.css({
155
+ 'max-height': (h < this.options.minScrollHeight ? '':h),
156
+ 'height':''
157
+ });
155
158
 
156
159
  return true;
157
160
  }
@@ -165,19 +168,19 @@
165
168
  if (activeCount > 0) activeCount--;
166
169
  else activeCount = 0;
167
170
 
168
- this.element.hide().removeClass("uk-open");
171
+ this.element.hide().removeClass('uk-open');
169
172
 
170
173
  // Update ARIA
171
174
  this.element.attr('aria-hidden', 'true');
172
175
 
173
176
  if (!activeCount) {
174
- $html.removeClass("uk-modal-page");
177
+ $html.removeClass('uk-modal-page');
175
178
  body.css(this.paddingdir, "");
176
179
  }
177
180
 
178
181
  if(active===this) active = false;
179
182
 
180
- this.trigger("hide.uk.modal");
183
+ this.trigger('hide.uk.modal');
181
184
  },
182
185
 
183
186
  isActive: function() {
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(UI) {
3
3
 
4
4
  "use strict";
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(UI) {
3
3
 
4
4
  "use strict";
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(UI) {
3
3
 
4
4
  "use strict";
@@ -179,7 +179,7 @@
179
179
  if (!target) return;
180
180
 
181
181
  if ($this.options.closest) {
182
- links.closest(clsClosest).removeClass(clsActive);
182
+ links.blur().closest(clsClosest).removeClass(clsActive);
183
183
  navitems = links.filter("a[href='#"+target.attr("id")+"']").closest(clsClosest).addClass(clsActive);
184
184
  } else {
185
185
  navitems = links.removeClass(clsActive).filter("a[href='#"+target.attr("id")+"']").addClass(clsActive);
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(UI) {
3
3
 
4
4
  "use strict";
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(UI) {
3
3
 
4
4
  "use strict";
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
  (function(UI) {
3
3
 
4
4
  "use strict";