mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 02:51:50 +00:00
09f920fcac
Objective: * Allow fieldsets to not have labels * Remove label from reference edit dialog field set Changes: ve.ui.Layout.css * Only apply negative top margin if fieldset label is being used ve.ui.FieldsetLayout.js * Only add label element to DOM if icon or label are used ve.ui.MWReferenceEditDialog.js * Remove label from reference edit dialog's first fieldset *.php * Remove unused message Change-Id: I4a36e819ec6ef73aad80d3fb2f06000cb35ec109
42 lines
761 B
CSS
42 lines
761 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.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;
|
|
}
|