]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
narrower sidebar, transparent minimized state, cleaned up search results
[rails.git] / app / assets / stylesheets / common.css.scss
index 357372a9be76db4622c90e865e7b312754f1893d..bfbe971dd46abf433f2d8c7ff2ee9f22e3c30888 100644 (file)
@@ -11,8 +11,8 @@ $lightgrey: #EEE;
 $darkgrey: #AAA;
 $hovercolor: 20%;
 $headerHeight: 54px;
 $darkgrey: #AAA;
 $hovercolor: 20%;
 $headerHeight: 54px;
-$sidebarWidth: 350px;
-$keyline: 1px solid $grey;
+$sidebarWidth: 300px;
+$keyline: 1px solid $lightgrey;
 $border-radius: 3px;
 
 /* Styles common to large and small screens */
 $border-radius: 3px;
 
 /* Styles common to large and small screens */
@@ -595,11 +595,13 @@ nav.secondary {
     border-right: $keyline;
 
     h2, h3, h4 {
     border-right: $keyline;
 
     h2, h3, h4 {
-      padding: $lineheight;
+      padding: $lineheight $lineheight $lineheight/2;
     }
 
     h4 {
       font-weight: normal;
     }
 
     h4 {
       font-weight: normal;
+      color: #666;
+      font-size: 12px;
     }
 
     .icon.close {
     }
 
     .icon.close {
@@ -620,16 +622,28 @@ nav.secondary {
         color: #666;
       }
     }
         color: #666;
       }
     }
+
+    p.large-text {
+      font-size: 1.7em;
+      line-height: 1.4em;
+      font-weight: 300;
+    }
   }
 
   #sidebar.minimized {
     position: absolute;
     z-index: 1000;
     height: auto;
   }
 
   #sidebar.minimized {
     position: absolute;
     z-index: 1000;
     height: auto;
+    border-right: none;
 
     #sidebar_content {
       display: none;
     }
 
     #sidebar_content {
       display: none;
     }
+
+    #search_form {
+      background: none;
+      width: 78%;
+    }
   }
 
   #map {
   }
 
   #map {
@@ -805,7 +819,7 @@ nav.secondary {
 
 #sidebar_content {
   position: absolute;
 
 #sidebar_content {
   position: absolute;
-  top: 72px;
+  top: 50px;
   bottom: 0;
   width: 100%;
   overflow-y: auto;
   bottom: 0;
   width: 100%;
   overflow-y: auto;
@@ -823,9 +837,8 @@ nav.secondary {
 
 #search_form {
   position: relative;
 
 #search_form {
   position: relative;
-  padding: $lineheight;
+  padding: $lineheight/2 $lineheight;
   background-color: $lightgrey;
   background-color: $lightgrey;
-  border-bottom: $keyline;
 
   #query_wrapper {
     position: relative;
 
   #query_wrapper {
     position: relative;
@@ -925,7 +938,8 @@ a.donate {
 
 .search_results_entry {
   ul li {
 
 .search_results_entry {
   ul li {
-    border-bottom: 1px solid #ccc;
+    border-bottom: $keyline;
+    &:first-child { border-top: $keyline; }
   }
 
   .search_details {
   }
 
   .search_details {