2015-04-25 00:36:15 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface internal link context item styles.
|
|
|
|
*
|
2019-01-01 13:24:23 +00:00
|
|
|
* @copyright 2011-2019 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;
|
|
|
|
}
|
|
|
|
|
2017-10-24 21:09:38 +00:00
|
|
|
.ve-ui-mwInternalLinkContextItem-withImage > .oo-ui-iconElement.oo-ui-iconElement-icon {
|
2015-04-25 00:36:15 +00:00
|
|
|
float: left;
|
2018-03-17 00:05:46 +00:00
|
|
|
font-size: 2em; /* double-size icon */
|
2017-08-16 20:42:24 +00:00
|
|
|
background-color: #c8ccd1;
|
2018-03-22 17:03:19 +00:00
|
|
|
border: 0.35714em solid #c8ccd1;
|
2015-04-25 00:36:15 +00:00
|
|
|
opacity: 0.4;
|
2018-05-30 16:57:03 +00:00
|
|
|
margin-bottom: 0.3em;
|
2015-04-25 00:36:15 +00:00
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2017-10-24 21:09:38 +00:00
|
|
|
.ve-ui-mwInternalLinkContextItem-withImage > .ve-ui-mwInternalLinkContextItem-hasImage.oo-ui-iconElement-icon {
|
2015-04-25 00:36:15 +00:00
|
|
|
border: 0;
|
2017-04-07 00:03:16 +00:00
|
|
|
background-size: cover;
|
2015-04-25 00:36:15 +00:00
|
|
|
opacity: 1;
|
2018-03-22 17:03:19 +00:00
|
|
|
padding: 0.35714em;
|
2015-04-25 00:36:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwInternalLinkContextItem-description {
|
|
|
|
display: block;
|
2017-08-16 20:42:24 +00:00
|
|
|
color: #72777d;
|
2015-04-25 00:36:15 +00:00
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
|
2019-08-10 13:55:15 +00:00
|
|
|
.ve-ui-mwInternalLinkContextItem-withImage .ve-ui-linkContextItem-link,
|
2015-04-25 00:36:15 +00:00
|
|
|
.ve-ui-mwInternalLinkContextItem-withImage .ve-ui-mwInternalLinkContextItem-description {
|
2018-03-17 00:05:46 +00:00
|
|
|
margin-left: 5.5em;
|
2015-04-25 00:36:15 +00:00
|
|
|
}
|
|
|
|
|
2019-08-10 13:55:15 +00:00
|
|
|
.ve-ui-mwInternalLinkContextItem-withDescription .ve-ui-linkContextItem-link {
|
2015-04-25 00:36:15 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|