Permalink
Browse files

Fix issues with Nightly design (close 648002)

  • Loading branch information...
1 parent 8fbdc0d commit 88c5d8f87567fb0d065574f488cd92385b842684 @tofumatt tofumatt committed Oct 18, 2011
View
@@ -31,7 +31,8 @@ body {
border-radius: 0;
box-shadow: none;
height: 57px;
- margin: 0 10px;
+ margin: 0 auto;
+ width: 970px;
}
#header:after {
@@ -43,6 +44,8 @@ body {
#header h1 a:link,
#header h1 a:visited {
background: url(../img/nightly-title.png) 0 0 no-repeat;
+ height: 68px;
+ width: 171px;
}
#header a.mozilla {
@@ -155,11 +158,12 @@ body {
}
#nightly-title {
- background: url(../img/nightly-header-bg.png) 0 -40px no-repeat;
+ background: url(../img/nightly-header-bg.png) -55px -40px no-repeat;
display: block;
height: 145px;
- padding: 100px 0 35px 210px;
- width: 754px;
+ margin: 0 auto;
+ padding: 100px 0 55px;
+ width: 970px;
}
#nightly-title h1, #nightly-title h2 {
View
@@ -77,7 +77,7 @@ body {
#footer-logo a:hover,
#footer-logo a:active {
background: -moz-radial-gradient(center 45deg, ellipse closest-side, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%),
- url(../img/template/header-logos.png) 15px 0 no-repeat;
+ url(../img/footer-title.png) 15px 0 no-repeat;
-moz-transition: background 0.2s ease-in-out;
-webkit-transition: background 0.2s ease-in-out;
-o-transition: background 0.2s ease-in-out;
@@ -527,7 +527,7 @@ body {
display: block;
height: 40px;
width: 100px;
- background: url(../img/covehead/template/footer-title.png) 0 0 no-repeat;
+ background: url(../img/footer-title.png) 0 0 no-repeat;
text-indent: -200px;
font-size: 1px;
overflow: hidden;
View
Binary file not shown.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -0,0 +1,10 @@
+$().ready(function() {
+ // Size all of the build group headers based on the size of the
+ // group beside them.
+ $('.build-group').each(function() {
+ $(this).children('h3').css({
+ height: $(this).children('ul').offsetHeight
+ });
+ $(this).children('h3').height($(this).children('ul').height() - 20);
+ });
+});
@@ -1,36 +1,36 @@
<ul>
{% block feature_links %}
- <li class="first"><a href="http://www.mozilla.org/firefox/features/">{{ _('Features') }}</a>
- <ul>
- <li class="first"><a href="http://www.mozilla.org/firefox/features/">{{ _('Features') }}</a></li>
- <li><a href="http://www.mozilla.org/firefox/security/">{{ _('Security') }}</a></li>
- <li><a href="http://www.mozilla.org/firefox/performance/">{{ _('Performance') }}</a></li>
- <li><a href="http://www.mozilla.org/firefox/customize/">{{ _('Customization') }}</a></li>
- <li><a href="http://www.mozilla.org/firefox/video/">{{ _('Videos') }}</a></li>
- <li class="last"><a href="http://www.mozilla.org/firefox/central/">{{ _('Tour') }}</a></li>
- <li><a href="http://www.mozilla.org/en-US/firefox/channel/">{{ _('Future Releases') }}</a></li>
- </ul>
- </li>
+ <li class="first"><a href="http://www.mozilla.org/firefox/features/">{{ _('Desktop') }}</a>
+ <ul>
+ <li class="first"><a href="http://www.mozilla.org/firefox/features/">{{ _('Features') }}</a></li>
+ <li><a href="http://www.mozilla.org/firefox/security/">{{ _('Security') }}</a></li>
+ <li><a href="http://www.mozilla.org/firefox/performance/">{{ _('Performance') }}</a></li>
+ <li><a href="http://www.mozilla.org/firefox/customize/">{{ _('Customization') }}</a></li>
+ <li><a href="http://www.mozilla.org/en-US/firefox/technology/">{{ _('Technology') }}</a></li>
+ <li><a href="http://www.mozilla.org/firefox/video/">{{ _('Videos') }}</a></li>
+ <li><a href="http://www.mozilla.org/firefox/central/">{{ _('Tour') }}</a></li>
+ <li class="last"><a href="http://www.mozilla.org/en-US/firefox/channel/">{{ _('Future Releases') }}</a></li>
+ </ul>
+ </li>
{% endblock %}
{% block mobile_links %}
- <li><a href="http://www.mozilla.org/mobile/">{{ _('Mobile') }}</a>
- <ul>
- <li class="first"><a href="http://www.mozilla.org/mobile/">{{ _('Mobile Overview') }}</a></li>
- <li><a href="http://www.mozilla.org/mobile/download/">{{ _('Download') }}</a></li>
- <li><a href="http://www.mozilla.org/mobile/features/">{{ _('Features') }}</a></li>
- <li><a href="https://addons.mozilla.org/mobile/?browse=featured">{{ _('Customize') }}</a></li>
- <li><a href="http://www.mozilla.org/mobile/sync/">{{ _('Sync') }}</a></li>
- <li><a href="https://developer.mozilla.org/mobile">{{ _('Develop') }}</a></li>
- <li><a href="http://www.mozilla.org/mobile/getinvolved/">{{ _('Get Involved') }}</a></li>
- <li><a href="http://www.mozilla.org/mobile/faq/">{{ _('FAQ') }}</a></li>
- <li class="last"><a href="https://blog.mozilla.com/mobile/">{{ _('Blog') }}</a></li>
- <li><a href="http://www.mozilla.org/en-US/firefox/video?video=fx4-mobile-greatday">{{ _('Videos') }}</a></li>
- <li><a href="http://www.mozilla.org/en-US/firefox/channel/">{{ _('Future Releases') }}</a></li>
- </ul>
- </li>
+ <li><a href="http://www.mozilla.org/mobile/">{{ _('Mobile') }}</a>
+ <ul>
+ <li class="first"><a href="http://www.mozilla.org/mobile/download/">{{ _('Download') }}</a></li>
+ <li><a href="http://www.mozilla.org/mobile/features/">{{ _('Features') }}</a></li>
+ <li><a href="https://addons.mozilla.org/mobile/?browse=featured">{{ _('Customize') }}</a></li>
+ <li><a href="http://www.mozilla.org/mobile/sync/">{{ _('Sync') }}</a></li>
+ <li><a href="https://developer.mozilla.org/mobile">{{ _('Develop') }}</a></li>
+ <li><a href="http://www.mozilla.org/mobile/getinvolved/">{{ _('Get Involved') }}</a></li>
+ <li><a href="http://www.mozilla.org/mobile/faq/">{{ _('FAQ') }}</a></li>
+ <li><a href="https://blog.mozilla.com/mobile/">{{ _('Blog') }}</a></li>
+ <li><a href="http://www.mozilla.org/en-US/firefox/video?video=fx4-mobile-greatday">{{ _('Videos') }}</a></li>
+ <li class="last"><a href="http://www.mozilla.org/en-US/firefox/channel/">{{ _('Future Releases') }}</a></li>
+ </ul>
+ </li>
{% endblock %}
{% block amo_links %}
- <li class=""><a href="https://addons.mozilla.org/">{{ _('Add-ons') }}</a>
+ <li><a href="https://addons.mozilla.org/">{{ _('Add-ons') }}</a>
<ul>
<li class="first"><a href="https://addons.mozilla.org/firefox/">{{ _('Firefox Add-ons') }}</a></li>
<li><a href="https://addons.mozilla.org/firefox/featured/">{{ _('Featured Add-ons') }}</a></li>
@@ -55,18 +55,19 @@
</li>
{% endblock %}
{% block about_links %}
- <li class="last"><a href="http://www.mozilla.org/about/">{{ _('About') }}</a>
- <ul>
- <li class="first"><a href="http://www.mozilla.org/about/">{{ _('About Firefox') }}</a></li>
- <li><a href="http://www.mozilla.org/about/participate/">{{ _('Participate') }}</a></li>
- <li><a href="http://www.mozilla.org/press/">{{ _('Communications') }}</a></li>
- <li><a href="http://www.mozilla.org/en-US/firefox/brand/">{{ _('Brand Toolkit') }}</a></li>
- <li><a href="http://www.mozilla.org/about/careers.html">{{ _('Careers') }}</a></li>
- <li><a href="http://www.mozilla.org/about/partnerships.html">{{ _('Partnerships') }}</a></li>
- <li><a href="http://www.mozilla.org/about/legal.html">{{ _('Legal') }}</a></li>
- <li><a href="http://www.mozilla.org/about/contact.html">{{ _('Contact Us') }}</a></li>
- <li class="last"><a href="http://blog.mozilla.com/">{{ _('Blog') }}</a></li>
- </ul>
- </li>
+ <li class="last"><a href="http://www.mozilla.org/about/">{{ _('About') }}</a>
+ <ul>
+ <li class="first"><a href="http://www.mozilla.org/about/">{{ _('About Firefox') }}</a></li>
+ <li><a href="http://www.mozilla.org/join">{{ _('Join Mozilla') }}</a></li>
+ <li><a href="http://www.mozilla.org/about/participate/">{{ _('Participate') }}</a></li>
+ <li><a href="http://www.mozilla.org/press/">{{ _('Press Center') }}</a></li>
+ <li><a href="http://www.mozilla.org/en-US/firefox/brand/">{{ _('Brand Toolkit') }}</a></li>
+ <li><a href="http://www.mozilla.org/about/careers.html">{{ _('Careers') }}</a></li>
+ <li><a href="http://www.mozilla.org/about/partnerships.html">{{ _('Partnerships') }}</a></li>
+ <li><a href="http://www.mozilla.org/about/legal.html">{{ _('Legal') }}</a></li>
+ <li><a href="http://www.mozilla.org/about/contact.html">{{ _('Contact Us') }}</a></li>
+ <li class="last"><a href="http://blog.mozilla.com/">{{ _('Blog') }}</a></li>
+ </ul>
+ </li>
{% endblock %}
</ul>
View
@@ -3,6 +3,8 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1024">
+ <meta name="og:image"
+ content="http://mozcom-cdn.mozilla.net/img/firefox-100.jpg">
<title>Firefox Nightly Builds</title>
<style>
@@ -17,6 +19,8 @@
<link rel="stylesheet" media="screen,projection,tv" href="css/template.css">
<link rel="stylesheet" media="screen,projection,tv" href="css/nightly.css">
+ <link rel="icon" type="image/png" href="img/favicon.png">
+ <!--[if IE]><link rel="shortcut icon" href="img/favicon.ico"><![endif]-->
</head>
<body>
@@ -136,8 +140,6 @@
<span class="intro">{{ _('Want us to keep in touch?') }}</span>
<a href="http://www.mozilla.com/newsletter/">{{ _('Get Monthly News <span>&raquo;</span>') }}</a>
</p>
-
- {# include "newsletter.html" #}
{% endblock %}
</div>
</div>

0 comments on commit 88c5d8f

Please sign in to comment.