semantic-ui-rails 0.10.1 → 0.10.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a6aa31132f8a15cb8b103ee000986c79fbe9aff
4
- data.tar.gz: a53914e024789c09a97093f1734a1cddfa2c31f4
3
+ metadata.gz: a88cd424cd62a09a4e92ac549c63c7c302b5444b
4
+ data.tar.gz: c1f83caee5e047fc8ae712011d1313039858eef2
5
5
  SHA512:
6
- metadata.gz: 1e2661f29d83f5cedda7323da09638f8f2a2eed20a10ad6d5ebdb2ec2d5b8283f6aca65123763a6b43b5105552f15e5b947c35d47d4deb533dce8106333ecfd6
7
- data.tar.gz: b00b8dd0d02df05efba1d41ccb512b18e1448c482e80e06fb9102969947081161577279ca9673ee9dd3a52435033f56b0ac05c0c9f35855ff5a040171b89e713
6
+ metadata.gz: 128ec43df0ea94e3541790ec1d046b5bc958340104113bef0cfad15bbf2dbd2d2248c36a228e0faf63f640f3cdb47a4472f15e45d5cd7c8319c812dce4a3e868
7
+ data.tar.gz: cfbe36f29f2f4c466cb5367e78f19988402ee4e5bc369f25f4ff9ab6bdff38b74fecc205444e48200ae31e6daa8fee632dfd189c95567719d787aaf88741314c
@@ -836,4 +836,12 @@ $.fn.dropdown.settings = {
836
836
 
837
837
  };
838
838
 
839
+ // Adds easing
840
+ $.extend( $.easing, {
841
+ easeOutQuad: function (x, t, b, c, d) {
842
+ return -c *(t/=d)*(t-2) + b;
843
+ },
844
+ });
845
+
846
+
839
847
  })( jQuery, window , document );
@@ -202,13 +202,15 @@ $.fn.sidebar = function(parameters) {
202
202
  add: {
203
203
  bodyCSS: function(direction, distance) {
204
204
  var
205
+ invertDirection,
205
206
  style
206
207
  ;
207
208
  if(direction !== className.bottom) {
209
+ invertDirection = direction === 'right' ? -1 : 1;
208
210
  style = ''
209
211
  + '<style title="' + namespace + '">'
210
212
  + 'body.pushed {'
211
- + ' margin-' + direction + ': ' + distance + 'px !important;'
213
+ + ' margin-left: ' + invertDirection * distance + 'px !important;'
212
214
  + '}'
213
215
  + '</style>'
214
216
  ;
@@ -218,6 +220,7 @@ $.fn.sidebar = function(parameters) {
218
220
  }
219
221
  },
220
222
 
223
+
221
224
  remove: {
222
225
  bodyCSS: function() {
223
226
  module.debug('Removing body css styles', $style);
@@ -286,14 +286,16 @@
286
286
  border-bottom-right-radius: 0px !important;
287
287
  border-right: none;
288
288
  }
289
- .ui.action.input > .button {
289
+ .ui.action.input > .button,
290
+ .ui.action.input > .buttons, {
290
291
  display: table-cell;
291
292
 
292
293
  border-top-left-radius: 0px;
293
294
  border-bottom-left-radius: 0px;
294
295
  white-space: nowrap;
295
296
  }
296
- .ui.action.input > .button > .icon {
297
+ .ui.action.input > .button > .icon,
298
+ .ui.action.input > .buttons > .button > .icon {
297
299
  display: inline;
298
300
  vertical-align: top;
299
301
  }
@@ -17,7 +17,7 @@
17
17
  display: inline-block;
18
18
 
19
19
  font-size: 0em;
20
- vertical-align: baseline;
20
+ vertical-align: middle;
21
21
  margin: 0em 0.5rem 0em 0em;
22
22
  }
23
23
  .ui.rating:last-child {
@@ -1,7 +1,7 @@
1
1
  module Semantic
2
2
  module Ui
3
3
  module Rails
4
- VERSION = "0.10.1"
4
+ VERSION = "0.10.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic-ui-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - nd0ut
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-08 00:00:00.000000000 Z
11
+ date: 2013-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: less-rails