X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/774a8dd5f9ed6e6c24c30b36dc8c1a13a4030127..58050240d6410cf09acfde1f9af205a6d8b8e370:/app/assets/stylesheets/small.scss diff --git a/app/assets/stylesheets/small.scss b/app/assets/stylesheets/small.scss index e5634e11d..d9e203d95 100644 --- a/app/assets/stylesheets/small.scss +++ b/app/assets/stylesheets/small.scss @@ -3,16 +3,6 @@ /* Styles specific to a small screen, such as iPhone, Android, etc... */ body.small { - - input[type="submit"], - input[type="text"] { - -webkit-appearance: none; - } - - .column-1 { - width: 100%; - } - #menu-icon { display: inline-block !important; } @@ -92,7 +82,21 @@ body.small { display: inline-block; } - &.map-layout { + .overlay-sidebar #sidebar .welcome.visible { + display: none; + } + + .overlay-sidebar #sidebar #banner { + display: none; + } + + .leaflet-top.leaflet-right { + top: 10px !important; + } +} + +@media (max-width: 767.98px) { + body.map-layout { #sidebar, #map { position: relative; overflow-x: hidden; @@ -119,28 +123,9 @@ body.small { overflow-y: scroll; } } +} - .overlay-sidebar #sidebar .welcome.visible { - display: none; - } - - .overlay-sidebar #sidebar #banner { - display: none; - } - - .leaflet-top.leaflet-right { - top: 10px !important; - } - - .content_map { - width: 100%; - border: none; - float: none; - height: 200px; - max-height: none; - min-height: auto; - } - +@media (max-width: 575.98px) { /* Rules for the login form */ #login_login input#user_email { @@ -161,23 +146,4 @@ body.small { #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; - } - }