зеркало из https://github.com/mozilla/kitsune.git
Update tabzilla! Kill redirects!
* Point to CDN * Point straight to locale
This commit is contained in:
Родитель
ff2dae5af3
Коммит
2928757db5
|
@ -38,12 +38,6 @@ body {
|
|||
min-width: 1000px;
|
||||
text-align: left;
|
||||
|
||||
&.en-US {
|
||||
> header {
|
||||
border-top-color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
&.html-rtl {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
@ -53,7 +47,7 @@ body {
|
|||
> header {
|
||||
.linear-gradient-top(#dee7ee, #cae1f4, 0%, #dee7ee, 65%, #d4dce4, 100%, url('../img/grain.png'));
|
||||
border-bottom: 1px solid #b3b8bc;
|
||||
border-top: 2px solid #686868;
|
||||
border-top: 2px solid #fff;
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 20px;
|
||||
|
||||
|
@ -61,13 +55,6 @@ body {
|
|||
float: left;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.mozilla-tab {
|
||||
display: block;
|
||||
float: right;
|
||||
position: relative;
|
||||
z-index: 999;
|
||||
}
|
||||
}
|
||||
|
||||
.html-rtl {
|
||||
|
@ -75,10 +62,6 @@ body {
|
|||
.logo {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.mozilla-tab {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,17 +26,14 @@
|
|||
{{ css(style) }}
|
||||
{% endfor %}
|
||||
|
||||
{% if request.LANGUAGE_CODE == 'en-US' %}
|
||||
{# tabzilla is en-US only for now #}
|
||||
<link href="//www.mozilla.org/tabzilla/media/css/tabzilla.css" rel="stylesheet" />
|
||||
{% endif %}
|
||||
<link href="//mozorg.cdn.mozilla.net/media/css/tabzilla-min.css" rel="stylesheet" />
|
||||
|
||||
<!--[if lte IE 7]>
|
||||
{{ css('ie') }}
|
||||
<![endif]-->
|
||||
{{ css('ie') }}
|
||||
<![endif]-->
|
||||
<!--[if IE 8]>
|
||||
{{ css('ie8') }}
|
||||
<![endif]-->
|
||||
{{ css('ie8') }}
|
||||
<![endif]-->
|
||||
|
||||
{% if meta %}
|
||||
{% for tag in meta %}
|
||||
|
@ -105,12 +102,7 @@
|
|||
<header>
|
||||
<div class="container_12 cf">
|
||||
<div class="grid_12">
|
||||
{% if request.LANGUAGE_CODE == 'en-US' %}
|
||||
{# tabzilla is en-US only for now #}
|
||||
<a href="http://www.mozilla.org/" id="tabzilla">mozilla</a>
|
||||
{% else %}
|
||||
<a class="mozilla-tab" href="http://mozilla.org/"><img src="{{ MEDIA_URL }}img/mozilla-tab.png" alt="mozilla.org"></a>
|
||||
{% endif %}
|
||||
<a href="http://www.mozilla.org/" id="tabzilla">mozilla</a>
|
||||
<div class="cf">
|
||||
<nav id="aux-nav" role="navigation">
|
||||
<ul>
|
||||
|
@ -203,10 +195,7 @@
|
|||
</div>
|
||||
</footer>{# /#footer #}
|
||||
|
||||
{% if request.LANGUAGE_CODE == 'en-US' %}
|
||||
{# tabzilla is en-US only for now #}
|
||||
<script src="//www.mozilla.org/tabzilla/media/js/tabzilla.js"></script>
|
||||
{% endif %}
|
||||
<script src="//mozorg.cdn.mozilla.net/{{ request.LANGUAGE_CODE }}/tabzilla/tabzilla.js"></script>
|
||||
|
||||
<script src="{{ url('jsi18n') }}build:{{ BUILD_ID_JS }}"></script>
|
||||
<script src="{{ url('wafflejs') }}"></script>
|
||||
|
|
Загрузка…
Ссылка в новой задаче