mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/ve.ui.MWMoreParametersResultWidget.css
Trevor Parscal 70655da2b9 Limit the number of initially visible parameters in the parameter search widget
* Truncate beyond 3 parameters
* Add a special option class that, when clicked, shows the remaining parameters
* Use a special option class for the no parameters item instead of hacking the normal one
* Simplify the design of the no parameters item: no icon, centered text

Change-Id: Ia8259e91b42a59c2b08019df36217d485208ad99
2014-04-09 12:56:02 -07:00

26 lines
628 B
CSS

/*!
* VisualEditor MediaWiki UserInterface MWMoreParametersResultWidget styles.
*
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
.ve-ui-mwMoreParametersResultWidget {
padding-right: 0.25em;
}
.ve-ui-mwMoreParametersResultWidget .oo-ui-optionWidget-icon {
top: 0.25em;
margin-top: 0;
}
.ve-ui-mwMoreParametersResultWidget-label {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
/* HACK: Based on the expected width of this widget, using % produces unreliable results*/
max-width: 33em;
font-weight: bold;
float: left;
}