mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Merge "Invert template search result highlighting"
This commit is contained in:
commit
a01b56bcf1
|
@ -69,6 +69,11 @@ ve.ui.MWTransclusionDialog = function VeUiMWTransclusionDialog( config ) {
|
|||
if ( this.isBigger ) {
|
||||
this.$element.addClass( 've-ui-mwTransclusionDialog-bigger' );
|
||||
}
|
||||
|
||||
// Temporary change bolding while feature flag is in place.
|
||||
if ( mw.config.get( 'wgVisualEditorConfig' ).templateSearchImprovements ) {
|
||||
this.$element.addClass( 've-ui-mwTransclusionDialog-enhancedSearch' );
|
||||
}
|
||||
};
|
||||
|
||||
/* Inheritance */
|
||||
|
|
|
@ -38,6 +38,14 @@
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog-enhancedSearch .mw-widget-titleWidget-menu-withDescriptions .mw-widget-titleOptionWidget .oo-ui-labelElement-label {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.ve-ui-mwTransclusionDialog-enhancedSearch .mw-widget-titleWidget-menu-withDescriptions .mw-widget-titleOptionWidget .oo-ui-labelElement-label .oo-ui-labelElement-label-highlight {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.ve-ui-mwTemplateDialog .oo-ui-outlineOptionWidget.oo-ui-flaggedElement-empty .oo-ui-iconElement-icon {
|
||||
opacity: 0.51;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue