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. */
94 /* Needed to make IE6 respect the text-indent. */
96 /* Opera 12 on RTL flips the text in a funny way without this. */
101 .background-image-svg('images/search-ltr.svg', 'images/search-ltr.png');
102 background-position: center center;
103 background-repeat: no-repeat;