mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-11 22:16:15 +00:00
c295a731ec
In some cases ve-ui-mwTransclusionDialog-newSidebar could just removed when there are specific enough classes present so that we can be sure to not overwrite rules outside our use case. e.g with the new ve-ui-mwTwoPaneTransclusionDialogLayout-stackLayout Note that this will also remove some right padding on descriptions where it seems that it was applied for no reason. Bug: T310859 Change-Id: I6612fe1cb2ea6bd75e9bc3e6f4d6d8d0c4addc63
72 lines
1.4 KiB
CSS
72 lines
1.4 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface MWParameterPage styles.
|
|
*
|
|
* @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-mwParameterPage.oo-ui-pageLayout {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage.oo-ui-pageLayout:last-of-type {
|
|
margin-bottom: 1.5em;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage.oo-ui-pageLayout-active .ve-ui-mwParameterPage {
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-info {
|
|
float: left;
|
|
cursor: default;
|
|
width: 80%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-label {
|
|
font-size: 1.1em;
|
|
line-height: 1.705em;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-doc {
|
|
font-size: 0.9em;
|
|
line-height: 1.3em;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-inlineDescription .ve-ui-expandableContent-collapsible > :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-inlineDescription .ve-ui-mwParameterPage-doc {
|
|
font-size: inherit;
|
|
padding: 0;
|
|
clear: both;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-doc-required,
|
|
.ve-ui-mwParameterPage-doc-deprecated,
|
|
.ve-ui-mwParameterPage-inlineDescription .ve-ui-mwParameterPage-doc-example {
|
|
font-style: italic;
|
|
color: #54595d;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-field {
|
|
position: relative;
|
|
clear: both;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage .oo-ui-textInputWidget {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage .oo-ui-textInputWidget textarea {
|
|
height: 2.5em;
|
|
}
|