Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove unified from repo (moved to branch).

  • Loading branch information...
commit 09da74ed6ed29a8e240388344effa212a98fe74f 1 parent a534ddf
@Osmose authored
View
776 unified/css/template.css
@@ -1,776 +0,0 @@
-/* Page Frame */
-
-body {
- text-align: center;
- font-family: Georgia, serif;
- margin: 0;
- min-width: 990px;
- padding: 0;
-}
-
-#nav-access {
- display: none;
-}
-
-#doc {
- width: 980px;
- margin: auto;
- text-align: left;
- position: relative;
- z-index: 1;
-}
-
-[dir="rtl"] #doc {
- text-align: right;
-}
-
-#doc:after {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
-}
-
-#wrapper {
- min-width: 980px;
-}
-
-.hide {
- display: none;
-}
-
-/* Header */
-
-body {
- background: #fff url(../img/template/page-background.png) 50% 0 repeat-x;
- border-top: 2px solid #686868;
-}
-
-#header {
- text-align: center;
- height: 57px;
- margin: 0 10px;
-}
-
-#header h1 {
- margin: 0;
- float: left;
-}
-
-#header h1 a,
-#header h1 a:link,
-#header h1 a:visited {
- display: block;
- height: 61px;
- width: 160px;
- background: url(../img/covehead/template/title.png) 0 0 no-repeat;
- text-indent: -500px;
- font-size: 1px;
- overflow: hidden;
- -moz-transition: background 0.2s ease-in-out;
- -webkit-transition: background 0.2s ease-in-out;
- -o-transition: background 0.2s ease-in-out;
- transition: background 0.2s ease-in-out;
-}
-
-#footer h3 a:hover,
-#footer h3 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;
- -moz-transition: background 0.2s ease-in-out;
- -webkit-transition: background 0.2s ease-in-out;
- -o-transition: background 0.2s ease-in-out;
- transition: background 0.2s ease-in-out;
-}
-
-/* Header Menu */
-
-/* Top Level Menu Items */
-
-#nav-main {
- display: inline-block;
- *display: inline;
- _height: 47px;
- zoom: 1;
- text-align: left;
- font: bold 13px "Trebuchet MS", sans-serif;
- text-transform: uppercase;
-}
-
-#nav-main li {
- list-style: none;
-}
-
-#nav-main ul {
- float: left;
- z-index: 99;
- left: auto;
- margin: 0;
- padding: 0;
-}
-
-#nav-main li {
- float: left;
- background: none;
- margin: 0 0 0 -1px;
- padding: 0;
- position: relative;
- z-index: 100;
-}
-
-#nav-main li a,
-#nav-main li a:link,
-#nav-main li a:visited,
-#nav-main li span {
- padding: 15px 30px 10px 10px;
- height: 18px;
- display: block;
- float: left;
- border: 1px solid #98b2c9;
- border-width: 0 1px;
- z-index: 100;
- position: relative;
- color: #484848;
- text-decoration: none;
-}
-
-#nav-main li.current.last a {
- border-color: #98b2c9;
-}
-
-#nav-main li a:hover,
-#nav-main li:hover a,
-#nav-main li.hover a,
-#nav-main li.hover a:link,
-#nav-main li.hover a:visited {
- box-shadow:
- rgba(152,178,201,0.2) 0 0px 0px,
- inset rgba(255,255,255,0.8) 0 -6px 20px 10px;
- -moz-box-shadow:
- rgba(152,178,201,0.2) 0 0px 0px,
- inset rgba(255,255,255,0.8) 0 -6px 20px 10px;
- -webkit-box-shadow:
- rgba(152,178,201,0.2) 0 0px 0px,
- inset rgba(255,255,255,0.8) 0 -6px 20px 10px;
- -moz-transition: 0.2s linear;
- -moz-transition-property: background, box-shadow, border-right;
- -webkit-transition: 0.2s linear;
- -webkit-transition-property: background, box-shadow, border-right;
- -o-transition: 0.2s linear;
- -o-transition-property: background, box-shadow, border-right;
- transition: 0.2s linear;
- transition-property: background, box-shadow, border-right;
- background: rgb(251,253,255);
- background: rgba(255,255,255,0);
- outline: 0;
- padding-bottom: 15px;
-}
-
-#nav-main li.last a,
-#nav-main li.last span {
- border-right-color: transparent;
-}
-
-#nav-main li.last a:hover,
-#nav-main li.last a:focus,
-#nav-main li.last a:active,
-.js #nav-main li.last a:focus,
-#nav-main li.hover a {
- border-right-color: #98b2c9;
-}
-
-/* Second-level Menu Items */
-
-#nav-main li:hover ul,
-.js #nav-main li.hover ul {
- margin-top: 47px;
- left: 0;
- opacity: 1;
- -moz-transition: opacity 0.2s ease-in-out;
- -webkit-transition: opacity 0.2s ease-in-out;
- -o-transition: opacity 0.2s ease-in-out;
- transition: opacity 0.2s ease-in-out;
-}
-
-#nav-main ul ul,
-#nav-main ul ul li {
- height: auto;
- border: 0;
- float: none;
-}
-
-#nav-main ul ul {
- position: absolute;
- left: -999em;
- opacity: 0;
- z-index: 99;
- border: 1px solid #98b2c9;
- width: 190px;
- -moz-border-radius: 0 4px 4px 4px;
- -webkit-border-radius: 0 4px 4px 4px;
- border-radius: 0 4px 4px 4px;
- text-shadow: 1px 1px 0 #fff, 0 0 5px #fff;
- background: #fbfdff;
- background: rgba(255,255,255,0.9);
- box-shadow:
- rgba(152,178,201,0.2) 0 2px 0px,
- inset rgba(152,178,201,0.3) 0 -2px 0;
- -moz-box-shadow:
- rgba(152,178,201,0.2) 0 2px 0px,
- inset rgba(152,178,201,0.3) 0 -2px 0;
- -webkit-box-shadow:
- rgba(152,178,201,0.2) 0 2px 0px,
- inset rgba(152,178,201,0.3) 0 -2px 0;
-}
-
-#nav-main ul ul li {
- box-shadow:
- inset rgba(152,178,201,0.2) 0 -1px 0 0;
- -moz-box-shadow:
- inset rgba(152,178,201,0.2) 0 -1px 0 0;
- -webkit-box-shadow:
- inset rgba(152,178,201,0.2) 0 -1px 0 0;
- margin-left: 0;
-}
-
-#nav-main ul ul a,
-#nav-main ul ul a:link,
-#nav-main ul ul a:visited {
- overflow: hidden;
- padding: 8px 10px;
- margin: 0;
- height: auto;
- float: none;
- display: block;
- font-size: 10px;
- border: 0;
- background: none;
- box-shadow: none;
- -moz-box-shadow: none;
- -webkit-box-shadow: none;
- position: relative;
- -moz-transition: background 0.1s ease-in;
- -webkit-transition: background 0.1s ease-in;
- -o-transition: background 0.1s ease-in;
- transition: background 0.1s ease-in;
-}
-
-#nav-main ul ul a:hover,
-#nav-main ul ul a:focus,
-#nav-main ul ul a:active,
-.js #nav-main ul ul a:focus,
-#nav-main ul li.current ul li a:hover,
-#nav-main ul li.current ul li a:focus,
-#nav-main ul li.current ul li a:active,
-.js #nav-main ul li.current ul li a:focus {
- background: rgb(227,235,244);
- background: rgba(152,178,201,0.2);
- box-shadow:
- inset rgba(152,178,201,0.3) 0 2px 0px,
- 0 0 3px 2px rgba(152,178,201,.2) inset;
- -moz-box-shadow:
- inset rgba(152,178,201,0.3) 0 2px 0px,
- 0 0 3px 2px rgba(152,178,201,.2) inset;
- -webkit-box-shadow:
- inset rgba(152,178,201,0.3) 0 2px 0px,
- 0 0 3px 2px rgba(152,178,201,.2) inset;
- -moz-transition: background 0.1s ease-out;
- -webkit-transition: background 0.1s ease-out;
- -o-transition: background 0.1s ease-out;
- transition: background 0.1s ease-out;
-}
-
-#nav-main ul li:hover ul li a,
-#nav-main ul li.hover ul li a:link,
-#nav-main ul li.hover ul li a:visited {
- padding-bottom: 8px;
-}
-
-/* Currently active menu items */
-
-#nav-main ul li.current span,
-#nav-main ul li.current a,
-#nav-main ul li.current a:link,
-#nav-main ul li.current a:visited {
- border-bottom-width: 1px;
- -moz-border-radius: 0 0 4px 4px;
- -webkit-border-radius: 0 0 4px 4px;
- border-radius: 0 0 4px 4px;
- background: #fbfdff;
- background: -moz-linear-gradient(top, rgba(255,255,255,0.4) 0%,
- rgba(255,255,255,0.8) 100%);
- box-shadow:
- rgba(152,178,201,0.2) 0 0px 0px,
- inset rgba(152,178,201,0.3) 0 -2px 0,
- inset rgba(255,255,255,0.8) 0 -6px 6px 4px;
- -moz-box-shadow:
- rgba(152,178,201,0.2) 0 0px 0px,
- inset rgba(152,178,201,0.3) 0 -2px 0,
- inset rgba(255,255,255,0.8) 0 -6px 6px 4px;
- -webkit-box-shadow:
- rgba(152,178,201,0.2) 0 0px 0px,
- inset rgba(152,178,201,0.3) 0 -2px 0,
- inset rgba(255,255,255,0.8) 0 -6px 6px 4px;
- padding-right: 30px;
- padding-bottom: 15px;
-}
-
-#nav-main ul li.current:hover a,
-#nav-main ul li.current.hover a,
-#nav-main ul li.current a:hover,
-#nav-main ul li.current a:focus,
-#nav-main ul li.current a:active,
-.js #nav-main ul li.current a:focus {
- box-shadow: none;
- -moz-box-shadow: none;
- -webbkit-box-shadow: none;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- border-radius: 0;
- border-bottom: 0;
-}
-
-#nav-main ul li.current ul span,
-#nav-main ul li.current ul a,
-#nav-main ul li.current ul a:link,
-#nav-main ul li.current ul a:visited {
- background: none;
- height: auto;
- box-shadow: none;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- padding: 8px 10px;
-}
-
-#header a.mozilla {
- position: relative;
- float: right;
- display: block;
- height: 49px;
- width: 118px;
- background: url(../img/covehead/template/title.png) 100% 0 no-repeat;
- text-indent: -200px;
- overflow: hidden;
-}
-
-/* Sub-Footer */
-
-#sub-footer {
- background: #3d6db5 url(../img/template/footer-background.png) top center repeat-x;
- color: #476fbe;
- clear: both;
-}
-
-#sub-footer a:link,
-#sub-footer a:visited {
- text-decoration: none;
-}
-
-#sub-footer a:hover,
-#sub-footer a:active {
- text-decoration: underline;
-}
-
-#sub-footer #sub-footer-contents {
- margin: auto;
- width: 980px;
- text-align: left;
- overflow: auto;
-}
-
-#sub-footer h3 {
- margin: 115px 0 10px 0;
- float: left;
- background: url(../img/template/footer-social.png) 50% 0 no-repeat;
- height: 100px;
- width: 126px;
- padding: 15px 0 0 25px;
- font: italic 22px georgia, serif;
- color: #33559b;
- line-height: 22px;
-}
-
-#sub-footer h3 span {
- font: bold 22px MetaBlack, "Trebuchet MS", sans-serif;
- text-transform: uppercase;
- color: #fff;
-}
-
-.social {
- margin: 100px 0 0 0;
- left: auto;
- float: left;
-}
-
-.social li {
- float: left;
- padding: 0;
- margin: 0 15px 0 0;
- background: none;
-}
-
-.social a,
-.social a:link,
-.social a:visited {
- display: block;
- background: url(../img/template/footer-social.png) 50% 0 no-repeat;
- width: 110px;
- padding: 60px 0 0 0;
- font: italic 18px Georgia, serif;
- line-height: 18px;
- text-align: center;
- color: #fff;
- -moz-transition: text-shadow 0.2s ease-out;
- -webkit-transition: text-shadow 0.2s ease-out;
- -o-transition: text-shadow 0.2s ease-out;
- transition: text-shadow 0.2s ease-out;
-}
-
-.social a:hover,
-.social a:active {
- text-shadow: 1px 1px 2px rgba(0,0,0,0.5), 0 0 5px rgba(51,85,155,1), 0 0 20px rgba(255,255,255,0.6);
- -moz-transition: text-shadow 0.1s ease-out;
- -webkit-transition: text-shadow 0.1s ease-out;
- -o-transition: text-shadow 0.1s ease-out;
- transition: text-shadow 0.1s ease-out;
-}
-
-#footer-twitter a {
- background-position: 50% -115px;
-}
-
-#footer-facebook a {
- background-position: 50% -215px;
-}
-
-#footer-connect a {
- background-position: 50% -315px;
-}
-
-#sub-footer-newsletter {
- float: right;
- width: 275px;
- background: url(../img/template/footer-social.png) 30% -412px no-repeat;
- margin: 0 32px 0 0;
- padding: 135px 0 0 0;
- line-height: 24px;
- text-align: left;
-}
-
-#sub-footer-newsletter span.intro {
- display: block;
- font: italic 18px Georgia, serif;
- line-height: 18px;
- color: #fff;
-}
-
-#sub-footer-newsletter a,
-#sub-footer-newsletter a:link,
-#sub-footer-newsletter a:visited {
- font: bold 22px MetaBlack, "Trebuchet MS", sans-serif;
- color: #83b3f2;
- -moz-transition: text-shadow 0.2s ease-in;
- -webkit-transition: text-shadow 0.2s ease-in;
- -o-transition: text-shadow 0.2s ease-in;
- transition: text-shadow 0.2s ease-in;
-}
-
-#sub-footer-newsletter a:hover,
-#sub-footer-newsletter a:active {
- text-shadow: 1px 1px 1px rgba(0,0,0,0.3), 0 0 5px rgba(51,85,155,1), 0 0 20px rgba(255,255,255,0.4);
-}
-
-/* Footer */
-
-#footer {
- background: #33559b url(../img/template/footer-background.png) -200px center repeat-x;
- text-align: center;
- color: #476fbe;
- clear: both;
- padding: 5px 0;
-}
-
-#footer a:link,
-#footer a:visited {
- color: #669be1;
- text-decoration: none;
- -moz-transition: color 0.1s ease-in;
- -webkit-transition: color 0.1s ease-in;
- -o-transition: color 0.1s ease-in;
- transition: color 0.1s ease-in;
-}
-
-#footer a:hover,
-#footer a:active {
- color: #fff;
- text-decoration: underline;
- -moz-transition: color 0.1s ease-out;
- -webkit-transition: color 0.1s ease-out;
- -o-transition: color 0.1s ease-out;
- transition: color 0.1s ease-out;
-}
-
-#footer-contents {
- width: 980px;
- text-align: left;
- margin: auto;
-}
-
-#footer-contents[dir=rtl] {
- text-align: right;
-}
-
-#footer h3 a,
-#footer h3 a:link,
-#footer h3 a:visited {
- display: block;
- height: 40px;
- width: 100px;
- background: url(../img/covehead/template/footer-title.png) 0 0 no-repeat;
- text-indent: -200px;
- font-size: 1px;
- overflow: hidden;
-}
-
-#footer-logo {
- float: left;
- display: inline;
- margin: 15px 50px 0 10px;
-}
-
-#footer-logo a,
-#footer-logo a:link,
-#footer-logo a:visited {
- font-size: 28px;
- padding: 0;
-}
-
-#footer-menu,
-#footer-menu ul {
- margin: 0;
- padding: 0;
- list-style-type: none;
- left: auto;
-}
-
-#footer-menu li {
- margin: 15px 10px 0 0;
- padding: 0;
- list-style-type: none;
- float: left;
- display: inline;
- font-weight: bold;
- background: none;
- position: relative;
- width: 115px;
-}
-
-#footer-menu li a,
-#footer-menu li a:link,
-#footer-menu li a:visited,
-#lang_form label {
- color: #fff;
- font: bold 14px MetaBlack, Trechuchet MS, sans-serif;
- text-transform: uppercase;
-}
-
-#footer li li a:link,
-#footer li li a:visited {
- color: #669be1;
- font: 13px Georgia, serif;
- text-transform: none;
-}
-
-#footer li li a:hover,
-#footer li li a:active {
- color: #fff;
-}
-
-#footer-menu ul li ul {
- margin: 4px 0 15px 0;
-}
-
-#footer-menu li.last {
- margin-right: 0;
-}
-
-#footer-menu ul ul li {
- float: none;
- padding: 0 0 .3em 0;
- margin: 0;
- font-weight: normal;
- display: block;
- width: auto;
-}
-
-#footer-right {
- float: right;
- width: 175px;
-}
-
-#lang_form {
- margin: 0 0 15px 22px;
-}
-
-#lang_form label {
- margin: 10px 0 4px 0;
- display: block;
-}
-
-#lang_form select {
- width: 140px;
- font-family: sans-serif;
-}
-
-#lang_form div {
- display: inline;
-}
-
-#copyright {
- clear: both;
-}
-
-#copyright p {
- clear: both;
- margin-bottom: .5em;
- padding-top: .5em;
- font-size: 85%;
-}
-
-#copyright a:hover,
-#footer #copyright a:active {
- text-decoration: underline;
-}
-
-#footer-links {
- font-size: 85%;
- list-style-type: none;
- padding: 0;
-}
-
-#footer-links li {
- border-right: 1px solid #476FBE;
- float: left;
- margin-right: 8px;
- padding-right: 8px;
-}
-
-#footer-links li.last {
- border-right: none;
-}
-
-/* Portal Page Footer */
-
-.portal-page #footer {
- background: #fff url(../img/template/footer-background-minimal.png) 0 0 repeat-x;
- text-align: center;
- color: #999;
- clear: both;
- padding: 100px 0 20px 0;
-}
-
-.portal-page #footer a:hover,
-.portal-page #footer a:active {
- color: #447BC4;
-}
-
-/* Side Menu */
-
-#side-menu {
- position: absolute;
- top: 75px;
- right: 35px;
- left: auto;
- list-style-type: none;
- margin: 0;
- padding: 0;
- width: 170px;
- font: 80% Verdana;
- line-height: 1;
-}
-
-#side-menu li {
- list-style-type: none;
- margin: 0;
- padding: 7px 3px 5px 5px;
- background: url(../img/tignish/template/side-menu-divider.png) top center no-repeat;
-}
-
-#side-menu li.first {
- background: none;
-}
-
-#side-menu li ul {
- margin: 5px 0 0 0;
- left: auto;
-}
-
-#side-menu li ul li {
- padding-left: 8px;
-}
-
-#side-menu span {
- color: #fff;
- font-weight: bold;
-}
-
-#side-menu h3 span {
- font-weight: normal;
-}
-
-#side-menu h3 {
- margin: 0;
- color: #fff;
-}
-
-#side-menu a:link,
-#side-menu a:visited {
- color: #1e4262;
-}
-
-#side-menu a:hover,
-#side-menu a:active {
- color: #1e4262;
-}
-
-/* Breadcrumbs */
-
-#breadcrumbs {
- margin: 15px 10px 20px 25px;
- color: #303030;
-}
-
-#breadcrumbs b {
- font-weight: bold;
- font-size: 120%;
-}
-
-#breadcrumbs a.home {
- background: url(../img/template/breadcrumb-home.png) 0 0 no-repeat;
- display: inline;
- float: left;
- margin: 5px 5px 0 0;
- height: 13px;
- width: 15px;
- overflow: hidden;
- line-height: 50px;
-}
-
-/* Columns */
-
-#main-content {
- margin: 0 20px;
- zoom: 1;
-}
-
-#content {
- margin: 0 20px;
-}
-
-/* Larger text for handheld devices */
-@media handheld {
- #main-content, #main-feature {
- font-size: 130%;
- }
-}
View
131 unified/footer.html
@@ -1,131 +0,0 @@
-<div id="sub-footer">
- <div id="sub-footer-contents">
- {% block sub_footer %}
- <h3>{{ _('Let’s be <span>friends!</span>') }}</h3>
- <ul class="social">
- <li id="footer-twitter"><a href="http://twitter.com/firefox">
- {{ _('Twitter') }}
- </a></li>
- <li id="footer-facebook"><a href="http://Facebook.com/Firefox">
- {{ _('Facebook') }}
- </a></li>
- <li id="footer-connect"><a href="http://www.mozilla.com/firefox/connect/">
- {{ _('More Ways to Connect') }}
- </a></li>
- </ul>
-
- <p id="sub-footer-newsletter">
- <span class="intro">{{ _('Want us to keep in touch?') }}</span>
- <a href="http://www.mozilla.com/newsletter/">{{ _('Get Monthly News <span>»</span>') }}</a>
- </p>
- {% endblock %}
- </div>
-</div>
-
-<div id="footer">
- <div id="footer-contents" role="contentinfo">
- <div id="footer-right">
- {% block lang_switcher %}
- {% endblock %}
- </div>
-
- <h3 id="footer-logo">
- <a href="http://www.mozilla.com/firefox/" title="{{ _('Back to home page') }}">{{ _('Firefox') }}</a>
- </h3>
-
- {# start footer menu #}
- <div id="footer-menu" role="navigation">
- <ul>
- <li>
- <a href="http://www.mozilla.com/firefox/features/">{{ _('Desktop') }}</a>
- <ul>
- <li><a href="http://www.mozilla.com/firefox/features/">{{ _('Features') }}</a></li>
- <li><a href="http://www.mozilla.com/firefox/security/">{{ _('Security') }}</a></li>
- <li><a href="http://www.mozilla.com/firefox/performance/">{{ _('Performance') }}</a></li>
- <li><a href="http://www.mozilla.com/firefox/customize/">{{ _('Customization') }}</a></li>
- <li><a href="http://www.mozilla.com/firefox/technology/">{{ _('Technology') }}</a></li>
- <li><a href="http://www.mozilla.com/firefox/video/">{{ _('Videos') }}</a></li>
- <li><a href="http://www.mozilla.com/firefox/central/">{{ _('Tour') }}</a></li>
- </ul>
- </li>
-
- <li>
- <a href="http://www.mozilla.com/mobile/">{{ _('Mobile') }}</a>
- <ul>
- <li><a href="http://www.mozilla.com/mobile/">{{ _('Mobile Overview') }}</a></li>
- <li><a href="http://www.mozilla.com/mobile/download/">{{ _('Download') }}</a></li>
- <li><a href="http://www.mozilla.com/mobile/features/">{{ _('Features') }}</a></li>
- <li><a href="https://addons.mozilla.org/mobile/?browse=featured">{{ _('Customize') }}</a></li>
- <li><a href="http://www.mozilla.com/mobile/sync/">{{ _('Sync') }}</a></li>
- <li><a href="https://developer.mozilla.org/mobile">{{ _('Develop') }}</a></li>
- <li><a href="http://www.mozilla.com/mobile/getinvolved/">{{ _('Get Involved') }}</a></li>
- <li><a href="http://www.mozilla.com/mobile/faq/">{{ _('FAQ') }}</a></li>
- <li><a href="https://blog.mozilla.com/mobile/">{{ _('Blog') }}</a></li>
- </ul>
- </li>
-
- <li>
- <a href="https://addons.mozilla.org/">{{ _('Add-ons') }}</a>
- <ul>
- <li><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>
- <li><a href="https://addons.mozilla.org/firefox/extensions/">{{ _('Extensions') }}</a></li>
- <li><a href="https://addons.mozilla.org/firefox/themes/">{{ _('Themes') }}</a></li>
- <li><a href="http://www.getpersonas.com/">{{ _('Personas') }}</a></li>
- <li><a href="https://addons.mozilla.org/firefox/search-tools/">{{ _('Search Tools') }}</a></li>
- <li><a href="https://addons.mozilla.org/firefox/language-tools/">{{ _('Language Support') }}</a></li>
- <li><a href="https://addons.mozilla.org/firefox/collections/">{{ _('Collections') }}</a></li>
- <li><a href="https://addons.mozilla.org/mobile/">{{ _('Mobile Add-ons') }}</a></li>
- <li><a href="https://addons.mozilla.org/firefox/developers/">{{ _('Developer Hub') }}</a></li>
- </ul>
- </li>
-
- <li>
- <a href="http://support.mozilla.com/">{{ _('Support') }}</a>
- <ul>
- <li><a href="http://support.mozilla.com/kb/">{{ _('Firefox Support') }}</a></li>
- <li><a href="http://support.mozilla.com/mobile">{{ _('Mobile Support') }}</a></li>
- <li><a href="http://support.mozillamessaging.com/kb/">{{ _('Thunderbird Support') }}</a></li>
- </ul>
- </li>
-
- <li>
- <a href="http://www.mozilla.com/about/">{{ _('About') }}</a>
- <ul>
- <li><a href="http://www.mozilla.com/about/">{{ _('About Firefox') }}</a></li>
- <li><a href="http://www.mozilla.org/join">{{ _('Join Mozilla') }}</a></li>
- <li><a href="http://www.mozilla.com/about/participate/">{{ _('Participate') }}</a></li>
- <li><a href="http://www.mozilla.com/press/">{{ _('Press Center') }}</a></li>
- <li><a href="http://www.mozilla.com/about/careers.html">{{ _('Careers') }}</a></li>
- <li><a href="http://www.mozilla.com/about/partnerships.html">{{ _('Partnerships') }}</a></li>
- <li><a href="http://www.mozilla.com/about/legal.html">{{ _('Legal') }}</a></li>
- <li><a href="http://www.mozilla.com/about/contact.html">{{ _('Contact Us') }}</a></li>
- <li><a href="http://blog.mozilla.com/">{{ _('Blog') }}</a></li>
- </ul>
- </li>
-
- </ul>
- </div>
- {# end footer menu #}
-
- <div id="copyright">
- <ul id="footer-links">
- <li><a href="http://www.mozilla.com/privacy-policy.html">{{ _('Privacy Policy') }}</a></li>
- <li><a href="http://www.mozilla.com/about/legal.html">{{ _('Legal Notices') }}</a></li>
- <li class="last"><a href="http://www.mozilla.com/legal/fraud-report/index.html">
- {{ _('Report Trademark Abuse') }}
- </a></li>
- </ul>
- <p>
- {% trans legal_url='http://www.mozilla.com/about/legal.html#site',
- license_url='http://creativecommons.org/licenses/by-sa/3.0/' %}
- Except where otherwise <a href="{{ legal_url }}">noted</a>,
- content on this site is licensed under the <br/>
- <a href="{{ license_url }}">Creative Commons Attribution Share-Alike License v3.0</a>
- or any later version.
- {% endtrans %}
- </p>
- </div>
-
- </div>{# /footer-contents #}
-</div>
View
83 unified/header.html
@@ -1,83 +0,0 @@
-{# start #header #}
-<div id="header">
- <div>
- <h1><a href="http://www.mozilla.com/firefox/" title="{{ _('Back to home page') }}">{{ _('Mozilla Firefox') }}</a></h1>
- <a href="http://www.mozilla.org/" class="mozilla">{{ _('Mozilla') }}</a>
-
- {# start menu #nav-main #}
- <div id="nav-main" role="navigation">
- <ul role="menubar">
- <li id="nav-main-features" class="first">
- <a aria-haspopup="true" aria-owns="nav-main-features-submenu" tabindex="0" href="http://www.mozilla.com/firefox/features/">Desktop</a>
- <ul id="nav-main-features-submenu" aria-expanded="false">
- <li class="first"><a tabindex="-1" href="http://www.mozilla.com/firefox/features/">{{ _('Features') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/firefox/security/">{{ _('Security') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/firefox/performance/">{{ _('Performance') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/firefox/customize/">{{ _('Customization') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/firefox/technology/">{{ _('Technology') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/firefox/video/">{{ _('Videos') }}</a></li>
- <li class="last"><a tabindex="-1" href="http://www.mozilla.com/firefox/central/">{{ _('Tour') }}</a></li>
- </ul>
- </li>
-
- <li id="nav-main-mobile">
- <a aria-haspopup="true" aria-owns="nav-main-mobile-submenu" tabindex="0" href="http://www.mozilla.com/mobile/">{{ _('Mobile') }}</a>
- <ul id="nav-main-mobile-submenu" aria-expanded="false">
- <li class="first"><a tabindex="-1" href="http://www.mozilla.com/mobile/">{{ _('Mobile Overview') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/mobile/download/">{{ _('Download') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/mobile/features/">{{ _('Features') }}</a></li>
- <li><a tabindex="-1" href="https://addons.mozilla.org/mobile/?browse=featured">{{ _('Customize') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/mobile/sync/">{{ _('Sync') }}</a></li>
- <li><a tabindex="-1" href="https://developer.mozilla.org/mobile">{{ _('Develop') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/mobile/getinvolved/">{{ _('Get Involved') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/mobile/faq/">{{ _('FAQ') }}</a></li>
- <li class="last"><a tabindex="-1" href="https://blog.mozilla.com/mobile/">{{ _('Blog') }}</a></li>
- </ul>
- </li>
-
- <li id="nav-main-addons">
- <a aria-haspopup="true" aria-owns="nav-main-addons-submenu" tabindex="0" href="https://addons.mozilla.org/">{{ _('Add-ons') }}</a>
- <ul id="nav-main-addons-submenu" aria-expanded="false">
- <li class="first"><a tabindex="-1" href="https://addons.mozilla.org/firefox/">{{ _('Firefox Add-ons') }}</a></li>
- <li><a tabindex="-1" href="https://addons.mozilla.org/firefox/featured/">{{ _('Featured Add-ons') }}</a></li>
- <li><a tabindex="-1" href="https://addons.mozilla.org/firefox/extensions/">{{ _('Extensions') }}</a></li>
- <li><a tabindex="-1" href="https://addons.mozilla.org/firefox/themes/">{{ _('Themes') }}</a></li>
- <li><a tabindex="-1" href="http://www.getpersonas.com/">{{ _('Personas') }}</a></li>
- <li><a tabindex="-1" href="https://addons.mozilla.org/firefox/search-tools/">{{ _('Search Tools') }}</a></li>
- <li><a tabindex="-1" href="https://addons.mozilla.org/firefox/language-tools/">{{ _('Language Support') }}</a></li>
- <li><a tabindex="-1" href="https://addons.mozilla.org/firefox/collections/">{{ _('Collections') }}</a></li>
- <li><a tabindex="-1" href="https://addons.mozilla.org/mobile/">{{ _('Mobile Add-ons') }}</a></li>
- <li class="last"><a tabindex="-1" href="https://addons.mozilla.org/firefox/developers/">{{ _('Developer Hub') }}</a></li>
- </ul>
- </li>
-
- <li id="nav-main-support">
- <a aria-haspopup="true" aria-owns="nav-main-support-submenu" tabindex="0" href="http://support.mozilla.com/">{{ _('Support') }}</a>
- <ul id="nav-main-support-submenu" aria-expanded="false">
- <li class="first"><a tabindex="-1" href="http://support.mozilla.com/kb/">{{ _('Firefox Support') }}</a></li>
- <li><a tabindex="-1" href="http://support.mozilla.com/mobile">{{ _('Mobile Support') }}</a></li>
- <li class="last"><a tabindex="-1" href="http://support.mozillamessaging.com/kb/">{{ _('Thunderbird Support') }}</a></li>
- </ul>
- </li>
-
- <li id="nav-main-about" class="last">
- <a aria-haspopup="true" aria-owns="nav-main-about-submenu" tabindex="0" href="http://www.mozilla.com/about/">{{ _('About') }}</a>
- <ul id="nav-main-about-submenu" aria-expanded="false">
- <li class="first"><a tabindex="-1" href="http://www.mozilla.com/about/">{{ _('About Firefox') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.org/join">{{ _('Join Mozilla') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/about/participate/">{{ _('Participate') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/press/">{{ _('Press Center') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/about/careers.html">{{ _('Careers') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/about/partnerships.html">{{ _('Partnerships') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/about/legal.html">{{ _('Legal') }}</a></li>
- <li><a tabindex="-1" href="http://www.mozilla.com/about/contact.html">{{ _('Contact Us') }}</a></li>
- <li class="last"><a tabindex="-1" href="http://blog.mozilla.com/">{{ _('Blog') }}</a></li>
- </ul>
- </li>
- </ul>
- </div>
- {# end menu #nav-main #}
-
- </div>
-</div>
-{# end #header #}
View
0  unified/img/.gitignore
No changes.
View
BIN  unified/img/covehead/template/footer-title.png
Deleted file not rendered
View
BIN  unified/img/covehead/template/title.png
Deleted file not rendered
View
BIN  unified/img/favicon.png
Deleted file not rendered
View
BIN  unified/img/template/email-link.png
Deleted file not rendered
View
BIN  unified/img/template/footer-background.png
Deleted file not rendered
View
BIN  unified/img/template/footer-social.png
Deleted file not rendered
View
BIN  unified/img/template/page-background.png
Deleted file not rendered
View
85 unified/js/nav-main.js
@@ -1,85 +0,0 @@
-$(document).ready(function() {
- if ($('#nav-main').length === 0) {
- return;
- }
-
- var main_menuitems = $('#nav-main [tabindex="0"]');
- var prev_li, new_li, focused_item;
-
- $('#nav-main > li').bind('mouseover focusin', function(event) {
- new_li = $(this);
- if (!prev_li || prev_li.attr('id') !== new_li.attr('id')) {
- // Open the menu
- new_li.addClass('hover').find('[role="menu"]').attr('aria-expanded', 'true');
- if (prev_li) {
- // Close the last selected menu
- prev_li.dequeue();
- }
- } else {
- prev_li.clearQueue();
- }
- }).bind('mouseout focusout', function(event) {
- prev_li = $(this);
- prev_li.delay(100).queue(function() {
- if (prev_li) {
- prev_li.clearQueue();
- // Close the menu
- prev_li.removeClass('hover').find('[role="menu"]').attr('aria-expanded', 'false');
- prev_li = null;
- if (focused_item) {
- focused_item.get(0).blur();
- }
- }
- });
- }).each(function(menu_idx) {
- var menu = $(this).find('[role="menu"]');
- var menuitems = $(this).find('a');
-
- menuitems.mouseover(function(event) {
- this.focus(); // Sometimes $(this).focus() doesn"t work
- }).focus(function() {
- focused_item = $(this);
- }).each(function(item_idx) {
- // Enable keyboard navigation
- $(this).keydown(function(event) {
- var target;
- switch (event.keyCode) {
- case 33: // Page Up
- case 36: // Home
- target = menuitems.first();
- break;
- case 34: // Page Down
- case 35: // End
- target = menuitems.last();
- break;
- case 38: // Up
- target = (item_idx > 0) ? menuitems.eq(item_idx - 1)
- : menuitems.last();
- break;
- case 40: // Down
- target = (item_idx < menuitems.length - 1) ? menuitems.eq(item_idx + 1)
- : menuitems.first();
- break;
- case 37: // Left
- target = (menu_idx > 0) ? main_menuitems.eq(menu_idx - 1)
- : main_menuitems.last();
- break;
- case 39: // Right
- target = (menu_idx < main_menuitems.length - 1) ? main_menuitems.eq(menu_idx + 1)
- : main_menuitems.first();
- break;
- }
- if (target) {
- target.get(0).focus(); // Sometimes target.focus() doesn't work
- return false;
- }
- return true;
- });
- });
- });
-
- // With JavaScript enabled, we can provide a full navigation with #nav-main.
- // Now "hide" the duplicated #footer-menu from AT.
- $('#footer-menu').attr('role', 'presentation');
-});
-
Please sign in to comment.
Something went wrong with that request. Please try again.