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
|
|
|
*
|
2017-01-03 16:58:33 +00:00
|
|
|
* @copyright 2011-2017 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
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
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
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2014-04-25 23:50:21 +00:00
|
|
|
.ve-ui-mwParameterPage-description {
|
|
|
|
font-size: 0.9em;
|
|
|
|
line-height: 1.5em;
|
|
|
|
padding: 0.25em 1em;
|
2014-02-26 00:29:13 +00:00
|
|
|
}
|
|
|
|
|
2014-04-25 23:50:21 +00:00
|
|
|
.ve-ui-mwParameterPage-description-required,
|
|
|
|
.ve-ui-mwParameterPage-description-deprecated {
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2014-04-25 23:50:21 +00:00
|
|
|
.ve-ui-mwParameterPage .oo-ui-textInputWidget {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
width: 100%;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
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
|
|
|
|
2014-03-04 22:56:14 +00:00
|
|
|
.ve-ui-mwParameterPage-more {
|
|
|
|
display: none;
|
|
|
|
margin: 1em 0 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwParameterPage:last-child .ve-ui-mwParameterPage-more {
|
|
|
|
display: block;
|
|
|
|
}
|