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.
@@ -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 -f 960 <project name>
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
 
@@ -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.12"
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",
@@ -0,0 +1,2 @@
1
+ require 'compass'
2
+ Compass::Frameworks.register("960", :path => "#{File.dirname(__FILE__)}/..")
@@ -1,13 +1,10 @@
1
- /*
2
- 960 Grid System ~ Core CSS.
3
- Learn more ~ http://960.gs/
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/utilities/general/reset.sass
8
- @import 960/grid.sass
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
- !ninesixty_columns = 24
18
+ $ninesixty-columns: 24
19
+
22
20
  .two-column
23
21
  +grid-container
24
22
  #header,
@@ -1,10 +1,8 @@
1
- /*
2
- 960 Grid System ~ Text CSS.
3
- Learn more ~ http://960.gs/
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.sass
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
- - 12
9
- version: 0.9.12
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