Ensure WCAG level AA contrast
authorVolker E <volker.e@wikimedia.org>
Sun, 5 Nov 2017 03:55:36 +0000 (20:55 -0700)
committerVolker E <volker.e@wikimedia.org>
Sun, 5 Nov 2017 03:57:04 +0000 (20:57 -0700)
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

resources/src/mediawiki/mediawiki.debug.less

index dec0571..00faf84 100644 (file)
                width: 100%;
                table-layout: fixed;
 
+               tr {
+                       background-color: #fff;
+
+                       &:nth-child( even ) {
+                               background-color: #f9f9f9;
+                       }
+               }
+
                td,
                th {
                        padding: 4px 10px;
                        }
 
                        span.stats {
-                               color: #808080;
-                       }
-               }
-
-               tr {
-                       background-color: #fff;
-
-                       &:nth-child( even ) {
-                               background-color: #f9f9f9;
+                               color: #727272;
                        }
                }
        }