fixes button stay «active» on mobile, in default theme, and mobile example stylesheet

This commit is contained in:
Antoine Abt
2012-03-18 20:43:33 +01:00
parent 457f0285b5
commit b10e6707e6
2 changed files with 15 additions and 0 deletions

View File

@@ -30,3 +30,13 @@ a.olControlZoomIn {
a.olControlZoomOut {
border-radius: 0 0 4px 4px;
}
div.olControlZoom a:hover {
background: #444444; /* fallback for IE */
background: rgba(0, 0, 0, 0.5);
filter: alpha(opacity=80);
}
@media only screen and (max-width: 600px) {
div.olControlZoom a:hover {
background: rgba(0, 0, 0, 0.3);
}
}