mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 09:04:21 +00:00
4e4d1da7a3
Adding VE specific rules from OOjs UI in preparation of removing them from the library. Change-Id: I798717b60badb521d28f8f7a7036a99e5a26d61a
79 lines
2.8 KiB
CSS
79 lines
2.8 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface MWTransclusionDialog styles.
|
|
*
|
|
* @copyright 2011-2017 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset {
|
|
margin-left: 3.5em;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset > .oo-ui-widget {
|
|
display: inline-block;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset > .oo-ui-buttonElement-framed {
|
|
margin-left: 0.5em;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset .mw-widget-titleInputWidget {
|
|
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-addButton {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ve-ui-mwTemplateDialog .oo-ui-outlineOptionWidget.oo-ui-flaggedElement-empty .oo-ui-iconElement-icon {
|
|
opacity: 0.51;
|
|
}
|
|
|
|
.ve-ui-mwTemplateDialog .oo-ui-outlineOptionWidget.oo-ui-flaggedElement-empty .oo-ui-labelElement-label {
|
|
color: #72777d;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-labelElement-label {
|
|
height: 1.5em;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-single .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-iconElement-icon,
|
|
.ve-ui-mwTransclusionDialog-single .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-labelElement-label,
|
|
.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 {
|
|
display: none;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog.ve-ui-mwTemplateDialog-ready .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-labelElement-label,
|
|
.ve-ui-mwTransclusionDialog.ve-ui-mwTemplateDialog-ready .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-iconElement-icon,
|
|
.ve-ui-mwTransclusionDialog.ve-ui-mwTemplateDialog-ready .oo-ui-bookletLayout .ve-ui-mwTransclusionDialog-removeButton,
|
|
.ve-ui-mwTransclusionDialog.ve-ui-mwTemplateDialog-ready .oo-ui-bookletLayout .ve-ui-mwTemplatePage-more,
|
|
.ve-ui-mwTransclusionDialog.ve-ui-mwTemplateDialog-ready .oo-ui-bookletLayout .ve-ui-mwParameterPage-more,
|
|
.ve-ui-mwTransclusionDialog.ve-ui-mwTemplateDialog-ready .oo-ui-bookletLayout > .oo-ui-gridLayout > .oo-ui-panelLayout {
|
|
/* stylelint-disable no-unsupported-browser-features */
|
|
-webkit-transition: all 250ms ease-in-out;
|
|
-moz-transition: all 250ms ease-in-out;
|
|
transition: all 250ms ease-in-out;
|
|
/* stylelint-enable no-unsupported-browser-features */
|
|
}
|