mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-11 05:56:11 +00:00
4fc08d24c5
By default, MWTitleInputWidgets are now 30em wide, but this doesn't work in the transclusion dialog where we want to put the "Add template" button after an MWTitleInputWidget and have it not wrap to the next line. So make the MWTitleInputWidget on the add template page 20em wide instead (this is what they all were before the default was changed to 30em). Change-Id: I2f33a87427657f4e27939c401436c4ce6441208c
72 lines
2.2 KiB
CSS
72 lines
2.2 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface MWTransclusionDialog styles.
|
|
*
|
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset .oo-ui-widget {
|
|
display: inline-block;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset .oo-ui-buttonedElement-framed {
|
|
margin-left: 0.5em;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset .ve-ui-mwTitleInputWidget {
|
|
width: 20em;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-addParameterFieldset .ve-ui-mwParameterSearchWidget {
|
|
position: relative;
|
|
overflow: hidden;
|
|
box-shadow: 0 0 0.5em rgba(0,0,0,0.2);
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-addParameterFieldset .oo-ui-searchWidget-results {
|
|
position: relative;
|
|
padding-bottom: 5em;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-removeButton {
|
|
position: absolute;
|
|
right: 1.5em;
|
|
top: 1.5em;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-labeledElement-label,
|
|
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-iconedElement-icon,
|
|
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .ve-ui-mwTransclusionDialog-removeButton,
|
|
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .ve-ui-mwTemplatePage-more,
|
|
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .ve-ui-mwParameterPage-more {
|
|
-webkit-transition: all 250ms ease-in-out;
|
|
-moz-transition: all 250ms ease-in-out;
|
|
-o-transition: all 250ms ease-in-out;
|
|
transition: all 250ms ease-in-out;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-labeledElement-label {
|
|
height: 1.5em;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-single .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-labeledElement-label {
|
|
opacity: 0;
|
|
height: 0;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-single .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-iconedElement-icon,
|
|
.ve-ui-mwTransclusionDialog-single .oo-ui-bookletLayout .ve-ui-mwTransclusionDialog-removeButton,
|
|
.ve-ui-mwTransclusionDialog-multiple .oo-ui-bookletLayout .ve-ui-mwTemplatePage-more,
|
|
.ve-ui-mwTransclusionDialog-multiple .oo-ui-bookletLayout .ve-ui-mwParameterPage-more {
|
|
opacity: 0;
|
|
height: 0;
|
|
overflow: hidden;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|