Merge "Do not invert images that have been tagged with no invert classes"

This commit is contained in:
jenkins-bot 2024-07-01 18:43:52 +00:00 committed by Gerrit Code Review
commit 906a68b44c

View file

@ -69,7 +69,7 @@ html.skin-theme-clientpref-night {
.skin-invert, .skin-invert,
.skin-invert-image img, .skin-invert-image img,
/* Special treatment of inverted OOUI icons, see T365764 */ /* Special treatment of inverted OOUI icons, see T365764 */
.oo-ui-iconElement-icon:not( .oo-ui-image-progressive ):not( .oo-ui-image-destructive ):not( .oo-ui-checkboxInputWidget-checkIcon ), .oo-ui-iconElement-icon:not( .oo-ui-image-progressive ):not( .oo-ui-image-destructive ):not( .oo-ui-checkboxInputWidget-checkIcon ):not( .oo-ui-image-invert ):not( .mw-no-invert ),
.oo-ui-indicatorElement-indicator { .oo-ui-indicatorElement-indicator {
filter: invert( 1 ) hue-rotate( 180deg ); filter: invert( 1 ) hue-rotate( 180deg );
} }
@ -78,7 +78,7 @@ html.skin-theme-clientpref-night {
double inversion in an already inverted element */ double inversion in an already inverted element */
.skin-invert, .skin-invert,
.notheme { .notheme {
.oo-ui-iconElement-icon:not( .oo-ui-image-progressive ):not( .oo-ui-image-destructive ):not( .oo-ui-checkboxInputWidget-checkIcon ), .oo-ui-iconElement-icon:not( .oo-ui-image-progressive ):not( .oo-ui-image-destructive ):not( .oo-ui-checkboxInputWidget-checkIcon ):not( .oo-ui-image-invert ):not( .mw-no-invert ),
.oo-ui-indicatorElement-indicator { .oo-ui-indicatorElement-indicator {
filter: none !important; filter: none !important;
} }