From f1550763eae0950fb68c558bc97d3cbc447f6964 Mon Sep 17 00:00:00 2001 From: Craig Cook Date: Fri, 3 Jan 2014 11:24:19 -0800 Subject: [PATCH] Bug 944093 - remove fundraiser promo from tabzilla --- .../tabzilla/templates/tabzilla/tabzilla.js | 9 --- media/css/tabzilla/tabzilla.less | 59 ------------------- 2 files changed, 68 deletions(-) diff --git a/bedrock/tabzilla/templates/tabzilla/tabzilla.js b/bedrock/tabzilla/templates/tabzilla/tabzilla.js index 26cc9a24c1..27e8474bc9 100644 --- a/bedrock/tabzilla/templates/tabzilla/tabzilla.js +++ b/bedrock/tabzilla/templates/tabzilla/tabzilla.js @@ -597,21 +597,12 @@ var Tabzilla = (function (Tabzilla) { '
' + '
' + '
' - {% if request.locale in ['de', 'en-US', 'fr', 'pt-BR'] %} - + ' ' - {% else %} +' ' - {% endif %} + '
' + '
' + '
    ' diff --git a/media/css/tabzilla/tabzilla.less b/media/css/tabzilla/tabzilla.less index 5ef5876a6e..da22f05529 100644 --- a/media/css/tabzilla/tabzilla.less +++ b/media/css/tabzilla/tabzilla.less @@ -435,51 +435,7 @@ html[lang=ru] { } } -#tabzilla-promo .snippet#tabzilla-promo-donate-201312 a { - background: #c13832 url(/media/img/tabzilla/promo-donate-201312.png?2013-12); - background: url(/media/img/tabzilla/promo-donate-201312.png?2013-12), - #c13832 -webkit-linear-gradient(top, rgba(0,0,0,0) 80%, rgba(0,0,0,0.04) 90%, rgba(0,0,0,0.1) 95%, rgba(0,0,0,0.12) 100%); - background: url(/media/img/tabzilla/promo-donate-201312.png?2013-12), - #c13832 -moz-linear-gradient(top, rgba(0,0,0,0) 80%, rgba(0,0,0,0.04) 90%, rgba(0,0,0,0.1) 95%, rgba(0,0,0,0.12) 100%); - background: url(/media/img/tabzilla/promo-donate-201312.png?2013-12), - #c13832 -o-linear-gradient(top, rgba(0,0,0,0) 80%, rgba(0,0,0,0.04) 90%, rgba(0,0,0,0.1) 95%, rgba(0,0,0,0.12) 100%); - background: url(/media/img/tabzilla/promo-donate-201312.png?2013-12), - #c13832 linear-gradient(top, rgba(0,0,0,0) 80%, rgba(0,0,0,0.04) 90%, rgba(0,0,0,0.1) 95%, rgba(0,0,0,0.12) 100%); - background-repeat: no-repeat; - background-repeat: no-repeat, repeat-x; - background-position: -24px 16px; - background-position: -24px 16px, 0 0; - - padding: 30px 10px 10px 150px; - height: 170px; - h4 { - font: bold 26px/26px 'Open Sans', sans-serif; - text-transform: uppercase; - color: #fff; - text-shadow: none; - margin-bottom: 1em; - } - span.button { - display: block; - font: 16px 'Open Sans Light', sans-serif; - padding: 10px; - width: 110px; - &:after { - content: ' »'; - } - } -} - -html[lang='de'] #tabzilla-promo .snippet#tabzilla-promo-donate-201312 a { - padding-left: 110px; - background-position: -68px 16px; - background-position: -68px 16px, 0 0; - h4 { - font-size: 22px; - line-height: 24px; - } -} @media (-webkit-min-device-pixel-ratio: 1.5), ( min-resolution: 1.5dppx), @@ -491,21 +447,6 @@ html[lang='de'] #tabzilla-promo .snippet#tabzilla-promo-donate-201312 a { background-size: 12px 10px; } - // high res promo background - #tabzilla-promo .snippet#tabzilla-promo-donate-201312 a { - background-image: url(/media/img/tabzilla/promo-donate-201312-hires.png); - background-image: url(/media/img/tabzilla/promo-donate-201312-hires.png), - -webkit-linear-gradient(top, rgba(0,0,0,0) 80%, rgba(0,0,0,0.04) 90%, rgba(0,0,0,0.1) 95%, rgba(0,0,0,0.12) 100%); - background-image: url(/media/img/tabzilla/promo-donate-201312-hires.png), - -moz-linear-gradient(top, rgba(0,0,0,0) 80%, rgba(0,0,0,0.04) 90%, rgba(0,0,0,0.1) 95%, rgba(0,0,0,0.12) 100%); - background-image: url(/media/img/tabzilla/promo-donate-201312-hires.png), - -o-linear-gradient(top, rgba(0,0,0,0) 80%, rgba(0,0,0,0.04) 90%, rgba(0,0,0,0.1) 95%, rgba(0,0,0,0.12) 100%); - background-image: url(/media/img/tabzilla/promo-donate-201312-hires.png), - linear-gradient(top, rgba(0,0,0,0) 80%, rgba(0,0,0,0.04) 90%, rgba(0,0,0,0.1) 95%, rgba(0,0,0,0.12) 100%); - - background-size: 162px 135px; - background-size: 162px 135px, auto auto; - } } @media only screen and (min-width: 720px) and (max-width: 979px) {