]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Use the asset pipeline to load the sprite
[rails.git] / app / assets / stylesheets / common.css.scss
index 4ff87a87a7bfb47ce798ec560a71d31debaf5afc..ecdb40b44854783e7d69edda16d9695904fd335c 100644 (file)
@@ -256,7 +256,7 @@ h2 {
   text-transform: capitalize;
   padding-left: 0px;
   padding-right: 0px;
   text-transform: capitalize;
   padding-left: 0px;
   padding-right: 0px;
-  background: url(sprite.png);
+  background: image-url("sprite.png");
   position: absolute;
   top: 5px;
   cursor: pointer;
   position: absolute;
   top: 5px;
   cursor: pointer;
@@ -308,7 +308,7 @@ h2 {
   border: 0px;
   padding-left: 0px;
   padding-right: 0px;
   border: 0px;
   padding-left: 0px;
   padding-right: 0px;
-  background: url(sprite.png) 0 -30px no-repeat;
+  background: image-url("sprite.png") 0 -30px no-repeat;
   position: absolute;
   top: 8px;
 }
   position: absolute;
   top: 8px;
 }
@@ -640,11 +640,7 @@ body.site-export #tabnav a#exportanchor {
   margin: 30px 0px 0px 0px;
 }
 
   margin: 30px 0px 0px 0px;
 }
 
-.site-edit #content {
-  border: 0px;
-  padding: 0px;
-}
-
+.site-edit #content,
 .site-index #content,
 .site-export #content {
   position: fixed;
 .site-index #content,
 .site-export #content {
   position: fixed;
@@ -656,6 +652,10 @@ body.site-export #tabnav a#exportanchor {
   padding: 0px;
 }
 
   padding: 0px;
 }
 
+.site-edit #content {
+  top: 30px;
+}
+
 #slim_container {
   width: 100%;
 }
 #slim_container {
   width: 100%;
 }