From 26be3a5450ab965590e08c9dbf909b99bef01b84 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Mon, 13 Oct 2014 08:42:45 -0600 Subject: [PATCH] Example style update --- examples/zoomslider.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/examples/zoomslider.html b/examples/zoomslider.html index b7c1945044..34361ecd87 100644 --- a/examples/zoomslider.html +++ b/examples/zoomslider.html @@ -14,7 +14,7 @@ * zoom-out buttons. */ #map2 .ol-zoom .ol-zoom-out { - margin-top: 202px; + margin-top: 206px; } #map2 .ol-zoomslider { background-color: transparent; @@ -28,6 +28,16 @@ top: 2.75em; } +#map2 .ol-zoom-in.ol-has-tooltip:hover [role=tooltip], +#map2 .ol-zoom-in.ol-has-tooltip:focus [role=tooltip] { + top: 3px; +} + +#map2 .ol-zoom-out.ol-has-tooltip:hover [role=tooltip], +#map2 .ol-zoom-out.ol-has-tooltip:focus [role=tooltip] { + top: 232px; +} + /** * The zoomslider in the third map shall be horizontal, placed in the top-right * corner, smaller and orange. @@ -60,7 +70,7 @@ background-color: rgba(255,69,0,0.7); } - ol3 ZoomSlider demo + Zoom slider example