CSS: Style caption per table theme. Fixes #1564

This commit is contained in:
Rob Garrison 2018-07-03 10:01:22 -05:00
parent cf3c674c1f
commit 0331751645
15 changed files with 19 additions and 20 deletions

View File

@ -35,8 +35,7 @@ Test out these customization files live
Pink hsl(297, 100%, 33%)
Purple hsl(257, 51%, 48%)
Red hsl(5, 100%, 40%)
*/
*/
@headerBackground : hsl(32, 50%, 30%);
@borderAndBackground : #cdcdcd;
@headerTextColor : #eee;
@ -166,9 +165,9 @@ Test out these customization files live
padding: @overallPadding;
}
.dark-row th, .dark-row td, caption.dark-row {
background-color: darken( @headerBackground, 10% );
}
.dark-row th, .dark-row td, caption.dark-row {
background-color: darken( @headerBackground, 10% );
}
tbody td, tfoot th, tfoot td {
padding: @overallPadding;

View File

@ -117,7 +117,7 @@
}
/* caption */
caption {
.tablesorter-blackice > caption {
background-color: #fff;
}

View File

@ -154,7 +154,7 @@
}
/* caption */
caption {
.tablesorter-blue > caption {
background-color: #fff;
}

View File

@ -109,7 +109,7 @@
}
/* caption */
.caption {
.tablesorter-bootstrap > .caption {
background-color: #fff;
}

View File

@ -112,7 +112,7 @@
}
/* caption */
caption {
.tablesorter-bootstrap > caption {
background-color: #fff;
}
@ -185,4 +185,4 @@ caption {
text-align: center;
cursor: pointer;
background-color: #e6bf99;
}
}

View File

@ -106,7 +106,7 @@
}
/* caption */
.caption {
.tablesorter-bootstrap > .caption {
background-color: #fff;
}

View File

@ -112,7 +112,7 @@
}
/* caption */
.tablesorter-bootstrap:not(.table-dark) .caption {
.tablesorter-bootstrap:not(.table-dark) > .caption {
background-color: #fff;
}

View File

@ -116,7 +116,7 @@
}
/* caption */
caption {
.tablesorter-dark > caption {
background-color: #202020;
}

View File

@ -118,7 +118,7 @@ Default Theme
}
/* caption */
caption {
.tablesorter-default > caption {
background-color: #fff;
}

View File

@ -138,7 +138,7 @@
}
/* caption */
caption {
.tablesorter-dropbox > caption {
background-color: #fff;
}

View File

@ -137,7 +137,7 @@
}
/* caption */
caption {
.tablesorter-green > caption {
background-color: #fff;
}

View File

@ -176,7 +176,7 @@
}
/* caption */
caption {
.tablesorter-grey > caption {
background-color: #fff;
}

View File

@ -137,7 +137,7 @@
}
/* caption */
caption {
.tablesorter-ice > caption {
background-color: #fff;
}

View File

@ -89,7 +89,7 @@
}
/* caption */
.tablesorter-jui caption {
.tablesorter-jui > caption {
border: 0;
}

View File

@ -94,7 +94,7 @@
}
/* caption */
.caption {
.tablesorter-materialize > .caption {
background-color: #fff;
}