fix google maps css
This commit is contained in:
parent
661868831e
commit
3becce1667
2 changed files with 8 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue