X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2880d66eb8f8568faa0a541171dfb703e7a72c08..8255553e9743d0f21ee05b704b4ea2910bf983cc:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index f7018af99..49a784704 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -529,10 +529,21 @@ table { /* Rules for Leaflet maps */ -.leaflet-control-attribution a.disabled { - color: #99c9dc; - cursor: default; - text-decoration: none; +.leaflet-control-attribution { + a.disabled { + color: #99c9dc; + cursor: default; + text-decoration: none; + } + + ul.secondary-actions { + float: left; + margin-right: 5px; + + &:only-child { + margin-right: 0px; + } + } } .site-index .leaflet-top, @@ -681,7 +692,12 @@ table { } .search_results_entry { - margin-bottom: 0 ; + margin-bottom: 0; + + .search_details { + display: block; + text-align: right; + } } .search_results_entry .search_searching { @@ -936,14 +952,13 @@ ul.results-list li { border-bottom: 1px solid #ccc; } margin: 0px; padding: 4px 6px; } - div { - clear: left; - } h4, p { margin-bottom: 5px; } - p, ul, .bbox { - margin-left: 33.3333%; + p, ul, .bbox, .geo { + display: inline-block; + vertical-align: top; + max-width: 65%; } ul p { margin-left: 0; @@ -951,7 +966,8 @@ ul.results-list li { border-bottom: 1px solid #ccc; } } h4 { width: 33.3333%; - float: left; + display: inline-block; + vertical-align: top; } } @@ -1765,6 +1781,7 @@ a.button.submit { .comment { width: 100%; + height: 100px; } .buttons { @@ -1772,3 +1789,11 @@ a.button.submit { text-align: right; } } + +/* + * Rules for the iD editor + */ +.id-embed { + width: 100%; + height: 100%; +}