Merge "Style the FormatTool to be more like Vector's new look"

This commit is contained in:
jenkins-bot 2014-05-01 19:33:42 +00:00 committed by Gerrit Code Review
commit ed324ea559
2 changed files with 26 additions and 0 deletions

View file

@ -724,6 +724,11 @@ $wgResourceModules += array(
'modules/ve-mw/ui/tools/ve.ui.MWFormatTool.js',
),
'skinStyles' => array(
'vector' => array(
'modules/ve-mw/ui/themes/vector/ve.ui.MWFormatTool.css',
),
),
'dependencies' => array(
'ext.visualEditor.mwcore',
),

View file

@ -0,0 +1,21 @@
/*!
* VisualEditor MediaWiki Vector-specific FormatTool styles.
*
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
.oo-ui-menuToolGroup .oo-ui-tool-name-heading1 .oo-ui-tool-title,
.oo-ui-menuToolGroup .oo-ui-tool-name-heading2 .oo-ui-tool-title {
font-family: 'Linux Libertine', Georgia, Times, serif;
}
.oo-ui-menuToolGroup .oo-ui-tool-name-heading3 .oo-ui-tool-title {
font-size: 94%; /* 80% of Vector's 117% */
}
.oo-ui-menuToolGroup .oo-ui-tool-name-heading4 .oo-ui-tool-title,
.oo-ui-menuToolGroup .oo-ui-tool-name-heading5 .oo-ui-tool-title,
.oo-ui-menuToolGroup .oo-ui-tool-name-heading6 .oo-ui-tool-title {
font-size: 80%; /* 20% of Vector's 100% */
}