mediawiki-skins-Vector/resources/skins.vector.styles/components/Icon.less
Jon Robson db08697b17 Prepare for icon touch area change
Should result in no visual changes with default Vector config (e.g.
Pixel)

Bug: T314323
Change-Id: Id1d72fdede3aabab630f9318516ef0f92b12e23b
2022-09-30 16:35:17 -07:00

16 lines
392 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;
}
.mw-ui-icon + span:not( :empty ) {
margin-left: 8px;
}
}