mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 23:05:35 +00:00
654d641c5f
Reorganize stylesheets in VE-MW to match JS directory structures, and update VisualEditor.php for similar reorganization in VE core. New changes: c6ed962 Reorganize stylesheets Change-Id: I4f1070643744fb2ee6726cb03e012e31a9a05c64
108 lines
2.1 KiB
CSS
108 lines
2.1 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface MWParameterPage styles.
|
|
*
|
|
* @copyright 2011-2014 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;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-label,
|
|
.ve-ui-mwParameterPage-field,
|
|
.ve-ui-mwParameterPage-info,
|
|
.ve-ui-mwParameterPage-actions,
|
|
.ve-ui-mwParameterPage-indicators,
|
|
.ve-ui-mwParameterPage .oo-ui-textInputWidget {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-label {
|
|
width: 20%;
|
|
padding: 1.33em 1em;
|
|
text-align: right;
|
|
cursor: default;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-field {
|
|
width: 80%;
|
|
position: relative;
|
|
padding-top: 0.75em;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage .oo-ui-textInputWidget {
|
|
width: 86%;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage .oo-ui-textInputWidget textarea {
|
|
height: 2.5em;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-indicators,
|
|
.ve-ui-mwParameterPage-actions {
|
|
width: 7%;
|
|
padding: 0.33em 0;
|
|
text-align: right;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-actions {
|
|
display: none;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage.oo-ui-pageLayout-active .ve-ui-mwParameterPage-actions {
|
|
display: inline-block;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-info {
|
|
position: relative;
|
|
width: 90%;
|
|
padding-bottom: 0.75em;
|
|
cursor: default;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-description {
|
|
color: #ddd;
|
|
font-size: 0.9em;
|
|
line-height: 1.5em;
|
|
height: 1.5em;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
-webkit-transition: color 200ms;
|
|
-moz-transition: color 200ms;
|
|
-o-transition: color 200ms;
|
|
transition: color 200ms;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-description-all {
|
|
height: auto;
|
|
white-space: normal;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage.oo-ui-pageLayout-active .ve-ui-mwParameterPage-description {
|
|
color: #999;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage-more {
|
|
display: none;
|
|
margin: 1em 0 0.5em 0;
|
|
}
|
|
|
|
.ve-ui-mwParameterPage:last-child .ve-ui-mwParameterPage-more {
|
|
display: block;
|
|
}
|