]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Presentation work
[rails.git] / app / assets / stylesheets / common.css.scss
index d0aa003d776023588c772ea35deb7f291dc7227f..5166c7a31c5fbf0f74ad29e79222028c931394e4 100644 (file)
@@ -953,6 +953,10 @@ header .search_form {
     font-size: 10px;
     color: $blue;
   }
+
+  .query_wrapper.routing {
+    display: none;
+  }
 }
 
 /* Rules for the map key which appears in the popout sidebar */
@@ -989,6 +993,21 @@ header .search_form {
   color: #f00;
 }
 
+/* Rules for routing */
+
+#sidebar_content>table {
+    margin: 20px 0px 10px 15px;
+}
+
+td.direction {
+    background-image: image-url('routing-sprite.png'); 
+    width: 20px; height: 20px; 
+    background-repeat: no-repeat;
+}
+@for $i from 1 through 17 {
+td.direction.i#{$i}  { background-position: #{($i)*-20+20}px 0px; }
+}
+
 /* Rules for entity history */
 
 #sidebar_content {
@@ -1698,6 +1717,7 @@ header .search_form {
 
 .message-read .message-buttons {
   margin-top: $lineheight;
+  margin-bottom: $lineheight * 1.5;
   padding-top: $lineheight;
   border-top: 1px solid $lightgrey;
 }
@@ -2351,7 +2371,7 @@ input.richtext_title[type="text"] {
 }
 
 /* Rules for the "Welcome" page */
-.site-welcome {
+.site-welcome, .site-fixthemap {
   .center {
     text-align: center;
     .sprite {