<?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: adding css to dashboard crashed dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339672#M22056</link>
    <description>&lt;P&gt;I actually cant add custom css files. my organization is very big and I dont have the privileges to add files.&lt;/P&gt;

&lt;P&gt;thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 17 Apr 2018 14:37:49 GMT</pubDate>
    <dc:creator>matansocher</dc:creator>
    <dc:date>2018-04-17T14:37:49Z</dc:date>
    <item>
      <title>adding css to dashboard crashed dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339666#M22050</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I added a bit of css to my dashboard in simple xml&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;html&amp;gt;
 &amp;lt;head&amp;gt;
     &amp;lt;style type="text/css"&amp;gt;
         .my-list ul {
           list-style-position: inside;
         }
     &amp;lt;/style&amp;gt;
 &amp;lt;/head&amp;gt;
 &amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;everytime I save the dashboard and refresh, it cannot load again, remains on the Loading ... grey screen.&lt;BR /&gt;
any idea why?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:45:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339666#M22050</guid>
      <dc:creator>matansocher</dc:creator>
      <dc:date>2018-04-17T13:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: adding css to dashboard crashed dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339667#M22051</link>
      <description>&lt;P&gt;I think you can't add this to the simple XML as it is not supported.&lt;BR /&gt;
You would have to convert your dashboard to a HTML view first.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:59:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339667#M22051</guid>
      <dc:creator>damien_chillet</dc:creator>
      <dc:date>2018-04-17T13:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: adding css to dashboard crashed dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339668#M22052</link>
      <description>&lt;P&gt;I dont want to convert it. is there any other way to add css?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:02:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339668#M22052</guid>
      <dc:creator>matansocher</dc:creator>
      <dc:date>2018-04-17T14:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: adding css to dashboard crashed dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339669#M22053</link>
      <description>&lt;P&gt;Put the CSS into a separate file and reference it from the simple xml (example taken from Wallboard dashboard in "Scalable Vector Graphics - Custom Visualization" app)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard stylesheet="svg:white_background.css" hideChrome="true" hideTitle="true"&amp;gt;
  &amp;lt;label&amp;gt;Wallboard&amp;lt;/label&amp;gt;
  &amp;lt;description&amp;gt;Dashboard designed to be displayed on large TVs&amp;lt;/description&amp;gt;
...
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.3/AdvancedDev/UseCSS"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.3/AdvancedDev/UseCSS&lt;/A&gt; covers the specifics&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:06:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339669#M22053</guid>
      <dc:creator>msivill_splunk</dc:creator>
      <dc:date>2018-04-17T14:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: adding css to dashboard crashed dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339670#M22054</link>
      <description>&lt;P&gt;I use something like this to change the size of my panels.  This only works at a panel level but I had no issue having my dashboard reload when I used it.  Maybe it will help get you closer?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;panel depends="$alwaysHideCSS$"&amp;gt;
      &amp;lt;html&amp;gt;
       &amp;lt;style&amp;gt;
          .my-list ul {
            list-style-position: inside;
          }
       &amp;lt;/style&amp;gt;
     stuff down here for the html in the panel
     &amp;lt;/html&amp;gt;
   &amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:14:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339670#M22054</guid>
      <dc:creator>kmaron</dc:creator>
      <dc:date>2018-04-17T14:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: adding css to dashboard crashed dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339671#M22055</link>
      <description>&lt;P&gt;Check answers below, I would put CSS in a separate file. @msivill has linked the relevant docs.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:18:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339671#M22055</guid>
      <dc:creator>damien_chillet</dc:creator>
      <dc:date>2018-04-17T14:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: adding css to dashboard crashed dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339672#M22056</link>
      <description>&lt;P&gt;I actually cant add custom css files. my organization is very big and I dont have the privileges to add files.&lt;/P&gt;

&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:37:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339672#M22056</guid>
      <dc:creator>matansocher</dc:creator>
      <dc:date>2018-04-17T14:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: adding css to dashboard crashed dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339673#M22057</link>
      <description>&lt;P&gt;I'm constantly seeing &lt;CODE&gt;depends="$alwaysHideCSS"&lt;/CODE&gt; and &lt;CODE&gt;depends="$hiddenForCSS$"&lt;/CODE&gt; .&lt;BR /&gt;
Can someone please explain this and provide some splunk  / css documentation on it?&lt;/P&gt;

&lt;P&gt;Plus when you use &lt;CODE&gt;.my-list ul {}&lt;/CODE&gt;, does that not require  you to define the token / identifier using &lt;CODE&gt;class&lt;/CODE&gt; keyword.&lt;BR /&gt;
As per CSS documentation when using CSS, if using &lt;CODE&gt;#&lt;/CODE&gt; as selector, we need to define the &lt;CODE&gt;id&lt;/CODE&gt; field correct?&lt;BR /&gt;
and the &lt;CODE&gt;.&lt;/CODE&gt; as selector needs &lt;CODE&gt;class&lt;/CODE&gt; keyword to be defined ?&lt;/P&gt;

&lt;P&gt;Can someone explain ?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 17:25:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/adding-css-to-dashboard-crashed-dashboard/m-p/339673#M22057</guid>
      <dc:creator>kashz</dc:creator>
      <dc:date>2019-04-18T17:25:12Z</dc:date>
    </item>
  </channel>
</rss>

