]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Test end states of api changeset subscriptions
[rails.git] / app / assets / stylesheets / common.scss
index fc9af9803e53cbcdb340680b11ba95e9be3769e4..3ba484cd5c10745a407f30920ded6f222ff475a6 100644 (file)
@@ -131,10 +131,6 @@ header {
     font-size: 14px;
   }
 
-  nav.primary {
-    margin-right: auto;
-  }
-
   .username {
     max-width: 12em;
   }
@@ -174,7 +170,11 @@ nav.primary {
 
 nav.secondary {
   .nav-link {
-    padding: 0.3rem;
+    padding: 0 0.3rem;
+  }
+
+  > ul {
+    height: 1.5em;
   }
 }
 
@@ -191,15 +191,6 @@ nav.primary, nav.secondary {
   display: none;
 }
 
-body.compact-nav {
-  #compact-secondary-nav {
-    display: inline-block;
-  }
-  .compact-hide {
-    display: none;
-  }
-}
-
 body.small-nav {
   #menu-icon {
     display: block;
@@ -240,6 +231,11 @@ body.small-nav {
   nav.secondary {
     flex-direction: column;
 
+    > ul {
+      height: auto;
+      justify-content: center;
+    }
+
     .user-menu, .login-menu {
       width: 100%;
     }
@@ -340,10 +336,6 @@ body.small-nav {
   #sidebar {
     float: left;
     width: $sidebarWidth;
-
-    #sidebar_loader {
-      display: none;
-    }
   }
 
   .overlay-sidebar #sidebar {
@@ -359,6 +351,8 @@ body.small-nav {
       display: block;
     }
 
+    .sidebar-close-controls,
+    #sidebar_loader,
     #sidebar_content {
       display: none;
     }
@@ -596,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;
 }
@@ -1011,3 +989,7 @@ img.trace_image {
     }
   }
 }
+
+.heatmap-wrapper {
+  height: 130px;
+}