Dashboards & Visualizations

How to change default button background color?

strkwer
Engager

Hi

I like to change the submit button default background color from green and font style, please help me that.

Thanks

Tags (2)
0 Karma
1 Solution

vnravikumar
Champion

Hi

Try with the following CSS and modify it accordingly

<form>
  <label>submitbutton</label>
  <fieldset submitButton="true">
    <input type="text" token="field1">
      <label>field1</label>
    </input>
  </fieldset>
  <row depends="$hide$">
    <html>
      <style>
      #submit .btn-primary {
        font-family: monospace;
        background-color: #4048a5 !important;
      }
      </style>
    </html>
  </row>
</form>

View solution in original post

vnravikumar
Champion

Hi

Try with the following CSS and modify it accordingly

<form>
  <label>submitbutton</label>
  <fieldset submitButton="true">
    <input type="text" token="field1">
      <label>field1</label>
    </input>
  </fieldset>
  <row depends="$hide$">
    <html>
      <style>
      #submit .btn-primary {
        font-family: monospace;
        background-color: #4048a5 !important;
      }
      </style>
    </html>
  </row>
</form>
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...