aboutsummaryrefslogtreecommitdiff
path: root/docs/coverage/lib/dt-core-1.13.6/css/jquery.dataTables.extra.css
diff options
context:
space:
mode:
authorJohannes Ranke <johannes.ranke@jrwb.de>2025-02-14 07:19:15 +0100
committerJohannes Ranke <johannes.ranke@jrwb.de>2025-02-14 07:19:15 +0100
commitb0f08271d1dae8ffaf57f557c27eba1314ece1d5 (patch)
tree98da899d455d6945849d6f4b4e98adfb98dc8b2b /docs/coverage/lib/dt-core-1.13.6/css/jquery.dataTables.extra.css
parent7dc59c522d0639f6473463340e518e2e8074e364 (diff)
parent55d9c2331e468efd364472555dbfae84603a4f73 (diff)
Merge branch 'main' into dev
Diffstat (limited to 'docs/coverage/lib/dt-core-1.13.6/css/jquery.dataTables.extra.css')
-rw-r--r--docs/coverage/lib/dt-core-1.13.6/css/jquery.dataTables.extra.css28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/coverage/lib/dt-core-1.13.6/css/jquery.dataTables.extra.css b/docs/coverage/lib/dt-core-1.13.6/css/jquery.dataTables.extra.css
new file mode 100644
index 00000000..b2dd141f
--- /dev/null
+++ b/docs/coverage/lib/dt-core-1.13.6/css/jquery.dataTables.extra.css
@@ -0,0 +1,28 @@
+/* Selected rows/cells */
+table.dataTable tr.selected td, table.dataTable td.selected {
+ background-color: #b0bed9 !important;
+}
+/* In case of scrollX/Y or FixedHeader */
+.dataTables_scrollBody .dataTables_sizing {
+ visibility: hidden;
+}
+
+/* The datatables' theme CSS file doesn't define
+the color but with white background. It leads to an issue that
+when the HTML's body color is set to 'white', the user can't
+see the text since the background is white. One case happens in the
+RStudio's IDE when inline viewing the DT table inside an Rmd file,
+if the IDE theme is set to "Cobalt".
+
+See https://github.com/rstudio/DT/issues/447 for more info
+
+This fixes should have little side-effects because all the other elements
+of the default theme use the #333 font color.
+
+TODO: The upstream may use relative colors for both the table background
+and the color. It means the table can display well without this patch
+then. At that time, we need to remove the below CSS attributes.
+*/
+div.datatables {
+ color: #333;
+}

Contact - Imprint