From a357bab334d562ee15cc707947a5ee5962415591 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 1 Aug 2012 12:05:47 +0100 Subject: [PATCH] Style the CSS zoom control to match the layer switcher --- .../openlayers/theme/default/style.css.scss | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/app/assets/openlayers/theme/default/style.css.scss b/app/assets/openlayers/theme/default/style.css.scss index 1851075c6..6c833aea8 100644 --- a/app/assets/openlayers/theme/default/style.css.scss +++ b/app/assets/openlayers/theme/default/style.css.scss @@ -443,7 +443,7 @@ div.olControlZoom a { display: block; margin: 1px; padding: 0; - color: white; + color: black; font-size: 18px; font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif; font-weight: bold; @@ -452,19 +452,11 @@ div.olControlZoom a { height: 22px; width:22px; line-height: 19px; - background: #130085; /* fallback for IE - IE6 requires background shorthand*/ - background: rgba(0, 60, 136, 0.5); - filter: alpha(opacity=80); + background: #ffffff; + border: 1px solid #cccccc; } div.olControlZoom a:hover { - background: #130085; /* fallback for IE */ - background: rgba(0, 60, 136, 0.7); - filter: alpha(opacity=100); -} -@media only screen and (max-width: 600px) { - div.olControlZoom a:hover { - background: rgba(0, 60, 136, 0.5); - } + background: #f5f5f5; } a.olControlZoomIn { border-radius: 4px 4px 0 0; -- 2.43.2