From 9b3133b320092aac9b0d752031fb7f1b21ae1233 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 16 Apr 2013 15:49:37 +0200 Subject: [PATCH] =?utf8?q?CSS-Klasse=20"listrow",=20die=20=C3=BCber=20nth-?= =?utf8?q?child-Selektoren=20arbeitet?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- css/kivitendo/main.css | 4 ++-- css/lx-office-erp/main.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/css/kivitendo/main.css b/css/kivitendo/main.css index 4cad54f27..12db365e1 100644 --- a/css/kivitendo/main.css +++ b/css/kivitendo/main.css @@ -225,12 +225,12 @@ body.menu { border-width: 1px; background: #FFFFE0; } -.listrow1 { +.listrow1, .listrow:nth-child(odd) { background-color: #FFFFFF; color: black; vertical-align: top; } -.listrow0 { +.listrow0, .listrow:nth-child(even) { background-color: #FFFF99; color: black; vertical-align: top; diff --git a/css/lx-office-erp/main.css b/css/lx-office-erp/main.css index 379423249..1e200b043 100644 --- a/css/lx-office-erp/main.css +++ b/css/lx-office-erp/main.css @@ -257,8 +257,8 @@ div.admin { } -.listrow1 { background-color: rgb(208,207,201); color: black; vertical-align: top; } -.listrow0 { background-color: rgb(236,233,216); color: black; vertical-align: top; } +.listrow1, .listrow:nth-child(odd) { background-color: rgb(208,207,201); color: black; vertical-align: top; } +.listrow0, .listrow:nth-child(even) { background-color: rgb(236,233,216); color: black; vertical-align: top; } .listrowempty { background-color: rgb(255,255,255); color: black; vertical-align: top; } .redrow1 { background-color: rgb(250,167, 161); color: black; vertical-align: top; } -- 2.20.1