From fd887655752532b74161ef2d9cfc9414fe5f59ec Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 2 Oct 2010 23:56:29 +0000 Subject: - Patch #923242 by reglogge, Jeff Burnz: search button has no hover state. --- themes/bartik/css/ie.css | 6 ++++++ themes/bartik/css/style-rtl.css | 7 ++----- themes/bartik/css/style.css | 18 ++++++++++++++---- themes/bartik/images/search-button.png | Bin 692 -> 1055 bytes 4 files changed, 22 insertions(+), 9 deletions(-) diff --git a/themes/bartik/css/ie.css b/themes/bartik/css/ie.css index 19d4d43b7..c48800de3 100644 --- a/themes/bartik/css/ie.css +++ b/themes/bartik/css/ie.css @@ -21,3 +21,9 @@ fieldset legend { .meta { margin-bottom: 10px; } +#search-block-form input.form-submit:hover, +#search-block-form input.form-submit:focus, +#search-form input.form-submit:hover, +#search-form input.form-submit:focus { + background-position: center -25px; +} diff --git a/themes/bartik/css/style-rtl.css b/themes/bartik/css/style-rtl.css index bdc10f18a..3fc789a85 100644 --- a/themes/bartik/css/style-rtl.css +++ b/themes/bartik/css/style-rtl.css @@ -164,11 +164,8 @@ a.button { #search-form input#edit-keys, #block-search-form .form-item-search-block-form input { float: right; -} -#search-block-form input.form-submit, -#search-form input.form-submit { - margin-left: 0; - margin-right: 5px; + margin-left: 5px; + margin-right: 0; } /* ------------------ Footer ------------------ */ diff --git a/themes/bartik/css/style.css b/themes/bartik/css/style.css index f56720046..dd3bcdc28 100644 --- a/themes/bartik/css/style.css +++ b/themes/bartik/css/style.css @@ -1201,20 +1201,30 @@ div.vertical-tabs .vertical-tabs-panes fieldset.vertical-tabs-pane { #search-form input#edit-keys, #block-search-form .form-item-search-block-form input { float: left; /* LTR */ + font-size: 1em; + height: 1.143em; + margin-right: 5px; + width: 9em; } #search-block-form input.form-submit, #search-form input.form-submit { - margin-left: 5px; /* LTR */ - margin-right: 0; /* LTR */ + margin-left: 0; + margin-right: 0; height: 25px; width: 34px; padding: 0; cursor: pointer; text-indent: -9999px; - border: 1px solid #ccc; - background: url(../images/search-button.png) no-repeat center center; + border-color: #e4e4e4 #d2d2d2 #b4b4b4; + background: url(../images/search-button.png) no-repeat center top; overflow: hidden; } +#search-block-form input.form-submit:hover, +#search-block-form input.form-submit:focus, +#search-form input.form-submit:hover, +#search-form input.form-submit:focus { + background-position: center bottom; +} #search-form .form-item-keys label { display: block; } diff --git a/themes/bartik/images/search-button.png b/themes/bartik/images/search-button.png index 08a28b270..dc9404036 100644 Binary files a/themes/bartik/images/search-button.png and b/themes/bartik/images/search-button.png differ -- cgit v1.2.3