Skip to content
This repository was archived by the owner on Mar 15, 2018. It is now read-only.

Commit eb174f6

Browse files
committed
increasing homepage snazz factor
1 parent 81830a6 commit eb174f6

File tree

5 files changed

+44
-39
lines changed

5 files changed

+44
-39
lines changed

media/css/mkt/buttons.less

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,35 @@ button {
142142
display: inline-block;
143143
line-height: 36px;
144144
}
145+
146+
.arrow.button {
147+
.border-box;
148+
padding-right: 48px;
149+
color: lighten(@text, 60%);
150+
font-size: 18px;
151+
line-height: 35px;
152+
position: relative;
153+
text-align: left;
154+
&:after {
155+
background: url(../../img/mkt/arrows/plain-lrg-go.png) 0 0 no-repeat;
156+
content: "";
157+
display: block;
158+
height: 19px;
159+
opacity: .7;
160+
position: absolute;
161+
top: 8px;
162+
right: 15px;
163+
width: 18px;
164+
}
165+
&:hover {
166+
color: @white;
167+
&:after {
168+
opacity: 1;
169+
}
170+
}
171+
}
172+
173+
.html-rtl .arrow.button {
174+
text-align: right;
175+
}
176+

media/css/mkt/home.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
text-shadow: 0 1px 0 rgba(0,0,0,.25);
3030
div {
3131
.border-box;
32-
background: url(../../img/mkt/quest.png) 100% 58px no-repeat;
32+
background: url(../../img/mkt/crate.png) 100% 58px no-repeat;
3333
min-height: 330px;
3434
padding-top: 58px;
3535
position: relative;
@@ -39,6 +39,7 @@
3939
p {
4040
font-size: 14px;
4141
width: 320px;
42+
margin-bottom: 24px;
4243
}
4344
h1 {
4445
font-size: 48px;

media/css/mkt/slider.less

Lines changed: 4 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@
2323
.controls {
2424
.next-page, .prev-page {
2525
.border-radius(10px 0 0 10px);
26-
.transition(~'.2s opacity, .2s visibility');
26+
.box-shadow(0 0 4px fadeOut(#000, 50%));
27+
.transition(~'.2s opacity, .2s background');
2728
position: absolute;
2829
display: block;
2930
opacity: 0;
30-
visibility: hidden;
3131
width: 48px;
3232
height: 220px;
3333
left: 0;
34-
background: fadeOut(@white, 80%);
34+
pointer-events: none;
35+
background: fadeOut(@white, 75%);
3536
z-index: 1;
3637
&.show {
3738
opacity: 1;
38-
visibility: visible;
3939
}
4040
&:after {
4141
content: '';
@@ -251,33 +251,3 @@
251251
}
252252
}
253253

254-
.arrow.button {
255-
.border-box;
256-
.width(3);
257-
color: lighten(@text, 60%);
258-
font-size: 18px;
259-
line-height: 35px;
260-
position: relative;
261-
text-align: left;
262-
&:after {
263-
background: url(../../img/mkt/arrows/plain-lrg-go.png) 0 0 no-repeat;
264-
content: "";
265-
display: block;
266-
height: 19px;
267-
opacity: .7;
268-
position: absolute;
269-
top: 8px;
270-
right: 15px;
271-
width: 18px;
272-
}
273-
&:hover {
274-
color: @white;
275-
&:after {
276-
opacity: 1;
277-
}
278-
}
279-
}
280-
281-
.html-rtl .arrow.button {
282-
text-align: right;
283-
}

media/img/mkt/crate.png

56 KB
Loading

mkt/home/templates/home/home.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88
<h1>{{ _('Opening Soon.') }}</h1>
99
<p>
1010
{% trans %}
11-
Get apps for all your internet connected devices
12-
and discover the best the web has to offer.
11+
We're inviting Mozillians to take the Marketplace for a test drive
12+
and discover the best the Web has to offer.
13+
Download apps, give them a try and let us know what you think.
14+
Thanks for your support!
1315
{% endtrans %}
1416
</p>
15-
<a href="https://developer.mozilla.org/Apps" class="button arrow"
16-
target="_blank">{{ _('Learn more') }}</a>
17+
<a href="https://wiki.mozilla.org/Marketplace/Mozillian_Preview"
18+
class="button arrow" target="_blank">{{ _('Test & Give Feedback') }}</a>
1719
</div>
1820
</section>
1921
<section id="home-featured" class="featured full">

0 commit comments

Comments
 (0)