]> source.dussan.org Git - nextcloud-server.git/commitdiff
updated search box display
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Wed, 6 Jul 2011 17:31:16 +0000 (19:31 +0200)
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Wed, 6 Jul 2011 17:31:16 +0000 (19:31 +0200)
core/css/styles.css
core/templates/part.searchbox.php

index 5027a6b6fe96780fd67e4c20ce1f1e60cadb1cec..93d2248c6e7892e2608c44ba4ed5d0387843730a 100644 (file)
@@ -199,6 +199,9 @@ div.controls { width:91%; margin:1em 1em 1em 2em; padding:0.5em 0; background-co
 #metanav li a:hover, #metanav li a:focus { background:rgba(0,0,0,.5); -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; outline:0; box-shadow:#555 0 1px 0; -moz-box-shadow:#555 0 1px 0; -webkit-box-shadow:#555 0 1px 0; }
 #metanav li a img { vertical-align:middle; }
 
+/* SEARCH --------------------------------------------------------------------- */
+form.searchbox { display:inline; position:fixed; top:2em; right:10em; margin:0; padding:0; }
+
 /* NAVIGATION ------------------------------------------------------------- */
 #plugins { position:fixed; top:7em; float:left; width:15.7em; padding:0; }
 #plugins ul { list-style-type:none; border-top:1px solid #ccc; }
@@ -272,7 +275,3 @@ p.actions a.delete, div.actions a.delete { background-image:url('../img/delete.p
 #logs_options input[type="submit"].nofloat { float:none; margin:0 2em 0 0; }
 #logs_options input[type="text"] { margin:0; padding:0; border:1px solid #ccc; text-align:right; }
 li.error{ list-style:none; width:640px; margin:4em auto; padding:1em 1em 1em 4em; background-color:#fee; background-image:url('../img/task-attention.png'); background-position:0.8em 0.8em; background-repeat:no-repeat; border:1px solid #ccc; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; }
-
-/* SEARCH --------------------------------------------------------------------- */
-form.searchbox{display:inline; position:fixed; top:1.5em; right:9em; margin:0; padding:0;};
-form.searchbox .prettybutton{font-size:1.5em !important};
\ No newline at end of file
index 7465a7326ee8f4b1186e57eff981724631209acd..19b089ef84fb769891e4e4c245edf886586606ed 100644 (file)
@@ -1,4 +1,4 @@
-<form class='searchbox' action='<?php echo $_['searchurl']?>' method='post'>
-       <input name='query' value='<?php if(isset($_POST['query'])){echo $_POST['query'];};?>'/>
-       <input type='submit' value='<?php echo $l->t( 'Search' ); ?>' class='prettybutton'/>
-</form>
\ No newline at end of file
+<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" />
+</form>