<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Css Overwrites existing feature within dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Css-Overwrites-existing-feature-within-dashboard/m-p/541368#M37095</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to CSS for creating Dashboard in Splunk Enterprise.&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to create a table type panel in a dashboard with background color as blue. But after applying css, I am unable to assign different color to different values in a column of table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For instance:&lt;/P&gt;&lt;P&gt;Table A&lt;/P&gt;&lt;P&gt;Column1 Column2 Column3&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ball&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; date1&lt;/P&gt;&lt;P&gt;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bat&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;date2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; want to color all "ball" in column2&amp;nbsp; as green and bat as red after changing background as Blue for table.&lt;BR /&gt;Please help&lt;/P&gt;</description>
    <pubDate>Thu, 25 Feb 2021 15:43:49 GMT</pubDate>
    <dc:creator>rony121</dc:creator>
    <dc:date>2021-02-25T15:43:49Z</dc:date>
    <item>
      <title>Css Overwrites existing feature within dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Css-Overwrites-existing-feature-within-dashboard/m-p/541368#M37095</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to CSS for creating Dashboard in Splunk Enterprise.&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to create a table type panel in a dashboard with background color as blue. But after applying css, I am unable to assign different color to different values in a column of table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For instance:&lt;/P&gt;&lt;P&gt;Table A&lt;/P&gt;&lt;P&gt;Column1 Column2 Column3&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ball&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; date1&lt;/P&gt;&lt;P&gt;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bat&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;date2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; want to color all "ball" in column2&amp;nbsp; as green and bat as red after changing background as Blue for table.&lt;BR /&gt;Please help&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 15:43:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Css-Overwrites-existing-feature-within-dashboard/m-p/541368#M37095</guid>
      <dc:creator>rony121</dc:creator>
      <dc:date>2021-02-25T15:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Css Overwrites existing feature within dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Css-Overwrites-existing-feature-within-dashboard/m-p/541379#M37098</link>
      <description>&lt;P&gt;What does your current Simple XML / CSS contain?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 16:43:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Css-Overwrites-existing-feature-within-dashboard/m-p/541379#M37098</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-02-25T16:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Css Overwrites existing feature within dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Css-Overwrites-existing-feature-within-dashboard/m-p/541481#M37126</link>
      <description>&lt;P&gt;&amp;lt;form&amp;gt;&lt;BR /&gt;&amp;lt;row&amp;gt;&lt;BR /&gt;&amp;lt;panel id="panel1"&amp;gt;&lt;BR /&gt;&amp;lt;table id="table1"&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Files Received&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;search&amp;gt;&lt;BR /&gt;&amp;lt;query&amp;gt;index=xyz sourcetype=abc | table column1, column2, column3"&amp;lt;/query&amp;gt;&lt;BR /&gt;&amp;lt;earliest&amp;gt;-24h&amp;lt;/earliest&amp;gt;&lt;BR /&gt;&amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;&lt;BR /&gt;&amp;lt;refresh&amp;gt;10m&amp;lt;/refresh&amp;gt;&lt;BR /&gt;&amp;lt;/table&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;/row&amp;gt;&lt;BR /&gt;&amp;lt;row&amp;gt;&lt;BR /&gt;&amp;lt;panel depends="$alwaysHideCSS$"&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;style&amp;gt;&lt;BR /&gt;#table1 .table th, .table td{ background-color: &lt;SPAN&gt;#000080&lt;/SPAN&gt; !important; border-color: #ffffff ; border-style: groove; border-width: 1px; }&lt;BR /&gt;#table2 .table th, .table tr{ background-color: &lt;SPAN&gt;#808080&amp;nbsp;&lt;/SPAN&gt;!important; border-color: #ffffff ; border-style: groove; border-width: 1px; }&lt;BR /&gt;#panel1.dashboard-panel, #panel1 .dashboard-panel {&lt;BR /&gt;background: &lt;SPAN&gt;#000080&amp;nbsp;&lt;/SPAN&gt;!important;&lt;BR /&gt;}&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;/row&amp;gt;&lt;BR /&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 09:10:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Css-Overwrites-existing-feature-within-dashboard/m-p/541481#M37126</guid>
      <dc:creator>rony121</dc:creator>
      <dc:date>2021-02-26T09:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Css Overwrites existing feature within dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Css-Overwrites-existing-feature-within-dashboard/m-p/541485#M37127</link>
      <description>&lt;LI-CODE lang="markup"&gt;        &amp;lt;format type="color"&amp;gt;
          &amp;lt;colorPalette type="expression"&amp;gt;case (match(value,"bat"), "#ff0000",match(value,"ball"),"#00ff00",true(),"#000080")&amp;lt;/colorPalette&amp;gt;
        &amp;lt;/format&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;And remove !important from the background&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 09:27:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Css-Overwrites-existing-feature-within-dashboard/m-p/541485#M37127</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-02-26T09:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Css Overwrites existing feature within dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Css-Overwrites-existing-feature-within-dashboard/m-p/542822#M37203</link>
      <description>&lt;P&gt;I tried this but somehow it is not reflected correctly.&amp;nbsp;&lt;BR /&gt;If I remove !important from background color, that css color is not reflected on table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 13:03:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Css-Overwrites-existing-feature-within-dashboard/m-p/542822#M37203</guid>
      <dc:creator>rony121</dc:creator>
      <dc:date>2021-03-08T13:03:51Z</dc:date>
    </item>
  </channel>
</rss>

