mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +00:00
d25a04b35b
This will make the popup with callout functionality easy to reuse elsewhere - in the first case most likely the popup menus for the category widget. *.php * Added links to the new widget ve.ui.Context.css, ve.ui.Widget.css * Moved styles to the widget stylesheet ve.ui.Context.js, ve.ui.PopupWidget * Moved "popup" specific stuff to the new popup widget Change-Id: I823c6e2c5e1ec11088898e9621d93e983c3b76f3
37 lines
685 B
CSS
37 lines
685 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 {
|
|
position: absolute;
|
|
z-index: 2;
|
|
}
|
|
|
|
.ve-ui-context-inspectors, .ve-ui-context-menu {
|
|
position: absolute;
|
|
z-index: 2;
|
|
}
|
|
|
|
.ve-ui-context-toolbar {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ve-ui-context-toolbar .ve-ui-toolbarGroup {
|
|
border: none;
|
|
padding: 0.1em;
|
|
}
|
|
|
|
.ve-ui-context-toolbar .ve-ui-buttonTool,
|
|
.ve-ui-context-toolbar .ve-ui-buttonTool:hover {
|
|
|
|
border: none;
|
|
}
|
|
|
|
.ve-ui-context-toolbar .ve-ui-buttonTool:active,
|
|
.ve-ui-context-toolbar .ve-ui-buttonTool-active {
|
|
background-image: none;
|
|
}
|