mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 16:44:51 +00:00
56 lines
1.2 KiB
CSS
56 lines
1.2 KiB
CSS
|
/*!
|
||
|
* VisualEditor MediaWiki UserInterface MWParameterResultWidget styles.
|
||
|
*
|
||
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||
|
* @license The MIT License (MIT); see LICENSE.txt
|
||
|
*/
|
||
|
|
||
|
.ve-ui-mwParameterResultWidget {
|
||
|
padding-right: 0.25em;
|
||
|
}
|
||
|
|
||
|
.ve-ui-mwParameterResultWidget .oo-ui-optionWidget-icon {
|
||
|
top: 0.25em;
|
||
|
margin-top: 0;
|
||
|
}
|
||
|
|
||
|
.ve-ui-mwParameterResultWidget.oo-ui-widget-disabled {
|
||
|
opacity: 0.5;
|
||
|
}
|
||
|
|
||
|
.ve-ui-mwParameterResultWidget-label,
|
||
|
.ve-ui-mwParameterResultWidget-names,
|
||
|
.ve-ui-mwParameterResultWidget-description {
|
||
|
white-space: nowrap;
|
||
|
text-overflow: ellipsis;
|
||
|
overflow: hidden;
|
||
|
/* HACK: Based on the expected width of this widget, using % produces unreliable results*/
|
||
|
max-width: 33em;
|
||
|
}
|
||
|
|
||
|
.ve-ui-mwParameterResultWidget-label {
|
||
|
font-weight: bold;
|
||
|
float: left;
|
||
|
}
|
||
|
|
||
|
.ve-ui-mwParameterResultWidget-names {
|
||
|
float: right;
|
||
|
font-size: 0.9em;
|
||
|
}
|
||
|
|
||
|
.ve-ui-mwParameterResultWidget-name {
|
||
|
border-radius: 0.3em;
|
||
|
padding: 0.125em 0.25em;
|
||
|
margin-left: 0.5em;
|
||
|
color: #999;
|
||
|
background-color: #fff;
|
||
|
border: solid 1px #ddd;
|
||
|
}
|
||
|
|
||
|
.ve-ui-mwParameterResultWidget-names span:not(:first-child) {
|
||
|
background-color: #eee;
|
||
|
}
|
||
|
|
||
|
.ve-ui-mwParameterResultWidget-description {
|
||
|
clear: both;
|
||
|
}
|