mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/widgets/ve.ui.MWTransclusionOutlineControlsWidget.less
Thiemo Kreuz 77ce583167 Simplify OutlineControls CSS a little more
This is a direct follow-up to I7f22e4b. I found that the way the
margins have been arranged became a little more complicated with
I7f22e4b. This patch tries to go back to the – I think – simpler way
it was done before.

It should look the same as before down to the pixel.

Bug: T311223
Change-Id: I2c7789922078fa98f15f0b65de4c0efdf878a13a
2022-06-28 10:50:33 +02:00

35 lines
683 B
Plaintext

.ve-ui-mwTransclusionOutlineControlsWidget {
background-color: #fff; // @background-color-base; aka @wmui-color-base100;
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2.5em;
// @border-dialog-bar
border-top: 1px solid #c8ccd1;
padding: 2px;
display: flex;
align-items: flex-start;
justify-content: left;
&-items,
&-movers {
box-sizing: border-box;
> .oo-ui-buttonWidget.oo-ui-iconElement {
// Override OOUI defaults
margin-left: 4px;
margin-right: 0;
}
}
&-items > .oo-ui-buttonWidget:first-child {
margin-left: 0;
}
&-movers > .oo-ui-buttonWidget:nth-child( 2 ) {
// Move arrow controls closer together
margin-left: -4px;
}
}