eleven40_16 1.2.9 → 1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -49,17 +49,13 @@ $grid960: false;
49
49
  {
50
50
  @include eleven40-mobile-full;
51
51
  }
52
- @else
52
+ @else if $grid960 == true
53
53
  {
54
+ @include eleven40-960;
55
+ }
56
+ @else {
57
+ max-width: 1140px;
54
58
  width: 100%;
55
- @if($grid960 == true)
56
- {
57
- max-width: 960px;
58
- }
59
- @else
60
- {
61
- max-width: 1140px;
62
- }
63
59
  margin: 0 auto;
64
60
  overflow: hidden;
65
61
  }
@@ -71,6 +67,10 @@ $grid960: false;
71
67
  {
72
68
  @include eleven40-mobile-column;
73
69
  }
70
+ @else if $grid960 == true
71
+ {
72
+ @include eleven40-960-column($default-width);
73
+ }
74
74
  @else
75
75
  {
76
76
  width: $default-width;
@@ -0,0 +1,14 @@
1
+ $grid960: true;
2
+
3
+ @mixin eleven40-960 {
4
+ width: 100%;
5
+ max-width: 940px;
6
+ margin: 0 auto;
7
+ overflow: hidden;
8
+ }
9
+
10
+ @mixin eleven40-960-column($default-width) {
11
+ width: $default-width;
12
+ margin-right: 2.5%;
13
+ float: left;
14
+ }
@@ -1,4 +1,3 @@
1
-
2
1
  @mixin eleven40-onecol {
3
2
  @include eleven40-subcolumn(3.95%);
4
3
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eleven40_16
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.9
4
+ version: '1.3'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2011-12-20 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: compass
17
- requirement: &70153753376760 !ruby/object:Gem::Requirement
17
+ requirement: &70095625275960 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: 0.10.0.rc3
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70153753376760
25
+ version_requirements: *70095625275960
26
26
  description: a 16 column cssgrid implementation in compass based in eleven40
27
27
  email: forevertonny@gmail.com
28
28
  executables: []
@@ -32,8 +32,8 @@ files:
32
32
  - README.md
33
33
  - lib/eleven40_16.rb
34
34
  - stylesheets/_eleven40_16.scss
35
- - stylesheets/eleven40_16/_960.scss
36
35
  - stylesheets/eleven40_16/_base.scss
36
+ - stylesheets/eleven40_16/_grid960.scss
37
37
  - stylesheets/eleven40_16/_ie.scss
38
38
  - stylesheets/eleven40_16/_mobile.scss
39
39
  - stylesheets/eleven40_16/_reset.scss
@@ -1 +0,0 @@
1
- $grid960: true;