]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Set the z-index on the top bar to keep it in front
[rails.git] / app / assets / stylesheets / common.css.scss
index 8f500acea2e4d8801a152fa41b3d281dfa8a75b3..654bbab970d4f9eb427f92598eb0197d13ca1ecf 100644 (file)
@@ -332,6 +332,7 @@ h2 {
 
 #top-bar {
   position: absolute;
+  z-index: 10000;
   top: 0;
   left: 185px;
   right: 0;
@@ -455,7 +456,7 @@ body.site-export #tabnav a#exportanchor {
 
 .site-index .leaflet-top,
 .site-export .leaflet-top {
-  top: 10px !important;
+  top: 40px !important;
 
   .leaflet-control {
     margin-top: 0px !important;
@@ -679,6 +680,7 @@ body.site-export #tabnav a#exportanchor {
 .site-index #content,
 .site-export #content {
   position: fixed;
+  margin-top: 0px;
   left: 0px;
   right: 0px;
   top: 0px;
@@ -686,6 +688,10 @@ body.site-export #tabnav a#exportanchor {
   padding: 0px;
 }
 
+.site-edit #content {
+  top: 30px;
+}
+
 #slim_container {
   width: 100%;
 }