]> git.openstreetmap.org Git - rails.git/commitdiff
Remove unused/obsolete CSS
authorJohn Firebaugh <john.firebaugh@gmail.com>
Tue, 9 Jul 2013 17:53:51 +0000 (10:53 -0700)
committerJohn Firebaugh <john.firebaugh@gmail.com>
Thu, 18 Jul 2013 17:45:17 +0000 (10:45 -0700)
app/assets/stylesheets/common.css.scss
app/assets/stylesheets/leaflet-all.css.scss
app/assets/stylesheets/leaflet.zoom.css.scss [deleted file]

index 744c9ce78be8a9c5a238e9d4e25649e80cc602ad..a14dec2d77d3a53cedee2517c2749820a50bf0b3 100644 (file)
@@ -338,19 +338,6 @@ table {
   }
 }
 
-/* Rules for SOTM advert */
-
-#sotm {
-  width: 165px;
-  margin: $lineheight/2;
-  padding: 0px;
-  border: 0px;
-  background: #fff;
-  img {
-    width: 165px;
-  }
-}
-
 /*
  * Rules for "optional boxes" which appear in the left sidebar on
  * certain pages. Current users are the seach box on the main page
@@ -644,23 +631,6 @@ a.donate {
   }
 }
 
-.leaflet-control-attribution {
-  a.disabled {
-    color: #99c9dc;
-    cursor: default;
-    text-decoration: none;
-  }
-
-  ul.secondary-actions {
-    float: left;
-    margin-right: $lineheight/4;
-
-    &:only-child {
-      margin-right: 0px;
-    }
-  }
-}
-
 .site-index .leaflet-top,
 .site-export .leaflet-top {
   top: $lineheight/2 !important;
@@ -669,11 +639,6 @@ a.donate {
   }
 }
 
-.site-index #map .olControlScaleLine,
-.site-export #map .olControlScaleLine {
-  left: $lineheight/2 !important;
-}
-
 .leaflet-popup-scrolled {
   padding-right: $lineheight;
   border-bottom: 0px !important;
index 1f84b575439b0aa37e22ee1fa33fb876806a9d5c..10ad2607a5a4c5bbbc56b6df50892edff384ac54 100644 (file)
@@ -25,13 +25,3 @@ div.leaflet-marker-icon.location-filter.move-marker {
 .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;
-}
diff --git a/app/assets/stylesheets/leaflet.zoom.css.scss b/app/assets/stylesheets/leaflet.zoom.css.scss
deleted file mode 100644 (file)
index 8b13789..0000000
+++ /dev/null
@@ -1 +0,0 @@
-