mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
Merge "Style the FormatTool to be more like Vector's new look"
This commit is contained in:
commit
ed324ea559
|
@ -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',
|
||||
),
|
||||
|
|
21
modules/ve-mw/ui/themes/vector/ve.ui.MWFormatTool.css
Normal file
21
modules/ve-mw/ui/themes/vector/ve.ui.MWFormatTool.css
Normal 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% */
|
||||
}
|
Loading…
Reference in a new issue