mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-26 07:15:32 +00:00
5badbfed10
In WikimediaUI theme, the height of the toolbar is defined with
'padding-top', but in Apex theme, it is defined with 'height'.
Set both properties to make this work with both themes.
Remove unused styles for the dropdown. It is now positioned by OOUI
(since T192505). This should have been done at the same time as
e1635fdc52
.
Bug: T194120
Change-Id: I9cac0c9458ae8cc26c5f056bb26686f8ad50c493
29 lines
580 B
CSS
29 lines
580 B
CSS
/*!
|
|
* VisualEditor MediaWiki Initialization edit switching styles.
|
|
*
|
|
* @copyright 2011-2018 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-init-mw-editSwitch {
|
|
float: right;
|
|
}
|
|
|
|
.ve-init-mw-editSwitch .oo-ui-toolbar-bar {
|
|
background: transparent;
|
|
box-shadow: none;
|
|
border: 0;
|
|
}
|
|
|
|
.ve-init-mw-editSwitch .oo-ui-popupToolGroup {
|
|
height: 32px;
|
|
border: 0;
|
|
margin: 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.ve-init-mw-editSwitch .oo-ui-popupToolGroup.oo-ui-iconElement .oo-ui-popupToolGroup-handle {
|
|
padding-top: 32px;
|
|
height: 0;
|
|
}
|