fixes button stay «active» on mobile, in default theme, and mobile example stylesheet
This commit is contained in:
@@ -30,3 +30,13 @@ a.olControlZoomIn {
|
|||||||
a.olControlZoomOut {
|
a.olControlZoomOut {
|
||||||
border-radius: 0 0 4px 4px;
|
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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -457,6 +457,11 @@ div.olControlZoom a:hover {
|
|||||||
background: rgba(0, 0, 0, 0.5);
|
background: rgba(0, 0, 0, 0.5);
|
||||||
filter: alpha(opacity=80);
|
filter: alpha(opacity=80);
|
||||||
}
|
}
|
||||||
|
@media only screen and (max-width: 600px) {
|
||||||
|
div.olControlZoom a:hover {
|
||||||
|
background: rgba(0, 0, 0, 0.3);
|
||||||
|
}
|
||||||
|
}
|
||||||
a.olControlZoomIn {
|
a.olControlZoomIn {
|
||||||
border-radius: 4px 4px 0 0;
|
border-radius: 4px 4px 0 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user