Added a small icon to the search input box.

master
Joey Hess 2008-08-06 19:31:56 -04:00
parent f2e62d6801
commit 6cfb5c5b59
5 changed files with 11 additions and 2 deletions

1
debian/changelog vendored
View File

@ -28,6 +28,7 @@ ikiwiki (2.60) UNRELEASED; urgency=low
* Options set in the setup file are now immediatly loaded by ikiwiki -setup. * Options set in the setup file are now immediatly loaded by ikiwiki -setup.
This allows later switches to override them. Previously, setup file This allows later switches to override them. Previously, setup file
options overrode most command line options. options overrode most command line options.
* Added a small icon to the search input box.
-- Joey Hess <joeyh@debian.org> Mon, 21 Jul 2008 11:35:46 -0400 -- Joey Hess <joeyh@debian.org> Mon, 21 Jul 2008 11:35:46 -0400

View File

@ -256,6 +256,14 @@ input#openid_url {
padding-left: 18px; padding-left: 18px;
} }
input#searchbox {
background: url(wikiicons/search-bg.gif) no-repeat;
background-color: #fff;
background-position: 0 50%;
color: #000;
padding-left: 16px;
}
/* Things to hide in printouts. */ /* Things to hide in printouts. */
@media print { @media print {
.actions { display: none; } .actions { display: none; }

View File

@ -47,4 +47,4 @@ The patch below adds a label for the field to improve usability:
> to get it to appear higher up is to put it first, or to use Evil absolute > to get it to appear higher up is to put it first, or to use Evil absolute
> positioning. (CSS sucks.) --[[Joey]] > positioning. (CSS sucks.) --[[Joey]]
[[wishlist]] [[done wishlist]]

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 B

View File

@ -1,5 +1,5 @@
<form method="get" action="<TMPL_VAR SEARCHACTION>" id="searchform"> <form method="get" action="<TMPL_VAR SEARCHACTION>" id="searchform">
<div> <div>
<input type="text" name="P" value="" size="16" /> <input type="text" id="searchbox" name="P" value="" size="16" />
</div> </div>
</form> </form>