]> git.openstreetmap.org Git - rails.git/commitdiff
Fix sidebar border and padding, tweak styles to simplify borders
authorTom MacWright <tom@macwright.org>
Sat, 11 Feb 2012 17:50:01 +0000 (12:50 -0500)
committerTom Hughes <tom@compton.nu>
Sun, 12 Feb 2012 15:17:43 +0000 (15:17 +0000)
Move font sizes and line heights up in the stylesheet structure
to make the left element more uniform. Make the padding of the
menu the same as the other elements.

app/assets/stylesheets/common.css.scss
app/assets/stylesheets/ltr.css.scss
app/assets/stylesheets/rtl.css.scss

index d7424fb74cc3b5f3634201e8376ec3616e2c5b56..8df2064778bafb31b0730ba76d228cfd92a45a76 100644 (file)
@@ -50,6 +50,8 @@ h2 {
   position: absolute;
   top: 0px;
   width: 185px;
   position: absolute;
   top: 0px;
   width: 185px;
+  font-size: 11px;
+  line-height: 12px;
 }
 
 /* Rules for the OpenStreetMap logo in the top left corner */
 }
 
 /* Rules for the OpenStreetMap logo in the top left corner */
@@ -84,8 +86,6 @@ h2 {
 /* Rules for the introductory text displayed in the left sidebar to new users */
 
 #intro {
 /* Rules for the introductory text displayed in the left sidebar to new users */
 
 #intro {
-  font-size: 11px;
-  line-height: 12px;
   border-top: 1px solid #ccc;
 }
 
   border-top: 1px solid #ccc;
 }
 
@@ -132,7 +132,7 @@ h2 {
 /* Rules for the menu displayed in the left sidebar */
 
 .left_menu {
 /* Rules for the menu displayed in the left sidebar */
 
 .left_menu {
-  padding: 10px;
+  padding: 5px;
   margin: 4px 0;
   border-top: 1px solid #ccc;
   border-bottom: 1px solid #ccc;
   margin: 4px 0;
   border-top: 1px solid #ccc;
   border-bottom: 1px solid #ccc;
@@ -141,10 +141,6 @@ h2 {
   font-weight: bold;
 }
 
   font-weight: bold;
 }
 
-.left_menu td {
-  font-size: 12px;
-}
-
 .left_menu h1 {
   font-style: normal;
   font-size: 15px;
 .left_menu h1 {
   font-style: normal;
   font-size: 15px;
@@ -185,8 +181,6 @@ h2 {
   padding: 5px;
   margin: 4px 0;
   border-top: 1px solid #ccc;
   padding: 5px;
   margin: 4px 0;
   border-top: 1px solid #ccc;
-  line-height: 15px;
-  font-size: 12px;
 }
 
 .optionalbox h1 {
 }
 
 .optionalbox h1 {
@@ -226,8 +220,6 @@ h2 {
 }
 
 .search_help {
 }
 
 .search_help {
-  font-size: 10px;
-  line-height: 15px;
   margin-top: 2px;
   margin-bottom: 0px;
 }
   margin-top: 2px;
   margin-bottom: 0px;
 }
@@ -450,14 +442,15 @@ h2 {
 
 .search_results_heading {
   margin: 0px;
 
 .search_results_heading {
   margin: 0px;
-  padding: 3px 6px;
-  border: 1px solid #ccc;
-  background: #ddd;
+  padding: 2px 5px;
+  border-top: 1px solid #ccc;
+  border-bottom: 1px solid #ccc;
+  background: #eee;
 }
 
 .search_results_entry {
   margin: 0px;
 }
 
 .search_results_entry {
   margin: 0px;
-  padding: 2px 6px;
+  padding: 2px 5px;
 }
 
 .search_results_error {
 }
 
 .search_results_error {
index 5dfbc8471df0a4364e0990bdd41a670a2c4ec14c..aaca016e904e547964087b714b2db13ad5c5d677 100644 (file)
@@ -112,7 +112,6 @@ html body {
 
 #sidebar {
   left: 0px;
 
 #sidebar {
   left: 0px;
-  margin-right: 3px;
 }
 
 #sidebar #sidebar_title {
 }
 
 #sidebar #sidebar_title {
index eed94d52873529c6381035e84ded33f046fa1f0c..6d7ed3b34c43dfcddaf224bf38d0e46c0dc7052d 100644 (file)
@@ -112,7 +112,6 @@ html body {
 
 #sidebar {
   right: 0px;
 
 #sidebar {
   right: 0px;
-  margin-left: 3px;
 }
 
 #sidebar #sidebar_title {
 }
 
 #sidebar #sidebar_title {