mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/widgets/ve.ui.MWParameterResultWidget.css
James D. Forrester 3c293ea00c doc: Bump copyright year for 2019
Change-Id: I8991b97c980d4149f53eb5601036220ef3c0c440
2019-01-01 13:24:23 +00:00

55 lines
1.1 KiB
CSS

/*!
* VisualEditor MediaWiki UserInterface MWParameterResultWidget styles.
*
* @copyright 2011-2019 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-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;
padding: 0.2em 0;
}
.ve-ui-mwParameterResultWidget-name {
padding: 0.1em 0.25em;
margin-left: 0.5em;
color: #54595d;
background-color: #eaecf0;
border: 1px solid #c8ccd1;
border-radius: 2px;
}
.ve-ui-mwParameterResultWidget-name:first-child {
background-color: #fff;
}
.ve-ui-mwParameterResultWidget-description {
clear: both;
color: #54595d;
}