From c2e9a7b36610cfff4ae112330655e5fbd0e3f8f2 Mon Sep 17 00:00:00 2001 From: AronDemian Date: Fri, 24 Apr 2020 00:16:28 +0200 Subject: [PATCH] Add `.mw-footer` CSS class & replace `#footer` selector with it Does not add `.mw-footer-*` CSS classes to `ul#footer-*` and `li#footer-*-*` to save bandwidth. NOTE: - The former id selectors can be removed form the styles after the varnish cache is updated with the new DOM. - The modern version still uses the legacy layout at this stage. Bug: T248137 Change-Id: Ica9f8c43617c624648fa12dc86ebb3daa10f0409 --- includes/templates/Footer.mustache | 2 +- resources/skins.vector.styles.responsive.less | 3 ++- resources/skins.vector.styles/Footer.less | 3 ++- resources/skins.vector.styles/legacy/layout.less | 9 ++++++--- resources/skins.vector.styles/print.less | 6 ++++-- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/includes/templates/Footer.mustache b/includes/templates/Footer.mustache index ba15a17e..de7d951a 100644 --- a/includes/templates/Footer.mustache +++ b/includes/templates/Footer.mustache @@ -14,7 +14,7 @@ footerRow[] array-footer-rows iterable list of footer rows }} {{{html-hook-vector-before-footer}}} -