Просмотр исходного кода

Minimally fix dataTable styles to match slides

tags/v0.1.1
Garrick Aden-Buie 8 лет назад
Родитель
Сommit
1c3937c93d
1 измененных файлов: 19 добавлений и 0 удалений
  1. +19
    -0
      inst/resources/template.css

+ 19
- 0
inst/resources/template.css Просмотреть файл

table thead th { border-bottom: 1px solid {{table_row_border_color}}; } table thead th { border-bottom: 1px solid {{table_row_border_color}}; }
th, td { padding: 5px; } th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: {{table_row_even_background_color}} } thead, tfoot, tr:nth-child(even) { background: {{table_row_even_background_color}} }
table.dataTable tbody {
background-color: {{background_color}};
color: {{text_color}};
}
table.dataTable.display tbody tr.odd {
background-color: {{background_color}};
}
table.dataTable.display tbody tr.even {
background-color: {{ifelse(!is.na(table_row_even_background_color), table_row_even_background_color, background_color)}};
}
table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
background-color: rgba(255, 255, 255, 0.5);
}
.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
color: {{text_color}};
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
color: {{text_color}} !important;
}


@page { margin: 0; } @page { margin: 0; }
@media print { @media print {

Загрузка…
Отмена
Сохранить