]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Treat disabled buttons as deemphasized but without any hover effect
[rails.git] / app / assets / stylesheets / common.css.scss
index 5876c5db7f8727517d1df4d90bce70fab2fc010a..e4be01bdaa3cbde4633979be4efd54ebe5dd81a2 100644 (file)
@@ -1361,6 +1361,13 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
   tr th {
     padding: $lineheight/4;
   }
+  p:last-child,
+  h2:last-child,
+  h3:last-child,
+  ol:last-child,
+  ul:last-child {
+    margin-bottom:0;
+  }
   tr td {
     height: 30px;
     border-right: 1px solid $keyline;
@@ -1638,6 +1645,9 @@ a.button {
       background: darken($lightblue, $hovercolor);
     }
   }
+  &:disabled {
+    background: $lightblue;
+  }
   &:last-child {
     margin-bottom: 0;
   }