Merge "Match WikiEditor switching widget to Apex toolbar theme"

This commit is contained in:
jenkins-bot 2020-02-05 22:40:59 +00:00 committed by Gerrit Code Review
commit d5ea567039
4 changed files with 35 additions and 26 deletions

View file

@ -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": [

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}