mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +00:00
Merge "Match WikiEditor switching widget to Apex toolbar theme"
This commit is contained in:
commit
d5ea567039
|
@ -1485,8 +1485,8 @@
|
|||
"modules/ve-mw/preinit/styles/ve.init.MWVESwitchPopupWidget.css"
|
||||
],
|
||||
"skinStyles": {
|
||||
"monobook": [
|
||||
"modules/ve-mw/preinit/styles/ve.init.MWVESwitchConfirmDialog-monobook.css"
|
||||
"default": [
|
||||
"modules/ve-mw/preinit/styles/ve.init.MWVESwitchConfirmDialog-apex.css"
|
||||
]
|
||||
},
|
||||
"dependencies": [
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki Initialization edit switching styles.
|
||||
*
|
||||
* @copyright 2011-2019 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
/* stylelint-disable-next-line selector-class-pattern */
|
||||
.wikiEditor-ui-toolbar .ve-init-mw-editSwitch {
|
||||
font-size: 12.8px;
|
||||
}
|
||||
|
||||
.ve-init-mw-editSwitch .oo-ui-popupToolGroup {
|
||||
height: 24px;
|
||||
margin: 3px;
|
||||
}
|
||||
|
||||
.ve-init-mw-editSwitch .oo-ui-popupToolGroup.oo-ui-iconElement .oo-ui-popupToolGroup-handle {
|
||||
padding-top: 24px;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.ve-init-mw-editSwitch .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon {
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.ve-init-mw-editSwitch .oo-ui-popupToolGroup-handle .oo-ui-indicatorElement-indicator {
|
||||
margin: 6px;
|
||||
}
|
||||
|
||||
.ve-init-mw-editSwitch .oo-ui-popupToolGroup.oo-ui-indicatorElement.oo-ui-iconElement {
|
||||
min-width: 48px;
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
/*!
|
||||
* VisualEditor MediaWiki Initialization edit switching styles.
|
||||
*
|
||||
* @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt
|
||||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
/* stylelint-disable-next-line selector-class-pattern */
|
||||
.wikiEditor-ui-toolbar .ve-init-mw-editSwitch {
|
||||
/* 12.8/12.7 */
|
||||
font-size: 1.00787em;
|
||||
}
|
|
@ -14,15 +14,3 @@
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue