mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 23:05:35 +00:00
9a1e3852fc
New changes: c9f1027 Remove broken ve.isMsie() function 6571da1 Fix case on language annotation CSS class c231b71 Fix case in all annotation classes Local changes: Fix case in all annotation classes Change-Id: Iba2596cde52d8f8be27e0257893ef8ec77798ae8
31 lines
790 B
CSS
31 lines
790 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,
|
|
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;
|
|
}
|