Striped tables in correct colors
This commit is contained in:
parent
e425e72dfa
commit
48c3912ade
@ -41,9 +41,9 @@ h1,h2,h3,h4
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h2 > a {
|
||||
/*h2 > a {
|
||||
color: black;
|
||||
}
|
||||
}*/
|
||||
|
||||
li.row-fluid {
|
||||
display: block;
|
||||
@ -121,7 +121,8 @@ ul.nav-child > li > a:hover
|
||||
}
|
||||
|
||||
.row-striped .row-fluid:nth-child(n),
|
||||
.list-striped li:nth-child(n)
|
||||
.list-striped li:nth-child(n),
|
||||
.table-striped tbody > tr:nth-child(n) > td
|
||||
{
|
||||
background-color: inherit;
|
||||
}
|
||||
|
@ -143,25 +143,34 @@ ul.nav-child > li > a:focus
|
||||
}
|
||||
|
||||
.list-striped li:nth-child(odd),
|
||||
.row-striped .row-fluid:nth-child(odd)
|
||||
.row-striped .row-fluid:nth-child(odd),
|
||||
.table-striped > tbody > tr:nth-child(odd)
|
||||
{
|
||||
background-color: <?php echo $params{'bgcolor2'}; ?>;
|
||||
color: <?php echo $params{'fgcolor2'}; ?>;
|
||||
}
|
||||
.row-striped .row-fluid:nth-child(odd) a
|
||||
.row-striped .row-fluid:nth-child(odd) a,
|
||||
.table-striped > tbody > tr:nth-child(odd) a
|
||||
{
|
||||
color: <?php echo $params{'licolor2'}; ?>;
|
||||
}
|
||||
.list-striped li:hover,
|
||||
.row-striped .row-fluid:hover
|
||||
.row-striped .row-fluid:hover,
|
||||
.table-striped > tbody > tr:hover
|
||||
{
|
||||
background-color: <?php echo $params{'bgcolor3'}; ?>;
|
||||
color: <?php echo $params{'fgcolor3'}; ?>;
|
||||
}
|
||||
.row-striped .row-fluid:hover a
|
||||
.row-striped .row-fluid:hover a,
|
||||
.table-striped > tbody > tr:hover a
|
||||
{
|
||||
color: <?php echo $params{'licolor3'}; ?>;
|
||||
}
|
||||
.table-striped > thead > tr
|
||||
{
|
||||
background-color: <?php echo $params{'bgcolor3'}; ?>;
|
||||
color: <?php echo $params{'fgcolor3'}; ?>;
|
||||
}
|
||||
|
||||
table.alternating tr:nth-child(even) {
|
||||
background-color: <?php echo $params{'bgcolor2'}; ?>;
|
||||
|
Loading…
Reference in New Issue
Block a user