From: Tom MacWright Date: Sun, 28 Apr 2013 16:45:12 +0000 (-0500) Subject: Reset Leaflet styles so that the OSM color scheme is more uniform. X-Git-Tag: live~5057 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/0d35a10a503f466f5cb7fe41fcb9e0c5167d9ee1?ds=inline Reset Leaflet styles so that the OSM color scheme is more uniform. Also makes note input fields shorter - 100px tall - by default. --- diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index f7018af99..fa4faa8ba 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -1765,6 +1765,7 @@ a.button.submit { .comment { width: 100%; + height: 100px; } .buttons { diff --git a/app/assets/stylesheets/leaflet-all.css.scss b/app/assets/stylesheets/leaflet-all.css.scss index f983149da..f09b89531 100644 --- a/app/assets/stylesheets/leaflet-all.css.scss +++ b/app/assets/stylesheets/leaflet-all.css.scss @@ -34,3 +34,21 @@ div.leaflet-marker-icon.location-filter.move-marker { .user_popup p { margin: 0px 2px 0px 55px !important; } + +.site .leaflet-container a { + color: #00f; +} + +.site .leaflet-popup p { + margin: 0 0 20px 0; +} + +.leaflet-control-attribution #permalinkanchor { + background: image-url("sprite.png") 0 -45px no-repeat; + padding-left:20px; +} + +.site .leaflet-control-attribution { + box-shadow: none; + font-size: inherit; +}