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
This commit is contained in:
jdlrobson 2018-07-05 15:40:51 -07:00 committed by Jdlrobson
parent 32b15522b1
commit 70e4e9e85a
2 changed files with 1 additions and 9 deletions

View File

@ -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 {

View File

@ -2,10 +2,7 @@
.last-modified-bar {
&.active {
#mw-mf-last-modified {
background-color: @lastModifiedBarActiveBackgroundColor;
}
background-color: @lastModifiedBarActiveBackgroundColor;
color: #fff;
a {