Remove IE 6 specific code
Removing further CSS for Internet Explorer 6. Follow-up to I0f98c61cf9108c0a91769e9b7044023b01f974ed. Change-Id: I85a7570c97f9b618a7946dc20367b54e72d31b3e
This commit is contained in:
parent
fff89b5352
commit
0f7a56e95c
|
@ -2,12 +2,6 @@
|
||||||
* Any rules which should not be flipped automatically in right-to-left situations should be
|
* Any rules which should not be flipped automatically in right-to-left situations should be
|
||||||
* prepended with @noflip in a comment block.
|
* prepended with @noflip in a comment block.
|
||||||
*
|
*
|
||||||
* This stylesheet employs a few CSS trick to accomplish compatibility with a wide range of web
|
|
||||||
* browsers. The most common trick is to use some styles in IE6 only. This is accomplished by using
|
|
||||||
* a rule that makes things work in IE6, and then following it with a rule that begins with
|
|
||||||
* "html > body" or use a child selector ">", which is ignored by IE6 because it does not support
|
|
||||||
* the child selector. You can spot this by looking for the "OVERRIDDEN BY COMPLIANT BROWSERS" and
|
|
||||||
* "IGNORED BY IE6" comments.
|
|
||||||
*/
|
*/
|
||||||
@import 'mediawiki.mixins';
|
@import 'mediawiki.mixins';
|
||||||
|
|
||||||
|
@ -84,6 +78,7 @@ body {
|
||||||
.mw-indicator {
|
.mw-indicator {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
zoom: 1;
|
zoom: 1;
|
||||||
|
// Support: IE7
|
||||||
*display: inline; // stylelint-disable declaration-block-no-duplicate-properties
|
*display: inline; // stylelint-disable declaration-block-no-duplicate-properties
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,8 +92,6 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
/* Hide button text and replace it with the image. */
|
/* Hide button text and replace it with the image. */
|
||||||
text-indent: -99999px;
|
text-indent: -99999px;
|
||||||
/* Needed to make IE6 respect the text-indent. */
|
|
||||||
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. */
|
||||||
/* @noflip */
|
/* @noflip */
|
||||||
direction: ltr;
|
direction: ltr;
|
||||||
|
|
|
@ -12,8 +12,6 @@
|
||||||
width: 28px;
|
width: 28px;
|
||||||
/* This hides the text but shows the background image */
|
/* This hides the text but shows the background image */
|
||||||
padding-top: 3.1em;
|
padding-top: 3.1em;
|
||||||
/* Only applied in IE6 */
|
|
||||||
_margin-top: -0.8em;
|
|
||||||
height: 0;
|
height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-position: 5px 60%;
|
background-position: 5px 60%;
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
background-position: bottom right;
|
background-position: bottom right;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
|
||||||
/* Sadly, IE6 won't understand this */
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
margin-left: 1px;
|
margin-left: 1px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue