[Bug 489246] Add Search Functionality to Gallery
authorRyan Doherty <rdoherty@mozilla.com>
Wed, 01 Jul 2009 10:52:16 -0700
changeset 1057 bd08eeef19989f967cb8033979562a7c2cd9e81e
parent 1056 fe9af6d64aaef2d22340c41e004ed3ed019c5430
child 1059 a2e94cd80d591d30b3c9f2e08bc86332e2740b53
push id675
push userrdoherty@mozilla.com
push dateWed, 01 Jul 2009 17:52:20 +0000
bugs489246
[Bug 489246] Add Search Functionality to Gallery
static/css/style.css
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -189,72 +189,71 @@ tr.odd {
 }
 
 #nav h1 a img {
     z-index: 20;
 }
 
 #nav ul {
     font-family: Helvetica, sans-serif;
-    width: 730px;
+    width: 674px;
     height: 70px;
-    margin: 1px 0 0 230px;
+    margin: 1px 0 0 274px;
     background: url('../img/nav-sprite.jpg') top right no-repeat;
 }
 
 #nav ul li {
     list-style-type: none;
     float: left;
     background: url('../img/nav-sprite.jpg') 0 0 no-repeat;
     padding: 0 0 0 2px;
     margin: 0;
 }
 
 #nav ul a {
     padding: 20px 0 18px 10px;
     display: block;
     color: #fff;
     text-decoration: none;
-    width: 110px;
+    width: 108px;
 }
 
 #nav ul li.gallery a, #nav ul li.demo a {
     padding: 28px 0 25px 10px ;
 }
 
 #nav ul a:hover {
     background: url('../img/nav-sprite.jpg') 0 -70px repeat-x;
 }
 
 #nav ul a:active, #nav ul a.active {
     background: url('../img/nav-sprite.jpg') 0 -140px repeat-x;
 }
 
 #nav ul li.search {
-    padding: 20px 0 22px 7px;
+    padding: 20px 0 22px 5px;
 }
 
 .search form {
     background: transparent url('../img/main-sprites.png') -333px -795px no-repeat;
     width: 157px;
-    padding: 5px 0 0 25px;
+    padding: 5px 0 0 26px;
     height: 23px;
 }
 
 .search input {
     width: 130px;
     border: 0;
     background: transparent;
     color: #fff;
 }
 
 .search #submit {
     width: 20px;
     height: 20px;
-    margin: 0 -2px 0 2px;
     vertical-align: bottom;
 }
 
 .search p {
     position: absolute;
     top: -1000px;
 }