X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/acf7cf5738c5daa59e99e09e328ee0bf82e668eb..f2bf38606e281290fee8273e247afc54f08a0a47:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index a8fba1943..b552ce850 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -104,10 +104,6 @@ body { height: 100%; } -body.slim { - background-color: #f0f0f0; -} - h1, h2, h3 { font-weight: 600; line-height: 1.2; @@ -907,13 +903,15 @@ nav.secondary { } } -/* Rules for the search box */ +/* Rules for the search and direction forms */ -header .search_form { +header .search_forms, +.directions_form { display: none; } -.search_form { +.search_form, +.directions_form { position: relative; padding: $lineheight/2; padding-top: 1px; @@ -952,10 +950,6 @@ header .search_form { font-size: 10px; color: $blue; } - - .routing { - display: none; - } } /* Rules for the map key which appears in the popout sidebar */ @@ -1009,6 +1003,14 @@ td.direction { td.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; } } +.directions_form input[type="submit"] { + margin-top: 30px !important; +} + +p#routing_summary { + padding: 0 $lineheight $lineheight/4; +} + td.instruction, td.distance { padding-top: 0; border-bottom: 1px solid #DDD; @@ -1326,42 +1328,6 @@ tr.turn:hover { z-index: 2000; } -#slim_container { - width: 100%; -} - -#slim_container_content { - max-width: 50em; - background-color: #FFFFFF; - margin: $lineheight/2 auto; - padding: 3px; - border-radius: 25px; - -moz-border-radius: 25px; - border: 1px solid #e6e6e6; -} - -#slim_content { - margin: $lineheight/2; - margin-top: 95px; - max-width: 50em; - - .content-heading { - margin-bottom: 15px; - } -} - -#slim_header { - margin: 30px $lineheight/2; - position: absolute; - top: 0px; - margin-right: $lineheight/4; - img { - vertical-align: middle; - margin-bottom: $lineheight/4; - margin-right: $lineheight/4; - } -} - /* Rules for small maps in content areas */ .content_map {