X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/89a132d31c8ca3b446c716860e55bf31bc811bd0..3f26761a26f1ebd8746db166be2d30fd9b7ff7d6:/app/assets/stylesheets/small.css.scss diff --git a/app/assets/stylesheets/small.css.scss b/app/assets/stylesheets/small.css.scss index de1b44bb5..d6fb6f758 100644 --- a/app/assets/stylesheets/small.css.scss +++ b/app/assets/stylesheets/small.css.scss @@ -1,6 +1,7 @@ /* Styles specific to a small screen, such as iPhone, Android, etc... */ -* { -webkit-appearance: none; } +input[type="submit"], +input[type="text"] { -webkit-appearance: none; } /* Default rules for the body of every page */ @@ -80,6 +81,13 @@ nav.secondary { } } +#compact-secondary-nav { + display: none; +} +.compact-hide { + display: inline-block; +} + #content { margin-top: 58px; } .map-layout { @@ -87,7 +95,7 @@ nav.secondary { width: 100%; position: fixed; top: 58px; - height: 370px; + height: 240px; overflow-x: hidden; z-index: 1; background: #fff; @@ -112,6 +120,11 @@ nav.secondary { // height: 100%; // position: fixed; } + #map-ui { + z-index: 9999; + width: 100%; + overflow-y: scroll; + } } .leaflet-top.leaflet-right { @@ -128,31 +141,6 @@ nav.secondary { min-height: auto; } -/* Rules for the map UI */ - -.layers-ui { - .leaflet-container { - display: none; - } - - li { - border-radius: 0; - margin-bottom: 0; - - &:first-child { - border-radius: 4px 4px 0 0; - } - - &:last-child { - border-radius: 0 0 4px 4px; - } - } - - .overlay-layers p { - display: none; - } -} - /* Rules for the login form */ #login_login input#user_email {