X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b30983f02bd1a0963157c14f14e996f258936625..ea6926d3de0e0f12f70f0c993261f0dae54aa482:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 20648a8ef..fb3c997c0 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -304,6 +304,7 @@ header { height: $headerHeight; position: relative; border-bottom: $keyline; + z-index: 1001; h1, nav, nav > ul, nav > ul > li, .dropdown { display: inline-block; @@ -580,13 +581,12 @@ nav.secondary { border-radius: 4px 0 0 0; } -.site .leaflet-control .zoomout, +.leaflet-control .zoomout, .control-key .control-button { margin-bottom: 0; border-radius: 0; } -.leaflet-control .zoomout, // For non-main page maps .control-locate .control-button, .control-share .control-button { border-radius: 0 0 0 4px; @@ -768,6 +768,8 @@ nav.secondary { /* Rules for the sidebar */ #sidebar { + border-right: $keyline; + .alert { background: #e00; } @@ -777,6 +779,10 @@ nav.secondary { border-bottom: $keyline; } + h4 { + font-weight: normal; + } + .icon.close { position: absolute; right: $lineheight; @@ -850,7 +856,16 @@ nav.secondary { } .search_results_entry { - margin-bottom: 0; + .search_searching { + text-align: center; + margin: $lineheight auto; + width: $lineheight; + display: block; + } + + ul li { + border-bottom: 1px solid #ccc; + } .search_details { display: block; @@ -861,15 +876,6 @@ nav.secondary { } } -.search_results_entry .search_searching { - text-align: center; - margin: $lineheight auto; - width: $lineheight; - display: block; -} - -ul.results-list li { border-bottom: 1px solid #ccc; } - .search_results_error { color: #f00; } @@ -1073,14 +1079,18 @@ ul.results-list li { border-bottom: 1px solid #ccc; } float: right; } -.content_map #small_map { - height: 100%; - width: 100%; - margin-bottom: $lineheight; -} +/* Rules for the changeset list shown by the history tab */ -/* Rules for the changeset list shown by the history tab etc */ +#sidebar .changesets { + li { + padding: $lineheight; + border-bottom: $keyline; + } + p { + padding: 0; + } +} /* Rules for the data browser */