]> git.openstreetmap.org Git - rails.git/commitdiff
Reset Leaflet styles so that the OSM color scheme is more uniform.
authorTom MacWright <tom@macwright.org>
Sun, 28 Apr 2013 16:45:12 +0000 (11:45 -0500)
committerTom Hughes <tom@compton.nu>
Sun, 28 Apr 2013 18:06:11 +0000 (19:06 +0100)
Also makes note input fields shorter - 100px tall - by default.

app/assets/stylesheets/common.css.scss
app/assets/stylesheets/leaflet-all.css.scss

index f7018af998eb7561e3ac36ecb31c1023f524ee37..fa4faa8badffc5bcb4a003f4e0a9b96cb89a5c5f 100644 (file)
@@ -1765,6 +1765,7 @@ a.button.submit {
 
   .comment {
     width: 100%;
+    height: 100px;
   }
 
   .buttons {
index f983149daf30e8730026d804f77471e8b4de6b3f..f09b895315d0130156c957d0dc63168792d03643 100644 (file)
@@ -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;
+}