X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/582ab35ecd0b0cfacaedf8cbe1d6eadff302973b..4bb0785ad5bdad8fc8fcbbe35c61f585f58f4cce:/app/assets/stylesheets/small.css.scss diff --git a/app/assets/stylesheets/small.css.scss b/app/assets/stylesheets/small.css.scss index fb35aa6ac..51549f87f 100644 --- a/app/assets/stylesheets/small.css.scss +++ b/app/assets/stylesheets/small.css.scss @@ -11,7 +11,7 @@ /* Rules for the whole left sidebar, including the logo */ #menu-icon { - display: inline-block; + display: inline-block !important; } @@ -25,10 +25,14 @@ nav.secondary { header { min-height: 54px; - height: 100%; + height: auto; background: #fff; + border-bottom: 1px solid #ddd; clear: both; - h1 { padding-bottom: 17px; } + position: fixed; + width: 100%; + top: 0; + h1 { padding-bottom: 15px; } &.closed { nav.primary, nav.secondary { @@ -66,20 +70,62 @@ nav.secondary { display: block; width: 100%; margin-left: 0; + > li { + width: 49%; + > a { + width: 100%; + text-align: center; + } + } } } +#compact-secondary-nav { + display: none; +} +.compact-hide { + display: inline-block; +} + +#content { margin-top: 58px; } + .map-layout { #sidebar { - width: 60%; + width: 100%; + position: fixed; + top: 58px; + height: 370px; + overflow-x: hidden; + z-index: 1; + background: #fff; + p.large-text { + font-size: 1.2em; + line-height: 1.4em; + } + &.minimized { + background: none; + } } #content { - position: static; + position: fixed; + top: 0; display: block; - height: 600px; + height: 100%; + margin-top: 0; + padding-top: 58px; + } + #map { + width: 100%; + // height: 100%; + // position: fixed; } } +.leaflet-top.leaflet-right { + top: 10px !important; + z-index: 0; +} + .content_map { width: 100%; border: none; @@ -161,3 +207,7 @@ nav.secondary { display: none; } } + +.site-about #content .attr h1 { + font-size: 28px; +}