mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 19:09:29 +00:00
0bf155bb36
Due to some sort of mysterious race condition (probably deferred reflow) calling this.$menu.show() set style="" rather than style="display:block;" because Firefox believed the parent was still hidden. Work around this by removing display:none; from the context's CSS rules. We don't need it because we always manually .hide() these things anyway. Bug: 50073 Change-Id: I29e210aba9a6265d8364ff8ae49408cb4c2428b9
47 lines
888 B
CSS
47 lines
888 B
CSS
/*!
|
|
* VisualEditor UserInterface Context styles.
|
|
*
|
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-context,
|
|
.ve-ui-context-inspectors,
|
|
.ve-ui-context-menu {
|
|
position: absolute;
|
|
}
|
|
|
|
.ve-ui-context-menu .ve-ui-toolbar-bar {
|
|
white-space: nowrap;
|
|
border: none;
|
|
background: none;
|
|
}
|
|
|
|
.ve-ui-context-menu .ve-ui-toolbar-group {
|
|
border: none;
|
|
padding: 0.1em;
|
|
}
|
|
|
|
.ve-ui-context-menu .ve-ui-buttonTool,
|
|
.ve-ui-context-menu .ve-ui-buttonTool:hover {
|
|
border: none;
|
|
}
|
|
|
|
.ve-ui-context-menu .ve-ui-buttonTool:active,
|
|
.ve-ui-context-menu .ve-ui-buttonTool-active {
|
|
background-image: none;
|
|
}
|
|
|
|
.ve-ui-context-embed .ve-ui-popupWidget-callout {
|
|
display: none;
|
|
}
|
|
|
|
.ve-ui-context-embed .ve-ui-popupWidget-body {
|
|
margin-top: 0.25em;
|
|
margin-left: -1.3em;
|
|
}
|
|
|
|
.ve-ui-context-embed .ve-ui-context-menu {
|
|
right: 0;
|
|
}
|