]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Consistent changeset color
[rails.git] / app / assets / stylesheets / common.css.scss
index ca65a1b3d56440d0cd188bc544e234bcaee8b1d2..399ac6e61c2f1b8d2c542dda94c48298993a45cc 100644 (file)
@@ -238,7 +238,7 @@ table {
 /* Rules for the header */
 
 #menu-icon { 
-  display: none;
+  display: none !important;
   float: right;
   background: url("/assets/menu-icon.png") no-repeat;
   background-size: 30px 30px;
@@ -252,7 +252,6 @@ table {
 header {
   height: $headerHeight;
   position: relative;
-  // border-bottom: $keyline;
   z-index: 1001;
   font-size: 13px;
 
@@ -299,6 +298,7 @@ nav.primary {
 
     > li {
       border-right: $border;
+      float: left;
       &:last-child { 
         border-right: 0;
         > a { border-radius: 0 $border-radius $border-radius 0; } 
@@ -357,14 +357,16 @@ nav.secondary {
   position: absolute;
   right: 0;
 
-  > ul a,
-  .dropdown-toggle {
-    display: inline-block;
-    text-decoration: none;
-    color: $darkgrey;
-    padding: 5px;
+  > ul {
+    vertical-align: middle;
+    a, .dropdown-toggle {
+      display: inline-block;
+      text-decoration: none;
+      color: $darkgrey;
+      padding: 5px;
 
-    &:hover { color: darken($darkgrey, 10%); }
+      &:hover { color: darken($darkgrey, 10%); }
+    }
   }
 
   > ul li.current a {
@@ -381,6 +383,7 @@ nav.secondary {
 
     > li {
       border-right: $border;
+      float: left;
       &:last-child { 
         border-right: 0;
 
@@ -1036,7 +1039,8 @@ a.donate {
     border-bottom: $keyline;
     cursor: pointer;
 
-    &.selected { background: lighten($green, 35%); }
+    &.selected { background: #FFFFE6; }
+    /* color is derived from changeset bbox fillColor in history.js */
   }
 
   .comment a {