[Piglit] [PATCH 07/12] templates/index.css: make some css more exclusive

Dylan Baker baker.dylan.c at gmail.com
Thu May 9 23:09:21 PDT 2013


Change the div:nth-child for operating on everything except head to only
working on group. This is lays groundwork for some other changes.

Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
 templates/index.css | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/index.css b/templates/index.css
index b99cd2d..875333f 100644
--- a/templates/index.css
+++ b/templates/index.css
@@ -48,8 +48,8 @@ td.trap a, td.abort a, td.crash a {
 	color: #ffffff;
 }
 
-tr:nth-child(odd)  > td > div:not(.head) { background-color: #ffff95 }
-tr:nth-child(even) > td > div:not(.head) { background-color: #e1e183 }
+tr:nth-child(odd)  > td > div.group { background-color: #ffff95 }
+tr:nth-child(even) > td > div.group { background-color: #e1e183 }
 
 tr:nth-child(odd)  td.pass  { background-color: #20ff20; }
 tr:nth-child(even) td.pass  { background-color: #15e015; }
-- 
1.8.1.4



More information about the Piglit mailing list