From 97646eb20b9973d14af0a8c42f0f7f02025cc202 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 22 Nov 2024 13:08:11 +0000 Subject: [PATCH] Move VE hacks into VE extension Depends-On: Ic2aca1e005c5d5f89a97372de40bd8aa6f4b2aa0 Change-Id: Idacb5990f29fea254c533b452ae279f227d7b56c --- skin.json | 3 --- skinStyles/ext.visualEditor.core.mobile.less | 25 -------------------- 2 files changed, 28 deletions(-) delete mode 100644 skinStyles/ext.visualEditor.core.mobile.less diff --git a/skin.json b/skin.json index a4f4754fa..8981162ed 100644 --- a/skin.json +++ b/skin.json @@ -227,9 +227,6 @@ }, "ResourceModuleSkinStyles": { "minerva": { - "ext.visualEditor.core.mobile": [ - "skinStyles/ext.visualEditor.core.mobile.less" - ], "ext.echo.styles.badge": [ "skinStyles/ext.echo.styles.badge.less" ], diff --git a/skinStyles/ext.visualEditor.core.mobile.less b/skinStyles/ext.visualEditor.core.mobile.less deleted file mode 100644 index d489a5cc4..000000000 --- a/skinStyles/ext.visualEditor.core.mobile.less +++ /dev/null @@ -1,25 +0,0 @@ -@import 'mediawiki.skin.variables.less'; - -@media screen { - .skin-theme-clientpref-night { - /** - * 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 ); - } - } -} - -@media screen and ( prefers-color-scheme: dark ) { - html.skin-theme-clientpref-os { - /** - * 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 ); - } - } -}