MediaWiki:Common.css: Difference between revisions
m Removing oo-ui-selectFileWidget-thumbnail due to interfering with mw-no-invert css apply Tag: Reverted |
m Testing if re-inverter is working only in darkmode for oo-ui-selectFileWidget-thumbnail. Tag: Reverted |
||
Line 6: | Line 6: | ||
.cdx-menu-item__thumbnail{ | .cdx-menu-item__thumbnail{ | ||
filter: unset !important; | filter: unset !important; | ||
} | |||
/* Sort of workaround for the inverted image fix */ | |||
.client-darkmode oo-ui-selectFileWidget-thumbnail{ | |||
filter: invert(1) hue-rotate(180deg); | |||
-webkit-filter: invert(1) hue-rotate(180deg); | |||
} | } |
Revision as of 22:07, 20 November 2023
/* CSS placed here will be applied to all skins */
/* oo-ui-selectFileWidget-thumbnail is from when someone are uploading images
And cdx-menu-item-thumbnail are from the search dropdown
Above are these classes who need to have filter invert disabled
*/
.cdx-menu-item__thumbnail{
filter: unset !important;
}
/* Sort of workaround for the inverted image fix */
.client-darkmode oo-ui-selectFileWidget-thumbnail{
filter: invert(1) hue-rotate(180deg);
-webkit-filter: invert(1) hue-rotate(180deg);
}