]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Eliminate HTML5 elements
[rails.git] / app / assets / stylesheets / common.css.scss
index caf9a8bfb6ca3cee6b7b9c14f78d4735ffdaf049..d456e0685cfe481b3691ac3fff085d2b6226cd69 100644 (file)
@@ -244,13 +244,13 @@ table {
   opacity: 0.6;
 }
 
-header {
+#header {
   height: $headerHeight;
   position: relative;
   z-index: 1001;
   font-size: 13px;
 
-  h1, nav, nav > ul, nav > ul > li, .dropdown {
+  h1, .nav, .nav > ul, .nav > ul > li, .user-menu {
     display: inline-block;
   }
 
@@ -259,7 +259,7 @@ header {
     padding: $lineheight/2;
   }
 
-  h1, nav.primary {
+  h1, .nav.primary {
     float: left;
   }
 
@@ -284,7 +284,7 @@ header {
   }
 }
 
-nav.primary {
+.nav.primary {
   > ul {
     $border: 1px solid $green;
 
@@ -347,11 +347,12 @@ nav.primary {
   }
 }
 
-nav.secondary {
+.nav.secondary {
   position: absolute;
   right: 0;
 
-  > ul {
+  > ul,
+  > #compact-secondary-nav {
     vertical-align: middle;
     a, .dropdown-toggle {
       display: inline-block;
@@ -455,7 +456,7 @@ nav.secondary {
     display: inline-block;
   }
   .compact-hide {
-    display: none;
+    display: none !important;
   }
 }
 
@@ -707,6 +708,14 @@ nav.secondary {
       color:#222;
       border:1px solid #ddd;
     }
+
+    .tooltip {
+      opacity: 1;
+      border: 1px solid #ccc;
+      .tooltip-arrow {
+        border-top-color: #ccc;
+      }
+    }
   }
 }
 
@@ -764,6 +773,7 @@ nav.secondary {
       font-size: 13px;
       margin-bottom: 8px;
     }
+    li.disabled { color: #999; }
   }
 }
 
@@ -891,7 +901,7 @@ nav.secondary {
 
 /* Rules for the search box */
 
-header .search_form {
+#header .search_form {
   display: none;
 }
 
@@ -989,7 +999,7 @@ header .search_form {
 #sidebar .changesets {
   li {
     padding: $lineheight;
-    border-bottom: $keyline;
+    border-bottom: 1px solid #ddd;
     cursor: pointer;
 
     &.selected { background: #FFFFE6; }
@@ -1009,13 +1019,17 @@ header .search_form {
 #sidebar_content {
   .browse-section {
     padding: $lineheight/2 $lineheight;
-    border-bottom: 1px solid #ccc;
+    border-bottom: 1px solid #ddd;
 
     h4:first-child {
       margin-top: 0;
     }
   }
 
+  :last-child {
+    border-bottom: none;
+  }
+
   .paginate {
     float: right;
     padding: 1px 6px;
@@ -1096,8 +1110,8 @@ header .search_form {
     }
   }
 
-  .note-description {
-    margin-left: 10px;
+  .note-description {
+    margin: 0 0 10px 10px;
   }
 }