From 70e4e9e85adeca6619f954fac631c70bd5d40ed7 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Thu, 5 Jul 2018 15:40:51 -0700 Subject: [PATCH] Cleanup: Last modified active color should be loaded via JS .active class is added via JS by skins.minerva.scripts skins.minerva.base.styles is loaded as render blocking Thus this css rule can be moved safely to a non-render blocking place Change-Id: Ie8bab826ebc0785e24bb85600de261372c429434 --- resources/skins.minerva.base.styles/footer.less | 5 ----- resources/skins.minerva.scripts/styles.less | 5 +---- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/resources/skins.minerva.base.styles/footer.less b/resources/skins.minerva.base.styles/footer.less index 783999cd7..092804c58 100644 --- a/resources/skins.minerva.base.styles/footer.less +++ b/resources/skins.minerva.base.styles/footer.less @@ -24,11 +24,6 @@ footer { color: @lastModifiedBarTextColor; line-height: 1.5em; transition: background-color 0.2s ease, color 0.2s ease; - - &.active { - background-color: @lastModifiedBarActiveBackgroundColor; - color: #fff; - } } .last-modifier-tagline { diff --git a/resources/skins.minerva.scripts/styles.less b/resources/skins.minerva.scripts/styles.less index 405646961..3efdb9921 100644 --- a/resources/skins.minerva.scripts/styles.less +++ b/resources/skins.minerva.scripts/styles.less @@ -2,10 +2,7 @@ .last-modified-bar { &.active { - - #mw-mf-last-modified { - background-color: @lastModifiedBarActiveBackgroundColor; - } + background-color: @lastModifiedBarActiveBackgroundColor; color: #fff; a {