mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-24 04:22:51 +00:00
55ef3dee9e
This is really just a bug. The reuse tab in the reference dialog always supported keyboard actions (cursor up and down). It was just impossible to see it because the OOUI base widget we use here doesn't come with a default styling for this. I suspect this got lost with some OOUI update years ago. Let's just fix it. The colors are what OOUI dictates for this situation. Bug: T360034 Change-Id: I6cfd423830bc0cc86b1aff5dc08a53c49b6e2d9f
31 lines
764 B
Plaintext
31 lines
764 B
Plaintext
/*!
|
|
* VisualEditor MediaWiki UserInterface MWReferenceResultWidget styles.
|
|
*
|
|
* @copyright 2011-2018 VisualEditor Team's Cite sub-team and others; see AUTHORS.txt
|
|
* @license MIT
|
|
*/
|
|
|
|
@import 'mediawiki.skin.variables.less';
|
|
|
|
.ve-ui-mwReferenceResultWidget {
|
|
position: relative;
|
|
padding: 1em;
|
|
border-bottom: @border-width-base @border-style-base @border-color-muted;
|
|
|
|
&:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
&.oo-ui-optionWidget-highlighted {
|
|
// OOUI's SearchWidget doesn't come with a style for this, so we copy MenuOptionWidget
|
|
background-color: @background-color-interactive;
|
|
color: @color-emphasized;
|
|
}
|
|
|
|
&.oo-ui-labelElement .oo-ui-labelElement-label {
|
|
white-space: normal;
|
|
// Disable click events in the preview
|
|
pointer-events: none;
|
|
}
|
|
}
|