mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
17f0fffe85
New changes: de69c36 Fix typos in function names fa80099 [BREAKING CHANGE] Split out linear context from context db1d28c Only show alien context for focusable nodes 1191940 build: Bump grunt-jscs to 2.0.0 and make pass Local changes: * Update context inheritance Change-Id: I284e2b30cd1903770482ee1c554687b676a2d626
53 lines
1.3 KiB
CSS
53 lines
1.3 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface internal link context item styles.
|
|
*
|
|
* @copyright 2011-2015 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-icon {
|
|
float: left;
|
|
width: 3.75em;
|
|
height: 3.75em;
|
|
left: -3.75em;
|
|
background-color: #ccc;
|
|
border: 0.5em solid #ccc;
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.ve-ui-mwInternalLinkContextItem-withImage .ve-ui-mwInternalLinkContextItem-hasImage {
|
|
border: 0;
|
|
background-size: cover;
|
|
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;
|
|
}
|
|
|
|
.ve-ui-mwInternalLinkContextItem-hasImage {
|
|
background-color: transparent;
|
|
background-size: cover;
|
|
} |