From 897bc55d4681b7899fe0e30348135adae7a0d76f Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Sat, 27 Aug 2011 20:02:11 +0200 Subject: [PATCH] Revert "Style searchbox like other textboxes" The search box style is a design decision, search boxes are always styled differently from other inputs. This reverts commit 9d48ca75ff5eba2a7ad3af2423388d4ab5e92d8c. --- core/css/styles.css | 3 ++- core/templates/layout.user.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/css/styles.css b/core/css/styles.css index 205bf1bb96d..aeee5a96ee9 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -43,7 +43,8 @@ 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; } -#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; } +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; } 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; } diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 464ff5722a8..90b19259292 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -28,8 +28,8 @@
-- 2.39.5