diff options
author | Ranke Johannes <johannes.ranke@agroscope.admin.ch> | 2024-09-06 17:29:02 +0200 |
---|---|---|
committer | Ranke Johannes <johannes.ranke@agroscope.admin.ch> | 2024-09-06 17:29:02 +0200 |
commit | 7b14afbeaa779009014ee866fe5e56edd3e8681d (patch) | |
tree | 7875bfab7c9da31e1c634a7bbc2a15989cac48e3 /docs/coverage/lib/dt-core-1.13.6/css/jquery.dataTables.extra.css | |
parent | d34f2b003bee7eda8553c19d61ac21d2ce708f4e (diff) | |
parent | ba3eaa0d61d4980a61ebbcd105f07d21dd2aabb6 (diff) |
Merge remote-tracking branch 'refs/remotes/origin/main'
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.css | 28 |
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; +} |