mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-18 09:40:49 +00:00
dca26d905d
Bug: T337415 Change-Id: Ic94414a4b0e483b6f8945525d07ae7cbcb42045c
52 lines
988 B
Plaintext
52 lines
988 B
Plaintext
/*!
|
|
* VisualEditor ContentEditable MediaWiki MWReferencesListNode styles.
|
|
*
|
|
* @copyright 2011-2018 VisualEditor Team's Cite sub-team and others; see AUTHORS.txt
|
|
* @license MIT
|
|
*/
|
|
|
|
.ve-ce-mwReferencesListNode {
|
|
// Remove the styling of the preview wrapper, and any
|
|
// generated paragraph wrappers
|
|
.ve-ui-previewElement,
|
|
.ve-ce-generated-wrapper {
|
|
display: inline;
|
|
|
|
// Disable mixin-clearfix applied by .mw-body-content (T337415)
|
|
&::after {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&-muted {
|
|
color: #72777d;
|
|
font-style: italic;
|
|
}
|
|
|
|
.mw-references > li {
|
|
&:hover {
|
|
cursor: pointer;
|
|
background: fade( #6da9f7, 15% );
|
|
}
|
|
|
|
> * {
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
|
|
&-missingRef {
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
|
|
.ve-ce-mwReferencesListNode-highlight {
|
|
.ve-ce-surface-highlights-focused & {
|
|
background: transparent;
|
|
pointer-events: none;
|
|
box-shadow: inset 0 0 0 1px #4c76ac, 0 0 0 2px #4c76ac;
|
|
}
|
|
}
|