Skip to content

Commit

Permalink
Bug 1120689 Update map for MWC 2015
Browse files Browse the repository at this point in the history
Removed the link to the PDF and used a single PNG for mobile/desktop
  • Loading branch information
sgarrity committed Feb 23, 2015
1 parent e6d44de commit 0a3dea6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 41 deletions.
4 changes: 0 additions & 4 deletions bedrock/firefox/templates/firefox/includes/mwc_2015_map.html
@@ -1,7 +1,3 @@
<div id="map-menu">
<a class="button" href="{{ static('img/firefox/os/mwc-2015-preview/firefox-mwc-2015-map.pdf') }}">{{ _('Download PDF') }}</a>
</div>

<div id="map-container">
<div id="map-image"></div>
</div>
41 changes: 4 additions & 37 deletions media/css/firefox/mwc-2015-map.less
Expand Up @@ -2,7 +2,7 @@

#map-container {
width: 100%;
height: 394px;
height: 387px;
overflow-x: scroll;
overflow-y: hidden;

Expand All @@ -24,41 +24,8 @@

#map-image {
background: url(/media/img/firefox/os/mwc-2015-preview/map.png) top left no-repeat;
width: 1857px;
height: 394px;
}

#map-menu {
.clearfix;

a {
float: right;
text-align: right;
}
}

/* Mobile layout: 320px */
@media only screen and (max-width: @breakMobileLandscape) {
#map-container {
height: 268px;
}
background-size: contain;
width: 920px;
height: 387px;

#map-image {
background: url(/media/img/firefox/os/mwc-2015-preview/map-mobile.png) top left no-repeat;
width: 1267px;
height: 268;
}
}

/* Mobile layout: 480px */
@media only screen and (min-width: @breakMobileLandscape) and (max-width: @breakTablet) {
#map-container {
height: 268px;
}

#map-image {
background: url(/media/img/firefox/os/mwc-2015-preview/map-mobile.png) top left no-repeat;
width: 1267px;
height: 268;
}
}
Binary file not shown.
Binary file removed media/img/firefox/os/mwc-2015-preview/map-mobile.png
Binary file not shown.
Binary file modified media/img/firefox/os/mwc-2015-preview/map.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 0a3dea6

Please sign in to comment.