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 {
|
#g-view-menu #g-tagsmap-link {
|
||||||
background-image: url('../images/ico-view-tagsmap.png');
|
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) {
|
function createMarker(point, description, tagURL, tagName) {
|
||||||
var marker = new GMarker(point);
|
var marker = new GMarker(point);
|
||||||
GEvent.addListener(marker, "click", function() {
|
GEvent.addListener(marker, "click", function() {
|
||||||
var myHtml = description + "<br/><br/>" +
|
var myHtml = "<div id=\"g-tagsmap-dialog\">" + description + "<br/><br/>" +
|
||||||
"Tag: <a href=\"" + tagURL + "\">" + tagName + "</a>";
|
"Tag: <a href=\"" + tagURL + "\">" + tagName + "</a></div>";
|
||||||
map.openInfoWindowHtml(point, myHtml);
|
map.openInfoWindowHtml(point, myHtml);
|
||||||
});
|
});
|
||||||
return marker;
|
return marker;
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
#g-view-menu #g-tagsmap-link {
|
#g-view-menu #g-tagsmap-link {
|
||||||
background-image: url('../images/ico-view-tagsmap.png');
|
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) {
|
function createMarker(point, description, tagURL, tagName) {
|
||||||
var marker = new GMarker(point);
|
var marker = new GMarker(point);
|
||||||
GEvent.addListener(marker, "click", function() {
|
GEvent.addListener(marker, "click", function() {
|
||||||
var myHtml = description + "<br/><br/>" +
|
var myHtml = "<div id=\"g-tagsmap-dialog\">" + description + "<br/><br/>" +
|
||||||
"Tag: <a href=\"" + tagURL + "\">" + tagName + "</a>";
|
"Tag: <a href=\"" + tagURL + "\">" + tagName + "</a></div>";
|
||||||
map.openInfoWindowHtml(point, myHtml);
|
map.openInfoWindowHtml(point, myHtml);
|
||||||
});
|
});
|
||||||
return marker;
|
return marker;
|
||||||
|
Reference in New Issue
Block a user