X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/efa2c20bff4d68cfdaf5fc532ba5eb0711e7cd2d..d66ad4a4555c6ae9cb7257f53e2df375e5c4c73f:/app/assets/stylesheets/small.scss diff --git a/app/assets/stylesheets/small.scss b/app/assets/stylesheets/small.scss index 4b741baae..808b8caa6 100644 --- a/app/assets/stylesheets/small.scss +++ b/app/assets/stylesheets/small.scss @@ -2,13 +2,7 @@ /* Styles specific to a small screen, such as iPhone, Android, etc... */ -body.small { - - input[type="submit"], - input[type="text"] { - -webkit-appearance: none; - } - +body.small-nav { #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; + } +}