mediawiki-skins-MinervaNeue/skinStyles/ext.visualEditor.core.mobile.less
Jon Robson 1a4a16062c Temporary fix for enabling Mobile VisualEditor in night mode
Bug: T366832
Change-Id: If03069339261e380dc49defedccb01830d162483
2024-06-20 16:36:51 -04:00

31 lines
671 B
Plaintext

@import 'mediawiki.skin.variables.less';
/**
* FIXME: The following styles should be removed
* once https://gerrit.wikimedia.org/r/c/VisualEditor/VisualEditor/+/1048068 is merged.
*/
.skin-theme-clientpref-night {
.ve-ui-mobileContext {
background: @background-color-base;
}
.ve-ce-branchNode-blockSlug,
body p.ve-ce-branchNode-newSlug {
background-color: rgba( 241, 247, 251, 0.1 );
}
}
@media ( prefers-color-scheme: dark ) {
html.skin-theme-clientpref-os {
.ve-ui-mobileContext {
background: @background-color-base;
}
.ve-ce-branchNode-blockSlug,
body p.ve-ce-branchNode-newSlug {
background-color: rgba( 241, 247, 251, 0.1 );
}
}
}