1
0

Set some default text and link colors for the google map, so it'll be visible on dark themes.

This commit is contained in:
rWatcher 2011-12-15 00:27:41 -05:00
parent 92fef908f4
commit 7c3a7d5727
4 changed files with 12 additions and 4 deletions

View File

@ -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; }

View File

@ -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;

View File

@ -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; }

View File

@ -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;