mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
fd90304b23
This is a prerequisite before any work related to T52568 (being able to manually name references in VisualEditor) can start. Why these names should not be hidden: * We don't know if the name is actually part of the auto-generated sequence in the current article or copy-pasted from somewhere else. * Manually given names that start with a colon are currently hidden even if they are unrelated to the auto-generated sequence. * The information is highly relevant for users switching between VE and wikitext. Especially when a reference is used multiple times the relevant wikitext can be as short as <ref name=":0" />. The literally only information in this case is the number. Since these numbers are still more technical than anything we make them very dim to emphasize the contrast to non-numeric names. Bug: T52568 Bug: T92432 Change-Id: I65cb6998cb5f8659cd9043f3d4aaeac1c5f69da8
23 lines
591 B
CSS
23 lines
591 B
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface MWReferenceSearchWidget styles.
|
|
*
|
|
* @copyright 2011-2018 VisualEditor Team's Cite sub-team and others; see AUTHORS.txt
|
|
* @license MIT
|
|
*/
|
|
|
|
.ve-ui-mwReferenceSearchWidget-citation {
|
|
float: left;
|
|
margin-right: 0.75em;
|
|
}
|
|
|
|
.ve-ui-mwReferenceSearchWidget-name {
|
|
opacity: 0.53; /* results in #787878 which is almost exactly @wmui-color-base30 */
|
|
float: right;
|
|
margin-left: 0.75em;
|
|
margin-bottom: 0.05em;
|
|
}
|
|
|
|
.ve-ui-mwReferenceSearchWidget-name-autogenerated {
|
|
opacity: 0.2; /* results in #cccccc which is almost exactly @wmui-color-base70 */
|
|
}
|