mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
605f7b625b
Change-Id: Ib44e393d3a8d070a4ced002a11cb26f58447e67c
53 lines
1.3 KiB
CSS
53 lines
1.3 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki Initialization DesktopArticleTarget styles.
|
|
*
|
|
* @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/* Toolbar */
|
|
|
|
.ve-activating .ve-init-mw-desktopArticleTarget-toolbar,
|
|
.ve-deactivating .ve-init-mw-desktopArticleTarget-toolbar {
|
|
overflow: hidden;
|
|
transition: height 0.4s ease; /* stylelint-disable-line no-unsupported-browser-features */
|
|
}
|
|
|
|
.ve-ui-toolbar-floating .oo-ui-toolbar-bar {
|
|
transform: translateY( -100% );
|
|
transition: transform 0.4s ease; /* stylelint-disable-line no-unsupported-browser-features */
|
|
z-index: 4;
|
|
}
|
|
|
|
.ve-active .ve-ui-toolbar-floating .oo-ui-toolbar-bar {
|
|
transform: translateY( 0 );
|
|
}
|
|
|
|
/*!
|
|
* ve-redirect-header is added just outside of the surface, which has its own
|
|
* hiding style during activation.
|
|
*/
|
|
.ve-activating .ve-redirect-header {
|
|
height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ve-init-mw-desktopArticleTarget .ve-redirect-header {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ve-init-mw-desktopArticleTarget .redirectMsg a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.ve-init-mw-articleTarget-source .catlinks {
|
|
display: none;
|
|
}
|
|
|
|
/*!
|
|
* Increase z-index of surface container so it appears above the debug bar
|
|
*/
|
|
.ve-init-mw-desktopArticleTarget #bodyContent { /* stylelint-disable-line selector-no-id */
|
|
z-index: 1;
|
|
}
|