<?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 Re: How can I customize my dashboard using CSS? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-customize-my-dashboard-using-CSS/m-p/373997#M24454</link>
    <description>&lt;P&gt;@  niketnilay &lt;/P&gt;

&lt;P&gt;Yes it works only on giving the row and panel syntax.&lt;/P&gt;

&lt;P&gt;Thank you for your support!&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2017 10:53:49 GMT</pubDate>
    <dc:creator>Nadhiya123</dc:creator>
    <dc:date>2017-10-05T10:53:49Z</dc:date>
    <item>
      <title>How can I customize my dashboard using CSS?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-customize-my-dashboard-using-CSS/m-p/373994#M24451</link>
      <description>&lt;P&gt;How to hide the time option in the dashboard without using the css  but should function in the background ?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 13:41:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-customize-my-dashboard-using-CSS/m-p/373994#M24451</guid>
      <dc:creator>Nadhiya123</dc:creator>
      <dc:date>2017-10-04T13:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I customize my dashboard using CSS?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-customize-my-dashboard-using-CSS/m-p/373995#M24452</link>
      <description>&lt;P&gt;@Nadhiya123, can you please add more information for your requirement? Do you want to Hide the Time Picket Input? Do you want to do it with or without CSS? Do you want to toggle between hide and show option? Because, if you want to always hide the Time Picker it is better to use static time in your searches.&lt;/P&gt;

&lt;P&gt;Which version of Splunk are you using? Since, from Splunk 6.5 onward all Splunk dashboard inputs can be hidden using &lt;CODE&gt;Hide Filters&lt;/CODE&gt; link which is available by default when Form inputs are added to the Dashboard.&lt;/P&gt;

&lt;P&gt;If not you can use &lt;CODE&gt;depends&lt;/CODE&gt; attribute to hide a Splunk element like Time Picker using a token which is never set in the dashboard. Following is a dummy dashboard for example.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Hide Time Picker&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;input depends="$alwaysHideTimePicker$" type="time" token="tokTime"&amp;gt;
        &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
        &amp;lt;default&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/default&amp;gt;
      &amp;lt;/input&amp;gt;
      &amp;lt;html&amp;gt;
        Earliest : $tokTime.earliest$ Latest: $tokTime.latest$ 
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Oct 2017 16:34:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-customize-my-dashboard-using-CSS/m-p/373995#M24452</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-10-04T16:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I customize my dashboard using CSS?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-customize-my-dashboard-using-CSS/m-p/373996#M24453</link>
      <description>&lt;P&gt;Hi  @niketnilay , &lt;/P&gt;

&lt;P&gt;I have tried both ways.&lt;BR /&gt;
 1. .&lt;BR /&gt;
2. hideFilters='true'&lt;/P&gt;

&lt;P&gt;Its working for other input types except time option .Exactly I need to hide the time input in the dashboard. I don't want my users to change the time. Thats my requirement.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 10:49:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-customize-my-dashboard-using-CSS/m-p/373996#M24453</guid>
      <dc:creator>Nadhiya123</dc:creator>
      <dc:date>2017-10-05T10:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I customize my dashboard using CSS?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-customize-my-dashboard-using-CSS/m-p/373997#M24454</link>
      <description>&lt;P&gt;@  niketnilay &lt;/P&gt;

&lt;P&gt;Yes it works only on giving the row and panel syntax.&lt;/P&gt;

&lt;P&gt;Thank you for your support!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 10:53:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-customize-my-dashboard-using-CSS/m-p/373997#M24454</guid>
      <dc:creator>Nadhiya123</dc:creator>
      <dc:date>2017-10-05T10:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can I customize my dashboard using CSS?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-customize-my-dashboard-using-CSS/m-p/373998#M24455</link>
      <description>&lt;P&gt;I'm constantly seeing depends="$alwaysHideCSS" and depends="$hiddenForCSS$" .&lt;BR /&gt;
Can someone please explain this and provide some splunk / css documentation on it?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 17:26:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-customize-my-dashboard-using-CSS/m-p/373998#M24455</guid>
      <dc:creator>kashz</dc:creator>
      <dc:date>2019-04-18T17:26:59Z</dc:date>
    </item>
  </channel>
</rss>

