Debian Codegraph @

extensions/VisualEditor/modules/ve-mw/ce/styles/annotations/ve.ce.MWExternalLinkAnnotation.less

raw
1 /*!
2 * VisualEditor ContentEditable MWExternalLinkAnnotation styles.
3 *
4 * @copyright See AUTHORS.txt
5 */
6
7 /* stylelint-disable-next-line selector-class-pattern */
8 .ve-ce-linkAnnotation.ve-ce-annotation-active.external {
9 /* Reset -2px from VE-core */
10 margin-right: 0;
11
12 /* stylelint-disable-next-line selector-class-pattern */
13 .plainlinks a& {
14 /*
15 * plainlinks is a MW core class which tries to suppress the normal
16 * external-link appearance; we don't want it to also suppress the
17 * active-link styling that VE apples.
18 * This is applying the same values as ve.ce.LinkAnnotation in VE core.
19 */
20 background-color: #e6f1ff !important; /* stylelint-disable-line declaration-no-important */
21 padding: 2px !important; /* stylelint-disable-line declaration-no-important */
22 }
23 }