mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-26 19:56:49 +00:00
Don't apply a background to language annotations in IE
Because doing that makes the text disappear if dir="rtl" is also set. Bonus: explain why we're changing which nodes to set highlight opacities on for IE. Change-Id: I061e372b26a7b523fc1f307ad9897b884803fdf4
This commit is contained in:
parent
2cf3c8bcd8
commit
c5281a4e4d
|
@ -13,11 +13,18 @@
|
|||
overflow: visible;
|
||||
}
|
||||
|
||||
/* Set opacity directly on the highlights, rather than their containers */
|
||||
/* Set opacity directly on the highlights, rather than their containers,
|
||||
otherwise the opacity isn't applied at all */
|
||||
.ve-ce-surface-highlights-focused .ve-ce-focusableNode-highlight {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.ve-ce-surface-highlights-blurred .ve-ce-focusableNode-highlight {
|
||||
opacity: 0.15;
|
||||
}
|
||||
}
|
||||
|
||||
/* Don't apply a background color to language annotations, otherwise the
|
||||
text disappears if the span has dir="rtl" */
|
||||
.ve-ce-LanguageAnnotation {
|
||||
background: none;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue