mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 16:44:51 +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
45 lines
1.2 KiB
CSS
45 lines
1.2 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki DesktopArticleTarget WikimediaUI theme init styles.
|
|
*
|
|
* @copyright 2011-2018 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-init-mw-desktopArticleTarget-progress {
|
|
height: 0.75em;
|
|
border: 1px solid #36c;
|
|
background: #fff;
|
|
border-radius: 2px;
|
|
box-shadow: 0 0.1em 0 0 rgba( 0, 0, 0, 0.15 );
|
|
}
|
|
|
|
.ve-init-mw-desktopArticleTarget-progress-bar {
|
|
height: 0.75em;
|
|
background: #36c;
|
|
}
|
|
|
|
.ve-init-mw-desktopArticleTarget-toolbar,
|
|
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder {
|
|
font-size: 0.875em;
|
|
/* 1/0.875 */
|
|
margin: -1.14em -1.14em 1.14em -1.14em;
|
|
/* High-definition-specific styles (because Vector adds 1em to the leftNav if width is 982px+ */
|
|
}
|
|
|
|
@media screen and ( min-width: 982px ) {
|
|
.ve-init-mw-desktopArticleTarget-toolbar,
|
|
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder {
|
|
/* 1.25/0.875, 1.5/0.875 */
|
|
margin: -1.43em -1.71em 1.43em -1.71em;
|
|
}
|
|
}
|
|
|
|
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder {
|
|
border-bottom: 1px solid #c8ccd1;
|
|
box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
|
|
}
|
|
|
|
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder-open {
|
|
height: 40px;
|
|
}
|