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
|
|
|
*
|
2015-01-08 23:54:03 +00:00
|
|
|
* @copyright 2011-2015 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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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: #f3f3f3;
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
float: right;
|
|
|
|
cursor: default;
|
|
|
|
padding-right: 2.5em;
|
2014-02-26 00:29:13 +00:00
|
|
|
width: 20%;
|
|
|
|
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;
|
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;
|
|
|
|
color: #555;
|
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;
|
|
|
|
padding: 0.75em 2.5em;
|
|
|
|
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-09-19 22:11:21 +00:00
|
|
|
.ve-ui-mwParameterPage .oo-ui-textInputWidget.oo-ui-flaggedElement-invalid textarea:required {
|
|
|
|
border-color: red;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|