Set some default text and link colors for the google map, so it'll be visible on dark themes.
This commit is contained in:
parent
92fef908f4
commit
7c3a7d5727
@ -1,3 +1,7 @@
|
||||
#g-view-menu #g-tagsmap-link {
|
||||
background-image: url('../images/ico-view-tagsmap.png');
|
||||
}
|
||||
#g-tagsmap-dialog {
|
||||
color: black;
|
||||
}
|
||||
#g-tagsmap-dialog a { color: blue !important; }
|
@ -34,8 +34,8 @@
|
||||
function createMarker(point, description, tagURL, tagName) {
|
||||
var marker = new GMarker(point);
|
||||
GEvent.addListener(marker, "click", function() {
|
||||
var myHtml = description + "<br/><br/>" +
|
||||
"Tag: <a href=\"" + tagURL + "\">" + tagName + "</a>";
|
||||
var myHtml = "<div id=\"g-tagsmap-dialog\">" + description + "<br/><br/>" +
|
||||
"Tag: <a href=\"" + tagURL + "\">" + tagName + "</a></div>";
|
||||
map.openInfoWindowHtml(point, myHtml);
|
||||
});
|
||||
return marker;
|
||||
|
@ -1,3 +1,7 @@
|
||||
#g-view-menu #g-tagsmap-link {
|
||||
background-image: url('../images/ico-view-tagsmap.png');
|
||||
}
|
||||
#g-tagsmap-dialog {
|
||||
color: black;
|
||||
}
|
||||
#g-tagsmap-dialog a { color: blue !important; }
|
@ -34,8 +34,8 @@
|
||||
function createMarker(point, description, tagURL, tagName) {
|
||||
var marker = new GMarker(point);
|
||||
GEvent.addListener(marker, "click", function() {
|
||||
var myHtml = description + "<br/><br/>" +
|
||||
"Tag: <a href=\"" + tagURL + "\">" + tagName + "</a>";
|
||||
var myHtml = "<div id=\"g-tagsmap-dialog\">" + description + "<br/><br/>" +
|
||||
"Tag: <a href=\"" + tagURL + "\">" + tagName + "</a></div>";
|
||||
map.openInfoWindowHtml(point, myHtml);
|
||||
});
|
||||
return marker;
|
||||
|
Reference in New Issue
Block a user