]> git.openstreetmap.org Git - rails.git/commitdiff
Restyle the tabs as simple blocks
authorTom MacWright <tom@macwright.org>
Fri, 17 Feb 2012 03:44:03 +0000 (22:44 -0500)
committerTom Hughes <tom@compton.nu>
Sun, 4 Mar 2012 10:37:26 +0000 (10:37 +0000)
app/assets/stylesheets/common.css.scss
app/assets/stylesheets/large.css
app/assets/stylesheets/ltr.css.scss
app/assets/stylesheets/small.css.scss

index 4d53bd2ac4181afdfb975a9502162408a5def6a1..f807db251f49ce92a9c8b22f4afd6028819dc412 100644 (file)
@@ -249,10 +249,10 @@ h2 {
 /* Rules for tabbed navigation bar */
 
 #tabnav {
-  height: 20px;
-  margin: 0px;
-  padding-top: 5px;
-  background: image-url('tab_bottom.gif') repeat-x bottom;
+  height: 29px;
+  border-bottom: 1px solid #ccc;
+  padding: 0;
+  margin: 0;
 }
 
 #tabnav li {
@@ -263,47 +263,39 @@ h2 {
 }
 
 #tabnav a, #tabnav a:link, #tabnav a:visited {
-  background: #f3f3f3;
-  font-size: 13px;
-  line-height: 14px;
+  background: #fff;
+  font-size: 14px;
+  line-height: 19px;
   font-weight: bold;
-  padding: 2px 10px;
-  border: 1px solid #ccc;
+  padding: 5px 10px;
   text-decoration: none;
   color: #333;
-  border-top-right-radius: 5px;
-  -moz-border-radius-topright: 5px;
-  border-top-left-radius: 5px;
-  -moz-border-radius-topleft: 5px;
 }
 
 #tabnav a:link.active, #tabnav a:visited.active {
-  border-bottom: 1px solid #fff;
-  background: #fff;
+  border-bottom: 1px solid #aaa;
+  background: #9ed485;
   color: #000;
 }
 
 #tabnav a:link:hover, #tabnav a:visited:hover {
-  background: #fff;
+  text-decoration:underline;
 }
 
 #tabnav a:link.disabled,
 #tabnav a:visited.disabled,
 #tabnav a:link:hover.disabled,
 #tabnav a:visited:hover.disabled {
-  background: #bbbbbb;
-  color: white
+  color: #888;
 }
 
 /* Rules for greeting bar in the top right corner */
 
 #greeting {
-  height: 20px;
+  height: 30px;
   margin: 0px;
-  padding-top: 5px;
   font-size: 13px;
-  line-height: 15px;
-  background: image-url('tab_bottom.gif') repeat-x bottom;
+  line-height: 30px;
 }
 
 .greeting-bar-unread {
index c86672e9a0c9a088ddb1ce3b770b6531aa5ed626..196b61c01149b2b18bf2b5b7b1f0cdc858d7772e 100644 (file)
@@ -9,7 +9,7 @@
 /* Rules for the main content area */
 
 #content {
-  top: 25px;
+  top: 30px;
 }
 
 /* Rules for OpenLayers maps */
index 8ca91bf3781c4f65050f22c85708fb8a01588dd8..039d901c008d67951489bc1c22a0e4308be9a72e 100644 (file)
@@ -76,7 +76,7 @@ html body {
 #tabnav a:link,
 #tabnav a:visited {
   float: left;
-  margin-right: 4px;
+  margin-right: 1px;
 }
 
 /* Rules for greeting bar in the top right corner */
index 07b5d7b1075f534e2bc46f1b2ab865990b6d3632..59a6469cee8532d5e22e8856fa086edaff5cd311 100644 (file)
@@ -22,10 +22,8 @@ h1 {
 {
   height: 14px;
   margin: 0px;
-  padding-left: 3px;
   padding-top: 5px;
   margin-top: 18px;
-  background: image-url('tab_bottom.gif') repeat-x bottom;
   font-size: 10px;
   line-height: 10px;
 }
@@ -34,7 +32,7 @@ h1 {
 {
   font-size: 10px;
   line-height: 10px;
-  padding: 1px 5px;
+  padding: 2px 5px;
   margin-right: 1px;
 }