From 0d35a10a503f466f5cb7fe41fcb9e0c5167d9ee1 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Sun, 28 Apr 2013 11:45:12 -0500 Subject: [PATCH] Reset Leaflet styles so that the OSM color scheme is more uniform. Also makes note input fields shorter - 100px tall - by default. --- app/assets/stylesheets/common.css.scss | 1 + app/assets/stylesheets/leaflet-all.css.scss | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) 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; +} -- 2.43.2