Add stripes to table
This commit is contained in:
parent
30b68d4992
commit
0fbe2d562e
@ -68,6 +68,8 @@ a:hover {
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
color-adjust: exact;
|
||||
-webkit-print-color-adjust: exact;
|
||||
}
|
||||
.result td {
|
||||
padding: 0px 8px;
|
||||
@ -88,23 +90,15 @@ tr.stage-kind td {
|
||||
min-width: 5rem;
|
||||
color: #1b2839;
|
||||
background-color: #f0f5fb;
|
||||
color-adjust: exact;
|
||||
-webkit-print-color-adjust: exact;
|
||||
}
|
||||
td.excluded {
|
||||
background-color: #fde2e2;
|
||||
color-adjust: exact;
|
||||
-webkit-print-color-adjust: exact;
|
||||
}
|
||||
td.elected {
|
||||
background-color: #e0fdc5;
|
||||
color-adjust: exact;
|
||||
-webkit-print-color-adjust: exact;
|
||||
}
|
||||
tr.info td {
|
||||
background-color: #f0f5fb;
|
||||
color-adjust: exact;
|
||||
-webkit-print-color-adjust: exact;
|
||||
}
|
||||
tr.stage-no td:not(:empty), tr.transfers td {
|
||||
border-top: 1px solid #76858c;
|
||||
@ -113,6 +107,28 @@ tr.info:last-child td, .bb {
|
||||
border-bottom: 1px solid #76858c;
|
||||
}
|
||||
|
||||
/* Table stripes */
|
||||
|
||||
tr.stage-no td:nth-child(even),
|
||||
tr.stage-comment td:nth-child(odd),
|
||||
tr.candidate.transfers td:nth-child(even):not(.elected):not(.excluded),
|
||||
tr.candidate.votes td:nth-child(odd):not(.elected):not(.excluded) {
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
tr.candidate.transfers td.elected:nth-child(even),
|
||||
tr.candidate.votes td.elected:nth-child(odd) {
|
||||
background-color: #e0f7ca;
|
||||
}
|
||||
tr.candidate.transfers td.excluded:nth-child(even),
|
||||
tr.candidate.votes td.excluded:nth-child(odd) {
|
||||
background-color: #fbdfdf;
|
||||
}
|
||||
tr.info.stage-kind td:nth-child(odd),
|
||||
tr.info.transfers td:nth-child(even),
|
||||
tr.info.votes td:nth-child(odd) {
|
||||
background-color: #e8eef7;
|
||||
}
|
||||
|
||||
/* BLT input tool */
|
||||
|
||||
#selBallots {
|
||||
|
Loading…
Reference in New Issue
Block a user