mediawiki-extensions-Visual.../modules/ve/ui/styles/ve.ui.Layout.css
Trevor Parscal 1c637008e5 Tighten up outlines and fieldsets
Objective:

* Make outline widgets and fieldset layouts take up a little less space

Bonus:

* Fix option icons always showing up on the first item because the option
  wasn't position relative

Changes:

ve.ui.Widget.css
* Add position: relative to option widgets
* Cleanup unused background properties for outline items
* Reduce padding for outline items
* Move icons to match padding changes

ve.ui.Layout.css
* Reduce margins for fieldset layouts, including using a negative top
  margin to compensate for the overly tall legend

Change-Id: Ida6147b8171dcb4152ca9be0e099a5f9b81ac1c0
2013-07-11 16:22:38 +00:00

38 lines
710 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.75em 0 1.75em 0;
padding: 0;
}
.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;
}