]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Styling for disabled edit button
[rails.git] / app / assets / stylesheets / common.scss
index 88b3e29f1b5dc495780f6278f4b77b008e119cf9..947be58f5ececaae8ce064f2729defe0ef4690fb 100644 (file)
@@ -190,6 +190,21 @@ nav.primary {
   .btn-outline-primary {
     @include button-outline-variant($green, $white);
   }
+
+  .disabled {
+    .btn-outline-primary {
+      color: $grey;
+      cursor: default;
+
+      .caret {
+        border-top-color: $grey;
+      }
+
+      &:hover {
+        background-color: lighten($green, 30%);
+      }
+    }
+  }
 }
 
 nav.secondary {
@@ -226,12 +241,11 @@ nav.secondary {
 
   #inboxanchor {
     display: inline-block;
-    vertical-align: top;
     height: 25px;
     margin: 3px 0 3px 3px;
     background-color: lighten($grey, 10%);
     line-height: 20px;
-    border-radius: 2;
+    border-radius: 3;
   }
 
   .dropdown-menu {