X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/8598db3233baefa9e455da331ca2579a8df17709..f0ecc6312b74aee11725bf0aaae47614fc9f2a87:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 37a6aa7a9..aa95e818a 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -169,7 +169,7 @@ small, aside { .icon.close:hover { background-position: -200px -20px; } .icon.check { background-position: -220px 0; } .icon.note { background-position: -240px 0; } -.icon.gear { background-position: -260px 0; } +.icon.query { background-position: -260px 0; } /* Rules for links */ @@ -566,16 +566,16 @@ nav.secondary { background-color: black; } - &.active { - background-color: #9ed485; - } - &.disabled { background-color: #333; background-color: rgba(0,0,0,.5); cursor: default; } + &.active { + background-color: #9ed485; + } + .icon { margin: 10px; } @@ -680,6 +680,14 @@ nav.secondary { #map { height: 100%; overflow: hidden; + + &.query-active { + cursor: help; + } + + &.query-disabled { + cursor: not-allowed; + } } #map-ui { @@ -1136,6 +1144,34 @@ header .search_form { overflow: hidden; margin: 0 0 10px 10px; } + + .query-intro p { + padding: $lineheight $lineheight $lineheight/2; + } + + .query-results { + display: none; + + h3 { + padding: $lineheight $lineheight $lineheight/2; + margin: 0; + } + + ul { + li { + padding: 15px 20px; + border-bottom: 1px solid #ddd; + + &.query-result { + cursor: pointer; + } + + &.selected { + background: #FFFFE6; + } + } + } + } } /* Rules for export sidebar */ @@ -2565,36 +2601,6 @@ input.richtext_title[type="text"] { } } -#sidebar #sotm { - padding: 10px; - min-height: 120px; - - img { - float: left; - width: 100px; - height: 100px; - } - - h2 { - margin-left: 100px; - padding: 7px 10px 6px 15px; - } - - p { - margin-left: 100px; - padding: 6px 10px 7px 15px; - } - - a { - color: $darkgrey; - } - - :hover { - text-decoration: none; - color: darken($darkgrey, 25%); - } -} - @import 'browse'; @media only screen and (max-width:960px) {