2015-04-25 00:36:15 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface internal link context item styles.
|
|
|
|
*
|
2017-01-03 16:58:33 +00:00
|
|
|
* @copyright 2011-2017 VisualEditor Team and others; see AUTHORS.txt
|
2015-04-25 00:36:15 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
2015-08-18 15:55:13 +00:00
|
|
|
.ve-ui-mwInternalLinkContextItem .ve-ui-linearContextItem-body {
|
2015-04-25 00:36:15 +00:00
|
|
|
overflow: auto;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwInternalLinkContextItem-withImage .oo-ui-iconElement-icon {
|
|
|
|
float: left;
|
|
|
|
width: 3.75em;
|
|
|
|
height: 3.75em;
|
|
|
|
left: -3.75em;
|
|
|
|
background-color: #ccc;
|
|
|
|
border: 0.5em solid #ccc;
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
|
2016-05-16 14:38:57 +00:00
|
|
|
.ve-ui-mwInternalLinkContextItem-hasImage {
|
|
|
|
background-color: transparent;
|
2017-04-07 00:03:16 +00:00
|
|
|
background-size: cover;
|
2016-05-16 14:38:57 +00:00
|
|
|
}
|
|
|
|
|
2015-04-25 00:36:15 +00:00
|
|
|
.ve-ui-mwInternalLinkContextItem-withImage .ve-ui-mwInternalLinkContextItem-hasImage {
|
|
|
|
border: 0;
|
2017-04-07 00:03:16 +00:00
|
|
|
background-size: cover;
|
2015-04-25 00:36:15 +00:00
|
|
|
opacity: 1;
|
|
|
|
width: 4.75em;
|
|
|
|
height: 4.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwInternalLinkContextItem-link,
|
|
|
|
.ve-ui-mwInternalLinkContextItem-description {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwInternalLinkContextItem-description {
|
|
|
|
color: #888;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwInternalLinkContextItem-withImage .ve-ui-mwInternalLinkContextItem-link,
|
|
|
|
.ve-ui-mwInternalLinkContextItem-withImage .ve-ui-mwInternalLinkContextItem-description {
|
|
|
|
margin-left: 5.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwInternalLinkContextItem-withDescription .ve-ui-mwInternalLinkContextItem-link {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|