jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/393666 )
Change subject: Prevent body color changes ...................................................................... Prevent body color changes While CX page is loading, background color is changing from #f6f6f6 to #eaecf0. Prevent color changes by overriding skin default background. Change-Id: I1beae91d9d41b76f36bea371edd8cdc46780a067 --- M modules/dashboard/styles/ext.cx.dashboard.less M modules/ui/styles/mw.cx.ui.Header.skin.less 2 files changed, 8 insertions(+), 4 deletions(-) Approvals: jenkins-bot: Verified Nikerabbit: Checked; Looks good to me, approved diff --git a/modules/dashboard/styles/ext.cx.dashboard.less b/modules/dashboard/styles/ext.cx.dashboard.less index 6affd4e..1f24610 100644 --- a/modules/dashboard/styles/ext.cx.dashboard.less +++ b/modules/dashboard/styles/ext.cx.dashboard.less @@ -1,10 +1,6 @@ @import '../../widgets/common/ext.cx.common.less'; @import 'mediawiki.mixins'; -body { - background: @colorGray14; -} - .cx-dashboard { color: @gray-darker; max-width: @max-dashboard-width; diff --git a/modules/ui/styles/mw.cx.ui.Header.skin.less b/modules/ui/styles/mw.cx.ui.Header.skin.less index 7e293ee..d51388e 100644 --- a/modules/ui/styles/mw.cx.ui.Header.skin.less +++ b/modules/ui/styles/mw.cx.ui.Header.skin.less @@ -1,3 +1,11 @@ +@import '../../widgets/common/ext.cx.common.less'; + +body.mw-special-ContentTranslation { + // Not using background-color, because we want to override skin specific backgrounds, + // like on monobook + background: @colorGray14; +} + .client-js .cx-nojs { display: none; } -- To view, visit https://gerrit.wikimedia.org/r/393666 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I1beae91d9d41b76f36bea371edd8cdc46780a067 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ContentTranslation Gerrit-Branch: master Gerrit-Owner: Petar.petkovic <ppetko...@wikimedia.org> Gerrit-Reviewer: Nikerabbit <niklas.laxst...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits