mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-19 04:05:57 +00:00
dc606823e2
Objectives: * Make use of the new ve.ui.SurfaceWidget.js for image caption editing Changes: ve.ui.MWDialog.css * Remove styles that are no longer needed ** -body class isn't needed if you contain the content in a layout and configure it to be padded ** Toolbar styles are now part of surface widget ve.ui.MWMediaEditDialog.js * Wrap caption fieldset in an editPanel (also nice because we may merge this dialog with MediaInsert and use a stack panel layout in the future * Replace surface and toolbar with surface widget which manages both Change-Id: I1b7e0e2ec1cfa30879360a7ebde2b0f35d26aca5
84 lines
1.6 KiB
CSS
84 lines
1.6 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface Dialog styles.
|
|
*
|
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/* ve.ui.MWTransclusionDialog */
|
|
|
|
.ve-ui-mwTransclusionDialog-input {
|
|
width: 100%;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-input textarea {
|
|
height: 10em;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset .ve-ui-widget {
|
|
display: inline-block;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset .ve-ui-buttonWidget {
|
|
margin-left: 0.5em;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-placeholder-label {
|
|
font-style: italic;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-addParameterFieldset .ve-ui-mwParameterSearchWidget {
|
|
position: relative;
|
|
overflow: hidden;
|
|
box-shadow: 0 0 0.5em rgba(0,0,0,0.2);
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.ve-ui-mwTransclusionDialog-addParameterFieldset .ve-ui-searchWidget-results {
|
|
position: relative;
|
|
padding-bottom: 5em;
|
|
}
|
|
|
|
/* ve.ui.MWMetaDialog */
|
|
|
|
.ve-ui-mwMetaDialog-languages-table {
|
|
margin: 2em 0 0 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
border: none;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.ve-ui-mwMetaDialog-languages-table th {
|
|
border-bottom: solid 1px #ddd;
|
|
text-align: left;
|
|
}
|
|
|
|
.ve-ui-mwMetaDialog-languages-table th,
|
|
.ve-ui-mwMetaDialog-languages-table td {
|
|
padding: 0.75em 1em;
|
|
border-bottom: solid 1px white;
|
|
}
|
|
|
|
.ve-ui-mwMetaDialog-languages-table tr td:first-child {
|
|
width: 30%;
|
|
}
|
|
|
|
.ve-ui-mwMetaDialog-languages-table tr:nth-child(odd) td {
|
|
background: #F0F0F0;
|
|
}
|
|
|
|
.ve-ui-mwMetaDialog-languages-table tr:nth-child(even) td {
|
|
background: #F8F8F8;
|
|
}
|
|
|
|
/* ve.ui.MWMediaInsertDialog */
|
|
|
|
.ve-ui-mwMediaInsertDialog-select {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
}
|