From 2a48197234697d51dfefae1047a0fd6d232207bf Mon Sep 17 00:00:00 2001 From: Antoine Abt Date: Wed, 19 Feb 2014 11:51:50 +0100 Subject: [PATCH] Css tweaks for touch devices --- css/ol.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/css/ol.css b/css/ol.css index 8b16e000fc..91ee50ca68 100644 --- a/css/ol.css +++ b/css/ol.css @@ -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;