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-label {
|
|
|
|
font-size: 1.1em;
|
2017-08-29 13:33:57 +00:00
|
|
|
line-height: 1.705em;
|
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;
|
2022-06-01 15:59:11 +00:00
|
|
|
line-height: 1.3em;
|
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;
|
|
|
|
}
|
|
|
|
|
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;
|
2022-01-19 13:40:00 +00:00
|
|
|
padding: 0;
|
2021-04-15 10:55:09 +00:00
|
|
|
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-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 {
|
2021-11-29 15:08:20 +00:00
|
|
|
padding-bottom: 2em;
|
2021-04-20 16:27:03 +00:00
|
|
|
}
|
|
|
|
|
2022-03-21 08:53:22 +00:00
|
|
|
/* FIXME remove when sidebar feature flag is gone T303386 */
|
|
|
|
.ve-ui-mwParameterPage-inlineDescription {
|
|
|
|
padding-left: 2.5em;
|
|
|
|
padding-right: 2.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Temporary style while inline description is deployed without the new sidebar */
|
|
|
|
.ve-ui-mwParameterPage-inlineDescription > .ve-ui-expandableContent-container {
|
|
|
|
right: 2.5em;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|