I'm creating Splunk dashboards. For my tables I have a style sheet called application.css that alternates the color of the table rows, per requirements. Unfortunately when using charts the highcharts-tooltip is basically a table and it is rendered with alternating colors for the rows. As a result the value row is a very light green background with white text. The text cannot be read.
It looks like the highcharts-tooltip is generated by a java script.
This is how the tooltip is rendered in the page:
<table class="highcharts-tooltip">
<tbody>
<tr>
<td style="text-align: left; color: rgb(204, 204, 204); max-width: 120.34px;"> WebPage: </td>
<td style="text-align: right; color: rgb(255, 255, 255); max-width: 504.65px;">\\x94/bla/bla/Browse.html\\x94</td>
</tr>
<tr>
<td style="text-align: left; color: rgb(30, 147, 198); max-width: 120.34px;">Hits: </td>
<td style="text-align: right; color: rgb(255, 255, 255); max-width: 504.65px;">12</td>
</tr>
<tr>
<td style="text-align: left; color: rgb(30, 147, 198); max-width: 120.34px;">Hits%: </td>
<td style="text-align: right; color: rgb(255, 255, 255); max-width: 504.65px;">24.49%</td>
</tr>
</tbody>
</table>
The second tr is the one that cannot be read. My question is, is there a way to override the alternating row colors in the tooltip using css in my application.css file so that the row is not rgb(255,255,255) but rgb(00,00,00)?
tror every secondtd? - Luca Regazzi