brighter_planet_layout 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@
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
+ <p>Brighter Planet powers the leading computational sustainability platform, using hard numbers and raw data to reveal actionable opportunities and deliver measurable results to businesses and individuals worldwide</p>
10
10
  <ul>
11
11
  <li><%= link_to_homesite 'Overview', 'about' %> Our story and vision for the future of sustainability</li>
12
12
  <li><%= link_to_homesite 'Our team', 'people' %> Our staff, board of directors, and advisors</li>
@@ -23,7 +23,7 @@
23
23
  <li><%= link_to_homesite 'Overview', 'services' %> How we work with our clients</li>
24
24
  <li><%= link_to_homesite 'Client case studies', 'case_studies' %> How we have helped clients worldwide revolutionize the way they address sustainability</li>
25
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>
26
+ <li><%= link_to_homesite 'Research', 'research' %> Our analyses, survey data and best practices advice for corporate sustainability</li>
27
27
  </ul>
28
28
  </li>
29
29
  <li>
@@ -32,7 +32,6 @@
32
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>
33
33
  <ul>
34
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
35
  <li><%= link_to_homesite 'Prototypes', 'prototypes' %> Experiments from our staff that demonstrate CM1's capabilities</li>
37
36
  <li><%= link_to_homesite 'App gallery', 'app_gallery' %> A showcase of Brighter Planet-powered apps created by developers from across the community</li>
38
37
  <li><%= link_to 'Reference data', 'http://data.brighterplanet.com' %> Our always-current clearinghouse of global climate, geographic, and demographic data</li>
@@ -1,5 +1,5 @@
1
1
  module BrighterPlanet
2
2
  class Layout
3
- VERSION = '0.4.2'
3
+ VERSION = '0.4.3'
4
4
  end
5
5
  end
@@ -40,6 +40,7 @@ pre {
40
40
 
41
41
  a {
42
42
  outline: none;
43
+ color: #0070C4;
43
44
  }
44
45
 
45
46
  a img {
@@ -339,8 +340,7 @@ a img {
339
340
  background-color: #5FBBFF;
340
341
  background-repeat: no-repeat;
341
342
  background-position: 20px 20%;
342
- padding: 20px 0 0 15px;
343
- height: 70px;
343
+ padding: 10px 0 10px 15px;
344
344
  border-bottom: 1px solid #0070C4;
345
345
  -moz-box-shadow: inset 0 10px 10px rgba(0,0,0,0.1);
346
346
  -webkit-box-shadow: inset 0 10px 10px rgba(0,0,0,0.1);
@@ -710,22 +710,32 @@ p.flash.error:before {
710
710
  }
711
711
 
712
712
  ul.pages {
713
- background: #F1F1F1;
714
- padding: 15px 15px 10px 165px;
715
- list-style: none;
713
+ list-style: none !important;
714
+ padding: 0 0 0 5px !important;
716
715
  overflow: auto;
716
+ position: absolute;
717
+ left: 50%;
718
+ width: 960px;
719
+ margin: 0 0 0 -480px;
717
720
  }
718
721
 
719
722
  ul.pages li {
720
- float: left;
721
- margin: 0 5px 0 0;
723
+ float: right;
724
+ margin: 0;
722
725
  }
723
726
 
724
- ul.pages li:first-child {
725
- margin-left: -6px;
727
+ ul.pages li.overview {
728
+ font-weight: bold;
726
729
  }
727
730
 
728
731
  ul.pages li.current {
732
+ -moz-border-radius: 3px;
733
+ -webkit-border-radius: 3px;
734
+ border-radius: 3px;
735
+ }
736
+
737
+ ul.pages>li.current>span, ul.pages li ul li.current {
738
+ display: block;
729
739
  background: white;
730
740
  -moz-border-radius: 3px;
731
741
  -webkit-border-radius: 3px;
@@ -736,20 +746,25 @@ ul.pages li.current {
736
746
  box-shadow: -1px -1px 0 silver;
737
747
  }
738
748
 
749
+ ul.pages>li.current>span, ul.pages li a {
750
+ line-height: 24px;
751
+ padding: 0 6px;
752
+ }
753
+
739
754
  ul.pages li.current:first-child {
740
755
  margin-left: 0;
741
756
  }
742
757
 
758
+ ul.pages li a {
759
+ display: block;
760
+ color: #124165;
761
+ }
762
+
743
763
  ul.pages li.current, ul.pages li a {
744
764
  line-height: 24px;
745
765
  padding: 0 6px;
746
766
  }
747
767
 
748
- ul.pages li a {
749
- display: block;
750
- color: blue;
751
- }
752
-
753
768
  ul.pages li a:hover {
754
769
  background-image:
755
770
  -webkit-gradient(
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.2
4
+ version: 0.4.3
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-23 00:00:00.000000000Z
13
+ date: 2011-10-04 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: simple-rss
17
- requirement: &2156056360 !ruby/object:Gem::Requirement
17
+ requirement: &2168751120 !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: *2156056360
25
+ version_requirements: *2168751120
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: eat
28
- requirement: &2156055940 !ruby/object:Gem::Requirement
28
+ requirement: &2168750700 !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: *2156055940
36
+ version_requirements: *2168750700
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: tronprint
39
- requirement: &2156055400 !ruby/object:Gem::Requirement
39
+ requirement: &2168750160 !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: *2156055400
47
+ version_requirements: *2168750160
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: test-unit
50
- requirement: &2156054980 !ruby/object:Gem::Requirement
50
+ requirement: &2168749740 !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: *2156054980
58
+ version_requirements: *2168749740
59
59
  description: Layouts, partials, stylesheets, and images
60
60
  email:
61
61
  - andy@rossmeissl.net