From: Danny B Date: Mon, 19 Jul 2010 10:52:01 +0000 (+0000) Subject: * (bug 24401) SimpleSearch: No button/text indicating 'Search' if image is disabled X-Git-Tag: 1.31.0-rc.0~36086 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=3bc9b46079d7a20d54c4109106e671826cf6620f;p=lhc%2Fweb%2Fwiklou.git * (bug 24401) SimpleSearch: No button/text indicating 'Search' if image is disabled --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 9767f007b3..f90094711f 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -242,6 +242,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 24244) Updated comments in DefaultSettings.php to reflect Image: --> File: namespace rename. * Make wfTimestamp recognize negative unix timestamp values. +* (bug 24401) SimpleSearch: No button/text indicating 'Search' if image is disabled === API changes in 1.17 === * (bug 22738) Allow filtering by action type on query=logevent. diff --git a/skins/Vector.php b/skins/Vector.php index b638a59b0a..86bed7e31a 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -771,7 +771,7 @@ class VectorTemplate extends QuickTemplate { getOption( 'vector-simplesearch' ) ): ?>
skin->tooltipAndAccesskey( 'search' ); ?> data['search'] ) ): ?> value="text( 'search' ) ?>" /> - +
skin->tooltipAndAccesskey( 'search' ); ?> data['search'] ) ): ?> value="text( 'search' ) ?>" /> diff --git a/skins/vector/main-ltr.css b/skins/vector/main-ltr.css index 0fd42a9c21..180dc9a9c3 100644 --- a/skins/vector/main-ltr.css +++ b/skins/vector/main-ltr.css @@ -383,15 +383,17 @@ div#mw-head h5 { /* OVERRIDDEN BY COMPLIANT BROWSERS */ div#simpleSearch button#searchButton { padding: 0; - margin: 5px 5px 0 5px; - height: 13px; - width: 12px; + margin: 0 5px; border: none; cursor: pointer; background-color: transparent; - background-image: url(images/search-ltr.png?1); - background-position: center center; - background-repeat: no-repeat; + font-size: x-small; + } + div#simpleSearch button#searchButton img { + border: none; + margin: 0; + padding: 0; + vertical-align: middle; } /* Panel */ div#mw-panel { diff --git a/skins/vector/main-rtl.css b/skins/vector/main-rtl.css index 32bccf9b83..22f2ea7023 100644 --- a/skins/vector/main-rtl.css +++ b/skins/vector/main-rtl.css @@ -383,15 +383,17 @@ div#mw-head h5 { /* OVERRIDDEN BY COMPLIANT BROWSERS */ div#simpleSearch button#searchButton { padding: 0; - margin: 5px 5px 0 5px; - height: 13px; - width: 12px; + margin: 0 5px; border: none; cursor: pointer; background-color: transparent; - background-image: url(images/search-rtl.png?1); - background-position: center center; - background-repeat: no-repeat; + font-size: x-small; + } + div#simpleSearch button#searchButton img { + border: none; + margin: 0; + padding: 0; + vertical-align: middle; } /* Panel */ div#mw-panel {