]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Merge remote-tracking branch 'upstream/pull/5801'
[rails.git] / app / assets / stylesheets / common.scss
index a27976854f99dc90af33a7878e326ccdff9413f8..27d58f84ea3e963025b531ee2d9c12b061ce3513 100644 (file)
@@ -233,6 +233,7 @@ body.small-nav {
 
     > ul {
       height: auto;
+      justify-content: center;
     }
 
     .user-menu, .login-menu {
@@ -335,10 +336,6 @@ body.small-nav {
   #sidebar {
     float: left;
     width: $sidebarWidth;
-
-    #sidebar_loader {
-      display: none;
-    }
   }
 
   .overlay-sidebar #sidebar {
@@ -354,6 +351,8 @@ body.small-nav {
       display: block;
     }
 
+    .sidebar-close-controls,
+    #sidebar_loader,
     #sidebar_content {
       display: none;
     }
@@ -591,22 +590,6 @@ header .search_forms,
 
 /* Rules for routing */
 
-div.direction {
-  background-image: image-url('routing-sprite.svg');
-  width: 20px;
-  height: 20px;
-  background-repeat: no-repeat;
-}
-@for $i from 0 through 25 {
-div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
-}
-
-@include color-mode(dark) {
-  div.direction {
-    filter: invert(1);
-  }
-}
-
 td.distance {
     font-size: x-small;
 }
@@ -615,6 +598,8 @@ tr.turn {
 }
 
 .routing_marker_column {
+  margin-left: .35rem;
+  margin-right: .35rem;
   width: 15px;
 
   img {
@@ -1006,3 +991,7 @@ img.trace_image {
     }
   }
 }
+
+.heatmap-wrapper {
+  height: 130px;
+}