mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 02:51:50 +00:00
5581394ea3
New changes: 4a5aa37 Clean up debug bar buttons 15f016c Undo sequence input stripping if window is dismissed e874734 Localisation updates from https://translatewiki.net. 8db33b4 Follow-up e874734: Fix build for added languages 'gom-latn' and 'gor' 79c5d51 build: Update stylelint config version and make it pass 3804f5e build: Remove grunt-cli cea7b63 Update OOjs UI to v0.17.3 9f648f4 [BREAKING CHANGE] Always get registries/factories via surface 1252814 Add cloneWithData() utility 5ccdef3 [BREAKING CHANGE] Fix debug bar encapsulation Local changes: * Fix debug bar encapsulation Change-Id: I2c5d722278c5f71b59ee2f8849d9babb5aff6af2
54 lines
1.4 KiB
CSS
54 lines
1.4 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki Initialization DesktopArticleTarget Monobook skin high-definition styles.
|
|
*
|
|
* @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-init-mw-desktopArticleTarget-toolbar {
|
|
/* Enforce different font-size for all UI elements of VisualEditor. The difference is tiny, but
|
|
enough to make the icon containers 23.813px rather than 24px and thus the icons blurry */
|
|
/* 1/ ( 0.8em / x-small / 127% ) */
|
|
margin: -0.9921875em;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.ve-ui-overlay .mw-body-content {
|
|
/* Fix font-size for surfaces inside UI overlays */
|
|
font-size: 0.9921875em; /* 1/ ( 0.8em / x-small / 127% ) */
|
|
}
|
|
|
|
.ve-active .ve-init-mw-desktopArticleTarget-originalContent {
|
|
padding-top: 0.9921875em;
|
|
}
|
|
|
|
.ve-ui-debugBar {
|
|
border-top: 1px solid #ccc;
|
|
}
|
|
|
|
/* Main document debug bar */
|
|
.ve-init-mw-target-surface > .ve-ui-debugBar {
|
|
/* 0.8/0.8 */
|
|
padding: 1em;
|
|
padding-bottom: 0;
|
|
margin: 1em -1em 0 -1em;
|
|
font-size: 1.007874em;
|
|
}
|
|
|
|
.ve-init-mw-target-surface {
|
|
margin-bottom: -0.9921875em;
|
|
padding-bottom: 0.9921875em;
|
|
}
|
|
|
|
.ve-init-mw-target-surface .ve-ce-documentNode,
|
|
.ve-init-mw-target-surface .ve-ui-surface-placeholder {
|
|
padding: 0;
|
|
}
|
|
|
|
.mw-body .ve-init-mw-target-surface .ve-ui-surface-placeholder > * {
|
|
/* Fix margin overlap */
|
|
margin-top: 0;
|
|
/* Placeholder doesn't need a border as well */
|
|
border: 0;
|
|
}
|