X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/69437cf0ad12550ebfaadea56d074ac9996b8ca0..edd6235b45164bff20cbe8f2a0c9d10027211cf4:/app/assets/stylesheets/common.css.scss?ds=sidebyside diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 5166c7a31..0f306b6d3 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -916,6 +916,7 @@ header .search_form { .search_form { position: relative; padding: $lineheight/2; + padding-top: 1px; background-color: $lightgrey; .query_wrapper { @@ -946,15 +947,13 @@ header .search_form { border-radius: 0 2px 2px 0; } - .describe_location { - position: absolute; - top: 6px; - right: 6px; + .query_options { + text-align: right; font-size: 10px; color: $blue; } - .query_wrapper.routing { + .routing { display: none; } } @@ -996,7 +995,9 @@ header .search_form { /* Rules for routing */ #sidebar_content>table { - margin: 20px 0px 10px 15px; + padding: 5px 20px 10px 15px; + width: 100%; + border-collapse: separate; } td.direction { @@ -1008,6 +1009,24 @@ td.direction { td.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; } } +td.instruction, td.distance { + padding-top: 0; + border-bottom: 1px solid #DDD; +} +td.distance { + color: #BBB; + text-align: right; + font-size: x-small; +} +tr.turn { + cursor: pointer; +} +tr.turn:hover { + background: lighten($green, 30%); +} +.routing_engines, #route_from, #route_to { margin-left: 25px; } +.routing_marker { width: 15px; position: absolute; } + /* Rules for entity history */ #sidebar_content {