mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 19:09:29 +00:00
d44bb0bc1b
Removing `0.8em` VE special base `font-size` for UI as we're unifying OOUI interfaces to `14px` equals to `0.875em` at user agent default size. Bug: T97631 Depends-on: I693d168d2ccf2babbcfe8952af3e1c262aa97773 Change-Id: I84edeec38ecfb90f5d53199f3b26fc3f83ab0611
46 lines
1,019 B
CSS
46 lines
1,019 B
CSS
/*!
|
|
* VisualEditor MediaWiki Initialization desktop target Vector skin styles.
|
|
*
|
|
* @copyright 2011-2018 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/* All debug bars (includes target widgets) */
|
|
.ve-ui-debugBar {
|
|
border-top: 1px solid #c8ccd1;
|
|
box-shadow: 0 10px 10px -10px rgba( 0, 0, 0, 0.15 ) inset;
|
|
}
|
|
|
|
.ve-ui-debugBar ol {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.ve-ui-overlay-global {
|
|
/* Same as main content font-size in Vector */
|
|
font-size: 0.875em;
|
|
}
|
|
|
|
/* Slug animation needs more specific rules and skin-specific target margins */
|
|
.mw-body-content p.ve-ce-branchNode-newSlug {
|
|
margin: -0.3em 0 -0.1em 0;
|
|
}
|
|
|
|
.mw-body-content p.ve-ce-branchNode-newSlug-open {
|
|
margin: 0.5em 0;
|
|
}
|
|
|
|
.mw-body .external.ve-ce-linkAnnotation-active {
|
|
/* Reset -2px from VE-core */
|
|
margin-right: 0;
|
|
}
|
|
|
|
.ve-ui-surface .ve-ui-surface-placeholder {
|
|
opacity: 1;
|
|
color: #72777d;
|
|
}
|
|
|
|
.ve-ui-overlay .mw-body-content {
|
|
/* Fix font-size for surfaces inside UI overlays */
|
|
font-size: 1em;
|
|
}
|