From: Volker E Date: Sun, 5 Nov 2017 03:55:36 +0000 (-0700) Subject: Ensure WCAG level AA contrast X-Git-Tag: 1.31.0-rc.0~1594^2 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=e44f06c2e4c1fe70584e7161162aac19b18ad2c8;p=lhc%2Fweb%2Fwiklou.git Ensure WCAG level AA contrast Increasing contrast on span.stats slightly to meet WCAG level AA contrast minimum requirement on possible background color `#f9f9f9`. Also bringing selector in correct parent > child order. Change-Id: If033cd61bd81dbd5773810b1a944f20a9bf2e58d --- diff --git a/resources/src/mediawiki/mediawiki.debug.less b/resources/src/mediawiki/mediawiki.debug.less index dec0571542..00faf84b84 100644 --- a/resources/src/mediawiki/mediawiki.debug.less +++ b/resources/src/mediawiki/mediawiki.debug.less @@ -16,6 +16,14 @@ width: 100%; table-layout: fixed; + tr { + background-color: #fff; + + &:nth-child( even ) { + background-color: #f9f9f9; + } + } + td, th { padding: 4px 10px; @@ -30,15 +38,7 @@ } span.stats { - color: #808080; - } - } - - tr { - background-color: #fff; - - &:nth-child( even ) { - background-color: #f9f9f9; + color: #727272; } } }