2016-02-03 21:03:41 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface MWReferenceResultWidget 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
|
|
|
*/
|
|
|
|
|
2024-07-19 15:45:17 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
|
|
|
|
2016-02-03 21:03:41 +00:00
|
|
|
.ve-ui-mwReferenceResultWidget {
|
|
|
|
position: relative;
|
|
|
|
padding: 1em;
|
2024-07-19 15:45:17 +00:00
|
|
|
border-bottom: @border-width-base @border-style-base @border-color-muted;
|
2016-02-03 21:03:41 +00:00
|
|
|
|
2024-01-21 14:59:20 +00:00
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2016-02-03 21:03:41 +00:00
|
|
|
|
2024-07-19 15:54:15 +00:00
|
|
|
&.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;
|
|
|
|
}
|
|
|
|
|
2024-01-21 14:59:20 +00:00
|
|
|
&.oo-ui-labelElement .oo-ui-labelElement-label {
|
|
|
|
white-space: normal;
|
2024-06-14 12:46:53 +00:00
|
|
|
// Disable click events in the preview
|
|
|
|
pointer-events: none;
|
2024-01-21 14:59:20 +00:00
|
|
|
}
|
2016-02-03 21:03:41 +00:00
|
|
|
}
|