mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +00:00
9dcf6dcddc
No longer needed after I2ede6c88be569224c0b2a4e388a133ad98b86a7b in VisualEditor core. * 'transform: none' from049a32c60a
(that change does not describe what the issue was, but clearly it wasn't a complete fix and I see no problems without it). * 'z-index: 4' from6fff13b898
(I can't reproduce the issue there after removing it). Bug: T167616 Change-Id: I7e0d603af2668269e5587eaa5e4761166a1b4097
66 lines
1.5 KiB
CSS
66 lines
1.5 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki Initialization DesktopArticleTarget styles.
|
|
*
|
|
* @copyright 2011-2017 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/* Toolbar */
|
|
|
|
.ve-init-mw-desktopArticleTarget-toolbar {
|
|
overflow: hidden;
|
|
transition: height 0.4s ease;
|
|
}
|
|
|
|
.ve-init-mw-desktopArticleTarget-toolbar > .oo-ui-toolbar-bar {
|
|
transform: translateY( -100% );
|
|
transition: transform 0.4s ease;
|
|
}
|
|
|
|
.ve-init-mw-desktopArticleTarget-toolbar-opened {
|
|
overflow: visible;
|
|
}
|
|
|
|
.ve-init-mw-desktopArticleTarget-toolbar-open > .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;
|
|
}
|
|
|
|
/*!
|
|
* 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;
|
|
}
|
|
|
|
.ve-ui-init-desktopArticleTarget-sectionTitle {
|
|
max-width: none;
|
|
margin: 1em 0 0.5em 0;
|
|
}
|
|
|
|
/* stylelint-disable declaration-no-important */
|
|
.ve-ui-init-desktopArticleTarget-sectionTitle .oo-ui-inputWidget-input {
|
|
padding: 0 !important;
|
|
border: 0 !important;
|
|
outline: 0 !important;
|
|
box-shadow: none !important;
|
|
line-height: inherit;
|
|
}
|
|
/* stylelint-enable declaration-no-important */
|