toolkit 0.1.10 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,3 +22,8 @@
22
22
  // Import Clearfix
23
23
  //////////////////////////////
24
24
  @import 'toolkit/clearfix';
25
+
26
+ //////////////////////////////
27
+ // Import Vertical Align
28
+ //////////////////////////////
29
+ @import 'toolkit/vertical-align';
@@ -0,0 +1,19 @@
1
+ $legacy-support-for-ie: true !default;
2
+
3
+ //////////////////////////////
4
+ // Vertical Align of content with IE fallback
5
+ //
6
+ // Adapted from http://css-tricks.com/vertically-center-multi-lined-text/
7
+ //////////////////////////////
8
+ @mixin vertical-align {
9
+ display: table-cell;
10
+ vertical-align: middle;
11
+
12
+ @if $legacy-support-for-ie {
13
+ margin-top: inherit;
14
+ *clear: expression(
15
+ style.marginTop = "" + (offsetHeight < parentNode.offsetHeight ? parseInt((parentNode.offsetHeight - offsetHeight) / 2) + "px" : "0"),
16
+ style.clear = "none", 0
17
+ );
18
+ }
19
+ }
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 10
9
- version: 0.1.10
8
+ - 12
9
+ version: 0.1.12
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sam Richard
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-07 00:00:00 -04:00
18
+ date: 2011-08-14 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -43,9 +43,7 @@ dependencies:
43
43
  segments:
44
44
  - 1
45
45
  - 0
46
- - rc
47
- - 4
48
- version: 1.0.rc.4
46
+ version: "1.0"
49
47
  type: :runtime
50
48
  version_requirements: *id002
51
49
  - !ruby/object:Gem::Dependency
@@ -92,6 +90,7 @@ files:
92
90
  - stylesheets/toolkit/_clearfix.scss
93
91
  - stylesheets/toolkit/_fluid-media.scss
94
92
  - stylesheets/toolkit/_pe.scss
93
+ - stylesheets/toolkit/_vertical-align.scss
95
94
  - templates/project/_base.scss
96
95
  - templates/project/manifest.rb
97
96
  - templates/respond-to/_base.scss