compass-960-plugin 0.9.12 → 0.9.13
Sign up to get free protection for your applications and to get access to all the features.
- data/README.mkdn +5 -2
- data/compass-960-plugin.gemspec +2 -1
- data/lib/ninesixty.rb +2 -0
- data/templates/project/grid.sass +8 -10
- data/templates/project/text.sass +5 -7
- metadata +3 -2
data/README.mkdn
CHANGED
@@ -13,13 +13,16 @@ This plugin adds the 960 Grid System framework to [Compass](http://compass-style
|
|
13
13
|
Install
|
14
14
|
=======
|
15
15
|
|
16
|
-
gem install compass
|
17
16
|
gem install compass-960-plugin
|
18
17
|
|
19
18
|
Create a 960-based Compass Project
|
20
19
|
==================================
|
21
20
|
|
22
|
-
compass -r ninesixty
|
21
|
+
compass create -r ninesixty my_project --using 960
|
22
|
+
|
23
|
+
Or, If you prefer to use Sass's indentation based syntax:
|
24
|
+
|
25
|
+
compass create -r ninesixty my_project --using 960 --syntax sass
|
23
26
|
|
24
27
|
Then edit your `grid.sass` and `text.sass` files accordingly. A reset is added into grid.sass automatically.
|
25
28
|
|
data/compass-960-plugin.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{compass-960-plugin}
|
5
|
-
s.version = "0.9.
|
5
|
+
s.version = "0.9.13"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.6")
|
8
8
|
s.authors = ["Chris Eppstein"]
|
@@ -13,6 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.files = [
|
14
14
|
"compass-960-plugin.gemspec",
|
15
15
|
"README.mkdn",
|
16
|
+
"lib/ninesixty.rb",
|
16
17
|
"stylesheets/960/_grid.sass",
|
17
18
|
"stylesheets/960/_text.sass",
|
18
19
|
"templates/project/grid.sass",
|
data/lib/ninesixty.rb
ADDED
data/templates/project/grid.sass
CHANGED
@@ -1,13 +1,10 @@
|
|
1
|
-
/*
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
Licensed under GPL and MIT.
|
1
|
+
/* 960 Grid System ~ Core CSS.
|
2
|
+
* Learn more ~ http://960.gs/
|
3
|
+
* *
|
4
|
+
* Licensed under GPL and MIT.
|
6
5
|
|
7
|
-
@import compass/
|
8
|
-
@import 960/grid
|
9
|
-
|
10
|
-
+global-reset
|
6
|
+
@import compass/reset
|
7
|
+
@import 960/grid
|
11
8
|
|
12
9
|
// The following generates the default grids provided by the css version of 960.gs
|
13
10
|
.container_12
|
@@ -18,7 +15,8 @@
|
|
18
15
|
|
19
16
|
// But most compass users prefer to construct semantic layouts like so (two column layout with header and footer):
|
20
17
|
|
21
|
-
|
18
|
+
$ninesixty-columns: 24
|
19
|
+
|
22
20
|
.two-column
|
23
21
|
+grid-container
|
24
22
|
#header,
|
data/templates/project/text.sass
CHANGED
@@ -1,10 +1,8 @@
|
|
1
|
-
/*
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
Licensed under GPL and MIT.
|
6
|
-
|
1
|
+
/* 960 Grid System ~ Text CSS.
|
2
|
+
* Learn more ~ http://960.gs/
|
3
|
+
* *
|
4
|
+
* Licensed under GPL and MIT.
|
7
5
|
|
8
|
-
@import 960/text
|
6
|
+
@import 960/text
|
9
7
|
|
10
8
|
+text
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 9
|
8
|
-
-
|
9
|
-
version: 0.9.
|
8
|
+
- 13
|
9
|
+
version: 0.9.13
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Chris Eppstein
|
@@ -43,6 +43,7 @@ extra_rdoc_files: []
|
|
43
43
|
files:
|
44
44
|
- compass-960-plugin.gemspec
|
45
45
|
- README.mkdn
|
46
|
+
- lib/ninesixty.rb
|
46
47
|
- stylesheets/960/_grid.sass
|
47
48
|
- stylesheets/960/_text.sass
|
48
49
|
- templates/project/grid.sass
|