]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/small.scss
Move the login form rules to be based on screen size
[rails.git] / app / assets / stylesheets / small.scss
index 4b741baaed981cb65afe892ce39b866145fe1146..d9e203d954c348d0020d8c8ed8f431e853c61f64 100644 (file)
@@ -3,12 +3,6 @@
 /* Styles specific to a small screen, such as iPhone, Android, etc... */
 
 body.small {
-
-  input[type="submit"],
-  input[type="text"] {
-    -webkit-appearance: none;
-  }
-
   #menu-icon {
     display: inline-block !important;
   }
@@ -87,7 +81,6 @@ body.small {
   .compact-hide {
     display: inline-block;
   }
-  
 
   .overlay-sidebar #sidebar .welcome.visible {
     display: none;
@@ -100,39 +93,6 @@ body.small {
   .leaflet-top.leaflet-right {
     top: 10px !important;
   }
-
-  /* Rules for the login form */
-
-  #login_login input#user_email {
-    width: 100%;
-    max-width: 18em;
-  }
-
-  #login_login input#user_password {
-    width: 100%;
-    max-width: 18em;
-  }
-
-  #login_login input#openid_url {
-    width: 100%;
-    max-width: 18em;
-  }
-
-  #login_openid_buttons td {
-    padding: 2px;
-  }
-
-  /* Rules for the user view */
-
-  .user_map {
-    width: 100% !important;
-    height: 300px !important;
-  }
-
-  &.site-about #content .attr h1 {
-    font-size: 28px;
-  }
-
 }
 
 @media (max-width: 767.98px) {
@@ -164,3 +124,26 @@ body.small {
     }
   }
 }
+
+@media (max-width: 575.98px) {
+  /* Rules for the login form */
+
+  #login_login input#user_email {
+    width: 100%;
+    max-width: 18em;
+  }
+
+  #login_login input#user_password {
+    width: 100%;
+    max-width: 18em;
+  }
+
+  #login_login input#openid_url {
+    width: 100%;
+    max-width: 18em;
+  }
+
+  #login_openid_buttons td {
+    padding: 2px;
+  }
+}