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
132 lines
3 KiB
CSS
132 lines
3 KiB
CSS
/*!
|
|
* VisualEditor UserInterface Dialog styles.
|
|
*
|
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-dialog {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
padding: 1em;
|
|
line-height: 1em;
|
|
background-color: #fff;
|
|
background-color: rgba(255,255,255,0.5);
|
|
z-index: 200;
|
|
-webkit-animation: ve-ui-fade-in 250ms ease-in-out 0 1 normal;
|
|
-moz-animation: ve-ui-fade-in 250ms ease-in-out 0 1 normal;
|
|
-ms-animation: ve-ui-fade-in 250ms ease-in-out 0 1 normal;
|
|
-o-animation: ve-ui-fade-in 250ms ease-in-out 0 1 normal;
|
|
animation: ve-ui-fade-in 250ms ease-in-out 0 1 normal;
|
|
}
|
|
|
|
.ve-ui-dialog-closing {
|
|
-webkit-animation: ve-ui-fade-in 250ms ease-in-out 0 1 reverse;
|
|
-moz-animation: ve-ui-fade-in 250ms ease-in-out 0 1 reverse;
|
|
-ms-animation: ve-ui-fade-in 250ms ease-in-out 0 1 reverse;
|
|
-o-animation: ve-ui-fade-in 250ms ease-in-out 0 1 reverse;
|
|
animation: ve-ui-fade-in 250ms ease-in-out 0 1 reverse;
|
|
}
|
|
|
|
.ve-ui-dialog .ve-ui-window-frame {
|
|
position: fixed;
|
|
top: 1em;
|
|
right: 0;
|
|
bottom: 1em;
|
|
left: 0;
|
|
margin: auto;
|
|
width: 800px;
|
|
min-height: 12em;
|
|
max-height: 600px;
|
|
background-color: #fff;
|
|
border: solid 1px #ccc;
|
|
border-radius: 0.5em;
|
|
box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.3);
|
|
overflow: hidden;
|
|
-webkit-animation: ve-ui-zoom-in 250ms ease-in-out 0 1 normal;
|
|
-moz-animation: ve-ui-zoom-in 250ms ease-in-out 0 1 normal;
|
|
-ms-animation: ve-ui-zoom-in 250ms ease-in-out 0 1 normal;
|
|
-o-animation: ve-ui-zoom-in 250ms ease-in-out 0 1 normal;
|
|
animation: ve-ui-zoom-in 250ms ease-in-out 0 1 normal;
|
|
}
|
|
|
|
.ve-ui-dialog-closing .ve-ui-window-frame {
|
|
-webkit-animation: ve-ui-zoom-in 250ms ease-in-out 0 1 reverse;
|
|
-moz-animation: ve-ui-zoom-in 250ms ease-in-out 0 1 reverse;
|
|
-ms-animation: ve-ui-zoom-in 250ms ease-in-out 0 1 reverse;
|
|
-o-animation: ve-ui-zoom-in 250ms ease-in-out 0 1 reverse;
|
|
animation: ve-ui-zoom-in 250ms ease-in-out 0 1 reverse;
|
|
}
|
|
|
|
.ve-ui-dialog .ve-ui-frame {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.ve-ui-window-head,
|
|
.ve-ui-window-body,
|
|
.ve-ui-window-foot {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ve-ui-window-head {
|
|
top: 0;
|
|
height: 3.8em;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
.ve-ui-window-foot {
|
|
bottom: 0;
|
|
height: 4.8em;
|
|
padding: 1em;
|
|
}
|
|
|
|
.ve-ui-window-body {
|
|
box-shadow: 0 0 0.66em rgba(0,0,0,0.25);
|
|
background-color: #fff;
|
|
top: 3.8em;
|
|
bottom: 4.8em;
|
|
}
|
|
|
|
.ve-ui-window-icon {
|
|
width: 2.4em;
|
|
height: 2.8em;
|
|
line-height: 2.8em;
|
|
}
|
|
|
|
.ve-ui-window-title {
|
|
line-height: 2.8em;
|
|
}
|
|
|
|
.ve-ui-window-foot .ve-ui-buttonWidget {
|
|
float: right;
|
|
margin: 0.125em 0.25em;
|
|
}
|
|
|
|
.ve-ui-window-closeButton {
|
|
float: right;
|
|
margin: 0.25em 0.25em;
|
|
}
|
|
|
|
.ve-ui-pagedDialog-outlinePanel {
|
|
border-right: solid 1px #ddd;
|
|
}
|
|
|
|
.ve-ui-pagedDialog-pagesPanel .ve-ui-panelLayout {
|
|
padding: 1.5em;
|
|
width: 100%;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
}
|