]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Revert "Eliminate HTML5 elements"
[rails.git] / app / assets / stylesheets / common.css.scss
index 9f6be1979a0c26cc98dc9a768288374cd4aed159..f88e0d1d2fcec35901148bab0dc590b3c6fa3e74 100644 (file)
@@ -359,7 +359,7 @@ nav.secondary {
       color: $darkgrey;
       padding: 5px;
 
-      &:hover { color: darken($darkgrey, 10%); }
+      &:hover { color: darken($darkgrey, 25%); }
     }
   }
 
@@ -707,6 +707,14 @@ nav.secondary {
       color:#222;
       border:1px solid #ddd;
     }
+
+    .tooltip {
+      opacity: 1;
+      border: 1px solid #ccc;
+      .tooltip-arrow {
+        border-top-color: #ccc;
+      }
+    }
   }
 }
 
@@ -745,6 +753,7 @@ nav.secondary {
         font-size: 16px;
         text-stroke: 2px #fff;
         background: rgba(255,255,255,.9);
+        z-index: 2; // For IE9
         input[type="radio"] {
           display: none;
         }
@@ -763,6 +772,7 @@ nav.secondary {
       font-size: 13px;
       margin-bottom: 8px;
     }
+    li.disabled { color: #999; }
   }
 }
 
@@ -988,7 +998,7 @@ header .search_form {
 #sidebar .changesets {
   li {
     padding: $lineheight;
-    border-bottom: $keyline;
+    border-bottom: 1px solid #ddd;
     cursor: pointer;
 
     &.selected { background: #FFFFE6; }
@@ -1008,12 +1018,17 @@ header .search_form {
 #sidebar_content {
   .browse-section {
     padding: $lineheight/2 $lineheight;
+    border-bottom: 1px solid #ddd;
 
     h4:first-child {
       margin-top: 0;
     }
   }
 
+  :last-child {
+    border-bottom: none;
+  }
+
   .paginate {
     float: right;
     padding: 1px 6px;
@@ -1088,6 +1103,14 @@ header .search_form {
 
   .note-comments li {
     margin: $lineheight/2 0;
+
+    p {
+      margin-left: 10px;
+    }
+  }
+
+  .note-description {
+    margin: 0 0 10px 10px;
   }
 }
 
@@ -1505,7 +1528,7 @@ header .search_form {
     padding: $lineheight;
     margin-bottom: $lineheight;
     overflow: auto;
-    height: 10em;
+    height: 20em;
   }
 
   #decline {
@@ -1514,11 +1537,6 @@ header .search_form {
       background: darken($lightblue, $hovercolor);
     }
   }
-
-  .form-row {
-    margin: auto;
-    max-width: 370px;
-  }
 }
 
 /* Rules for the account settings page */
@@ -1861,7 +1879,6 @@ ul.secondary-actions {
 
 div.secondary-actions {
   padding: 10px;
-  border-top: 1px solid #ccc;
   text-align: center;
 }