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

This reverts commit 1a4a16062c.

Reason for revert: Fixes were upstreamed.
Depends-On: Ia35231be8a0325671f329fbd71a72da826505587
Bug: T368116
Change-Id: Ia941791b59e21d0c9191923ea9aa19842ebf787c
This commit is contained in:
Jdlrobson 2024-07-01 17:04:06 +00:00
parent 1a4a16062c
commit 400546e56f

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 );