Преглед изворни кода

* Use `.table-unshaded` class on a tables to prevent xaringanthemer's table heading and row shading (#74)

Fixes #74
tags/v0.4.2
Garrick Aden-Buie пре 3 година
родитељ
комит
6444163cd7
No known key found for this signature in database
15 измењених фајлова са 45 додато и 15 уклоњено
  1. +3
    -1
      inst/resources/template.css
  2. +3
    -1
      tests/testthat/css/duo-header_bg.css
  3. +3
    -1
      tests/testthat/css/duo.css
  4. +3
    -1
      tests/testthat/css/duo_accent.css
  5. +3
    -1
      tests/testthat/css/duo_accent_inverse.css
  6. +3
    -1
      tests/testthat/css/google_fonts.css
  7. +3
    -1
      tests/testthat/css/mono_accent.css
  8. +3
    -1
      tests/testthat/css/mono_accent_inverse.css
  9. +3
    -1
      tests/testthat/css/mono_dark.css
  10. +3
    -1
      tests/testthat/css/mono_light-header_bg.css
  11. +3
    -1
      tests/testthat/css/mono_light.css
  12. +3
    -1
      tests/testthat/css/solarized_dark-header_bg.css
  13. +3
    -1
      tests/testthat/css/solarized_dark.css
  14. +3
    -1
      tests/testthat/css/solarized_light.css
  15. +3
    -1
      tests/testthat/css/xaringan.css

+ 3
- 1
inst/resources/template.css Прегледај датотеку

@@ -197,7 +197,9 @@ blockquote {
th, td {
padding: 5px;
}
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
.remark-slide table:not(.table-unshaded) thead,
.remark-slide table:not(.table-unshaded) tfoot,
.remark-slide table:not(.table-unshaded) tr:nth-child(even) {
background: {{table_row_even_background_color}};
}
table.dataTable tbody {

+ 3
- 1
tests/testthat/css/duo-header_bg.css Прегледај датотеку

@@ -189,7 +189,9 @@ blockquote {
th, td {
padding: 5px;
}
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
.remark-slide table:not(.table-unshaded) thead,
.remark-slide table:not(.table-unshaded) tfoot,
.remark-slide table:not(.table-unshaded) tr:nth-child(even) {
background: #E8ECEE;
}
table.dataTable tbody {

+ 3
- 1
tests/testthat/css/duo.css Прегледај датотеку

@@ -189,7 +189,9 @@ blockquote {
th, td {
padding: 5px;
}
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
.remark-slide table:not(.table-unshaded) thead,
.remark-slide table:not(.table-unshaded) tfoot,
.remark-slide table:not(.table-unshaded) tr:nth-child(even) {
background: #E8ECEE;
}
table.dataTable tbody {

+ 3
- 1
tests/testthat/css/duo_accent.css Прегледај датотеку

@@ -191,7 +191,9 @@ blockquote {
th, td {
padding: 5px;
}
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
.remark-slide table:not(.table-unshaded) thead,
.remark-slide table:not(.table-unshaded) tfoot,
.remark-slide table:not(.table-unshaded) tr:nth-child(even) {
background: #CCEDEA;
}
table.dataTable tbody {

+ 3
- 1
tests/testthat/css/duo_accent_inverse.css Прегледај датотеку

@@ -191,7 +191,9 @@ blockquote {
th, td {
padding: 5px;
}
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
.remark-slide table:not(.table-unshaded) thead,
.remark-slide table:not(.table-unshaded) tfoot,
.remark-slide table:not(.table-unshaded) tr:nth-child(even) {
background: #024884;
}
table.dataTable tbody {

+ 3
- 1
tests/testthat/css/google_fonts.css Прегледај датотеку

@@ -185,7 +185,9 @@ blockquote {
th, td {
padding: 5px;
}
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
.remark-slide table:not(.table-unshaded) thead,
.remark-slide table:not(.table-unshaded) tfoot,
.remark-slide table:not(.table-unshaded) tr:nth-child(even) {
background: #eee;
}
table.dataTable tbody {

+ 3
- 1
tests/testthat/css/mono_accent.css Прегледај датотеку

@@ -190,7 +190,9 @@ blockquote {
th, td {
padding: 5px;
}
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
.remark-slide table:not(.table-unshaded) thead,
.remark-slide table:not(.table-unshaded) tfoot,
.remark-slide table:not(.table-unshaded) tr:nth-child(even) {
background: #D9D9E7;
}
table.dataTable tbody {

+ 3
- 1
tests/testthat/css/mono_accent_inverse.css Прегледај датотеку

@@ -190,7 +190,9 @@ blockquote {
th, td {
padding: 5px;
}
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
.remark-slide table:not(.table-unshaded) thead,
.remark-slide table:not(.table-unshaded) tfoot,
.remark-slide table:not(.table-unshaded) tr:nth-child(even) {
background: #0B1E1F;
}
table.dataTable tbody {

+ 3
- 1
tests/testthat/css/mono_dark.css Прегледај датотеку

@@ -190,7 +190,9 @@ blockquote {
th, td {
padding: 5px;
}
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
.remark-slide table:not(.table-unshaded) thead,
.remark-slide table:not(.table-unshaded) tfoot,
.remark-slide table:not(.table-unshaded) tr:nth-child(even) {
background: #3C4A47;
}
table.dataTable tbody {

+ 3
- 1
tests/testthat/css/mono_light-header_bg.css Прегледај датотеку

@@ -190,7 +190,9 @@ blockquote {
th, td {
padding: 5px;
}
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
.remark-slide table:not(.table-unshaded) thead,
.remark-slide table:not(.table-unshaded) tfoot,
.remark-slide table:not(.table-unshaded) tr:nth-child(even) {
background: #D3D7DE;
}
table.dataTable tbody {

+ 3
- 1
tests/testthat/css/mono_light.css Прегледај датотеку

@@ -190,7 +190,9 @@ blockquote {
th, td {
padding: 5px;
}
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
.remark-slide table:not(.table-unshaded) thead,
.remark-slide table:not(.table-unshaded) tfoot,
.remark-slide table:not(.table-unshaded) tr:nth-child(even) {
background: #D3D7DE;
}
table.dataTable tbody {

+ 3
- 1
tests/testthat/css/solarized_dark-header_bg.css Прегледај датотеку

@@ -187,7 +187,9 @@ blockquote {
th, td {
padding: 5px;
}
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
.remark-slide table:not(.table-unshaded) thead,
.remark-slide table:not(.table-unshaded) tfoot,
.remark-slide table:not(.table-unshaded) tr:nth-child(even) {
background: #073642;
}
table.dataTable tbody {

+ 3
- 1
tests/testthat/css/solarized_dark.css Прегледај датотеку

@@ -187,7 +187,9 @@ blockquote {
th, td {
padding: 5px;
}
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
.remark-slide table:not(.table-unshaded) thead,
.remark-slide table:not(.table-unshaded) tfoot,
.remark-slide table:not(.table-unshaded) tr:nth-child(even) {
background: #073642;
}
table.dataTable tbody {

+ 3
- 1
tests/testthat/css/solarized_light.css Прегледај датотеку

@@ -187,7 +187,9 @@ blockquote {
th, td {
padding: 5px;
}
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
.remark-slide table:not(.table-unshaded) thead,
.remark-slide table:not(.table-unshaded) tfoot,
.remark-slide table:not(.table-unshaded) tr:nth-child(even) {
background: #eee8d5;
}
table.dataTable tbody {

+ 3
- 1
tests/testthat/css/xaringan.css Прегледај датотеку

@@ -186,7 +186,9 @@ blockquote {
th, td {
padding: 5px;
}
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) {
.remark-slide table:not(.table-unshaded) thead,
.remark-slide table:not(.table-unshaded) tfoot,
.remark-slide table:not(.table-unshaded) tr:nth-child(even) {
background: #eee;
}
table.dataTable tbody {

Loading…
Откажи
Сачувај