mediawiki-extensions-Visual.../modules/ve-mw/ce/styles/nodes/ve.ce.MWLanguageVariantNode.css
Bartosz Dziewoński 180eb91f3f Increase selector specificity for .ve-ce-focusableNode-invisibleIcon
Otherwise our width/height rules are overridden by OOUI styles.

Change-Id: I2bbf81231615e6fcfd95573f5f590b5101e66bdf
2018-02-21 22:30:45 +01:00

26 lines
798 B
CSS

/*!
* VisualEditor ContentEditable MWLanguageVariantNode styles.
*
* @copyright 2011-2018 VisualEditor Team and others; see http://ve.mit-license.org
*/
/* This is just for the icon label text */
.ve-ce-mwLanguageVariantNode > .ve-ce-focusableNode-invisibleIcon.oo-ui-iconWidget.oo-ui-iconElement {
font-size: 0.8125em;
width: auto;
}
.ve-ce-mwLanguageVariantNode.ve-ce-focusableNode-invisible {
width: auto;
}
.ve-ce-mwLanguageVariantNode > .ve-ce-focusableNode-invisibleIcon.oo-ui-iconWidget.oo-ui-iconElement .oo-ui-labelElement-label {
margin-left: 0;
margin-right: 0.25em;
}
/* This keeps the icon small (regardless of label height) */
.ve-ce-mwLanguageVariantNode > .ve-ce-focusableNode-invisibleIcon.oo-ui-iconWidget.oo-ui-iconElement .oo-ui-iconElement-icon {
height: auto;
}