mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 01:16:30 +00:00
Merge "Correct display for full-screen dialogs in Mobile VE"
This commit is contained in:
commit
5ff9e04a96
|
@ -1416,7 +1416,7 @@ $wgResourceModules += array(
|
||||||
),
|
),
|
||||||
'minerva' => array(
|
'minerva' => array(
|
||||||
'modules/ve-mw/ui/themes/minerva/pages/ve.ui.MWParameterPage.css',
|
'modules/ve-mw/ui/themes/minerva/pages/ve.ui.MWParameterPage.css',
|
||||||
'modules/ve-mw/ui/themes/minerva/pages/ve.ui.MWTemplatePage.css',
|
'modules/ve-mw/ui/themes/minerva/ve.ui.MobileWindowManager.css',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'dependencies' => array(
|
'dependencies' => array(
|
||||||
|
|
|
@ -1432,7 +1432,7 @@
|
||||||
],
|
],
|
||||||
"minerva": [
|
"minerva": [
|
||||||
"modules/ve-mw/ui/themes/minerva/pages/ve.ui.MWParameterPage.css",
|
"modules/ve-mw/ui/themes/minerva/pages/ve.ui.MWParameterPage.css",
|
||||||
"modules/ve-mw/ui/themes/minerva/pages/ve.ui.MWTemplatePage.css"
|
"modules/ve-mw/ui/themes/minerva/ve.ui.MobileWindowManager.css"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
|
|
@ -44,4 +44,9 @@
|
||||||
|
|
||||||
.ve-ui-mwParameterPage-more {
|
.ve-ui-mwParameterPage-more {
|
||||||
display: none;
|
display: none;
|
||||||
|
margin: 1em 0 0.5em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ve-ui-mwParameterPage:last-child .ve-ui-mwParameterPage-more {
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
/*!
|
|
||||||
* VisualEditor MediaWiki UserInterface TemplatePage styles.
|
|
||||||
*
|
|
||||||
* @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
|
|
||||||
* @license The MIT License (MIT); see LICENSE.txt
|
|
||||||
*/
|
|
||||||
|
|
||||||
.ve-ui-mwTemplatePage-more {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ve-ui-mwTemplatePage-description {
|
|
||||||
display: none;
|
|
||||||
}
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
/*!
|
||||||
|
* VisualEditor MediaWiki UserInterface MobileWindowManager styles.
|
||||||
|
*
|
||||||
|
* @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
|
||||||
|
* @license The MIT License (MIT); see LICENSE.txt
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* HACK: We have to override position:fixed; for mobile dialogs.
|
||||||
|
* Desktop dialogs use position: fixed, but mobile WebKit treats
|
||||||
|
* position:fixed like they are made of unrecognizable chunk of
|
||||||
|
* weirdness, and end up with everything broken, from the
|
||||||
|
* rendering to the ability to type properly inside input fields.
|
||||||
|
*
|
||||||
|
* The mobile dialogs are all full-screen, so we can use the
|
||||||
|
* more reliable position:aboslute; and save users trouble with
|
||||||
|
* mobile UX.
|
||||||
|
*/
|
||||||
|
.ve-ui-mobileWindowManager > .oo-ui-dialog {
|
||||||
|
position: absolute;
|
||||||
|
}
|
Loading…
Reference in a new issue