Skip to content

Commit

Permalink
Improve download help screenshots for Bug 918913
Browse files Browse the repository at this point in the history
 - Update screenshots to reflect the stub installer on Windows (Bug 918913)
 - Use the new logo in the windows screenshots (Bug 921264)
 - Adjust the size of the screenshots to fit on the grid
 - Sprite the download screenshots and use JPG (faster/better)
 - Use wider/shorter aspect ration to leave more room for text below
 - Update responsive styles accordingly
  • Loading branch information
sgarrity committed Oct 31, 2013
1 parent 024c8c8 commit 85f5137
Show file tree
Hide file tree
Showing 18 changed files with 43 additions and 41 deletions.
9 changes: 6 additions & 3 deletions bedrock/firefox/templates/firefox/new.html
Expand Up @@ -134,14 +134,16 @@ <h1 class="large">{{_('Different by design')}}</h1>
</div>

<ol class="installation">
<li id="install1">
<li class="install1">
<span class="screen"></span>
<strong>{{_('1')}}.</strong>
<span class="install-win">
{{_('Start the process by clicking Run.')}}
</span>
{{_('Your download should begin automatically. If not, <a id="%s" href="">click here</a>. It could take a few minutes, but it’s worth the wait.')|format('direct-download-link')}}
</li>
<li id="install2">
<li class="install2">
<span class="screen"></span>
<strong>{{_('2')}}.</strong>
<span class="install-osx">
{{_('When prompted, drag the Firefox icon into the image of your Applications folder.')}}
Expand All @@ -150,7 +152,8 @@ <h1 class="large">{{_('Different by design')}}</h1>
{{_("Click Run to launch the Mozilla Firefox setup wizard. Then, just follow the steps (we've made the process as painless as possible).")}}
</span>
</li>
<li id="install3">
<li class="install3">
<span class="screen"></span>
<strong>{{_('3')}}.</strong>
<span class="install-osx">
{{_('Drag the Firefox icon from the Applications folder into the dock. Then, just click on Firefox whenever you want to use the web!')}}
Expand Down
75 changes: 37 additions & 38 deletions media/css/firefox/new.less
Expand Up @@ -292,58 +292,52 @@ html[lang="uk"] {
.installation {
margin: 12px auto 0;
padding: 0;
width: 900px;
display: block;
list-style-type: none;
.clearfix;
li {
float: left;
width: 248px;
padding: 196px 0 0 0;
.span(4);
overflow: hidden;
margin: 0 26px;
text-align: left;
font-size: 12px;
color: @textColorTertiary;
font-style: italic;
background-size: 100%;
background-repeat: no-repeat;
.screen {
display: block;
width: 298px;
height: 150px;
border: 1px solid #ccc;
margin-bottom: 5px;
background-size: 100%;
background-color: transparent;
background-repeat: no-repeat;
background-position: 0 0;
}
&.install2 .screen { background-position: 0 -160px; }
&.install3 .screen { background-position: 0 -320px; }
}
}

#install3 { margin-right: 0; }
}

.osx .ready-for-scene2 {
#install1 { background-image: url(/media/img/firefox/new/install1-mac.png?2013-06); }
#install2 { background-image: url(/media/img/firefox/new/install2-mac.png?2013-06); }
#install3 { background-image: url(/media/img/firefox/new/install3-mac.png?2013-06); }
}

.windows .ready-for-scene2 {
#install1 { background-image: url(/media/img/firefox/new/install1-win.png?2013-06); }
#install2 { background-image: url(/media/img/firefox/new/install2-win.png?2013-06); }
#install3 { background-image: url(/media/img/firefox/new/install3-win.png?2013-06); }
}
.osx .ready-for-scene2 .screen { background-image: url(/media/img/firefox/new/install-mac.jpg); }
.windows .ready-for-scene2 .screen { background-image: url(/media/img/firefox/new/install-win.jpg); }
.winIE8 .ready-for-scene2 .screen { background-image: url(/media/img/firefox/new/install-winIE8.jpg); }

.winIE8 .ready-for-scene2 {
#install1 { background-image: url(/media/img/firefox/new/install1-winIE8.png); }
}

.osx .install-win,
.linux .install-win,
.osx .install-win,
.linux .install-win,
.windows .install-osx,
.linux .install-osx,
.linux #install1 strong,
.linux .installation li:not(#install1) {
.linux .install-osx,
.linux .install1 strong,
.linux .installation .install1 .screen,
.linux .install2,
.linux .install3 {
display: none;
}

.linux #install1 {
float: none;
margin: 0;
.linux .installation .install1 {
.span-all();
padding: 0;
width: 100%;
text-align: center;
}

Expand Down Expand Up @@ -491,11 +485,14 @@ noscript {
margin: 0 40px;
}
.installation {
width: 700px;
li {
width: 200px;
padding: 159px 0 0 0;
margin: 0 15px;
.span_narrow(4);
.screen {
width: 218px;
height: 109px;
}
&.install2 .screen { background-position: 0 -117px; }
&.install3 .screen { background-position: 0 -234px; }
}
}
}
Expand Down Expand Up @@ -702,8 +699,10 @@ noscript {
}
}
}
.osx .ready-for-scene2, .windows .ready-for-scene2, .winIE8 .ready-for-scene2 {
#install1, #install2, #install3 { background-image: none; }
.osx,
.windows,
.winIE8 {
.ready-for-scene2 .installation li .screen { display: none; }
}
.socialshare {
display: none;
Expand Down
Binary file modified media/img/firefox/new/browser-android.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/img/firefox/new/browser-ios.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/img/firefox/new/browser-win.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/img/firefox/new/browser.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/img/firefox/new/features-divider-horizontal.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/img/firefox/new/install-mac.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/img/firefox/new/install-win.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/img/firefox/new/install-winIE8.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed media/img/firefox/new/install1-mac.png
Binary file not shown.
Binary file removed media/img/firefox/new/install1-win.png
Binary file not shown.
Binary file removed media/img/firefox/new/install1-winIE8.png
Binary file not shown.
Binary file removed media/img/firefox/new/install2-mac.png
Binary file not shown.
Binary file removed media/img/firefox/new/install2-win.png
Binary file not shown.
Binary file removed media/img/firefox/new/install3-mac.png
Binary file not shown.
Binary file removed media/img/firefox/new/install3-win.png
Binary file not shown.
Binary file modified media/img/firefox/new/teardrop-arrow.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 85f5137

Please sign in to comment.