added homepage image
This commit is contained in:
parent
e9b25be060
commit
2bb5c7a6bd
3 changed files with 7 additions and 3 deletions
BIN
app/assets/images/mm-homepage-bg-image.png
Normal file
BIN
app/assets/images/mm-homepage-bg-image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 109 KiB |
|
@ -93,6 +93,9 @@ body,
|
||||||
.unauthenticated .wrapper.homePage {
|
.unauthenticated .wrapper.homePage {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
.wrapper.homePage {
|
||||||
|
background: url('mm-homepage-bg-image.png') no-repeat center -249px;
|
||||||
|
}
|
||||||
/* scrollbar override */
|
/* scrollbar override */
|
||||||
|
|
||||||
.maps > div > div.mCS_no_scrollbar {
|
.maps > div > div.mCS_no_scrollbar {
|
||||||
|
|
|
@ -99,9 +99,10 @@ $(document).ready(function() {
|
||||||
$(this).attr('src','/assets/metamap128x128.png');
|
$(this).attr('src','/assets/metamap128x128.png');
|
||||||
});
|
});
|
||||||
|
|
||||||
var s = $('#homeMap .desc');
|
$('#homeMap .desc').each(function() {
|
||||||
s.height(s.height()).mCustomScrollbar({
|
$(this).height($(this).height()).mCustomScrollbar({
|
||||||
mouseWheelPixels: 200
|
mouseWheelPixels: 200
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue