mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
parties: add a placeholder background map image
This commit is contained in:
@@ -142,7 +142,7 @@ Template.map.rendered = function () {
|
||||
return party.public ? 'red' : 'blue';
|
||||
})
|
||||
.style('opacity', function (party) {
|
||||
return selected === party._id ? 1 : 0.2;
|
||||
return selected === party._id ? 1 : 0.4;
|
||||
});
|
||||
|
||||
marker.transition()
|
||||
@@ -160,7 +160,7 @@ Template.map.rendered = function () {
|
||||
return party.public ? 'red' : 'blue';
|
||||
})
|
||||
.style('opacity', function (party) {
|
||||
return selected === party._id ? 1 : 0.2;
|
||||
return selected === party._id ? 1 : 0.4;
|
||||
})
|
||||
.ease("cubic-out");
|
||||
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
/* CSS declarations go here */
|
||||
|
||||
.map {
|
||||
background-image: url('/soma.jpeg');
|
||||
background-position: -20px -20px;
|
||||
}
|
||||
@@ -40,7 +40,7 @@
|
||||
<template name="map">
|
||||
<div class="map">
|
||||
{{#constant}}
|
||||
<svg width="500" height="500">
|
||||
<svg width="480" height="480">
|
||||
<g class="circles"></g>
|
||||
<g class="labels"></g>
|
||||
</svg>
|
||||
|
||||
BIN
examples/parties/public/soma.jpeg
Normal file
BIN
examples/parties/public/soma.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 173 KiB |
Reference in New Issue
Block a user