]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Permalinks for directions
[rails.git] / app / assets / stylesheets / common.css.scss
index 51f3c7e9350d9967e300d9c0ee0c8e9508334e2d..b552ce850cc13d27464ea82beec1668e40b5f3ac 100644 (file)
@@ -635,10 +635,6 @@ nav.secondary {
       font-size: 13px;
     }
 
-    p {
-      padding: 0 $lineheight $lineheight/4;
-    }
-
     .icon.close {
       float: right;
       cursor: pointer;
@@ -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;