]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/small.css.scss
Browse section pagination
[rails.git] / app / assets / stylesheets / small.css.scss
index fb35aa6acc9e5352e5f6153919ce1aab7fc86a60..51549f87fc5ae1367a82ab5b9262493090529bd9 100644 (file)
@@ -11,7 +11,7 @@
 /* Rules for the whole left sidebar, including the logo */
 
 #menu-icon {
-  display: inline-block;
+  display: inline-block !important;
 }
 
 
@@ -25,10 +25,14 @@ nav.secondary {
 
 header {
   min-height: 54px;
-  height: 100%;
+  height: auto;
   background: #fff;
+  border-bottom: 1px solid #ddd;
   clear: both;
-  h1 { padding-bottom: 17px; }
+  position: fixed;
+  width: 100%;
+  top: 0;
+  h1 { padding-bottom: 15px; }
   &.closed {
     nav.primary,
     nav.secondary {
@@ -66,20 +70,62 @@ nav.secondary {
     display: block;
     width: 100%;
     margin-left: 0;
+    > li {
+      width: 49%;
+      > a { 
+        width: 100%; 
+        text-align: center;
+      }
+    }
   }
 }
 
+#compact-secondary-nav {
+  display: none;
+}
+.compact-hide {
+  display: inline-block;
+}
+
+#content { margin-top: 58px; }
+
 .map-layout {
   #sidebar {
-    width: 60%;
+    width: 100%;
+    position: fixed;
+    top: 58px;
+    height: 370px;
+    overflow-x: hidden;
+    z-index: 1;
+    background: #fff;
+    p.large-text {
+      font-size: 1.2em;
+      line-height: 1.4em;
+    }
+    &.minimized {
+      background: none;
+    }
   }
   #content {
-    position: static;
+    position: fixed;
+    top: 0;
     display: block;
-    height: 600px;
+    height: 100%;
+    margin-top: 0;
+    padding-top: 58px;
+  }
+  #map {
+    width: 100%;
+    // height: 100%;
+    // position: fixed;
   }
 }
 
+.leaflet-top.leaflet-right {
+  top: 10px !important;
+  z-index: 0;
+}
+
 .content_map {
   width: 100%;
   border: none;
@@ -161,3 +207,7 @@ nav.secondary {
     display: none;
   }
 }
+
+.site-about #content .attr h1 {
+  font-size: 28px;
+}