mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
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:
parent
76f73decca
commit
db08697b17
15
resources/skins.vector.styles/components/Icon.less
Normal file
15
resources/skins.vector.styles/components/Icon.less
Normal 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;
|
||||
}
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue