compass-960-plugin 0.10.2 → 0.10.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.mkdn +1 -1
- data/compass-960-plugin.gemspec +2 -2
- data/stylesheets/960/_grid.sass +2 -2
- data/templates/project/grid.sass +3 -8
- metadata +4 -4
data/README.mkdn
CHANGED
@@ -41,7 +41,7 @@ as defaults if the corresponding argument is omitted from a mixin call.
|
|
41
41
|
Class-Based Grid System
|
42
42
|
=======================
|
43
43
|
|
44
|
-
To create a grid system that works like the original 960 Grid
|
44
|
+
To create a grid system that works like the original 960 Grid System framework
|
45
45
|
use the `+grid-system` mixin to generate the corresponding classes. You can
|
46
46
|
also customize the number of columns as demonstrated in the following example.
|
47
47
|
|
data/compass-960-plugin.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{compass-960-plugin}
|
5
|
-
s.version = "0.10.
|
5
|
+
s.version = "0.10.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5")
|
8
8
|
s.authors = ["Chris Eppstein", "Matt Sanders"]
|
9
|
-
s.date = %q{2011-04-
|
9
|
+
s.date = %q{2011-04-25}
|
10
10
|
s.description = %q{The 960 Grid System is an effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. http://960.gs/}
|
11
11
|
s.email = %w{chris@eppsteins.net matt@modal.org}
|
12
12
|
s.has_rdoc = false
|
data/stylesheets/960/_grid.sass
CHANGED
@@ -33,7 +33,7 @@ $ninesixty-class-separator: "_" !default
|
|
33
33
|
|
34
34
|
=grids($cols: $ninesixty-columns, $gutter-width: $ninesixty-gutter-width)
|
35
35
|
#{enumerate(".grid", 1, $cols, $ninesixty-class-separator)}
|
36
|
-
+grid-unit-base
|
36
|
+
+grid-unit-base($gutter-width)
|
37
37
|
@for $n from 1 through $cols
|
38
38
|
.grid#{$ninesixty-class-separator}#{$n}
|
39
39
|
+grid-width($n, $cols, $gutter-width)
|
@@ -81,7 +81,7 @@ $ninesixty-class-separator: "_" !default
|
|
81
81
|
#{enumerate(".push", 1, $cols, $ninesixty-class-separator)},
|
82
82
|
#{enumerate(".pull", 1, $cols, $ninesixty-class-separator)}
|
83
83
|
+grid-move-base
|
84
|
-
@for $n from 1 through $cols
|
84
|
+
@for $n from 1 through $cols - 1
|
85
85
|
.push#{$ninesixty-class-separator}#{$n}
|
86
86
|
+grid-move-push($n, $cols)
|
87
87
|
.pull#{$ninesixty-class-separator}#{$n}
|
data/templates/project/grid.sass
CHANGED
@@ -19,14 +19,9 @@ $ninesixty-columns: 24
|
|
19
19
|
|
20
20
|
.two-column
|
21
21
|
+grid-container
|
22
|
-
#header,
|
23
|
-
#footer,
|
24
|
-
#sidebar,
|
25
|
-
#main-content
|
26
|
-
+grid-unit-base
|
27
22
|
#header, #footer
|
28
|
-
+grid
|
23
|
+
+grid(24)
|
29
24
|
#sidebar
|
30
|
-
+grid
|
25
|
+
+grid(8)
|
31
26
|
#main-content
|
32
|
-
+grid
|
27
|
+
+grid(16)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-960-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 49
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 10
|
9
|
-
-
|
10
|
-
version: 0.10.
|
9
|
+
- 3
|
10
|
+
version: 0.10.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Chris Eppstein
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-04-
|
19
|
+
date: 2011-04-25 00:00:00 -05:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|