2020-03-21 00:50:28 +00:00
|
|
|
/*!
|
|
|
|
* Convert watchstar to text label in IE 8.
|
|
|
|
*
|
|
|
|
* Hide the SVG icon and show the text label instead.
|
|
|
|
* This is in a separate file because it uses a
|
|
|
|
* @media query, which can't be nested, so we need to include
|
|
|
|
* this outside the overall '@media screen'.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// stylelint-disable no-duplicate-selectors
|
|
|
|
|
|
|
|
// Support IE 8: Show label instead (Grade C).
|
|
|
|
// See https://stackoverflow.com/a/17699986/1696030
|
|
|
|
// https://keithclark.co.uk/articles/moving-ie-specific-css-into-media-blocks/media-tests/
|
|
|
|
@ie8-media-start: ~'@media \0screen {';
|
|
|
|
@ie8-media-end: ~'} after';
|
|
|
|
@{ie8-media-start}
|
2020-06-16 16:55:23 +00:00
|
|
|
.vector-menu-tabs .mw-watchlink.icon a {
|
2020-03-21 00:50:28 +00:00
|
|
|
width: auto;
|
|
|
|
height: auto;
|
2020-06-11 21:02:04 +00:00
|
|
|
// Copied from 'MenuTabs.less'.
|
2020-03-21 00:50:28 +00:00
|
|
|
padding: 1.25em 8px 0 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// LESS nesting doesn't work in this hack.
|
2020-06-16 16:55:23 +00:00
|
|
|
.vector-menu-tabs .mw-watchlink.icon a:before {
|
2020-03-21 00:50:28 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
// Bogus extra rule for LESS compiler to render `@media` ending bracket.
|
|
|
|
@{ie8-media-end} {
|
|
|
|
/* This comment makes the block non-empty. */
|
|
|
|
}
|