Merge "Partial revert "Temporary fix for enabling Mobile VisualEditor in night mode""

This commit is contained in:
jenkins-bot 2024-07-02 18:07:14 +00:00 committed by Gerrit Code Review
commit 9aab79f211

View file

@ -1,15 +1,9 @@
@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;
}
/**
* FIXME: Can be removed when T369092 is resolved
*/
.ve-ce-branchNode-blockSlug,
body p.ve-ce-branchNode-newSlug {
background-color: rgba( 241, 247, 251, 0.1 );
@ -18,10 +12,9 @@
@media ( prefers-color-scheme: dark ) {
html.skin-theme-clientpref-os {
.ve-ui-mobileContext {
background: @background-color-base;
}
/**
* FIXME: Can be removed when T369092 is resolved
*/
.ve-ce-branchNode-blockSlug,
body p.ve-ce-branchNode-newSlug {
background-color: rgba( 241, 247, 251, 0.1 );