diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-07-29 02:35:16 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-07-29 02:35:21 +0200 |
commit | 23f051ccd6eb3f6964cd6a61d867e367381dd8d4 (patch) | |
tree | bde0c596b7237ad5a561affb9a606d6b8488931a | |
parent | 3758b0d707d1f4ce5db0b0f465014caa23ed77b1 (diff) | |
download | nextcloud-server-23f051ccd6eb3f6964cd6a61d867e367381dd8d4.tar.gz nextcloud-server-23f051ccd6eb3f6964cd6a61d867e367381dd8d4.zip |
redesigned search box
-rw-r--r-- | core/css/styles.css | 3 | ||||
-rw-r--r-- | core/img/actions/search.png | bin | 0 -> 701 bytes | |||
-rw-r--r-- | core/templates/part.searchbox.php | 3 |
3 files changed, 3 insertions, 3 deletions
diff --git a/core/css/styles.css b/core/css/styles.css index 48a36734e52..55e050b1962 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -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; } diff --git a/core/img/actions/search.png b/core/img/actions/search.png Binary files differnew file mode 100644 index 00000000000..bfedb80bb57 --- /dev/null +++ b/core/img/actions/search.png diff --git a/core/templates/part.searchbox.php b/core/templates/part.searchbox.php index 19b089ef84f..efce47ecd24 100644 --- a/core/templates/part.searchbox.php +++ b/core/templates/part.searchbox.php @@ -1,4 +1,3 @@ <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> |