X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/32645dd8565e7bbad75ab4a03a6b25c4f14e4bda..fc5998d4939b06a9f0c0bc237978d0c03f8d26a0:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 6f702e5ed..66b9f3c48 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -777,6 +777,14 @@ nav.secondary { bottom: 0; width: 100%; overflow-y: auto; + + .loader, + .load_more { + text-align: center; + margin: $lineheight auto; + width: $lineheight; + display: block; + } } /* Rules for the search box */ @@ -883,19 +891,7 @@ a.donate { /* Rules for search results which appear in the popout sidebar */ -.search_searching { - margin-top: $lineheight/4; - margin-bottom: $lineheight/4; -} - .search_results_entry { - .search_searching { - text-align: center; - margin: $lineheight auto; - width: $lineheight; - display: block; - } - ul li { border-bottom: 1px solid #ccc; } @@ -948,6 +944,11 @@ a.donate { li { padding: $lineheight; border-bottom: $keyline; + cursor: pointer; + } + + li.selected { + background: #FCFEA4; } } @@ -999,7 +1000,7 @@ a.donate { width: 50%; height: 30px; float: left; - padding: 9px 10px; + padding: 6px 10px; } .browse-tag-k { @@ -1014,6 +1015,20 @@ a.donate { } } +/* Rules for the changeset details */ + +#sidebar_content { + .browse-section.header { + padding: 20px; + border-bottom: 1px solid #CCC; + + h2 { + padding: 0 0 5px 0; + border-bottom: none; + } + } +} + /* Rules for export information which appears in the popout sidebar */ .export_bounds { @@ -1032,6 +1047,21 @@ a.donate { margin: $lineheight/4; } +/* Rules for edit pages */ + +.site-edit { + #content { + position: absolute; + top: $headerHeight; + bottom: 0; + width: 100%; + } + + #map { + height: 100%; + } +} + /* Rules for non-map content pages */ .content-heading {