]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/small.scss
Rework welcome message to use bootstrap buttons
[rails.git] / app / assets / stylesheets / small.scss
index ddd812dc1064b1f5cf10b74dbf67317c248bb2ea..808b8caa6f45a8b9fa0ae73323d5d00b237028d1 100644 (file)
@@ -2,7 +2,7 @@
 
 /* Styles specific to a small screen, such as iPhone, Android, etc... */
 
-body.small {
+body.small-nav {
   #menu-icon {
     display: inline-block !important;
   }
@@ -93,27 +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;
-  }
 }
 
 @media (max-width: 767.98px) {
@@ -145,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;
+  }
+}