mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-23 23:33:54 +00:00
Add skin-invert-image class
Bug: T365102 Change-Id: I5961d945b1aaeae1bff1d86c50118fc02dfb77b2
This commit is contained in:
parent
7775e08ccf
commit
b24cb0518c
|
@ -44,6 +44,8 @@ html.skin-theme-clientpref-night {
|
|||
--color-link-red: #b97876;
|
||||
}
|
||||
|
||||
// T365102 invert class specifically for image related elements
|
||||
html.skin-theme-clientpref-night .skin-invert-image img,
|
||||
html.skin-theme-clientpref-night .skin-invert {
|
||||
color-scheme: light;
|
||||
filter: invert( 1 ) hue-rotate( 180deg );
|
||||
|
@ -75,6 +77,8 @@ html.skin-theme-clientpref-night @{OOUIOverrideSelectors} {
|
|||
color-scheme: light;
|
||||
}
|
||||
|
||||
// T365102 invert class specifically for image related elements
|
||||
html.skin-theme-clientpref-os .skin-invert-image img,
|
||||
html.skin-theme-clientpref-os .skin-invert {
|
||||
color-scheme: light;
|
||||
filter: invert( 1 ) hue-rotate( 180deg );
|
||||
|
|
Loading…
Reference in a new issue