X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4dceacdeba42039a61f9bc9f56293f5652620e5b..b97d2d98aef3d863d061b7c70857b19319365a8e:/app/assets/stylesheets/small.scss?ds=sidebyside diff --git a/app/assets/stylesheets/small.scss b/app/assets/stylesheets/small.scss index 1865572a3..e5634e11d 100644 --- a/app/assets/stylesheets/small.scss +++ b/app/assets/stylesheets/small.scss @@ -71,22 +71,16 @@ body.small { } } } + + .btn-group { + width: 100%; + padding: 10px; + } } nav.secondary { - border-bottom: 1px solid #eee; - .user-menu { - display: block; width: 100%; - margin-left: 0; - > li { - width: 49%; - > a { - width: 100%; - text-align: center; - } - } } } @@ -98,7 +92,7 @@ body.small { display: inline-block; } - .map-layout { + &.map-layout { #sidebar, #map { position: relative; overflow-x: hidden; @@ -108,7 +102,10 @@ body.small { .overlay-sidebar { #sidebar { + position: absolute; width: 300px; + height: auto; + overflow: hidden; } #map { @@ -123,13 +120,16 @@ body.small { } } - #sidebar .welcome { - display: none !important; + .overlay-sidebar #sidebar .welcome.visible { + display: none; + } + + .overlay-sidebar #sidebar #banner { + display: none; } .leaflet-top.leaflet-right { top: 10px !important; - z-index: 0; } .content_map { @@ -176,20 +176,7 @@ body.small { top: auto; } - /* Rules for the sign-up page */ - - .user-new, - .user-create { - .col6 { - width: 100%; - } - - .aside { - display: none; - } - } - - .site-about #content .attr h1 { + &.site-about #content .attr h1 { font-size: 28px; }