brighter_planet_layout 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,39 +1,52 @@
|
|
1
1
|
<div id="header">
|
2
2
|
<h1><span>Brighter Planet</span></h1>
|
3
|
-
<p><%= link_to 'Our blog', 'http://numbers.brighterplanet.com/' %></p>
|
3
|
+
<p class="secondary"><%= link_to 'Our blog', 'http://numbers.brighterplanet.com/' %> · <%= link_to_homesite 'Contact us', 'contact' %></p>
|
4
4
|
<ul>
|
5
5
|
<li class="home"><%= link_to_homesite 'Home' %></li>
|
6
6
|
<li>
|
7
7
|
<%= link_to_homesite 'About', 'about' %>
|
8
8
|
<div>
|
9
|
+
<p>Brighter Planet maintains the world's leading technology platform for computational sustainability and helps client companies harness its power for their employees and customers</p>
|
9
10
|
<ul>
|
10
|
-
<li><%= link_to_homesite '
|
11
|
-
<li><%= link_to_homesite '
|
12
|
-
<li><%= link_to_homesite '
|
11
|
+
<li><%= link_to_homesite 'Overview', 'about' %> Our story and vision for the future of sustainability</li>
|
12
|
+
<li><%= link_to_homesite 'Our team', 'people' %> Our staff, board of directors, and advisors</li>
|
13
|
+
<li><%= link_to_homesite 'Partners', 'partners' %> A list of our collaborators</li>
|
14
|
+
<li><%= link_to_homesite 'Press', 'press' %> Brighter Planet in the news & resources for the press</li>
|
13
15
|
</ul>
|
14
16
|
</div>
|
15
17
|
</li>
|
16
|
-
<li><%= link_to_homesite 'Services', 'services' %></li>
|
17
18
|
<li>
|
18
|
-
<%= link_to_homesite '
|
19
|
+
<%= link_to_homesite 'Services', 'services' %>
|
19
20
|
<div>
|
21
|
+
<p>Brighter Planet helps clients identify opportunities for data-driven sustainability initiatives, designs programs around these opportunities to deliver business value, and assists with integration and development</p>
|
20
22
|
<ul>
|
21
|
-
<li><%= link_to_homesite '
|
22
|
-
<li><%= link_to_homesite '
|
23
|
-
<li><%= link_to_homesite '
|
23
|
+
<li><%= link_to_homesite 'Overview', 'services' %> How we work with our clients</li>
|
24
|
+
<li><%= link_to_homesite 'Client case studies', 'case_studies' %> How we have helped clients worldwide revolutionize the way they address sustainability</li>
|
25
|
+
<li><%= link_to_homesite 'Imaginations', 'imaginations' %> Explorations of concepts in computational sustainability for leading businesses</li>
|
26
|
+
<li><%= link_to_homesite 'Research', 'industry_research' %> Whitepapers, survey data, and best-practice documents for corporate sustainability</li>
|
24
27
|
</ul>
|
25
|
-
</div>
|
26
28
|
</li>
|
27
29
|
<li>
|
28
|
-
<%= link_to_homesite '
|
30
|
+
<%= link_to_homesite 'Technology', 'technology' %>
|
29
31
|
<div>
|
32
|
+
<p>The backbone of Brighter Planet is our <strong>CM1</strong>™ computational sustainability platform, which delivers on-demand carbon, energy, and resource impact calculations through a developer-friendly API</p>
|
30
33
|
<ul>
|
31
|
-
<li><%=
|
32
|
-
<li><%= link_to_homesite '
|
33
|
-
<li><%= link_to_homesite '
|
34
|
-
<li><%= link_to_homesite '
|
35
|
-
<li><%=
|
36
|
-
|
34
|
+
<li><%= link_to 'CM1 homepage', 'http://carbon.brighterplanet.com' %> Technical details and API documentation</li>
|
35
|
+
<li><%= link_to_homesite 'Science publications', 'science_publications' %> Our own scientific research, powered by CM1</li>
|
36
|
+
<li><%= link_to_homesite 'Prototypes', 'prototypes' %> Experiments from our staff that demonstrate CM1's capabilities</li>
|
37
|
+
<li><%= link_to_homesite 'App gallery', 'app_gallery' %> A showcase of Brighter Planet-powered apps created by developers from across the community</li>
|
38
|
+
<li><%= link_to 'Reference data', 'http://data.brighterplanet.com' %> Our always-current clearinghouse of global climate, geographic, and demographic data</li>
|
39
|
+
</ul>
|
40
|
+
</div>
|
41
|
+
</li>
|
42
|
+
<li class="models">
|
43
|
+
<%= link_to 'Models', 'http://carbon.brighterplanet.com/models' %>
|
44
|
+
<div>
|
45
|
+
<p>Brighter Planet's technology platform calculates the carbon, energy, and resource impact of a variety of real-life emission sources. Our impact models resiliently adapt to user input, have been third-party certified, and feature expressive, human-oriented APIs.</p>
|
46
|
+
<ul>
|
47
|
+
<% BrighterPlanet.metadata.emitters.sort.map(&:underscore).each do |model| %>
|
48
|
+
<li><%= link_to model.humanize, "http://carbon.brighterplanet.com/models/#{model}" %></li>
|
49
|
+
<% end %>
|
37
50
|
</ul>
|
38
51
|
</div>
|
39
52
|
</li>
|
@@ -108,19 +108,36 @@ a img {
|
|
108
108
|
|
109
109
|
#header ul li div {
|
110
110
|
display: none;
|
111
|
-
background:
|
112
|
-
background: rgba(
|
113
|
-
|
111
|
+
background: white;
|
112
|
+
background: rgba(255,255,255,0.8);
|
113
|
+
background-image: -webkit-gradient(
|
114
|
+
linear,
|
115
|
+
left top,
|
116
|
+
left bottom,
|
117
|
+
color-stop(0, rgba(220,220,220,0.8)),
|
118
|
+
color-stop(0.1, rgba(255,255,255,0.8))
|
119
|
+
);
|
120
|
+
background-image: -moz-linear-gradient(
|
121
|
+
center top,
|
122
|
+
rgba(220,220,220,0.8) 0%,
|
123
|
+
rgba(255,255,255,0.8) 10%
|
124
|
+
);
|
125
|
+
width: 520px;
|
114
126
|
position: absolute;
|
115
127
|
top: 60px;
|
116
128
|
z-index: 100;
|
117
129
|
-moz-border-radius: 0 0 5px 5px;
|
118
130
|
-webkit-border-radius: 0 0 5px 5px;
|
119
131
|
border-radius: 0 0 5px 5px;
|
120
|
-
border-bottom: 1px solid
|
132
|
+
border-bottom: 1px solid silver;
|
133
|
+
border-right: 1px solid silver;
|
121
134
|
padding: 7px 10px;
|
122
135
|
}
|
123
136
|
|
137
|
+
#header ul li.models div {
|
138
|
+
width: 360px;
|
139
|
+
}
|
140
|
+
|
124
141
|
@media screen and (-webkit-min-device-pixel-ratio:0) { #header ul li div { top: 59px; }}
|
125
142
|
|
126
143
|
#header ul li:hover div {
|
@@ -145,39 +162,63 @@ a img {
|
|
145
162
|
background-color: rgba(0,0,0,0.1);
|
146
163
|
}
|
147
164
|
|
165
|
+
#header ul li div p {
|
166
|
+
float: left;
|
167
|
+
width: 220px;
|
168
|
+
color: #444;
|
169
|
+
font-size: 16px;
|
170
|
+
padding: 3px 14px 0 0;
|
171
|
+
border-right: 1px solid #ddd;
|
172
|
+
-moz-box-shadow: 1px 0 0 #eee;
|
173
|
+
-webkit-box-shadow: 1px 0 0 #eee;
|
174
|
+
box-shadow: 1px 0 0 #eee;
|
175
|
+
}
|
176
|
+
|
148
177
|
#header ul li div ul {
|
149
178
|
margin: 0;
|
150
|
-
width:
|
179
|
+
width: 260px;
|
180
|
+
border-left: 1px solid #eee;
|
181
|
+
-moz-box-shadow: -1px 0 0 #ddd;
|
182
|
+
-webkit-box-shadow: -1px 0 0 #ddd;
|
183
|
+
box-shadow: -1px 0 0 #ddd;
|
184
|
+
padding: 0 0 0 15px;
|
185
|
+
}
|
186
|
+
|
187
|
+
#header ul li.models div ul {
|
188
|
+
width: 100px;
|
151
189
|
}
|
152
190
|
|
153
191
|
#header ul li div ul li {
|
154
192
|
float: none;
|
155
193
|
width: auto;
|
156
|
-
border: none;
|
194
|
+
border: none !important;
|
195
|
+
color: #888;
|
196
|
+
margin: 0 0 7px;
|
157
197
|
}
|
158
198
|
|
159
199
|
#header ul li div ul li:last-child {
|
160
|
-
|
200
|
+
margin-bottom: none;
|
161
201
|
}
|
162
202
|
|
163
203
|
#header ul li div ul li a {
|
164
|
-
border: none;
|
204
|
+
border: none !important;
|
165
205
|
text-align: left;
|
166
206
|
text-transform: none;
|
167
207
|
text-decoration: underline;
|
168
|
-
color: #
|
208
|
+
color: #444;
|
169
209
|
line-height: 1.2;
|
170
|
-
text-shadow: 1px 1px 0
|
171
|
-
padding: 3px 0;
|
210
|
+
text-shadow: 1px 1px 0 white;
|
211
|
+
padding: 3px 5px 3px 0;
|
172
212
|
font-size: 14px;
|
213
|
+
display: inline;
|
173
214
|
}
|
174
215
|
|
175
216
|
#header ul li div ul li a:hover {
|
176
217
|
background: none;
|
177
|
-
color:
|
218
|
+
color: black;
|
178
219
|
}
|
179
220
|
|
180
|
-
#header p {
|
221
|
+
#header p.secondary {
|
181
222
|
position: absolute;
|
182
223
|
right: 15px;
|
183
224
|
top: 0;
|
@@ -185,15 +226,15 @@ a img {
|
|
185
226
|
line-height: 58px;
|
186
227
|
color: #aaa;
|
187
228
|
text-align: right;
|
229
|
+
font-size: 14px;
|
188
230
|
}
|
189
231
|
|
190
|
-
#header p a {
|
232
|
+
#header p.secondary a {
|
191
233
|
color: inherit;
|
192
|
-
font-size: 12px;
|
193
234
|
text-shadow: -1px -1px 0 black;
|
194
235
|
}
|
195
236
|
|
196
|
-
#header p a:hover {
|
237
|
+
#header p.secondary a:hover {
|
197
238
|
color: silver;
|
198
239
|
}
|
199
240
|
|
@@ -209,7 +250,7 @@ a img {
|
|
209
250
|
width: 994px;
|
210
251
|
}
|
211
252
|
|
212
|
-
#header p {
|
253
|
+
#header p.secondary {
|
213
254
|
left: 50%;
|
214
255
|
right: auto;
|
215
256
|
width: 285px;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brighter_planet_layout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2011-09-
|
13
|
+
date: 2011-09-23 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: simple-rss
|
17
|
-
requirement: &
|
17
|
+
requirement: &2156056360 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: 1.2.3
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *2156056360
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: eat
|
28
|
-
requirement: &
|
28
|
+
requirement: &2156055940 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *2156055940
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: tronprint
|
39
|
-
requirement: &
|
39
|
+
requirement: &2156055400 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ! '>='
|
@@ -44,10 +44,10 @@ dependencies:
|
|
44
44
|
version: 1.2.0
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *2156055400
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: test-unit
|
50
|
-
requirement: &
|
50
|
+
requirement: &2156054980 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ! '>='
|
@@ -55,7 +55,7 @@ dependencies:
|
|
55
55
|
version: '0'
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *2156054980
|
59
59
|
description: Layouts, partials, stylesheets, and images
|
60
60
|
email:
|
61
61
|
- andy@rossmeissl.net
|