changeset 1108:df49aab5d88a

merged
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 28 Nov 2011 12:51:57 +0100
parents a4db041df27a (current diff) 525994af1b8f (diff)
children b703c5e590a3
files
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/layout.html	Mon Nov 28 02:09:35 2011 +0100
+++ b/MoinMoin/templates/layout.html	Mon Nov 28 12:51:57 2011 +0100
@@ -22,7 +22,7 @@
     {{ gen.form.open(search_form, id='moin-searchform', method='get', action=url_for('frontend.search')) }}
         <div>
             {{ gen.input(search_form['q'], type='search', id='moin-search-query', size='40') }}
-            {{ gen.input(search_form['submit'], type='submit', id='moin-search-submit') }}
+            {{ gen.button(search_form['submit'], type='submit', id='moin-search-submit') }}
             {{ forms.render_errors(search_form) }}
         </div>
     {{ gen.form.close() }}
--- a/MoinMoin/themes/modernized/static/css/common.css	Mon Nov 28 02:09:35 2011 +0100
+++ b/MoinMoin/themes/modernized/static/css/common.css	Mon Nov 28 12:51:57 2011 +0100
@@ -574,7 +574,8 @@
 #moin-searchform input { font-size: 100%; vertical-align: middle;
             background-color: #F3F7FD; /* same as body bg col */
             border: 1px solid #A4B9DF; }
-#moin-searchform #moin-search-submit { display: none; }
+#moin-searchform #moin-search-submit { text-indent: -9000%; margin-left: -24px; width: 20px; height: 16px; background: url(../img/moin-search.png) center center no-repeat; background-size: 16px 16px; border: none; overflow: hidden; vertical-align: middle; cursor: pointer; }
+#moin-searchform #moin-search-query { padding-right: 20px; }
 #moin-searchform div { margin: 0; }
 #moin-searchform ul { border: 1px solid #A4B9DF; margin: 0; padding: 0; background-color: #F3F7FD; }
 #moin-searchform li { list-style:none; }