susy 1.0.alpha.1 → 1.0.alpha.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.
- data/CHANGELOG.mkdn +1 -1
- data/README.mkdn +5 -5
- data/REFERENCE.mkdn +3 -3
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/sass/susy/_grid.scss +3 -4
- data/susy.gemspec +5 -5
- metadata +9 -8
data/CHANGELOG.mkdn
CHANGED
@@ -5,7 +5,7 @@ v1.0.alpha.1 [May 9 2012]
|
|
5
5
|
-------------------------
|
6
6
|
|
7
7
|
Due to a conflict with the Compass CSS3 module, the `columns` mixin has been
|
8
|
-
renamed `span-columns`.
|
8
|
+
renamed `span-columns`. In order to upgrade, you should simply search and replace `@include columns` (or `+columns`) in your project files.
|
9
9
|
|
10
10
|
v1.0.alpha.0 [May 7 2012]
|
11
11
|
-------------------------
|
data/README.mkdn
CHANGED
@@ -47,7 +47,7 @@ $grid-padding : $gutter-width; /* 1em padding on the grid */
|
|
47
47
|
|
48
48
|
The basic grid is composed using two simple mixins:
|
49
49
|
* Apply the `container` mixin to create your initial grid context.
|
50
|
-
* Apply the `columns` mixin to declare the width of an element on the grid.
|
50
|
+
* Apply the `span-columns` mixin to declare the width of an element on the grid.
|
51
51
|
|
52
52
|
Use the 'omega' trigger to declare elements that span the _final_ column of
|
53
53
|
their parent element, and pass a 'context' in nested situations. The
|
@@ -66,13 +66,13 @@ For example:
|
|
66
66
|
header { ... }
|
67
67
|
*/
|
68
68
|
|
69
|
-
nav { @include columns(3); }
|
69
|
+
nav { @include span-columns(3); }
|
70
70
|
|
71
71
|
#content {
|
72
|
-
@include columns(9 omega);
|
72
|
+
@include span-columns(9 omega);
|
73
73
|
|
74
|
-
#main { @include columns(6,9); }
|
75
|
-
aside { @include columns(3 omega,9); }
|
74
|
+
#main { @include span-columns(6,9); }
|
75
|
+
aside { @include span-columns(3 omega,9); }
|
76
76
|
}
|
77
77
|
|
78
78
|
footer { clear: both; }
|
data/REFERENCE.mkdn
CHANGED
@@ -63,8 +63,8 @@ $grid-padding : $gutter-width !default;
|
|
63
63
|
- Default: `$total-columns`.
|
64
64
|
|
65
65
|
```scss
|
66
|
-
nav { @include columns(3,12); }
|
67
|
-
article { @include columns(9 omega,12); }
|
66
|
+
nav { @include span-columns(3,12); }
|
67
|
+
article { @include span-columns(9 omega,12); }
|
68
68
|
```
|
69
69
|
**Span Columns**: `span-columns(<$columns> [<omega> , <$context>, <$from>])`
|
70
70
|
- _Apply to any element to align it with the Susy Grid._
|
@@ -76,7 +76,7 @@ article { @include columns(9 omega,12); }
|
|
76
76
|
|
77
77
|
```scss
|
78
78
|
.gallery-image {
|
79
|
-
@include columns(3,9);
|
79
|
+
@include span-columns(3,9); // each gallery-image is 3 of 9 cols.
|
80
80
|
&:nth-child(3n) { @include omega; } // every third image completes a row.
|
81
81
|
}
|
82
82
|
```
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.alpha.
|
1
|
+
1.0.alpha.2
|
data/sass/susy/_grid.scss
CHANGED
data/susy.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "susy"
|
5
|
-
s.version = "1.0.alpha.
|
5
|
+
s.version = "1.0.alpha.2"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Eric Meyer"]
|
9
|
-
s.date = "2012-05-
|
9
|
+
s.date = "2012-05-12"
|
10
10
|
s.description = "Responsive web design with grids the quick and reliable way."
|
11
11
|
s.email = "eric@oddbird.net"
|
12
12
|
s.extra_rdoc_files = ["CHANGELOG.mkdn", "LICENSE.txt", "README.mkdn", "lib/susy.rb"]
|
@@ -22,11 +22,11 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.specification_version = 3
|
23
23
|
|
24
24
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
25
|
-
s.add_runtime_dependency(%q<compass>, [">= 0.
|
25
|
+
s.add_runtime_dependency(%q<compass>, [">= 0.12.2.rc.0"])
|
26
26
|
else
|
27
|
-
s.add_dependency(%q<compass>, [">= 0.
|
27
|
+
s.add_dependency(%q<compass>, [">= 0.12.2.rc.0"])
|
28
28
|
end
|
29
29
|
else
|
30
|
-
s.add_dependency(%q<compass>, [">= 0.
|
30
|
+
s.add_dependency(%q<compass>, [">= 0.12.2.rc.0"])
|
31
31
|
end
|
32
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: susy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 2004329407
|
5
5
|
prerelease: 4
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- alpha
|
10
|
-
-
|
11
|
-
version: 1.0.alpha.
|
10
|
+
- 2
|
11
|
+
version: 1.0.alpha.2
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Eric Meyer
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-05-
|
19
|
+
date: 2012-05-12 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: compass
|
@@ -26,13 +26,14 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 1947843481
|
30
30
|
segments:
|
31
31
|
- 0
|
32
|
-
-
|
33
|
-
-
|
32
|
+
- 12
|
33
|
+
- 2
|
34
|
+
- rc
|
34
35
|
- 0
|
35
|
-
version: 0.
|
36
|
+
version: 0.12.2.rc.0
|
36
37
|
type: :runtime
|
37
38
|
version_requirements: *id001
|
38
39
|
description: Responsive web design with grids the quick and reliable way.
|