diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-10-02 23:56:29 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-10-02 23:56:29 +0000 |
commit | fd887655752532b74161ef2d9cfc9414fe5f59ec (patch) | |
tree | cefff1ce7ca2aaa16cf1d787bcd8e3930e6ef461 | |
parent | 5f482ee3d60c46c231fd45243256f893c579eda4 (diff) | |
download | brdo-fd887655752532b74161ef2d9cfc9414fe5f59ec.tar.gz brdo-fd887655752532b74161ef2d9cfc9414fe5f59ec.tar.bz2 |
- Patch #923242 by reglogge, Jeff Burnz: search button has no hover state.
-rw-r--r-- | themes/bartik/css/ie.css | 6 | ||||
-rw-r--r-- | themes/bartik/css/style-rtl.css | 7 | ||||
-rw-r--r-- | themes/bartik/css/style.css | 18 | ||||
-rw-r--r-- | 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 Binary files differindex 08a28b270..dc9404036 100644 --- a/themes/bartik/images/search-button.png +++ b/themes/bartik/images/search-button.png |