brighter_planet_layout 0.3.8 → 0.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,32 +1,15 @@
1
1
  <div id="footer">
2
- <div id="shortcuts">
3
- <h3>Shortcuts</h3>
4
- <ul>
5
- <li><%= link_to_homesite 'Home' %></li>
6
- <li><%= link_to 'Blog', 'http://numbers.brighterplanet.com' %></li>
7
- <li><%= link_to 'Dev', 'http://brighterplanet.github.com' %></li>
8
- <li><%= link_to 'Keys', 'http://keys.brighterplanet.com' %></li>
9
- <li><%= link_to 'Carbon', 'http://carbon.brighterplanet.com' %></li>
10
- <li><%= link_to 'Data', 'http://data.brighterplanet.com' %></li>
11
- <li><%= link_to 'Cards', 'http://giving.bankofamerica.com/brighterplanet?cm_mmc=DEP-Affinity-_-brighterplanet-PAR-_-DA05LT005Y_partnersite_BrighterPlanet_ABE_Productlink-_-MyExpression' %></li>
12
- <li><%= link_to_homesite 'Footprint', 'users/me/footprint' %></li>
13
- <li><%= link_to 'Tests', 'http://tests.brighterplanet.com' %></li>
14
- </ul>
2
+ <div id="divider">
15
3
  </div>
16
4
  <div id="map">
17
5
  <div id="slogan">
18
6
  <h1>Brighter Planet™</h1>
19
- <p class="slogan">Bringing carbon to life</p>
20
- <p class="description">Easy, flexible on-demand carbon calculations in the cloud.</p>
21
- <p class="description"><%= link_to_homesite 'About us', 'about' %> &middot; <%= link_to_homesite 'Terms', 'terms' %></p>
7
+ <p class="slogan">Business intelligence for a sustainable future</p>
22
8
  <p class="description">&copy;2011 Brighter Planet</p>
23
9
  </div>
24
- <div id="applications">
25
- <h3>Live applications</h3>
26
- <ul>
27
- <li class="cards"><%= link_to 'Visa® credit and debit cards', 'http://giving.bankofamerica.com/brighterplanet?cm_mmc=DEP-Affinity-_-brighterplanet-PAR-_-DA05LT005Y_partnersite_BrighterPlanet_ABE_Productlink-_-MyExpression' %> from Bank of America® with rewards powered by Brighter Planet</li>
28
- </ul>
10
+ <div id="links">
11
+ <p><%= link_to_homesite 'About us', 'about' %> &middot; <%= link_to_homesite 'Services', 'services' %> &middot; <%= link_to_homesite 'Terms', 'terms' %></p>
12
+ <p><%= link_to 'Twitter', 'http://twitter.com/brighterplanet' %> &middot <%= link_to 'Blog', 'http://numbers.brighterplanet.com' %> &middot; <%= link_to 'Facebook', 'http://facebook.com/brighterplanet' %></p>
29
13
  </div>
30
- <%= render :partial => 'layouts/elsewhere' %>
31
14
  </div>
32
15
  </div>
@@ -5,7 +5,7 @@
5
5
  <li><%= link_to_homesite 'About', 'about' %></li>
6
6
  <li><%= link_to_homesite 'Services', 'services' %></li>
7
7
  <li><%= link_to_homesite 'Research', 'research' %></li>
8
- <li><%= link_to_homesite 'Demos', 'demos' %></li>
8
+ <li><%= link_to_homesite 'Apps', 'apps' %></li>
9
9
  </ul>
10
10
  <p><%= link_to 'Developer site', 'http://brighterplanet.github.com' %> &middot; <%= link_to 'Blog', 'http://numbers.brighterplanet.com/' %></p>
11
11
  </div>
@@ -1,3 +1,3 @@
1
1
  module BrighterPlanetLayout
2
- VERSION = '0.3.8'
2
+ VERSION = '0.3.9'
3
3
  end
@@ -501,7 +501,7 @@ p.flash.error:before {
501
501
  background: #111;
502
502
  }
503
503
 
504
- #footer #shortcuts {
504
+ #footer #divider {
505
505
  background-image:
506
506
  -webkit-gradient(
507
507
  linear,
@@ -521,59 +521,6 @@ p.flash.error:before {
521
521
  min-height: 15px;
522
522
  }
523
523
 
524
- #footer #shortcuts h3 {
525
- float: left;
526
- width: 150px;
527
- text-align: right;
528
- color: silver;
529
- text-shadow: -1px -1px 0px black;
530
- padding: 1px 0 0;
531
- font-size: 12px;
532
- display: none;
533
- }
534
-
535
- #footer #shortcuts h3:after {
536
- content: " →";
537
- display: none;
538
- }
539
-
540
- #footer #shortcuts ul {
541
- list-style: none;
542
- overflow: auto;
543
- margin: 0 0 0 165px;
544
- display: none;
545
- }
546
-
547
- #footer #shortcuts ul li {
548
- border-left: 1px solid black;
549
- float: left;
550
- width: 80px;
551
- }
552
-
553
- #footer #shortcuts ul li a {
554
- border-left: 1px solid #555;
555
- display: block;
556
- text-align: center;
557
- text-transform: uppercase;
558
- text-decoration: none;
559
- color: silver;
560
- line-height: 1;
561
- text-shadow: -1px -1px 0px black;
562
- padding: 5px 0;
563
- }
564
-
565
- #footer #shortcuts li:last-child {
566
- border-right: 1px solid #555;
567
- }
568
-
569
- #footer #shortcuts li:last-child a {
570
- border-right: 1px solid black;
571
- }
572
-
573
- #footer #shortcuts ul li a:hover {
574
- background: rgba(0,0,0,0.1);
575
- }
576
-
577
524
  #footer #map {
578
525
  -moz-box-shadow: inset 0 10px 10px rgba(0,0,0,0.1);
579
526
  -webkit-box-shadow: inset 0 10px 10px rgba(0,0,0,0.1);
@@ -599,131 +546,21 @@ p.flash.error:before {
599
546
  color: silver;
600
547
  }
601
548
 
602
- #footer #map #slogan p.description {
549
+ #footer #map p.description, #footer #map #links p {
603
550
  font-size: 11px;
604
551
  color: gray;
605
552
  margin: 5px 0 0;
606
553
  }
607
554
 
608
- #footer #map #slogan p.description a {
609
- color: silver;
610
- }
611
-
612
- #footer #map #applications {
613
- float: left;
614
- width: 225px;
615
- }
616
-
617
- #footer #map h3 {
618
- color: silver;
619
- text-transform: uppercase;
620
- font-weight: normal;
621
- font-size: 11px;
622
- }
623
-
624
- #footer #map #applications {
625
- margin: 25px 20px 0 0;
626
- }
627
-
628
- #footer #map #applications h3 {
629
- display: none;
630
- }
631
-
632
- #footer #map #applications ul {
633
- background: #080808;
634
- -moz-border-radius: 5px;
635
- -webkit-border-radius: 5px;
636
- border-radius: 5px;
637
- -moz-box-shadow: -1px -1px 0 black;
638
- -webkit-box-shadow: -1px -1px 0 black;
639
- box-shadow: -1px -1px 0 black;
640
- list-style: none;
641
- }
642
-
643
- #footer #map #applications ul li {
644
- padding: 10px;
645
- border-bottom: 1px solid #111;
646
- border-top: 1px solid black;
647
- color: gray;
648
- }
649
-
650
- #footer #map #applications ul li:first-child {
651
- border-top: none;
652
- }
653
-
654
- #footer #map #applications ul li:last-child {
655
- border-bottom: none;
656
- }
657
-
658
- #footer #map #applications ul li.cards {
659
- padding-top: 70px;
660
- text-align: center;
661
- background: url(images/cards.png) no-repeat 50% 4px;
662
- }
663
-
664
- #footer #map #applications ul li a {
665
- color: silver;
666
- }
667
-
668
- #footer #map #elsewhere {
669
- float: left;
670
- width: 545px;
555
+ #footer #links {
671
556
  margin: 25px 0 0;
672
- color: silver;
673
- }
674
-
675
- #footer #map #elsewhere>div {
676
- position: relative;
677
- }
678
-
679
- #footer #map #elsewhere>div:after {
680
- content: "◣";
681
- position: absolute;
682
- bottom: 8px;
683
- right: 0;
684
- width: 50px;
685
- color: #222;
686
- font-size: 18px;
687
- }
688
-
689
- #footer #map #elsewhere #twitter {
690
- background: url(images/radiant_earth-small.png) no-repeat 100% 100%;
691
- margin: 0 0 25px;
692
- }
693
-
694
- #footer #map #elsewhere #blog {
695
- background-repeat: no-repeat;
696
- background-position: 100% 100%;
697
- }
698
- #footer #map #elsewhere #blog.derek { background-image: url(images/derek.jpg); }
699
- #footer #map #elsewhere #blog.andy { background-image: url(images/andy.jpg); }
700
- #footer #map #elsewhere #blog.ian { background-image: url(images/ian.jpg); }
701
- #footer #map #elsewhere #blog.matt { background-image: url(images/matt.jpg); }
702
- #footer #map #elsewhere #blog.patti { background-image: url(images/patti.jpg); }
703
- #footer #map #elsewhere #blog.robbie { background-image: url(images/robbie.jpg); }
704
- #footer #map #elsewhere #blog.seamus { background-image: url(images/seamus.jpg); }
705
-
706
- #footer #map #elsewhere>div p {
707
- background: #222;
708
- -moz-box-shadow: -1px -1px 0 black;
709
- -webkit-box-shadow: -1px -1px 0 black;
710
- box-shadow: -1px -1px 0 black;
711
- -moz-border-radius: 5px;
712
- -webkit-border-radius: 5px;
713
- border-radius: 5px;
714
- text-shadow: 1px 1px 0 black;
715
- }
716
-
717
- #footer #map #elsewhere p {
718
- padding: 10px;
719
- margin: 0 48px 0 0;
720
557
  }
721
558
 
722
- #footer #map #elsewhere p span {
723
- color: gray;
559
+ #footer #map #links p {
560
+ font-size: 14px;
724
561
  }
725
562
 
726
- #footer #map #elsewhere p a {
563
+ #footer #map #links p a {
727
564
  color: inherit;
728
565
  }
729
566
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brighter_planet_layout
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 8
10
- version: 0.3.8
9
+ - 9
10
+ version: 0.3.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andy Rossmeissl
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-04-13 00:00:00 -05:00
19
+ date: 2011-04-14 00:00:00 -05:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency