mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 00:55:00 +00:00
8a974f25e6
Remove the image size styles from the class .ve-ui-mwInternalLinkContextItem-hasImage too Bug: T97631 Follow up: I84edeec38ecfb90f5d53 Change-Id: I39937bf4ba12f7047545b187c54a1c5fae157e4a
51 lines
1.3 KiB
CSS
51 lines
1.3 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface internal link context item styles.
|
|
*
|
|
* @copyright 2011-2018 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-mwInternalLinkContextItem .ve-ui-linearContextItem-body {
|
|
overflow: auto;
|
|
white-space: normal;
|
|
}
|
|
|
|
.ve-ui-mwInternalLinkContextItem-withImage > .oo-ui-iconElement.oo-ui-iconElement-icon {
|
|
float: left;
|
|
font-size: 2em; /* double-size icon */
|
|
background-color: #c8ccd1;
|
|
border: 0.35714em solid #c8ccd1;
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.ve-ui-mwInternalLinkContextItem-hasImage {
|
|
background-color: transparent;
|
|
background-size: cover;
|
|
}
|
|
|
|
.ve-ui-mwInternalLinkContextItem-withImage > .ve-ui-mwInternalLinkContextItem-hasImage.oo-ui-iconElement-icon {
|
|
border: 0;
|
|
background-size: cover;
|
|
opacity: 1;
|
|
padding: 0.35714em;
|
|
}
|
|
|
|
.ve-ui-mwInternalLinkContextItem-link,
|
|
.ve-ui-mwInternalLinkContextItem-description {
|
|
display: block;
|
|
}
|
|
|
|
.ve-ui-mwInternalLinkContextItem-description {
|
|
color: #72777d;
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
.ve-ui-mwInternalLinkContextItem-withImage .ve-ui-mwInternalLinkContextItem-link,
|
|
.ve-ui-mwInternalLinkContextItem-withImage .ve-ui-mwInternalLinkContextItem-description {
|
|
margin-left: 5.5em;
|
|
}
|
|
|
|
.ve-ui-mwInternalLinkContextItem-withDescription .ve-ui-mwInternalLinkContextItem-link {
|
|
font-weight: bold;
|
|
}
|