brighter_planet_layout 0.2.17 → 0.2.18
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -5
- data/.gitignore +21 -21
- data/LICENSE +20 -20
- data/Rakefile +54 -54
- data/VERSION +1 -1
- data/app/views/layouts/_footer.html.erb +26 -29
- data/brighter_planet_layout.gemspec +106 -105
- data/lib/brighter_planet_layout/rails.rb +1 -2
- data/public/stylesheets/brighter_planet.css +96 -104
- data/public/stylesheets/images/radiant_earth-small.png +0 -0
- data/test/helper.rb +10 -10
- data/test/test_brighter_planet_layout.rb +7 -7
- metadata +4 -12
data/.document
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
README.rdoc
|
2
|
-
lib/**/*.rb
|
3
|
-
bin/*
|
4
|
-
features/**/*.feature
|
5
|
-
LICENSE
|
1
|
+
README.rdoc
|
2
|
+
lib/**/*.rb
|
3
|
+
bin/*
|
4
|
+
features/**/*.feature
|
5
|
+
LICENSE
|
data/.gitignore
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
## MAC OS
|
2
|
-
.DS_Store
|
3
|
-
|
4
|
-
## TEXTMATE
|
5
|
-
*.tmproj
|
6
|
-
tmtags
|
7
|
-
|
8
|
-
## EMACS
|
9
|
-
*~
|
10
|
-
\#*
|
11
|
-
.\#*
|
12
|
-
|
13
|
-
## VIM
|
14
|
-
*.swp
|
15
|
-
|
16
|
-
## PROJECT::GENERAL
|
17
|
-
coverage
|
18
|
-
rdoc
|
19
|
-
pkg
|
20
|
-
|
21
|
-
## PROJECT::SPECIFIC
|
1
|
+
## MAC OS
|
2
|
+
.DS_Store
|
3
|
+
|
4
|
+
## TEXTMATE
|
5
|
+
*.tmproj
|
6
|
+
tmtags
|
7
|
+
|
8
|
+
## EMACS
|
9
|
+
*~
|
10
|
+
\#*
|
11
|
+
.\#*
|
12
|
+
|
13
|
+
## VIM
|
14
|
+
*.swp
|
15
|
+
|
16
|
+
## PROJECT::GENERAL
|
17
|
+
coverage
|
18
|
+
rdoc
|
19
|
+
pkg
|
20
|
+
|
21
|
+
## PROJECT::SPECIFIC
|
data/LICENSE
CHANGED
@@ -1,20 +1,20 @@
|
|
1
|
-
Copyright (c) 2009 Andy Rossmeissl
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1
|
+
Copyright (c) 2009 Andy Rossmeissl
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
CHANGED
@@ -1,54 +1,54 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'rake'
|
3
|
-
|
4
|
-
begin
|
5
|
-
require 'jeweler'
|
6
|
-
Jeweler::Tasks.new do |gem|
|
7
|
-
gem.name = "brighter_planet_layout"
|
8
|
-
gem.summary = %Q{Layout assets for Brighter Planet sites}
|
9
|
-
gem.description = %Q{Layouts, partials, stylesheets, and images}
|
10
|
-
gem.email = "andy@rossmeissl.net"
|
11
|
-
gem.homepage = "http://github.com/brighterplanet/brighter_planet_layout"
|
12
|
-
gem.authors = ["Andy Rossmeissl"]
|
13
|
-
gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
|
14
|
-
gem.add_dependency 'ultraviolet', '0.10.2'
|
15
|
-
gem.files.reject! { |fn| fn.downcase =~ /\.ai$/ }
|
16
|
-
end
|
17
|
-
Jeweler::GemcutterTasks.new
|
18
|
-
rescue LoadError
|
19
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
20
|
-
end
|
21
|
-
|
22
|
-
require 'rake/testtask'
|
23
|
-
Rake::TestTask.new(:test) do |test|
|
24
|
-
test.libs << 'lib' << 'test'
|
25
|
-
test.pattern = 'test/**/test_*.rb'
|
26
|
-
test.verbose = true
|
27
|
-
end
|
28
|
-
|
29
|
-
begin
|
30
|
-
require 'rcov/rcovtask'
|
31
|
-
Rcov::RcovTask.new do |test|
|
32
|
-
test.libs << 'test'
|
33
|
-
test.pattern = 'test/**/test_*.rb'
|
34
|
-
test.verbose = true
|
35
|
-
end
|
36
|
-
rescue LoadError
|
37
|
-
task :rcov do
|
38
|
-
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
task :test => :check_dependencies
|
43
|
-
|
44
|
-
task :default => :test
|
45
|
-
|
46
|
-
require 'rake/rdoctask'
|
47
|
-
Rake::RDocTask.new do |rdoc|
|
48
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
49
|
-
|
50
|
-
rdoc.rdoc_dir = 'rdoc'
|
51
|
-
rdoc.title = "brighter_planet_layout #{version}"
|
52
|
-
rdoc.rdoc_files.include('README*')
|
53
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
54
|
-
end
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'jeweler'
|
6
|
+
Jeweler::Tasks.new do |gem|
|
7
|
+
gem.name = "brighter_planet_layout"
|
8
|
+
gem.summary = %Q{Layout assets for Brighter Planet sites}
|
9
|
+
gem.description = %Q{Layouts, partials, stylesheets, and images}
|
10
|
+
gem.email = "andy@rossmeissl.net"
|
11
|
+
gem.homepage = "http://github.com/brighterplanet/brighter_planet_layout"
|
12
|
+
gem.authors = ["Andy Rossmeissl"]
|
13
|
+
gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
|
14
|
+
gem.add_dependency 'ultraviolet', '0.10.2'
|
15
|
+
gem.files.reject! { |fn| fn.downcase =~ /\.ai$/ }
|
16
|
+
end
|
17
|
+
Jeweler::GemcutterTasks.new
|
18
|
+
rescue LoadError
|
19
|
+
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
20
|
+
end
|
21
|
+
|
22
|
+
require 'rake/testtask'
|
23
|
+
Rake::TestTask.new(:test) do |test|
|
24
|
+
test.libs << 'lib' << 'test'
|
25
|
+
test.pattern = 'test/**/test_*.rb'
|
26
|
+
test.verbose = true
|
27
|
+
end
|
28
|
+
|
29
|
+
begin
|
30
|
+
require 'rcov/rcovtask'
|
31
|
+
Rcov::RcovTask.new do |test|
|
32
|
+
test.libs << 'test'
|
33
|
+
test.pattern = 'test/**/test_*.rb'
|
34
|
+
test.verbose = true
|
35
|
+
end
|
36
|
+
rescue LoadError
|
37
|
+
task :rcov do
|
38
|
+
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
task :test => :check_dependencies
|
43
|
+
|
44
|
+
task :default => :test
|
45
|
+
|
46
|
+
require 'rake/rdoctask'
|
47
|
+
Rake::RDocTask.new do |rdoc|
|
48
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
49
|
+
|
50
|
+
rdoc.rdoc_dir = 'rdoc'
|
51
|
+
rdoc.title = "brighter_planet_layout #{version}"
|
52
|
+
rdoc.rdoc_files.include('README*')
|
53
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
54
|
+
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.18
|
@@ -3,18 +3,13 @@
|
|
3
3
|
<h3>Shortcuts</h3>
|
4
4
|
<ul>
|
5
5
|
<li><%= link_to 'Home', 'http://brighterplanet.com' %></li>
|
6
|
-
<li><%= link_to 'Blog', 'http://
|
7
|
-
<!-- FIXME andy
|
8
|
-
<li><%= link_to 'Prism', 'http://brighterplanet.com/applications/prism' %></li>
|
9
|
-
-->
|
6
|
+
<li><%= link_to 'Blog', 'http://numbers.brighterplanet.com' %></li>
|
10
7
|
<li><%= link_to 'Dev', 'http://brighterplanet.github.com' %></li>
|
11
8
|
<li><%= link_to 'Keys', 'http://keys.brighterplanet.com' %></li>
|
12
9
|
<li><%= link_to 'Carbon', 'http://carbon.brighterplanet.com' %></li>
|
13
10
|
<li><%= link_to 'Data', 'http://data.brighterplanet.com' %></li>
|
14
|
-
|
15
|
-
<li><%= link_to '
|
16
|
-
<li><%= link_to 'Footprint', 'http://profiles.brighterplanet.com' %></li>
|
17
|
-
-->
|
11
|
+
<li><%= link_to 'Cards', 'http://brighterplanet.com/cards' %></li>
|
12
|
+
<li><%= link_to 'Footprint', 'http://brighterplanet.com/sessions/new' %></li>
|
18
13
|
</ul>
|
19
14
|
</div>
|
20
15
|
<div id="map">
|
@@ -26,33 +21,35 @@
|
|
26
21
|
</div>
|
27
22
|
<div id="middleware">
|
28
23
|
<div class="main">
|
29
|
-
<h3>Carbon
|
30
|
-
<p>Real-time, scalable web services to enhance your business applications
|
24
|
+
<h3>Carbon Middleware</h3>
|
25
|
+
<p>Real-time, scalable web services to enhance your business applications. <%= link_to 'Learn more', 'http://brighterplanet.com/products/carbon_middleware' %></p>
|
31
26
|
</div>
|
32
27
|
<ul class="links">
|
33
|
-
<li><%= link_to '
|
34
|
-
<li><%= link_to '
|
28
|
+
<li><%= link_to 'Brighter Planet Visa credit and debit cards', 'http://brighterplanet.com/cards' %> powered by Carbon Middleware technology</li>
|
29
|
+
<li><%= link_to 'Carbon footprint profiles', 'http://brighterplanet.com/sessions/new' %> powered by Carbon Middleware technology</li>
|
35
30
|
</ul>
|
36
|
-
<!-- FIXME andy
|
37
|
-
<ul class="industries">
|
38
|
-
<li class="prism"><%= link_to '<strong>Prism</strong> carbon analytics for the payments industry'.html_safe, '#FIXME' %></li>
|
39
|
-
<li class="alpha"><%= link_to '<strong>Alpha</strong> for the shipping and logistics industry'.html_safe, '#FIXME' %></li>
|
40
|
-
<li class="beta"><%= link_to '<strong>Beta</strong> customer carbon information for the travel industry'.html_safe, '#FIXME' %></li>
|
41
|
-
</ul>
|
42
|
-
-->
|
43
31
|
</div>
|
44
|
-
<div id="
|
45
|
-
<
|
46
|
-
|
47
|
-
|
32
|
+
<div id="status">
|
33
|
+
<p><%= link_to 'Details', '#FIXME' %></p>
|
34
|
+
<h3>Service status</h3>
|
35
|
+
<dl>
|
36
|
+
<dt>Emission estimates</dt>
|
37
|
+
<dd>Ready</dd>
|
38
|
+
<dt>Climate data</dt>
|
39
|
+
<dd>Ready</dd>
|
40
|
+
<dt>Keyserver</dt>
|
41
|
+
<dd>Ready</dd>
|
42
|
+
<dt class="last">Profiles</dt>
|
43
|
+
<dd class="last">Ready</dd>
|
44
|
+
</dl>
|
45
|
+
</div>
|
46
|
+
<div id="elsewhere">
|
47
|
+
<div id="twitter">
|
48
|
+
<p>Interesting article: The powers of cap and trade, and why demonizing it was a serious mistake <a href="http://cot.ag/bAcOnm">http://cot.ag/bAcOnm</a> <span>via <%= link_to '@brighterplanet', 'http://twitter.com/brighterplanet' %></p>
|
48
49
|
</div>
|
49
|
-
<div id="
|
50
|
-
<
|
51
|
-
<p>The world's most advanced carbon footprint calculator, powered by carbon middleware</p>
|
50
|
+
<div id="blog" class="derek">
|
51
|
+
<p><%= link_to 'Bundler to the Max', 'http://numbers.brighterplanet.com/2010/07/28/bundler-to-the-max' %> by Derek yesterday on <%= link_to 'Safety in Numbers', 'http://numbers.brighterplanet.com' %>, our blog</p>
|
52
52
|
</div>
|
53
|
-
<!-- FIXME andy
|
54
|
-
<p><%= link_to 'See other apps powered by carbon middleware', '#FIXME' %></p>
|
55
|
-
-->
|
56
53
|
</div>
|
57
54
|
</div>
|
58
55
|
</div>
|
@@ -1,105 +1,106 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{brighter_planet_layout}
|
8
|
-
s.version = "0.2.
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Andy Rossmeissl"]
|
12
|
-
s.date = %q{2010-07-29}
|
13
|
-
s.description = %q{Layouts, partials, stylesheets, and images}
|
14
|
-
s.email = %q{andy@rossmeissl.net}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"LICENSE",
|
17
|
-
"README.rdoc"
|
18
|
-
]
|
19
|
-
s.files = [
|
20
|
-
".document",
|
21
|
-
".gitignore",
|
22
|
-
"LICENSE",
|
23
|
-
"README.rdoc",
|
24
|
-
"Rakefile",
|
25
|
-
"VERSION",
|
26
|
-
"app/helpers/brighter_planet_helper.rb",
|
27
|
-
"app/views/layouts/_footer.html.erb",
|
28
|
-
"app/views/layouts/_google_analytics.html.erb",
|
29
|
-
"app/views/layouts/_header.html.erb",
|
30
|
-
"app/views/layouts/brighter_planet.html.erb",
|
31
|
-
"brighter_planet_layout.gemspec",
|
32
|
-
"lib/brighter_planet_layout.rb",
|
33
|
-
"lib/brighter_planet_layout/rails.rb",
|
34
|
-
"lib/brighter_planet_layout/railtie.rb",
|
35
|
-
"lib/brighter_planet_layout/rake_tasks.rb",
|
36
|
-
"public/401.html",
|
37
|
-
"public/403.html",
|
38
|
-
"public/403.xml",
|
39
|
-
"public/404.html",
|
40
|
-
"public/404.json",
|
41
|
-
"public/404.xml",
|
42
|
-
"public/409.html",
|
43
|
-
"public/422.html",
|
44
|
-
"public/500.html",
|
45
|
-
"public/favicon.ico",
|
46
|
-
"public/javascripts/controls.js",
|
47
|
-
"public/javascripts/dragdrop.js",
|
48
|
-
"public/javascripts/effects.js",
|
49
|
-
"public/javascripts/prototype.js",
|
50
|
-
"public/javascripts/rails.js",
|
51
|
-
"public/stylesheets/brighter_planet.css",
|
52
|
-
"public/stylesheets/fonts/DejaVuSansMono-Oblique.eot",
|
53
|
-
"public/stylesheets/fonts/DejaVuSansMono-Oblique.ttf",
|
54
|
-
"public/stylesheets/fonts/DejaVuSansMono.eot",
|
55
|
-
"public/stylesheets/fonts/DejaVuSansMono.ttf",
|
56
|
-
"public/stylesheets/fonts/KievitOT-Bold.otf",
|
57
|
-
"public/stylesheets/fonts/KievitOT-BoldItalic.otf",
|
58
|
-
"public/stylesheets/fonts/KievitOT-Italic.otf",
|
59
|
-
"public/stylesheets/fonts/KievitOT-Regular.otf",
|
60
|
-
"public/stylesheets/fonts/KievitWebPro-Bold.eot",
|
61
|
-
"public/stylesheets/fonts/KievitWebPro-Bold.woff",
|
62
|
-
"public/stylesheets/fonts/KievitWebPro-BoldIta.eot",
|
63
|
-
"public/stylesheets/fonts/KievitWebPro-BoldIta.woff",
|
64
|
-
"public/stylesheets/fonts/KievitWebPro-Ita.eot",
|
65
|
-
"public/stylesheets/fonts/KievitWebPro-Ita.woff",
|
66
|
-
"public/stylesheets/fonts/KievitWebPro.eot",
|
67
|
-
"public/stylesheets/fonts/KievitWebPro.woff",
|
68
|
-
"public/stylesheets/idle.css",
|
69
|
-
"public/stylesheets/images/bg.png",
|
70
|
-
"public/stylesheets/images/cards.png",
|
71
|
-
"public/stylesheets/images/emitters.png",
|
72
|
-
"public/stylesheets/images/gears.png",
|
73
|
-
"public/stylesheets/images/logo.png",
|
74
|
-
"public/stylesheets/images/prism.png",
|
75
|
-
"
|
76
|
-
"
|
77
|
-
"test/
|
78
|
-
|
79
|
-
|
80
|
-
s.
|
81
|
-
s.
|
82
|
-
s.
|
83
|
-
s.
|
84
|
-
s.
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
s.
|
96
|
-
|
97
|
-
|
98
|
-
s.add_dependency(%q<
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
s.add_dependency(%q<
|
103
|
-
|
104
|
-
end
|
105
|
-
|
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{brighter_planet_layout}
|
8
|
+
s.version = "0.2.18"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Andy Rossmeissl"]
|
12
|
+
s.date = %q{2010-07-29}
|
13
|
+
s.description = %q{Layouts, partials, stylesheets, and images}
|
14
|
+
s.email = %q{andy@rossmeissl.net}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"app/helpers/brighter_planet_helper.rb",
|
27
|
+
"app/views/layouts/_footer.html.erb",
|
28
|
+
"app/views/layouts/_google_analytics.html.erb",
|
29
|
+
"app/views/layouts/_header.html.erb",
|
30
|
+
"app/views/layouts/brighter_planet.html.erb",
|
31
|
+
"brighter_planet_layout.gemspec",
|
32
|
+
"lib/brighter_planet_layout.rb",
|
33
|
+
"lib/brighter_planet_layout/rails.rb",
|
34
|
+
"lib/brighter_planet_layout/railtie.rb",
|
35
|
+
"lib/brighter_planet_layout/rake_tasks.rb",
|
36
|
+
"public/401.html",
|
37
|
+
"public/403.html",
|
38
|
+
"public/403.xml",
|
39
|
+
"public/404.html",
|
40
|
+
"public/404.json",
|
41
|
+
"public/404.xml",
|
42
|
+
"public/409.html",
|
43
|
+
"public/422.html",
|
44
|
+
"public/500.html",
|
45
|
+
"public/favicon.ico",
|
46
|
+
"public/javascripts/controls.js",
|
47
|
+
"public/javascripts/dragdrop.js",
|
48
|
+
"public/javascripts/effects.js",
|
49
|
+
"public/javascripts/prototype.js",
|
50
|
+
"public/javascripts/rails.js",
|
51
|
+
"public/stylesheets/brighter_planet.css",
|
52
|
+
"public/stylesheets/fonts/DejaVuSansMono-Oblique.eot",
|
53
|
+
"public/stylesheets/fonts/DejaVuSansMono-Oblique.ttf",
|
54
|
+
"public/stylesheets/fonts/DejaVuSansMono.eot",
|
55
|
+
"public/stylesheets/fonts/DejaVuSansMono.ttf",
|
56
|
+
"public/stylesheets/fonts/KievitOT-Bold.otf",
|
57
|
+
"public/stylesheets/fonts/KievitOT-BoldItalic.otf",
|
58
|
+
"public/stylesheets/fonts/KievitOT-Italic.otf",
|
59
|
+
"public/stylesheets/fonts/KievitOT-Regular.otf",
|
60
|
+
"public/stylesheets/fonts/KievitWebPro-Bold.eot",
|
61
|
+
"public/stylesheets/fonts/KievitWebPro-Bold.woff",
|
62
|
+
"public/stylesheets/fonts/KievitWebPro-BoldIta.eot",
|
63
|
+
"public/stylesheets/fonts/KievitWebPro-BoldIta.woff",
|
64
|
+
"public/stylesheets/fonts/KievitWebPro-Ita.eot",
|
65
|
+
"public/stylesheets/fonts/KievitWebPro-Ita.woff",
|
66
|
+
"public/stylesheets/fonts/KievitWebPro.eot",
|
67
|
+
"public/stylesheets/fonts/KievitWebPro.woff",
|
68
|
+
"public/stylesheets/idle.css",
|
69
|
+
"public/stylesheets/images/bg.png",
|
70
|
+
"public/stylesheets/images/cards.png",
|
71
|
+
"public/stylesheets/images/emitters.png",
|
72
|
+
"public/stylesheets/images/gears.png",
|
73
|
+
"public/stylesheets/images/logo.png",
|
74
|
+
"public/stylesheets/images/prism.png",
|
75
|
+
"public/stylesheets/images/radiant_earth-small.png",
|
76
|
+
"rails/init.rb",
|
77
|
+
"test/helper.rb",
|
78
|
+
"test/test_brighter_planet_layout.rb"
|
79
|
+
]
|
80
|
+
s.homepage = %q{http://github.com/brighterplanet/brighter_planet_layout}
|
81
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
82
|
+
s.require_paths = ["lib"]
|
83
|
+
s.rubygems_version = %q{1.3.6}
|
84
|
+
s.summary = %q{Layout assets for Brighter Planet sites}
|
85
|
+
s.test_files = [
|
86
|
+
"test/helper.rb",
|
87
|
+
"test/test_brighter_planet_layout.rb"
|
88
|
+
]
|
89
|
+
|
90
|
+
if s.respond_to? :specification_version then
|
91
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
92
|
+
s.specification_version = 3
|
93
|
+
|
94
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
95
|
+
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
96
|
+
s.add_runtime_dependency(%q<ultraviolet>, ["= 0.10.2"])
|
97
|
+
else
|
98
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
99
|
+
s.add_dependency(%q<ultraviolet>, ["= 0.10.2"])
|
100
|
+
end
|
101
|
+
else
|
102
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
103
|
+
s.add_dependency(%q<ultraviolet>, ["= 0.10.2"])
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
@@ -3,8 +3,7 @@ if defined? ::Rails and ::Rails::VERSION::MAJOR == 2
|
|
3
3
|
require ::BrighterPlanetLayout.helper_file
|
4
4
|
::Rails.configuration.to_prepare do
|
5
5
|
::ApplicationController.helper ::BrighterPlanetHelper
|
6
|
-
|
7
|
-
# ::ApplicationController.layout 'brighter_planet'
|
6
|
+
::ApplicationController.layout 'brighter_planet'
|
8
7
|
# sabshere 7/29/10 the view path appears to be magically appended
|
9
8
|
# ::ApplicationController.append_view_path ::BrighterPlanetLayout.view_path
|
10
9
|
end
|
@@ -53,7 +53,7 @@
|
|
53
53
|
body {
|
54
54
|
margin: 0;
|
55
55
|
font-size: 13px;
|
56
|
-
background: #
|
56
|
+
background: #111;
|
57
57
|
}
|
58
58
|
|
59
59
|
body, input, select, button {
|
@@ -88,6 +88,10 @@ a img {
|
|
88
88
|
border: none;
|
89
89
|
}
|
90
90
|
|
91
|
+
.sub {
|
92
|
+
font-size: smaller;
|
93
|
+
}
|
94
|
+
|
91
95
|
#header {
|
92
96
|
background-image:
|
93
97
|
-webkit-gradient(
|
@@ -589,14 +593,17 @@ p.flash.error:before {
|
|
589
593
|
color: silver;
|
590
594
|
}
|
591
595
|
|
592
|
-
#footer #map #middleware {
|
596
|
+
#footer #map #middleware, #footer #map #status {
|
597
|
+
margin: 25px 30px 0 0;
|
593
598
|
float: left;
|
594
|
-
width:
|
595
|
-
|
599
|
+
width: 225px;
|
600
|
+
}
|
601
|
+
|
602
|
+
#footer #map #middleware {
|
596
603
|
font-size: 11px;
|
597
604
|
}
|
598
605
|
|
599
|
-
#footer #map
|
606
|
+
#footer #map h3 {
|
600
607
|
color: silver;
|
601
608
|
text-transform: uppercase;
|
602
609
|
font-weight: normal;
|
@@ -607,6 +614,10 @@ p.flash.error:before {
|
|
607
614
|
color: gray;
|
608
615
|
}
|
609
616
|
|
617
|
+
#footer #map #middleware p a {
|
618
|
+
color: #999;
|
619
|
+
}
|
620
|
+
|
610
621
|
#footer #map #middleware ul.links {
|
611
622
|
list-style: none;
|
612
623
|
border-top: 1px solid #222;
|
@@ -615,6 +626,7 @@ p.flash.error:before {
|
|
615
626
|
|
616
627
|
#footer #map #middleware ul.links li {
|
617
628
|
margin: 0 0 7px;
|
629
|
+
color: #444;
|
618
630
|
}
|
619
631
|
|
620
632
|
#footer #map #middleware ul.links li:before {
|
@@ -637,143 +649,123 @@ p.flash.error:before {
|
|
637
649
|
|
638
650
|
#footer #map #middleware ul.links li a {
|
639
651
|
color: gray;
|
652
|
+
display: block;
|
640
653
|
}
|
641
654
|
|
642
|
-
#footer #map #middleware
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
border-
|
647
|
-
border-top: 1px solid black;
|
648
|
-
border-bottom: 1px solid #222;
|
649
|
-
border-right: 1px solid #222;
|
650
|
-
-moz-border-radius: 5px;
|
651
|
-
-webkit-border-radius: 5px;
|
652
|
-
border-radius: 5px;
|
655
|
+
#footer #map #middleware .main {
|
656
|
+
padding: 0 0 10px 80px;
|
657
|
+
background: url(images/gears.png) no-repeat;
|
658
|
+
min-height: 47px;
|
659
|
+
border-bottom: 1px solid black;
|
653
660
|
}
|
654
661
|
|
655
|
-
#footer #map #
|
656
|
-
|
657
|
-
border-top: 1px solid black;
|
658
|
-
border-bottom: 1px solid #222;
|
662
|
+
#footer #map #status h3 {
|
663
|
+
padding-left: 10px;
|
659
664
|
}
|
660
665
|
|
661
|
-
#footer #map #
|
662
|
-
|
663
|
-
|
664
|
-
-
|
665
|
-
|
666
|
+
#footer #map #status p {
|
667
|
+
float: right;
|
668
|
+
width: 100px;
|
669
|
+
text-align: right;
|
670
|
+
color: gray;
|
671
|
+
padding-right: 10px;
|
672
|
+
font-size: 11px;
|
666
673
|
}
|
667
674
|
|
668
|
-
#footer #map #
|
669
|
-
|
670
|
-
-moz-border-radius: 0 0 5px 5px;
|
671
|
-
-webkit-border-radius: 0 0 5px 5px;
|
672
|
-
border-radius: 0 0 5px 5px;
|
675
|
+
#footer #map #status p a {
|
676
|
+
color: inherit;
|
673
677
|
}
|
674
678
|
|
675
|
-
#footer #map #
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
679
|
+
#footer #map #status dl {
|
680
|
+
background: black;
|
681
|
+
-moz-border-radius: 5px;
|
682
|
+
-webkit-border-radius: 5px;
|
683
|
+
border-radius: 5px;
|
684
|
+
overflow: auto;
|
685
|
+
padding-bottom: 1px;
|
686
|
+
margin: 5px 0 0;
|
687
|
+
line-height: 13px;
|
682
688
|
}
|
683
689
|
|
684
|
-
#footer #map #
|
685
|
-
|
690
|
+
#footer #map #status dl dt {
|
691
|
+
float: left;
|
692
|
+
width: 120px;
|
693
|
+
padding: 10px;
|
694
|
+
border-bottom: 1px solid #111;
|
695
|
+
clear: left;
|
696
|
+
color: gray;
|
686
697
|
}
|
687
698
|
|
688
|
-
#footer #map #
|
689
|
-
|
699
|
+
#footer #map #status dl dd {
|
700
|
+
float: left;
|
701
|
+
width: 64px;
|
702
|
+
padding: 10px;
|
703
|
+
border-bottom: 1px solid #111;
|
704
|
+
clear: right;
|
705
|
+
color: #2DB56A;
|
690
706
|
text-transform: uppercase;
|
691
|
-
|
692
|
-
|
693
|
-
padding: 0 2px 0 0;
|
694
|
-
}
|
695
|
-
|
696
|
-
#footer #map #middleware ul.industries li.prism a {
|
697
|
-
background-image: url(images/prism.png);
|
707
|
+
text-align: right;
|
708
|
+
font-size: 11px;
|
698
709
|
}
|
699
710
|
|
700
|
-
#footer #map #
|
701
|
-
|
702
|
-
background: url(images/gears.png) no-repeat;
|
703
|
-
min-height: 52px;
|
704
|
-
border-bottom: 1px solid black;
|
711
|
+
#footer #map #status dl .last {
|
712
|
+
border: none;
|
705
713
|
}
|
706
|
-
|
707
714
|
|
708
|
-
#footer #map #
|
715
|
+
#footer #map #elsewhere {
|
709
716
|
float: left;
|
710
717
|
width: 320px;
|
711
|
-
|
712
|
-
|
713
|
-
}
|
714
|
-
|
715
|
-
#footer #map #consumer #cards {
|
716
|
-
margin: 28px 0 0;
|
717
|
-
padding: 0 0 30px 160px;
|
718
|
-
font-size: 11px;
|
719
|
-
border-bottom: 1px solid black;
|
718
|
+
margin: 25px 0 0;
|
719
|
+
color: silver;
|
720
720
|
}
|
721
721
|
|
722
|
-
#footer #map #
|
723
|
-
|
724
|
-
font-weight: normal;
|
725
|
-
text-transform: uppercase;
|
726
|
-
margin: 0 0 5px 0;
|
722
|
+
#footer #map #elsewhere>div {
|
723
|
+
position: relative;
|
727
724
|
}
|
728
725
|
|
729
|
-
#footer #map #
|
730
|
-
|
731
|
-
|
726
|
+
#footer #map #elsewhere>div:before {
|
727
|
+
content: "◢";
|
728
|
+
position: absolute;
|
729
|
+
bottom: 5px;
|
730
|
+
left: 0;
|
731
|
+
width: 50px;
|
732
|
+
text-align: right;
|
733
|
+
color: #222;
|
734
|
+
text-shadow: -1px -1px 0 black;
|
735
|
+
font-size: 18px;
|
732
736
|
}
|
733
737
|
|
734
|
-
#footer #map #
|
735
|
-
|
738
|
+
#footer #map #elsewhere #twitter {
|
739
|
+
background: url(images/radiant_earth-small.png) no-repeat 8px 100%;
|
740
|
+
margin: 0 0 15px;
|
736
741
|
}
|
737
742
|
|
738
|
-
#footer #map #
|
739
|
-
|
740
|
-
padding: 0 90px 15px 0;
|
741
|
-
font-size: 11px;
|
742
|
-
background: url(images/emitters.png) no-repeat 100% 10px;
|
743
|
-
min-height: 61px;
|
744
|
-
border-bottom: 1px solid black;
|
743
|
+
#footer #map #elsewhere #blog.derek {
|
744
|
+
background: url(http://numbers.brighterplanet.com/stylesheets/images/derek.jpg) no-repeat 0 100%;
|
745
745
|
}
|
746
746
|
|
747
|
-
#footer #map #
|
748
|
-
|
747
|
+
#footer #map #elsewhere>div p {
|
748
|
+
background: #222;
|
749
|
+
-moz-box-shadow: -1px -1px 0 black;
|
750
|
+
-webkit-box-shadow: -1px -1px 0 black;
|
751
|
+
box-shadow: -1px -1px 0 black;
|
752
|
+
-moz-border-radius: 5px;
|
753
|
+
-webkit-border-radius: 5px;
|
754
|
+
border-radius: 5px;
|
755
|
+
text-shadow: 1px 1px 0 black;
|
749
756
|
}
|
750
757
|
|
751
|
-
#footer #map #
|
752
|
-
|
753
|
-
|
754
|
-
font-size: 11px;
|
758
|
+
#footer #map #elsewhere p {
|
759
|
+
padding: 10px;
|
760
|
+
margin: 0 0 0 48px;
|
755
761
|
}
|
756
762
|
|
757
|
-
#footer #map #
|
763
|
+
#footer #map #elsewhere p span {
|
758
764
|
color: gray;
|
759
765
|
}
|
760
766
|
|
761
|
-
#footer #map #
|
762
|
-
|
763
|
-
display: block;
|
764
|
-
float: left;
|
765
|
-
width: 1em;
|
766
|
-
background: #555;
|
767
|
-
color: #222;
|
768
|
-
padding: 0 0 1px 2px;
|
769
|
-
line-height: 14px;
|
770
|
-
margin: 0 5px 0 0;
|
771
|
-
-moz-border-radius: 3px;
|
772
|
-
-webkit-border-radius: 3px;
|
773
|
-
border-radius: 3px;
|
774
|
-
text-shadow: none;
|
775
|
-
font-size: 13px;
|
776
|
-
-moz-box-shadow: black 1px 1px 0;
|
767
|
+
#footer #map #elsewhere p a {
|
768
|
+
color: inherit;
|
777
769
|
}
|
778
770
|
|
779
771
|
ul.pages {
|
Binary file
|
data/test/helper.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'test/unit'
|
3
|
-
require 'shoulda'
|
4
|
-
|
5
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
6
|
-
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
7
|
-
require 'brighter_planet_layout'
|
8
|
-
|
9
|
-
class Test::Unit::TestCase
|
10
|
-
end
|
1
|
+
require 'rubygems'
|
2
|
+
require 'test/unit'
|
3
|
+
require 'shoulda'
|
4
|
+
|
5
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
6
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
7
|
+
require 'brighter_planet_layout'
|
8
|
+
|
9
|
+
class Test::Unit::TestCase
|
10
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
|
-
require 'helper'
|
2
|
-
|
3
|
-
class TestBrighterPlanetLayout < Test::Unit::TestCase
|
4
|
-
should "probably rename this file and start testing for real" do
|
5
|
-
flunk "hey buddy, you should probably rename this file and start testing for real"
|
6
|
-
end
|
7
|
-
end
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
class TestBrighterPlanetLayout < Test::Unit::TestCase
|
4
|
+
should "probably rename this file and start testing for real" do
|
5
|
+
flunk "hey buddy, you should probably rename this file and start testing for real"
|
6
|
+
end
|
7
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brighter_planet_layout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 53
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
8
|
+
- 18
|
9
|
+
version: 0.2.18
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Andy Rossmeissl
|
@@ -22,11 +21,9 @@ dependencies:
|
|
22
21
|
name: thoughtbot-shoulda
|
23
22
|
prerelease: false
|
24
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
24
|
requirements:
|
27
25
|
- - ">="
|
28
26
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
27
|
segments:
|
31
28
|
- 0
|
32
29
|
version: "0"
|
@@ -36,11 +33,9 @@ dependencies:
|
|
36
33
|
name: ultraviolet
|
37
34
|
prerelease: false
|
38
35
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
36
|
requirements:
|
41
37
|
- - "="
|
42
38
|
- !ruby/object:Gem::Version
|
43
|
-
hash: 51
|
44
39
|
segments:
|
45
40
|
- 0
|
46
41
|
- 10
|
@@ -113,6 +108,7 @@ files:
|
|
113
108
|
- public/stylesheets/images/gears.png
|
114
109
|
- public/stylesheets/images/logo.png
|
115
110
|
- public/stylesheets/images/prism.png
|
111
|
+
- public/stylesheets/images/radiant_earth-small.png
|
116
112
|
- rails/init.rb
|
117
113
|
- test/helper.rb
|
118
114
|
- test/test_brighter_planet_layout.rb
|
@@ -126,27 +122,23 @@ rdoc_options:
|
|
126
122
|
require_paths:
|
127
123
|
- lib
|
128
124
|
required_ruby_version: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
125
|
requirements:
|
131
126
|
- - ">="
|
132
127
|
- !ruby/object:Gem::Version
|
133
|
-
hash: 3
|
134
128
|
segments:
|
135
129
|
- 0
|
136
130
|
version: "0"
|
137
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
|
-
none: false
|
139
132
|
requirements:
|
140
133
|
- - ">="
|
141
134
|
- !ruby/object:Gem::Version
|
142
|
-
hash: 3
|
143
135
|
segments:
|
144
136
|
- 0
|
145
137
|
version: "0"
|
146
138
|
requirements: []
|
147
139
|
|
148
140
|
rubyforge_project:
|
149
|
-
rubygems_version: 1.3.
|
141
|
+
rubygems_version: 1.3.6
|
150
142
|
signing_key:
|
151
143
|
specification_version: 3
|
152
144
|
summary: Layout assets for Brighter Planet sites
|