Skip to content
Browse files

Add Firefox Flicks promo to tabzilla

Bug 732103 - [Tabzilla Promo - Tracking] Update current promo with Flicks Content
  • Loading branch information...
1 parent e4180b1 commit 6e94c9b2eb5a224741f71247363111e8956d86ed @sgarrity sgarrity committed Apr 5, 2012
Showing with 30 additions and 3 deletions.
  1. +27 −0 media/css/tabzilla.css
  2. BIN media/img/promo-flicks.png
  3. +3 −3 media/js/tabzilla.js
View
27 media/css/tabzilla.css
@@ -252,3 +252,30 @@
#tabzilla-panel #tabzilla-nav ul li#tabzilla-search input::-webkit-input-placeholder { color: #ddd; }
#tabzilla-panel #tabzilla-nav ul li#tabzilla-search input:-moz-placeholder { color: #ddd; }
+
+/* Firefox Flicks Promo */
+
+#tabzilla-promo .snippet {
+ padding: 0;
+}
+
+#tabzilla-promo .snippet a {
+ display: block;
+ padding: 40px 35px 40px 95px;
+ height: 130px;
+ background-image: url(/tabzilla/media/img/promo-flicks.png);
+ background-position: 20px 37px;
+ background-repeat: no-repeat;
+ color: #484848;
+ -webkit-transition: all 0.2s ease-in-out;
+ -moz-transition: all 0.2s ease-in-out;
+ -o-transition: all 0.2s ease-in-out;
+ -ms-transition: all 0.2s ease-in-out;
+ transition: all 0.2s ease-in-out;
+}
+
+#tabzilla-promo .snippet a:hover,
+#tabzilla-promo .snippet a:active {
+ text-decoration: none;
+ background-color: #f0f0f0;
+}
View
BIN media/img/promo-flicks.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
6 media/js/tabzilla.js
@@ -341,9 +341,9 @@ Tabzilla.preventDefault = function(ev)
Tabzilla.content =
'<div id="tabzilla-contents">'
+ ' <div id="tabzilla-promo">'
- + ' <div class="snippet">'
- + ' <h4>Welcome!</h4>'
- + ' <p>Wherever you&rsquo;re going in the Mozilla Web universe, this is your starting place. Happy exploring!</p>'
+ + ' <div class="snippet" id="tabzilla-promo-flicks">'
+ + ' <a href="https://firefoxflicks.mozilla.org/en-US/?WT.mc_id=fff1enus&WT.mc_ev=click">'
+ + ' Great prizes! Hollywood judges! Exclamation marks! Enter Firefox Flicks, the global video contest to tell our story, or vote for your favorites!</a>'
+ ' </div>'
+ ' </div>'
+ ' <div id="tabzilla-nav">'

0 comments on commit 6e94c9b

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