This repository has been archived by the owner on Mar 15, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close #667
- Loading branch information
Showing
5 changed files
with
89 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,96 @@ | ||
@import 'lib'; | ||
|
||
.mkt-banner { | ||
background: $grey-gardens-gray; | ||
color: $cement-gray; | ||
background: $dark-gray; | ||
color: $white; | ||
display: block; | ||
overflow: hidden; | ||
position: relative; | ||
line-height: 1.3; | ||
} | ||
|
||
.mkt-banner-content { | ||
margin: 2px auto; | ||
max-width: $max-site-width; | ||
position: relative; | ||
text-align: center; | ||
|
||
.close { | ||
margin-top: -17px; | ||
top: 50%; | ||
} | ||
|
||
span { | ||
display: inline-block; | ||
margin-top: 10px; | ||
padding: 0; | ||
} | ||
|
||
|
||
a { | ||
border-radius: 5px; | ||
color: #fff; | ||
display: inline-block; | ||
margin: 10px; | ||
padding: 10px; | ||
text-decoration: none; | ||
} | ||
} | ||
|
||
.mkt-banner-firefox { | ||
.mkt-banner-content { | ||
align-items: center; | ||
background: url("../img/logos/firefox-64.png") no-repeat; | ||
background-position: 0 50%; | ||
background-size: 64px 60px; | ||
display-flex(); | ||
flex-line(); | ||
margin: 0 auto; | ||
max-width: $max-site-width; | ||
min-height: 60px; | ||
padding: 10px 40px 10px 70px; | ||
position: relative; | ||
text-align: left; | ||
padding: 0 40px 0 70px; | ||
} | ||
|
||
.close { | ||
margin-top: -17px; | ||
top: 50%; | ||
a { | ||
background-color: $darker-gray; | ||
|
||
&:hover { | ||
background-color: darken($darker-gray, 10%); | ||
} | ||
} | ||
|
||
.close, | ||
.close:hover { | ||
background-color: transparent; | ||
} | ||
} | ||
|
||
.mkt-banner.mkt-banner-success { | ||
background: #64be3c; | ||
color: #fff; | ||
.mkt-banner-success { | ||
background: $primary-green; | ||
|
||
.mkt-banner-content { | ||
font-size: 15px; | ||
font-weight: 300; | ||
font-weight: 500; | ||
padding: 0 10px; | ||
} | ||
|
||
small { | ||
display: block; | ||
font-size: 12px; | ||
padding-top: 5px; | ||
font-size: 15px; | ||
font-weight: 400; | ||
} | ||
|
||
a { | ||
color: #fff; | ||
font-weight: 500; | ||
text-decoration: underline; | ||
background-color: $dark-green; | ||
|
||
&:hover { | ||
background-color: darken($dark-green, 10%); | ||
} | ||
} | ||
} | ||
|
||
@media (min-width: 1025px) { | ||
.mkt-banner-content { | ||
padding: 0; | ||
} | ||
} | ||
|
||
@media $narrower-than-desktop { | ||
.mkt-banner small { | ||
display: none; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
<mkt-banner id="fx-accounts-banner" success dismiss="off"> | ||
{{ _('Firefox Accounts has arrived!') }} | ||
<span> | ||
{{ _('Firefox Accounts has arrived') }} | ||
</span> | ||
<mkt-login link> | ||
{% if logged_in %} | ||
{{ _("Transfer your account now. It's easy.") }} | ||
{% else %} | ||
{{ _("Simply sign in to transfer your account.") }} | ||
{% endif %} | ||
{{ _("Learn how to transfer your account") }} | ||
</mkt-login> | ||
<small> | ||
<a href="https://developer.mozilla.org/Firefox_Accounts"> | ||
{{ _('Learn more about Firefox Accounts.</a>') }} | ||
</a> | ||
{{ _("It's easy.") }} | ||
</small> | ||
</mkt-banner> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<mkt-banner id="incompatibility-banner" dismiss="remember"> | ||
<span>{{ _('You must use Firefox to install Firefox apps.') }}</span> | ||
<a href="http://www.mozilla.org/firefox/" target="_blank" class="firefox-download">{{ _('Download.') }}</a> | ||
<a href="http://www.mozilla.org/firefox/" target="_blank" class="firefox-download">{{ _('Download') }}</a> | ||
</mkt-banner> |