From 6cfb5c5b5905a5815f35b026b1c589358c2c16e9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 6 Aug 2008 19:31:56 -0400 Subject: [PATCH] Added a small icon to the search input box. --- debian/changelog | 1 + doc/style.css | 8 ++++++++ doc/todo/Add_label_to_search_form_input_field.mdwn | 2 +- doc/wikiicons/search-bg.gif | Bin 0 -> 74 bytes templates/searchform.tmpl | 2 +- 5 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 doc/wikiicons/search-bg.gif diff --git a/debian/changelog b/debian/changelog index e901354eb..d20435626 100644 --- a/debian/changelog +++ b/debian/changelog @@ -28,6 +28,7 @@ ikiwiki (2.60) UNRELEASED; urgency=low * Options set in the setup file are now immediatly loaded by ikiwiki -setup. This allows later switches to override them. Previously, setup file options overrode most command line options. + * Added a small icon to the search input box. -- Joey Hess Mon, 21 Jul 2008 11:35:46 -0400 diff --git a/doc/style.css b/doc/style.css index c7dc070cd..30f7ee3f3 100644 --- a/doc/style.css +++ b/doc/style.css @@ -256,6 +256,14 @@ input#openid_url { 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. */ @media print { .actions { display: none; } diff --git a/doc/todo/Add_label_to_search_form_input_field.mdwn b/doc/todo/Add_label_to_search_form_input_field.mdwn index 43810460f..ad6718f09 100644 --- a/doc/todo/Add_label_to_search_form_input_field.mdwn +++ b/doc/todo/Add_label_to_search_form_input_field.mdwn @@ -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 > positioning. (CSS sucks.) --[[Joey]] -[[wishlist]] +[[done wishlist]] diff --git a/doc/wikiicons/search-bg.gif b/doc/wikiicons/search-bg.gif new file mode 100644 index 0000000000000000000000000000000000000000..02f9da4a7e93556325e186612df29d102f6326e3 GIT binary patch literal 74 zcmZ?wbhEHb6l4%!Sjf!4!o=d_o5QTNSuL5c}oAv({J}TuuPCUowK7i cZyx9TMorb1Q_@X1g-Z5r&_4XNMufo{0Evql*#H0l literal 0 HcmV?d00001 diff --git a/templates/searchform.tmpl b/templates/searchform.tmpl index d49cf22d3..afae2ebf5 100644 --- a/templates/searchform.tmpl +++ b/templates/searchform.tmpl @@ -1,5 +1,5 @@
- +
-- 2.26.2