mediawiki-extensions-Visual.../modules/ve-mw/ce/styles/annotations/ve.ce.MWExternalLinkAnnotation.css
David Lynch 7f5b6fafb4 MWExternalLinkAnnotation: add CSS to override plainlinks styling
Was causing the active link highlight to look broken.

Bug: T190582
Change-Id: Ia59e762689211625027367511ffd922f445a13ae
2018-03-28 10:57:10 -05:00

17 lines
648 B
CSS

/*!
* VisualEditor ContentEditable MWExternalLinkAnnotation styles.
*
* @copyright 2011-2018 VisualEditor Team and others; see http://ve.mit-license.org
*/
.plainlinks a.ve-ce-linkAnnotation-active.external {
/*
* plainlinks is a MW core class which tries to suppress the normal
* external-link appearance; we don't want it to also suppress the
* active-link styling that VE apples.
* This is applying the same values as ve.ce.LinkAnnotation in VE core.
*/
background-color: #e6f1ff !important; /* stylelint-disable-line declaration-no-important */
padding: 2px !important; /* stylelint-disable-line declaration-no-important */
}