X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4cf3c3b6ed7cc6ab0728b320afde5854489629fb..1dc1c0322508ee9ab9f576d25531471d61441890:/app/assets/stylesheets/small.scss diff --git a/app/assets/stylesheets/small.scss b/app/assets/stylesheets/small.scss index 0b62256a9..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,46 +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; - } - - #userinformation .deemphasize { - position: relative; - right: auto; left: auto; - margin-top: 10px; - top: auto; - } - - &.site-about #content .attr h1 { - font-size: 28px; - } - } @media (max-width: 767.98px) { @@ -171,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; + } +}