mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 16:44:51 +00:00
bb0d3471df
This fixes toolbar placement in minerva-desktop. Change-Id: Ifbd869cb70da9bb4db7c72ad89f696a080d18847
46 lines
1.2 KiB
CSS
46 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-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;
|
|
}
|
|
|
|
/* Toolbar margins only apply to vector */
|
|
.skin-vector .ve-init-mw-desktopArticleTarget-toolbar,
|
|
.skin-vector .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 ) {
|
|
.skin-vector .ve-init-mw-desktopArticleTarget-toolbar,
|
|
.skin-vector .ve-init-mw-desktopArticleTarget-toolbarPlaceholder {
|
|
/* 1.25/0.875, 1.5/0.875 */
|
|
margin: -1.43em -1.71em 1.43em -1.71em;
|
|
}
|
|
}
|