Css tweaks for touch devices

This commit is contained in:
Antoine Abt
2014-02-19 11:51:50 +01:00
parent fd9b4a7ee9
commit 2a48197234

View File

@@ -152,6 +152,9 @@
.ol-touch .ol-zoom-extent button {
font-size: 1.5em;
}
.ol-touch .ol-zoom-extent {
top: 5.5em;
}
.ol-zoom button:hover,
.ol-zoom button:focus,
.ol-zoom-extent button:hover,
@@ -214,6 +217,10 @@ button.ol-full-screen-true:after {
bottom: .3em;
left: 2.2em;
}
.ol-touch .ol-has-tooltip:hover [role=tooltip],
.ol-touch .ol-has-tooltip:focus [role=tooltip] {
display: none;
}
.ol-zoom .ol-has-tooltip:hover [role=tooltip],
.ol-zoom .ol-has-tooltip:focus [role=tooltip] {
bottom: 1.1em;