Skip to content
Snippets Groups Projects
Commit 23f051cc authored by Jan-Christoph Borchardt's avatar Jan-Christoph Borchardt
Browse files

redesigned search box

parent 3758b0d7
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,8 @@ background: linear-gradient(top, #35537a 0%,#1d2d42 100%); /* W3C */ }
#metanav li a img { vertical-align:middle; }
/* SEARCH --------------------------------------------------------------------- */
form.searchbox { display:inline; position:fixed; top:1em; right:10em; margin:0; padding:0; }
form.searchbox { display:inline; position:fixed; top:.9em; right:9em; margin:0; padding:0; }
input[type="search"] { font-size:1em; padding-left:2em; background:#eee url('../img/actions/search.png') .5em center no-repeat; }
/* NAVIGATION ------------------------------------------------------------- */
#plugins { position:fixed; top:3.5em; float:left; width:15.7em; padding:0; z-index:0; }
......
core/img/actions/search.png

701 B

<form class="searchbox" action="<?php echo $_['searchurl']?>" method="post">
<input type="text" name="query" value="<?php if(isset($_POST['query'])){echo $_POST['query'];};?>" class="prettybutton" />
<input type="submit" value="<?php echo $l->t( 'Search' ); ?>" class="prettybutton" />
<input type="search" name="query" value="<?php if(isset($_POST['query'])){echo $_POST['query'];};?>" class="prettybutton" />
</form>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment