mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-06 06:29:11 +00:00
ef262dc241
Objectives: * Add option to layouts to control whether it's padded or not * Rename "scroll" option to "scrollable" to better fit with it's boolean value Changes: ve.ui.Layout.css * Add styles for scrollable and padded options ve.ui.StackPanelLayout.js, ve.ui.PagedDialog.js, ve.ui.ReferenceListDialog.js * Update use of scroll option ve.ui.PanelLayout.js * Add padded option * Rename scroll option to scrollable * Switch to using a class for scrollable option, rather than hardcoding CSS properties Change-Id: I50e996b9d2fde361238cde75e09baa5872e12223
50 lines
861 B
CSS
50 lines
861 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.PanelLayout */
|
|
|
|
.ve-ui-gridLayout,
|
|
.ve-ui-panelLayout {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.ve-ui-panelLayout-scrollable {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.ve-ui-panelLayout-padded {
|
|
padding: 2em;
|
|
}
|
|
|
|
/* ve.ui.FieldsetLayout */
|
|
|
|
.ve-ui-fieldsetLayout {
|
|
border: none;
|
|
margin: 0 0 1.75em 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.ve-ui-fieldsetLayout-labeled {
|
|
margin-top: -0.75em;
|
|
}
|
|
|
|
.ve-ui-fieldsetLayout > legend.ve-ui-labeledElement-label {
|
|
font-size: 1.5em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.ve-ui-fieldsetLayout-decorated > legend.ve-ui-labeledElement-label {
|
|
padding-left: 1.75em;
|
|
background-position: left center;
|
|
background-repeat: no-repeat;
|
|
}
|