]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Style for header search form.
authorSamantha Doherty <sammy@status.net>
Fri, 26 Aug 2011 02:30:09 +0000 (22:30 -0400)
committerSamantha Doherty <sammy@status.net>
Fri, 26 Aug 2011 02:30:09 +0000 (22:30 -0400)
theme/base/css/display.css
theme/neo/README
theme/neo/css/display.css
theme/neo/images/magnifier.png [new file with mode: 0644]

index 5d65c14cc809d26e22ba13e162455afcf0f8726c..52bf7f19edcf9a012d899b34a2ed255081a034fb 100644 (file)
@@ -218,6 +218,13 @@ address .poweredby {
     margin-right: 0px;
 }
 
+#header-search {
+    float: right;
+    position: relative;
+    top: -8px;
+    margin-left: 10px;
+}
+
 #site_notice { 
     float: right;
     width: 300px;
index 9e001123cb86ec51f354a0254478b581c0567718..eff8cd6dfa8ddfedaf61a880e7f693b5614c1471 100644 (file)
@@ -1,7 +1,7 @@
 Default avatars are modified from an image by Francesco 'Architetto' Rollandin.
 http://www.openclipart.org/detail/34957
 
-Icons by Mark James
+Some icons by Mark James
 http://www.famfamfam.com/lab/icons/silk/
 http://creativecommons.org/licenses/by/2.5/ Creative Commons Attribution 2.5 License
 
index 22634b40eade7eb904c26fc293578470d2353393..e41cf9f87a3fd2d9bbf2ed54acb9b498fd4867a2 100644 (file)
@@ -129,6 +129,37 @@ h6 {font-size: 1em;}
     text-decoration: none;
 }
 
+#header-search {
+    top: 1px;
+    margin-left: 6px;
+}
+
+#header-search #search-q {
+    position: relative;
+    width: 131px;
+    height: 12px;
+    margin-right: 10px;
+    padding: 2px 22px 2px 6px;
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    border-radius: 4px;
+    border: none;
+    font-size: 0.88em;
+}
+
+#header-search input[type="submit"] {
+    border: 0;
+    background: url(../images/magnifier.png) no-repeat 2px 1px;
+    text-indent: -9999px;
+    width: 20px;
+    height: 18px;
+    position: absolute;
+    right: 10px;
+    top: 2px;
+    z-index: 2;
+    cursor: pointer;
+}
+
 #site_notice {
     -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
diff --git a/theme/neo/images/magnifier.png b/theme/neo/images/magnifier.png
new file mode 100644 (file)
index 0000000..cf3d97f
Binary files /dev/null and b/theme/neo/images/magnifier.png differ