Permalink
Browse files

Set some default text and link colors for the google map, so it'll be…

… visible on dark themes.
  • Loading branch information...
1 parent 92fef90 commit 7c3a7d572700b0e492e7ff9e209913eca620501f @rWatcher committed Dec 15, 2011
@@ -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 initialize() {
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 initialize() {
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;

0 comments on commit 7c3a7d5

Please sign in to comment.