Skip to content
Browse files

Merge pull request #547 from craigcook/bug-816565-home-fundraising-pr…

…omos

Bug 816566 - tabzilla fundraising t-shirt promo
  • Loading branch information...
2 parents 4cd200a + 8817a39 commit 080b3cbee51cb7a00d22023908e79e992ab5c9ee @craigcook craigcook committed Dec 21, 2012
View
2 apps/mozorg/templates/mozorg/home.html
@@ -51,7 +51,7 @@
<div class="pager-page default-page" id="promo-storyvideo">
<script>// <![CDATA[
- document.getElementById('promo-ptwtshirt').id = 'page-promo-storyvideo';
+ document.getElementById('promo-storyvideo').id = 'page-promo-storyvideo';
// ]]></script>
<a href="https://donate.mozilla.org/Mozilla-Story7?WT.mc_id=mostoryvideo&amp;WT.mc_ev=click" class="container">
<img src="{{ media('img/home/promo-storyvideo.jpg') }}" alt="">
View
8 apps/tabzilla/templates/tabzilla/tabzilla.js
@@ -528,10 +528,10 @@ Tabzilla.closeSubmenu = function($item, $menu)
Tabzilla.content =
'<div id="tabzilla-contents">'
+ ' <div id="tabzilla-promo">'
- + ' <div class="snippet" id="tabzilla-promo-mobile">'
- + ' <a href="https://www.mozilla.org/firefox/fx/?WT.mc_id=tzfxmobile&amp;WT.mc_ev=click#mobile">'
- + ' <h4>{{ _('Fast. Smart. Safe.')|js_escape }}</h4>'
- + ' <p>{{ _('Get Firefox for Android')|js_escape }} »</p></a>'
+ + ' <div class="snippet" id="tabzilla-promo-donate">'
+ + ' <a href="https://donate.mozilla.org/Firefox-T-Shirt-8?WT.mc_id=tzdonate&amp;WT.mc_ev=click">'
+ + ' <h4>{{ _('Support Mozilla and get a t-shirt to boot!')|js_escape }}</h4>'
+ + ' <p>{{ _('Donate now')|js_escape }} »</p></a>'
+ ' </div>'
+ ' </div>'
+ ' <div id="tabzilla-nav">'
View
18 media/css/tabzilla.less
@@ -353,6 +353,24 @@
width: 100px;
}
+#tabzilla-promo .snippet#tabzilla-promo-donate a {
+ background-image: url('../img/tabzilla/promo-donate.jpg');
+ background-position: 0 0;
+ background-color: #0095dd;
+ color: #fff;
+ padding: 20px 10px 0 182px;
+ height: 190px;
+}
+
+#tabzilla-promo .snippet#tabzilla-promo-donate h4 {
+ font-size: 24px;
+ color: #fff;
+ font-weight: normal;
+ font-family: 'Open Sans Light', sans-serif;
+ text-transform: none;
+ text-shadow: none;
+}
+
@media only screen and (min-width: 720px) and (max-width: 979px) {
#tabzilla-contents {
View
BIN media/img/tabzilla/promo-donate.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 080b3cb

Please sign in to comment.
Something went wrong with that request. Please try again.