Merge "search.less: Use static width for the search button"
This commit is contained in:
commit
3b44f27c71
@ -18,7 +18,8 @@
|
|||||||
|
|
||||||
div#simpleSearch {
|
div#simpleSearch {
|
||||||
display: block;
|
display: block;
|
||||||
width: 14em;
|
width: 12.6em;
|
||||||
|
padding-right: 1.4em;
|
||||||
height: 1.4em;
|
height: 1.4em;
|
||||||
margin-top: 0.65em;
|
margin-top: 0.65em;
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -32,7 +33,6 @@ div#simpleSearch {
|
|||||||
|
|
||||||
// Styles for both the search input and the button
|
// Styles for both the search input and the button
|
||||||
input {
|
input {
|
||||||
position: absolute;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
@ -42,9 +42,7 @@ div#simpleSearch {
|
|||||||
|
|
||||||
// The search input
|
// The search input
|
||||||
#searchInput {
|
#searchInput {
|
||||||
top: 0;
|
width: 100%;
|
||||||
left: 0;
|
|
||||||
width: 90%;
|
|
||||||
padding: 0.2em 0 0.2em 0.2em;
|
padding: 0.2em 0 0.2em 0.2em;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
direction: ltr;
|
direction: ltr;
|
||||||
@ -87,14 +85,14 @@ div#simpleSearch {
|
|||||||
// present the fulltext search one obscures the 'Go' one.
|
// present the fulltext search one obscures the 'Go' one.
|
||||||
#searchButton,
|
#searchButton,
|
||||||
#mw-searchButton {
|
#mw-searchButton {
|
||||||
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
width: 10%;
|
width: 1.65em;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
/* Hide button text and replace it with the image. */
|
/* Hide button text and replace it with the image. */
|
||||||
/* This would be 100% if not for Firefox shenanigans (bug 60900). */
|
text-indent: -99999px;
|
||||||
text-indent: 200%;
|
|
||||||
/* Needed to make IE6 respect the text-indent. */
|
/* Needed to make IE6 respect the text-indent. */
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
/* Opera 12 on RTL flips the text in a funny way without this. */
|
/* Opera 12 on RTL flips the text in a funny way without this. */
|
||||||
|
Loading…
Reference in New Issue
Block a user