Must .indicatorElement-Indicator be child of .indicatorElement?
From IndicatorElement.less:
.oo-ui-indicatorElement { .oo-ui-indicatorElement-indicator, &.oo-ui-indicatorElement-indicator { background-size: contain; background-position: center center; background-repeat: no-repeat; min-width: @size-indicator-min; width: @size-indicator; min-height: @size-indicator-min; height: @size-indicator; } .theme-oo-ui-indicatorElement(); }
It seems like those two selectors catch all instances of oo-ui-indicatorElement-indicator. Wait, no, because there's also:
<div class="oo-ui-capsuleMultiSelectWidget-handle"> <span class="oo-ui-indicatorElement-indicator"></span> <span class="oo-ui-iconElement-icon"></span> <div class="oo-ui-capsuleMultiSelectWidget-content">…</div> </div>
where we partly repeat the oo-ui-indicatorElement-indicator CSS rules
Would it be possible (again from a pure architectural perspective) to go for something like that instead:
.oo-ui-indicatorElement { .theme-oo-ui-indicatorElement(); } .oo-ui-indicatorElement-indicator { background-size: contain; background-position: center center; background-repeat: no-repeat; min-width: @size-indicator-min; width: @size-indicator; min-height: @size-indicator-min; height: @size-indicator; }