mediawiki-skins-Vector/resources/skins.vector.styles/components/Icon.less
Jon Robson 4ecf9219e0 Disable new flushing rules with feature flag disabled
This change should roll out with the featue flag to avoid
unexpected UI regressions

Follow up to  I9aba71ac4fff0d285676946acef8309b741ed1ad

Bug: T321504
Change-Id: I369e314bac31ea2eca3bff4e530e07c8bee325e2
2022-11-02 22:21:58 +00:00

26 lines
555 B
Plaintext

// Make sure all icons are the correct color https://phabricator.wikimedia.org/T317800
.mw-ui-icon:before {
// `@opacity-icon-base` equals to `#222` on `background-color: #fff`, closest to `#202122`.
opacity: @opacity-icon-base;
}
.vector-feature-visual-enhancement-next-disabled {
.mw-ui-icon-element {
padding: 0.75em;
}
@media ( min-width: @min-width-desktop ) {
.mw-ui-icon-flush-left {
margin-left: -0.75em;
}
.mw-ui-icon-flush-right {
margin-right: -0.75em;
}
}
.mw-ui-icon + span:not( :empty ) {
margin-left: 8px;
}
}