Prepare for icon touch area change

Should result in no visual changes with default Vector config (e.g.
Pixel)

Bug: T314323
Change-Id: Id1d72fdede3aabab630f9318516ef0f92b12e23b
This commit is contained in:
Jon Robson 2022-09-29 18:09:12 -07:00
parent 76f73decca
commit db08697b17
2 changed files with 16 additions and 6 deletions

View file

@ -0,0 +1,15 @@
// 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;
}
}

View file

@ -27,12 +27,7 @@
@import './components/TabWatchstarLink.less';
@import './components/TableOfContents.less';
@import './components/TableOfContentsCollapsed.less';
// 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;
}
@import './components/Icon.less';
}
@media all {