mediawiki-extensions-Visual.../modules/ve-mw/init/styles/ve.init.mw.IEHacks.css
Roan Kattouw a0989d15d4 Add stylesheet with IE hacks and only load it with IE
The stylesheet contains workarounds for highlights on references
being drawn in the wrong place, resize handles appearing on headings,
and highlights being opaque.

Change-Id: I78da4d6a751429cd160b693b4a524fc7ea1ef76f
2014-07-03 18:20:30 -07:00

23 lines
571 B
CSS

/* Force hasLayout so the <sup>'s box gets measured correctly */
.ve-ce-mwReferenceNode {
display: inline-block;
}
/* Undo overflow: hidden; from MW CSS to work around hasLayout issue */
.ve-ce-surface h1,
.ve-ce-surface h2,
.ve-ce-surface h3,
.ve-ce-surface h4,
.ve-ce-surface h5,
.ve-ce-surface h6 {
overflow: visible;
}
/* Set opacity directly on the highlights, rather than their containers */
.ve-ce-surface-highlights-focused .ve-ce-focusableNode-highlight {
opacity: 0.5;
}
.ve-ce-surface-highlights-blurred .ve-ce-focusableNode-highlight {
opacity: 0.15;
}