compass-vgrid-plugin 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -4
- data/{sass → framework}/vgrid/_elastic.scss +0 -0
- data/{sass → framework}/vgrid/_fixed.scss +0 -0
- data/{sass → framework}/vgrid/_fluid.scss +0 -0
- data/{sass → framework}/vgrid/shared/_elastic_fluid.scss +0 -0
- data/{sass → framework}/vgrid/shared/_grid_system.scss +0 -0
- data/lib/vgrid.rb +6 -1
- data/templates/elastic/{project/demo.html → demo.html} +0 -0
- data/templates/elastic/manifest.rb +16 -0
- data/templates/elastic/{project/screen.scss → screen.scss} +0 -0
- data/templates/fixed/{project/demo.html → demo.html} +0 -0
- data/templates/fixed/manifest.rb +16 -0
- data/templates/fixed/{project/screen.scss → screen.scss} +0 -0
- data/templates/fluid/{project/demo.html → demo.html} +0 -0
- data/templates/fluid/manifest.rb +16 -0
- data/templates/fluid/{project/screen.scss → screen.scss} +0 -0
- metadata +21 -28
- data/.document +0 -5
- data/.gitignore +0 -21
- data/Rakefile +0 -18
- data/VERSION +0 -1
- data/compass-vgrid-plugin.gemspec +0 -63
- data/lib/vgrid/compass_plugin.rb +0 -7
- data/templates/elastic/project/manifest.rb +0 -2
- data/templates/fixed/project/manifest.rb +0 -3
- data/templates/fluid/project/manifest.rb +0 -2
data/README.md
CHANGED
@@ -10,15 +10,15 @@ This Compass plugin is written and maintained by [Aaron Russell](http://www.aaro
|
|
10
10
|
|
11
11
|
Installation is simple via Ruby Gems. [Compass](http://compass-style.org/) v0.10.0 is required.
|
12
12
|
|
13
|
-
|
13
|
+
gem install compass-vgrid-plugin
|
14
14
|
|
15
15
|
## Create a vGrid-based Compass project
|
16
16
|
|
17
17
|
To create a vGrid-based compass project simply:
|
18
18
|
|
19
|
-
compass -r vgrid
|
19
|
+
compass create <project name> -r vgrid --using vgrid/<type>
|
20
20
|
|
21
|
-
vGrid provides three
|
21
|
+
vGrid provides three separate framework types:
|
22
22
|
|
23
23
|
* `fixed` - Fixed width grid
|
24
24
|
* `fluid` - Fluid width grid
|
@@ -26,7 +26,7 @@ vGrid provides three seperate framework options:
|
|
26
26
|
|
27
27
|
## Using vGrid with an existing project
|
28
28
|
|
29
|
-
To use vGrid with an existing project simply import the required framework to your SASS. For example:
|
29
|
+
To use vGrid with an existing project simply import the required framework type to your SASS. For example:
|
30
30
|
|
31
31
|
@import "vgrid/fixed";
|
32
32
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/vgrid.rb
CHANGED
@@ -1 +1,6 @@
|
|
1
|
-
|
1
|
+
plugin_root = File.join(File.dirname(__FILE__), "..")
|
2
|
+
|
3
|
+
Compass::Frameworks.register("vgrid",
|
4
|
+
:stylesheets_directory => File.join(plugin_root, "framework"),
|
5
|
+
:templates_directory => File.join(plugin_root, "templates")
|
6
|
+
)
|
File without changes
|
@@ -0,0 +1,16 @@
|
|
1
|
+
stylesheet "screen.scss", :media => "screen, projection"
|
2
|
+
file "demo.html"
|
3
|
+
|
4
|
+
description "The elastic setup for vGrid."
|
5
|
+
|
6
|
+
help %Q{
|
7
|
+
Installs stylesheets that demonstrate how to access the elastic vGrid libraries.
|
8
|
+
|
9
|
+
For more information about The Variable Grid System by SprySoft:
|
10
|
+
|
11
|
+
http://www.spry-soft.com/grids/
|
12
|
+
}
|
13
|
+
|
14
|
+
welcome_message %Q{
|
15
|
+
You are now configured to use the elastic version of vGrid!
|
16
|
+
}
|
File without changes
|
File without changes
|
@@ -0,0 +1,16 @@
|
|
1
|
+
stylesheet "screen.scss", :media => "screen, projection"
|
2
|
+
file "demo.html"
|
3
|
+
|
4
|
+
description "The fixed width setup for vGrid."
|
5
|
+
|
6
|
+
help %Q{
|
7
|
+
Installs stylesheets that demonstrate how to access the fixed-width vGrid libraries.
|
8
|
+
|
9
|
+
For more information about The Variable Grid System by SprySoft:
|
10
|
+
|
11
|
+
http://www.spry-soft.com/grids/
|
12
|
+
}
|
13
|
+
|
14
|
+
welcome_message %Q{
|
15
|
+
You are now configured to use the fixed-width version of vGrid!
|
16
|
+
}
|
File without changes
|
File without changes
|
@@ -0,0 +1,16 @@
|
|
1
|
+
stylesheet "screen.scss", :media => "screen, projection"
|
2
|
+
file "demo.html"
|
3
|
+
|
4
|
+
description "The fluid setup for vGrid."
|
5
|
+
|
6
|
+
help %Q{
|
7
|
+
Installs stylesheets that demonstrate how to access the fluid vGrid libraries.
|
8
|
+
|
9
|
+
For more information about The Variable Grid System by SprySoft:
|
10
|
+
|
11
|
+
http://www.spry-soft.com/grids/
|
12
|
+
}
|
13
|
+
|
14
|
+
welcome_message %Q{
|
15
|
+
You are now configured to use the fluid version of vGrid!
|
16
|
+
}
|
File without changes
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 4
|
8
|
-
-
|
9
|
-
version: 0.4.
|
8
|
+
- 1
|
9
|
+
version: 0.4.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Aaron Russell
|
@@ -38,40 +38,33 @@ executables: []
|
|
38
38
|
|
39
39
|
extensions: []
|
40
40
|
|
41
|
-
extra_rdoc_files:
|
42
|
-
|
43
|
-
- README.md
|
41
|
+
extra_rdoc_files: []
|
42
|
+
|
44
43
|
files:
|
45
|
-
- .document
|
46
|
-
- .gitignore
|
47
44
|
- LICENSE
|
48
45
|
- README.md
|
49
|
-
- Rakefile
|
50
|
-
- VERSION
|
51
|
-
- compass-vgrid-plugin.gemspec
|
52
46
|
- lib/vgrid.rb
|
53
|
-
-
|
54
|
-
-
|
55
|
-
-
|
56
|
-
-
|
57
|
-
-
|
58
|
-
-
|
59
|
-
- templates/elastic/
|
60
|
-
- templates/elastic/
|
61
|
-
- templates/
|
62
|
-
- templates/fixed/
|
63
|
-
- templates/fixed/
|
64
|
-
- templates/
|
65
|
-
- templates/fluid/
|
66
|
-
- templates/fluid/
|
67
|
-
|
68
|
-
has_rdoc: true
|
47
|
+
- framework/vgrid/_elastic.scss
|
48
|
+
- framework/vgrid/_fixed.scss
|
49
|
+
- framework/vgrid/_fluid.scss
|
50
|
+
- framework/vgrid/shared/_elastic_fluid.scss
|
51
|
+
- framework/vgrid/shared/_grid_system.scss
|
52
|
+
- templates/elastic/demo.html
|
53
|
+
- templates/elastic/manifest.rb
|
54
|
+
- templates/elastic/screen.scss
|
55
|
+
- templates/fixed/demo.html
|
56
|
+
- templates/fixed/manifest.rb
|
57
|
+
- templates/fixed/screen.scss
|
58
|
+
- templates/fluid/demo.html
|
59
|
+
- templates/fluid/manifest.rb
|
60
|
+
- templates/fluid/screen.scss
|
61
|
+
has_rdoc: false
|
69
62
|
homepage: http://github.com/aaronrussell/compass-vgrid-plugin
|
70
63
|
licenses: []
|
71
64
|
|
72
65
|
post_install_message:
|
73
|
-
rdoc_options:
|
74
|
-
|
66
|
+
rdoc_options: []
|
67
|
+
|
75
68
|
require_paths:
|
76
69
|
- lib
|
77
70
|
required_ruby_version: !ruby/object:Gem::Requirement
|
data/.document
DELETED
data/.gitignore
DELETED
data/Rakefile
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'rake'
|
3
|
-
|
4
|
-
begin
|
5
|
-
require 'jeweler'
|
6
|
-
Jeweler::Tasks.new do |gem|
|
7
|
-
gem.name = "compass-vgrid-plugin"
|
8
|
-
gem.summary = %Q{Compass compatible SASS port of the Variable Grid System. Based on the 960 Grid System.}
|
9
|
-
gem.description = %Q{A Compass compatible SASS port of the Variable Grid System by Spry Soft (http://www.spry-soft.com/grids/). Based in the 960 Grid System (http://960.gs/). Provides fixed, fluid and elastic grids with complete control over the grid system.}
|
10
|
-
gem.email = "aaron@gc4.co.uk"
|
11
|
-
gem.homepage = "http://github.com/aaronrussell/compass-vgrid-plugin"
|
12
|
-
gem.authors = ["Aaron Russell"]
|
13
|
-
gem.add_dependency "compass", ">= 0.10.0.rc3"
|
14
|
-
end
|
15
|
-
Jeweler::GemcutterTasks.new
|
16
|
-
rescue LoadError
|
17
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
18
|
-
end
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.4.0
|
@@ -1,63 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{compass-vgrid-plugin}
|
8
|
-
s.version = "0.4.0"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Aaron Russell"]
|
12
|
-
s.date = %q{2010-04-13}
|
13
|
-
s.description = %q{A Compass compatible SASS port of the Variable Grid System by Spry Soft (http://www.spry-soft.com/grids/). Based in the 960 Grid System (http://960.gs/). Provides fixed, fluid and elastic grids with complete control over the grid system.}
|
14
|
-
s.email = %q{aaron@gc4.co.uk}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"LICENSE",
|
17
|
-
"README.md"
|
18
|
-
]
|
19
|
-
s.files = [
|
20
|
-
".document",
|
21
|
-
".gitignore",
|
22
|
-
"LICENSE",
|
23
|
-
"README.md",
|
24
|
-
"Rakefile",
|
25
|
-
"VERSION",
|
26
|
-
"compass-vgrid-plugin.gemspec",
|
27
|
-
"lib/vgrid.rb",
|
28
|
-
"lib/vgrid/compass_plugin.rb",
|
29
|
-
"sass/vgrid/_elastic.scss",
|
30
|
-
"sass/vgrid/_fixed.scss",
|
31
|
-
"sass/vgrid/_fluid.scss",
|
32
|
-
"sass/vgrid/shared/_elastic_fluid.scss",
|
33
|
-
"sass/vgrid/shared/_grid_system.scss",
|
34
|
-
"templates/elastic/project/demo.html",
|
35
|
-
"templates/elastic/project/manifest.rb",
|
36
|
-
"templates/elastic/project/screen.scss",
|
37
|
-
"templates/fixed/project/demo.html",
|
38
|
-
"templates/fixed/project/manifest.rb",
|
39
|
-
"templates/fixed/project/screen.scss",
|
40
|
-
"templates/fluid/project/demo.html",
|
41
|
-
"templates/fluid/project/manifest.rb",
|
42
|
-
"templates/fluid/project/screen.scss"
|
43
|
-
]
|
44
|
-
s.homepage = %q{http://github.com/aaronrussell/compass-vgrid-plugin}
|
45
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
46
|
-
s.require_paths = ["lib"]
|
47
|
-
s.rubygems_version = %q{1.3.6}
|
48
|
-
s.summary = %q{Compass compatible SASS port of the Variable Grid System. Based on the 960 Grid System.}
|
49
|
-
|
50
|
-
if s.respond_to? :specification_version then
|
51
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
52
|
-
s.specification_version = 3
|
53
|
-
|
54
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
55
|
-
s.add_runtime_dependency(%q<compass>, [">= 0.10.0.rc3"])
|
56
|
-
else
|
57
|
-
s.add_dependency(%q<compass>, [">= 0.10.0.rc3"])
|
58
|
-
end
|
59
|
-
else
|
60
|
-
s.add_dependency(%q<compass>, [">= 0.10.0.rc3"])
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
data/lib/vgrid/compass_plugin.rb
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
["fixed", "fluid", "elastic"].each do |framework|
|
2
|
-
options = {
|
3
|
-
:stylesheets_directory => File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'sass')),
|
4
|
-
:templates_directory => File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'templates', framework))
|
5
|
-
}
|
6
|
-
Compass::Frameworks.register(framework, options)
|
7
|
-
end
|