2014-02-26 00:29:13 +00:00
|
|
|
/*!
|
2014-03-18 20:52:39 +00:00
|
|
|
* VisualEditor MediaWiki UserInterface MWParameterPage styles.
|
2014-02-26 00:29:13 +00:00
|
|
|
*
|
2020-01-08 17:13:04 +00:00
|
|
|
* @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt
|
2014-02-26 00:29:13 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
.ve-ui-mwParameterPage.oo-ui-pageLayout {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
2015-10-04 18:39:16 +00:00
|
|
|
position: relative;
|
2014-02-26 00:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwParameterPage.oo-ui-pageLayout:last-of-type {
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwParameterPage.oo-ui-pageLayout-active .ve-ui-mwParameterPage {
|
2017-08-16 20:42:24 +00:00
|
|
|
background-color: #f8f9fa;
|
2014-02-26 00:29:13 +00:00
|
|
|
}
|
|
|
|
|
2014-04-25 23:50:21 +00:00
|
|
|
.ve-ui-mwParameterPage-info {
|
|
|
|
float: left;
|
|
|
|
cursor: default;
|
|
|
|
padding-left: 2.5em;
|
|
|
|
width: 80%;
|
2014-02-26 00:29:13 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2014-04-25 23:50:21 +00:00
|
|
|
.ve-ui-mwParameterPage-actions {
|
|
|
|
cursor: default;
|
2015-10-04 18:39:16 +00:00
|
|
|
position: absolute;
|
2017-08-29 13:33:57 +00:00
|
|
|
top: -0.3125em;
|
2015-10-04 18:39:16 +00:00
|
|
|
right: 4em; /* 1.5em for PanelLayout's padding + 2.5em */
|
2017-08-29 13:28:26 +00:00
|
|
|
width: 25%;
|
2014-02-26 00:29:13 +00:00
|
|
|
text-align: right;
|
2014-04-25 23:50:21 +00:00
|
|
|
box-sizing: border-box;
|
2014-02-26 00:29:13 +00:00
|
|
|
}
|
|
|
|
|
2014-04-25 23:50:21 +00:00
|
|
|
.ve-ui-mwParameterPage-label {
|
|
|
|
display: inline;
|
|
|
|
vertical-align: middle;
|
|
|
|
font-size: 1.1em;
|
|
|
|
font-weight: bold;
|
2017-08-29 13:33:57 +00:00
|
|
|
line-height: 1.705em;
|
2014-02-26 00:29:13 +00:00
|
|
|
}
|
|
|
|
|
2014-04-25 23:50:21 +00:00
|
|
|
.ve-ui-mwParameterPage-statusIndicator {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
opacity: 0.5;
|
2014-02-26 00:29:13 +00:00
|
|
|
}
|
|
|
|
|
2021-04-26 08:41:56 +00:00
|
|
|
.ve-ui-mwParameterPage-doc {
|
2014-04-25 23:50:21 +00:00
|
|
|
font-size: 0.9em;
|
|
|
|
line-height: 1.5em;
|
2021-06-16 12:26:01 +00:00
|
|
|
overflow-wrap: break-word;
|
2014-04-25 23:50:21 +00:00
|
|
|
padding: 0.25em 1em;
|
2014-02-26 00:29:13 +00:00
|
|
|
}
|
|
|
|
|
2021-06-26 13:27:52 +00:00
|
|
|
.ve-ui-mwParameterPage-inlineDescription .ve-ui-expandableContent-collapsible > :first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwParameterPage-inlineDescription .ve-ui-expandableContent-container {
|
|
|
|
right: 2.5em;
|
2021-04-22 16:59:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwParameterPage-inlineDescription .ve-ui-mwParameterPage-doc {
|
2021-04-15 10:55:09 +00:00
|
|
|
font-size: inherit;
|
|
|
|
padding: 0 2.5em;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2021-04-26 08:41:56 +00:00
|
|
|
.ve-ui-mwParameterPage-doc-required,
|
|
|
|
.ve-ui-mwParameterPage-doc-deprecated,
|
|
|
|
.ve-ui-mwParameterPage-inlineDescription .ve-ui-mwParameterPage-doc-example {
|
2014-04-25 23:50:21 +00:00
|
|
|
font-style: italic;
|
2017-08-16 20:42:24 +00:00
|
|
|
color: #54595d;
|
2014-02-26 00:29:13 +00:00
|
|
|
}
|
|
|
|
|
2014-04-25 23:50:21 +00:00
|
|
|
.ve-ui-mwParameterPage-infoButton,
|
|
|
|
.ve-ui-mwParameterPage-removeButton {
|
2014-03-06 22:00:43 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-04-25 23:50:21 +00:00
|
|
|
.ve-ui-mwParameterPage-infoButton .oo-ui-popupWidget {
|
|
|
|
z-index: 100;
|
|
|
|
text-align: left;
|
2014-02-26 00:29:13 +00:00
|
|
|
}
|
|
|
|
|
2014-04-25 23:50:21 +00:00
|
|
|
.oo-ui-pageLayout-active .ve-ui-mwParameterPage-infoButton,
|
|
|
|
.oo-ui-pageLayout-active .ve-ui-mwParameterPage-removeButton {
|
|
|
|
display: inline-block;
|
2014-02-26 00:29:13 +00:00
|
|
|
}
|
|
|
|
|
2014-04-25 23:50:21 +00:00
|
|
|
.ve-ui-mwParameterPage-field {
|
|
|
|
position: relative;
|
2017-08-29 13:33:57 +00:00
|
|
|
padding: 0.25em 2.5em 1em;
|
2014-04-25 23:50:21 +00:00
|
|
|
clear: both;
|
2014-02-26 00:29:13 +00:00
|
|
|
}
|
|
|
|
|
2021-04-20 16:27:03 +00:00
|
|
|
.ve-ui-mwParameterPage-field.ve-ui-mwParameterPage-inlineDescription {
|
|
|
|
padding: 0.25em 2.5em 2em;
|
|
|
|
}
|
|
|
|
|
2014-04-25 23:50:21 +00:00
|
|
|
.ve-ui-mwParameterPage .oo-ui-textInputWidget {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
2014-02-26 00:29:13 +00:00
|
|
|
}
|
|
|
|
|
2014-04-25 23:50:21 +00:00
|
|
|
.ve-ui-mwParameterPage .oo-ui-textInputWidget textarea {
|
|
|
|
height: 2.5em;
|
2014-02-26 00:29:13 +00:00
|
|
|
}
|
2014-02-28 01:18:49 +00:00
|
|
|
|
2021-04-26 08:34:48 +00:00
|
|
|
.ve-ui-mwParameterPage-addUndocumented {
|
2014-03-04 22:56:14 +00:00
|
|
|
display: none;
|
|
|
|
margin: 1em 0 0.5em 0;
|
|
|
|
}
|
|
|
|
|
2021-04-26 08:34:48 +00:00
|
|
|
.ve-ui-mwParameterPage:last-child .ve-ui-mwParameterPage-addUndocumented {
|
2014-03-04 22:56:14 +00:00
|
|
|
display: block;
|
|
|
|
}
|