2015-04-25 00:36:15 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface internal link context item styles.
|
|
|
|
*
|
2023-12-01 16:06:11 +00:00
|
|
|
* @copyright See AUTHORS.txt
|
2015-04-25 00:36:15 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
2024-06-07 18:18:01 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
2015-04-25 00:36:15 +00:00
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
.ve-ui-mwInternalLinkContextItem {
|
|
|
|
.ve-ui-linearContextItem-body {
|
|
|
|
overflow: auto;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
2015-04-25 00:36:15 +00:00
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
&-withImage > .oo-ui-iconElement.oo-ui-iconElement-icon {
|
|
|
|
float: left;
|
|
|
|
font-size: 2em; /* double-size icon */
|
2024-06-07 18:18:01 +00:00
|
|
|
background-color: @background-color-disabled;
|
|
|
|
border: 0.35714em solid @border-color-subtle;
|
2024-03-16 00:45:14 +00:00
|
|
|
opacity: 0.4;
|
|
|
|
margin-bottom: 0.3em;
|
|
|
|
}
|
2015-04-25 00:36:15 +00:00
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
&-hasImage {
|
|
|
|
background-color: transparent;
|
|
|
|
background-size: cover;
|
|
|
|
}
|
2016-05-16 14:38:57 +00:00
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
&-withImage > &-hasImage.oo-ui-iconElement-icon {
|
|
|
|
border: 0;
|
|
|
|
background-size: cover;
|
|
|
|
opacity: 1;
|
|
|
|
padding: 0.35714em;
|
|
|
|
}
|
2015-04-25 00:36:15 +00:00
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
&-description {
|
|
|
|
display: block;
|
2024-06-07 18:18:01 +00:00
|
|
|
color: @color-base--subtle;
|
2024-03-16 00:45:14 +00:00
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
2015-04-25 00:36:15 +00:00
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
&-withImage .ve-ui-linkContextItem-link,
|
|
|
|
&-withImage &-description {
|
|
|
|
margin-left: 5em;
|
|
|
|
}
|
2015-04-25 00:36:15 +00:00
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
&-withDescription .ve-ui-linkContextItem-link {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2015-04-25 00:36:15 +00:00
|
|
|
}
|