2016-02-03 21:03:41 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor ContentEditable MediaWiki MWReferencesListNode styles.
|
|
|
|
*
|
2018-01-03 01:05:45 +00:00
|
|
|
* @copyright 2011-2018 VisualEditor Team's Cite sub-team and others; see AUTHORS.txt
|
2017-12-29 12:12:35 +00:00
|
|
|
* @license MIT
|
2016-02-03 21:03:41 +00:00
|
|
|
*/
|
|
|
|
|
2023-03-27 14:01:21 +00:00
|
|
|
.ve-ce-mwReferencesListNode {
|
|
|
|
// Remove the styling of the preview wrapper, and any
|
|
|
|
// generated paragraph wrappers
|
|
|
|
.ve-ui-previewElement,
|
|
|
|
.ve-ce-generated-wrapper {
|
|
|
|
display: inline;
|
2023-05-24 16:22:28 +00:00
|
|
|
|
|
|
|
// Disable mixin-clearfix applied by .mw-body-content (T337415)
|
|
|
|
&::after {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-03-27 14:01:21 +00:00
|
|
|
}
|
2016-02-03 21:03:41 +00:00
|
|
|
|
2023-03-27 14:01:21 +00:00
|
|
|
&-muted {
|
|
|
|
color: #72777d;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2023-03-27 17:05:21 +00:00
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
2016-02-03 21:03:41 +00:00
|
|
|
}
|