From: Tom Hughes Date: Mon, 29 Oct 2012 18:59:39 +0000 (+0000) Subject: Move OL control styling to OL theme X-Git-Tag: live~5235 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/0ba1839e78e694ab4ac1ca9fc650df1eec101b7c?hp=2074f4604ffeb3e39378749f66da5155e6b294d8 Move OL control styling to OL theme --- diff --git a/app/assets/openlayers/theme/openstreetmap/style.css.scss b/app/assets/openlayers/theme/openstreetmap/style.css.scss index b082c9933..bd755a53a 100644 --- a/app/assets/openlayers/theme/openstreetmap/style.css.scss +++ b/app/assets/openlayers/theme/openstreetmap/style.css.scss @@ -51,9 +51,14 @@ div.olControlZoom a { color: black; background: #ffffff; border: 1px solid #cccccc; + margin: 0 !important; // remove filter } +div.olControlZoom a.olControlZoomIn { + border-bottom: 0; +} + div.olControlZoom a:hover { background: #f5f5f5; } diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 8abda3810..350877403 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -441,14 +441,6 @@ body.site-export #tabnav a#exportanchor { padding: 5px; } -div.olControlZoom a { - margin: 0 !important; -} - -div.olControlZoom a.olControlZoomIn { - border-bottom: 0; -} - /* Rules for edit menu */ .menuicon {