mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
8409d16f0f
Objective: * Add default sort key field to meta dialog * Replace PagePanelLayout with a generic panel containing one or more FieldsetLayout elements Changes: *.php * Added/removed file links ve.dm.MWDefaultSortMetaItem.js * Added getContent method ve.dm.MetaItem.js * Added replaceWith method ve.dm.MetaList.js * Allow insertion at the end by omitting offset and index ve.dm.MWMetaDialog.js * Added default sort key field * Put category and default sort fields inside fieldsets * Added loading/saving default sort key ve.ui.PagedLayout.js * Changed class used for pages to generic panel layout ve.ui.PagePanelLayout * Moved title/icon stuff to field set ve.ui.FieldsetLayout.js * New class, adds fieldset with legend ve.ui.StackPanelLayout.js * Moved up to the layouts directory ve.ui.Dialog.css * Moved style for paged panel from layout stylesheet ve.ui.Layout.css * Added styles for fieldsets ve.ui.Widget.css * Adjusted margins of input label widgets ve.ui.MWCategoryWidget.js, ve.ui.MWCategoryPopupWidget.js * Added setDefaultSortKey method Change-Id: I979f5e3f08a688790c9f54086206ed1999af13ea
39 lines
652 B
CSS
39 lines
652 B
CSS
/*!
|
|
* VisualEditor UserInterface Layout styles.
|
|
*
|
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/* ve.ui.GridLayout */
|
|
|
|
.ve-ui-gridLayout {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
/* ve.ui.PanelLayout */
|
|
|
|
.ve-ui-panelLayout {
|
|
position: absolute;
|
|
}
|
|
|
|
/* ve.ui.FieldsetLayout */
|
|
|
|
.ve-ui-fieldsetLayout {
|
|
border: none;
|
|
margin: 0 0 2em 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.ve-ui-fieldsetLayout > legend.ve-ui-labeledElement-label {
|
|
font-size: 1.5em;
|
|
padding-left: 1.75em;
|
|
margin-bottom: 1em;
|
|
background-position: left center;
|
|
background-repeat: no-repeat;
|
|
}
|