]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/small.css.scss
Return map-ui sidebars in mobile
[rails.git] / app / assets / stylesheets / small.css.scss
index 51549f87fc5ae1367a82ab5b9262493090529bd9..144bbd9b4b4ecb1bfb0c3e423f12594704f2c8e0 100644 (file)
@@ -1,6 +1,7 @@
 /* Styles specific to a small screen, such as iPhone, Android, etc... */
 
-* { -webkit-appearance: none; }
+input[type="submit"],
+input[type="text"] { -webkit-appearance: none; }
 
 /* Default rules for the body of every page */
 
@@ -119,6 +120,11 @@ nav.secondary {
     // height: 100%;
     // position: fixed;
   }
+  #map-ui {
+    z-index: 9999;
+    width: 100%;
+    overflow-y: scroll;
+  }
 }
 
 .leaflet-top.leaflet-right {
@@ -135,31 +141,6 @@ nav.secondary {
   min-height: auto;
 }
 
-/* Rules for the map UI */
-
-.layers-ui {
-  .leaflet-container {
-    display: none;
-  }
-
-  li {
-    border-radius: 0;
-    margin-bottom: 0;
-
-    &:first-child {
-      border-radius: 4px 4px 0 0;
-    }
-
-    &:last-child {
-      border-radius: 0 0 4px 4px;
-    }
-  }
-
-  .overlay-layers p {
-    display: none;
-  }
-}
-
 /* Rules for the login form */
 
 #login_login input#user_email {