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;
33 // Styles for both the search input and the button
39 background-color: transparent;
48 padding: 0.2em 0 0.2em 0.2em;
56 // These rules MAY NOT be merged because of how CSS requires browsers
57 // to parse unrecognized selectors!
61 &:-ms-input-placeholder {
67 &::-webkit-input-placeholder {
71 // Undo the styles Webkit browsers apply to type=search fields,
73 -webkit-appearance: textfield;
75 &::-webkit-search-decoration,
76 &::-webkit-search-cancel-button,
77 &::-webkit-search-results-button,
78 &::-webkit-search-results-decoration {
79 -webkit-appearance: textfield;
83 // The buttons. They are displayed in the same position, and if both are
84 // present the fulltext search one obscures the 'Go' one.
92 /* Hide button text and replace it with the image. */
93 /* This would be 100% if not for Firefox shenanigans (bug 60900). */
95 /* Needed to make IE6 respect the text-indent. */
97 /* Opera 12 on RTL flips the text in a funny way without this. */
102 .background-image-svg('images/search-ltr.svg', 'images/search-ltr.png');
103 background-position: center center;
104 background-repeat: no-repeat;
112 // The following styles exist only for backwards-compatibility with
113 // cached HTML and are to be removed before 1.23 release.
115 /* Fix direction changed for awful hacks */
116 .sitedir-ltr div#simpleSearch button#searchButton {
120 .sitedir-rtl div#simpleSearch button#searchButton {
125 div#simpleSearch button#searchButton {
129 padding-bottom: 0.2em;
130 padding-right: 0.4em;
133 background-color: transparent;
134 background-image: none;
137 /* OVERRIDDEN BY COMPLIANT BROWSERS */