From 7c3a7d572700b0e492e7ff9e209913eca620501f Mon Sep 17 00:00:00 2001 From: rWatcher Date: Thu, 15 Dec 2011 00:27:41 -0500 Subject: [PATCH] Set some default text and link colors for the google map, so it'll be visible on dark themes. --- 3.0/modules/tagsmap/css/tagsmap_menu.css | 4 ++++ 3.0/modules/tagsmap/views/tagsmap_googlemap.html.php | 4 ++-- 3.1/modules/tagsmap/css/tagsmap_menu.css | 4 ++++ 3.1/modules/tagsmap/views/tagsmap_googlemap.html.php | 4 ++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/3.0/modules/tagsmap/css/tagsmap_menu.css b/3.0/modules/tagsmap/css/tagsmap_menu.css index 925e1181..119cf7d0 100644 --- a/3.0/modules/tagsmap/css/tagsmap_menu.css +++ b/3.0/modules/tagsmap/css/tagsmap_menu.css @@ -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; } \ No newline at end of file diff --git a/3.0/modules/tagsmap/views/tagsmap_googlemap.html.php b/3.0/modules/tagsmap/views/tagsmap_googlemap.html.php index 8e08eabd..2fd6151e 100644 --- a/3.0/modules/tagsmap/views/tagsmap_googlemap.html.php +++ b/3.0/modules/tagsmap/views/tagsmap_googlemap.html.php @@ -34,8 +34,8 @@ function createMarker(point, description, tagURL, tagName) { var marker = new GMarker(point); GEvent.addListener(marker, "click", function() { - var myHtml = description + "

" + - "Tag: " + tagName + ""; + var myHtml = "
" + description + "

" + + "Tag: " + tagName + "
"; map.openInfoWindowHtml(point, myHtml); }); return marker; diff --git a/3.1/modules/tagsmap/css/tagsmap_menu.css b/3.1/modules/tagsmap/css/tagsmap_menu.css index 925e1181..119cf7d0 100644 --- a/3.1/modules/tagsmap/css/tagsmap_menu.css +++ b/3.1/modules/tagsmap/css/tagsmap_menu.css @@ -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; } \ No newline at end of file diff --git a/3.1/modules/tagsmap/views/tagsmap_googlemap.html.php b/3.1/modules/tagsmap/views/tagsmap_googlemap.html.php index 8e08eabd..2fd6151e 100644 --- a/3.1/modules/tagsmap/views/tagsmap_googlemap.html.php +++ b/3.1/modules/tagsmap/views/tagsmap_googlemap.html.php @@ -34,8 +34,8 @@ function createMarker(point, description, tagURL, tagName) { var marker = new GMarker(point); GEvent.addListener(marker, "click", function() { - var myHtml = description + "

" + - "Tag: " + tagName + ""; + var myHtml = "
" + description + "

" + + "Tag: " + tagName + "
"; map.openInfoWindowHtml(point, myHtml); }); return marker;