25 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
26 border: solid 1px #aaa;
28 background-color: white;
29 .background-image('images/search-fade.png');
30 background-position: top left;
31 background-repeat: repeat-x;
34 // Styles for both the search input and the button
35 div#simpleSearch input {
41 background-color: transparent;
45 div#simpleSearch #searchInput {
49 padding: 0.2em 0 0.2em 0.2em;
54 div#simpleSearch #searchInput:focus {
58 div#simpleSearch input {
62 // Placeholder colors. These rules MAY NOT be merged because of how
63 // CSS requires browsers to parse unrecognized selectors!
64 div#simpleSearch #searchInput.placeholder {
67 div#simpleSearch #searchInput::-webkit-input-placeholder {
70 div#simpleSearch #searchInput:-moz-placeholder {
73 div#simpleSearch #searchInput:-ms-input-placeholder {
77 // Undo the styles Webkit browsers apply to type=search fields,
79 div#simpleSearch #searchInput {
80 -webkit-appearance: textfield;
82 div#simpleSearch #searchInput::-webkit-search-decoration,
83 div#simpleSearch #searchInput::-webkit-search-cancel-button,
84 div#simpleSearch #searchInput::-webkit-search-results-button,
85 div#simpleSearch #searchInput::-webkit-search-results-decoration {
86 -webkit-appearance: textfield;
89 // The buttons. They are displayed in the same position, and if both are
90 // present the fulltext search one obscures the 'Go' one.
91 div#simpleSearch #searchButton,
92 div#simpleSearch #mw-searchButton {
98 /* Hide button text and replace it with the image. */
100 /* Needed to make IE6 respect the text-indent. */
102 /* Opera 12 on RTL flips the text in a funny way without this. */
108 background: transparent url(images/search-ltr.png) center center no-repeat;
111 div#simpleSearch #mw-searchButton {
116 // The following styles exist only for backwards-compatibility with
117 // cached HTML and are to be removed before 1.23 release.
119 /* Fix direction changed for awful hacks */
120 .sitedir-ltr div#simpleSearch button#searchButton {
124 .sitedir-rtl div#simpleSearch button#searchButton {
129 div#simpleSearch button#searchButton {
133 padding-bottom: 0.2em;
134 padding-right: 0.4em;
137 background-image: none;
141 /* OVERRIDDEN BY COMPLIANT BROWSERS */
142 div#simpleSearch button#searchButton img {
150 div#simpleSearch button#searchButton > img {