Hi there,
I have an issue where I have a table thats initially has white text(in dark mode) as it should.. but if i enable drilldown on the table - all entries have blue text instead of standard white
Any idea how to stop this from changing - I just want white text.
Thanks!
@mwdbhyat seems like you need to disable hyperlink color blue which is applied on table with drilldown by default. You can refer to a similar post (without "dark mode") and apply similar CSS extension (to convert text color to white instead of black). Add the following code to your dashboard where table id="tableWithDrilldown"
<row depends="$alwaysHideCSSPanel$">
<panel>
<html>
<style>
#tableWithDrilldown table tbody tr td,#tableWithDrilldown table thead th a{
color: white !important;
}
</style>
</html>
</panel>
</row>
https://answers.splunk.com/answers/661140/how-can-i-use-drilldown-in-one-cell-and-hide-the-m.html
My experience was different and it worked as expected with my drilldowns. What version of Splunk are you on? How are you enabling dark mode? Are you calling dark.css? Is that standard or did you modify it? Is there any dashboard/drilldown code you can share? What did you try to change it? Does your drilldown panel have a custom ID?
@mwdbhyat seems like you need to disable hyperlink color blue which is applied on table with drilldown by default. You can refer to a similar post (without "dark mode") and apply similar CSS extension (to convert text color to white instead of black). Add the following code to your dashboard where table id="tableWithDrilldown"
<row depends="$alwaysHideCSSPanel$">
<panel>
<html>
<style>
#tableWithDrilldown table tbody tr td,#tableWithDrilldown table thead th a{
color: white !important;
}
</style>
</html>
</panel>
</row>
https://answers.splunk.com/answers/661140/how-can-i-use-drilldown-in-one-cell-and-hide-the-m.html
Awesome!..Thanks!
I tried many of these examples and it simply DOES NOT work. At all. Style referred with "id" does not redefine color within a table cell at all.
I found the problem. 7.3.3 has a bug. Splunk, please release better code and invest into quality.
https://answers.splunk.com/answers/789945/how-to-include-css-in-dashboards-with-the-latest-s.html