2014-03-18 20:52:39 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface MWParameterResultWidget styles.
|
|
|
|
*
|
2018-01-03 00:54:47 +00:00
|
|
|
* @copyright 2011-2018 VisualEditor Team and others; see AUTHORS.txt
|
2014-03-18 20:52:39 +00:00
|
|
|
* @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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwParameterResultWidget-name {
|
|
|
|
padding: 0.125em 0.25em;
|
|
|
|
margin-left: 0.5em;
|
2017-08-16 20:42:24 +00:00
|
|
|
color: #54595d;
|
|
|
|
background-color: #eaecf0;
|
2017-08-16 21:03:49 +00:00
|
|
|
border: 1px solid #c8ccd1;
|
|
|
|
border-radius: 2px;
|
2014-03-18 20:52:39 +00:00
|
|
|
}
|
|
|
|
|
2014-04-08 19:15:15 +00:00
|
|
|
.ve-ui-mwParameterResultWidget-name:first-child {
|
|
|
|
background-color: #fff;
|
2014-03-18 20:52:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwParameterResultWidget-description {
|
|
|
|
clear: both;
|
2017-08-16 20:42:24 +00:00
|
|
|
color: #54595d;
|
2014-04-08 19:15:15 +00:00
|
|
|
}
|