<?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 module SubmitButton color in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/module-SubmitButton-color/m-p/108376#M6121</link>
    <description>&lt;P&gt;Is there a way to control the color of the module SubmitButton?  I would like to change the color of the button from the standard green to another color.&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2011 15:15:20 GMT</pubDate>
    <dc:creator>fresned</dc:creator>
    <dc:date>2011-05-24T15:15:20Z</dc:date>
    <item>
      <title>module SubmitButton color</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/module-SubmitButton-color/m-p/108376#M6121</link>
      <description>&lt;P&gt;Is there a way to control the color of the module SubmitButton?  I would like to change the color of the button from the standard green to another color.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2011 15:15:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/module-SubmitButton-color/m-p/108376#M6121</guid>
      <dc:creator>fresned</dc:creator>
      <dc:date>2011-05-24T15:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: module SubmitButton color</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/module-SubmitButton-color/m-p/108377#M6122</link>
      <description>&lt;P&gt;You can use CSS to change the SubmitButton color.  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;.splButton-primary {
    background-color: #FFFFFF;
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You would place this in &lt;A href="http://www.splunk.com/base/Documentation/latest/Developer/UseCSS"&gt;application.css or dashboard specific CSS&lt;/A&gt;.  You may generally use Firebug or a similar tool to discover the classes to manipulate.  &lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2011 15:28:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/module-SubmitButton-color/m-p/108377#M6122</guid>
      <dc:creator>bwooden</dc:creator>
      <dc:date>2011-05-24T15:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: module SubmitButton color</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/module-SubmitButton-color/m-p/108378#M6123</link>
      <description>&lt;P&gt;Certainly. It's easy once you're familiar with using custom CSS in Splunk. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Developer/UseCSS"&gt;http://www.splunk.com/base/Documentation/latest/Developer/UseCSS&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;In your app, place an application.css file at &lt;CODE&gt;$SPLUNK_HOME/etc/apps/&amp;lt;appname&amp;gt;/appserver/static/application.css&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;and put this in it.  Now you get to do the fun part, which is picking the hex colors. One color for the default button and one for the hover state --  I deliberately picked two greys below.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;.splButton-primary,
input.searchButton {
    background-color:#666666
}
.splButton-primary:hover,
input.searchButton:hover {
    background-color:#999999;
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 May 2011 15:29:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/module-SubmitButton-color/m-p/108378#M6123</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2011-05-24T15:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: module SubmitButton color</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/module-SubmitButton-color/m-p/108379#M6124</link>
      <description>&lt;P&gt;Hover 4tw!&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2011 15:36:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/module-SubmitButton-color/m-p/108379#M6124</guid>
      <dc:creator>bwooden</dc:creator>
      <dc:date>2011-05-24T15:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: module SubmitButton color</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/module-SubmitButton-color/m-p/108380#M6125</link>
      <description>&lt;P&gt;hehe.  Yea you have to set hover too or else splunk's default green hover rule will still apply and then users with a history of epilepsy will have to stay away.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2011 15:57:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/module-SubmitButton-color/m-p/108380#M6125</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2011-05-24T15:57:24Z</dc:date>
    </item>
  </channel>
</rss>

