fix google maps css

This commit is contained in:
rlx 2011-11-11 00:06:15 +00:00
parent 661868831e
commit 3becce1667
2 changed files with 8 additions and 2 deletions

View file

@ -1341,8 +1341,7 @@ Maps
} }
.OxMap .OxLabel.OxMapControl.OxMapScale { .OxMap .OxLabel.OxMapControl.OxMapScale {
right: 4px; right: 4px;
//bottom: 17px; bottom: 19px;
bottom: 4px;
} }
.OxMap .OxPlaceControl.OxPlaceFlag { .OxMap .OxPlaceControl.OxPlaceFlag {

View file

@ -860,6 +860,13 @@ Ox.Map = function(options, self) {
Ox.forEach(self.$placeControls, function($placeControl) { Ox.forEach(self.$placeControls, function($placeControl) {
$placeControl.appendTo(self.$map); $placeControl.appendTo(self.$map);
}); });
setTimeout(function() {
var element = self.$map.$element[0].children[0].children[2].children[0];
element.style.backgroundImage = '-webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0px, rgba(255, 255, 255, 0.1) 50px)';
element.style.color = 'rgb(192, 192, 192)';
element.style.textShadow = '1px 1px 0 rgb(64, 64, 64)';
element.children[3].style.color = 'rgb(192, 192, 192)';
}, 0)
} }
} }