]> source.dussan.org Git - nextcloud-server.git/commitdiff
Style searchbox like other textboxes
authorMichael Gapczynski <GapczynskiM@gmail.com>
Sat, 27 Aug 2011 17:42:03 +0000 (13:42 -0400)
committerMichael Gapczynski <GapczynskiM@gmail.com>
Sat, 27 Aug 2011 17:42:03 +0000 (13:42 -0400)
core/css/styles.css
core/templates/layout.user.php

index faa0ee0b6dedaa246a1c9356473d2f0aaab5ddc2..b7eb62c4c41e7a5bf4b869c9b8bf1cff4a686f30 100644 (file)
@@ -43,8 +43,7 @@ input[type="checkbox"] { width:auto; }
 #body-login input { font-size:1.5em; }
 #body-login input[type="submit"] { float:right; margin-right:.8em; }
 #remember_login { margin:.8em .2em 0 1em; }
-form.searchbox input[type="search"] { position:fixed; font-size:1.2em; top:.4em; right:4em; padding:.2em .5em .2em 1.5em; background:#f8f8f8 url('../img/actions/search.svg') .5em center no-repeat; border:0; -moz-border-radius:1em; -webkit-border-
-radius:1em; border-radius:1em; }
+#searchbox { position:fixed; font-size:1.2em; top:.2em; right:3em; padding:.2em .5em .2em 1.5em; background-image:url('../img/actions/search.svg'); background-repeat:no-repeat; background-position:.5em center; }
 input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #cfc inset; -webkit-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #cfc inset; box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #cfc inset; }
 input[type="submit"].highlight{ background:#ffc100; border:1px solid #db0; text-shadow:#ffeedd 0 1px 0; -moz-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #ffeedd inset; -webkit-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #ffeedd inset; box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #ffeedd inset; }
 
index 90b19259292aa0ce1814ec92a8070c0422804d47..464ff5722a8d951982c8fb2c4203ff2b274291bb 100644 (file)
@@ -28,8 +28,8 @@
        <body id="<?php echo $_['bodyid'];?>">
                <header><div id="header">
                        <a href="<?php echo link_to('', 'index.php'); ?>" title="" id="owncloud"><img class="svg" src="<?php echo image_path('', 'logo-wide.svg'); ?>" alt="ownCloud" /></a>
-                       <form class="searchbox" action="#" method="post">
-                               <input id="searchbox" class="svg" type="search" name="query" value="<?php if(isset($_POST['query'])){echo $_POST['query'];};?>" autocomplete="off" />
+                       <form action="#" method="post">
+                               <input class="svg" type="text" id="searchbox" name="query" value="<?php if(isset($_POST['query'])){echo $_POST['query'];};?>" autocomplete="off" />
                        </form>
                        <a id="logout" href="<?php echo link_to('', 'index.php'); ?>?logout=true"><img class="svg" alt="<?php echo $l->t('Log out');?>" src="<?php echo image_path('', 'actions/logout.svg'); ?>" /></a>
                </div></header>