]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Work on changeset display
[rails.git] / app / assets / stylesheets / common.css.scss
index 20648a8ef448ce17643df5f411f2352feba0a23c..fb3c997c0b2108374740372fb58095c7af5abeb4 100644 (file)
@@ -304,6 +304,7 @@ header {
   height: $headerHeight;
   position: relative;
   border-bottom: $keyline;
+  z-index: 1001;
 
   h1, nav, nav > ul, nav > ul > li, .dropdown {
     display: inline-block;
@@ -580,13 +581,12 @@ nav.secondary {
   border-radius: 4px 0 0 0;
 }
 
-.site .leaflet-control .zoomout,
+.leaflet-control .zoomout,
 .control-key .control-button {
   margin-bottom: 0;
   border-radius: 0;
 }
 
-.leaflet-control .zoomout, // For non-main page maps
 .control-locate .control-button,
 .control-share .control-button {
   border-radius: 0 0 0 4px;
@@ -768,6 +768,8 @@ nav.secondary {
 /* Rules for the sidebar */
 
 #sidebar {
+  border-right: $keyline;
+
   .alert {
     background: #e00;
   }
@@ -777,6 +779,10 @@ nav.secondary {
     border-bottom: $keyline;
   }
 
+  h4 {
+    font-weight: normal;
+  }
+
   .icon.close {
     position: absolute;
     right: $lineheight;
@@ -850,7 +856,16 @@ nav.secondary {
 }
 
 .search_results_entry {
-  margin-bottom: 0;
+  .search_searching {
+    text-align: center;
+    margin: $lineheight auto;
+    width: $lineheight;
+    display: block;
+  }
+
+  ul li {
+    border-bottom: 1px solid #ccc;
+  }
 
   .search_details {
     display: block;
@@ -861,15 +876,6 @@ nav.secondary {
   }
 }
 
-.search_results_entry .search_searching {
-  text-align: center;
-  margin: $lineheight auto;
-  width: $lineheight;
-  display: block;
-}
-
-ul.results-list li { border-bottom: 1px solid #ccc; }
-
 .search_results_error {
   color: #f00;
 }
@@ -1073,14 +1079,18 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
   float: right;
 }
 
-.content_map #small_map {
-  height: 100%;
-  width: 100%;
-  margin-bottom: $lineheight;
-}
+/* Rules for the changeset list shown by the history tab */
 
-/* Rules for the changeset list shown by the history tab etc */
+#sidebar .changesets {
+  li {
+    padding: $lineheight;
+    border-bottom: $keyline;
+  }
 
+  p {
+    padding: 0;
+  }
+}
 
 /* Rules for the data browser */