<?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 to change background colour on click tab active in splunk dashboard? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-background-colour-on-click-tab-active-in-splunk/m-p/683119#M55897</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/205249"&gt;@karthi2809&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Try this CSS:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#input_link_split_by {width:fit-content!important;}
#input_link_split_by.input-link button{
    width: fit-content!important;
    margin-right:2px;
    background-color: #3c444d;
    border-top-color: #3c444d;
    border-top-style: solid;
    border-top-width: 1px;
    border-right-color: #3c444d;
    border-right-style: solid;
    border-right-width: 1px;
    border-left-color:#3c444d;
    border-left-style: solid;
    border-left-width: 1px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: background-color 0.5s ease;
    transition: border-color 0.5s ease;
}


#input_link_split_by button:hover{
    background-color:#d2e3a0;
    border-right-color: #d2e3a0;
    border-top-color:#d2e3a0;
    border-left-color:#d2e3a0;
    color: black;
}

#input_link_split_by button[aria-checked="true"]{
    background-color: #d2e3a0;
    color: black;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That gives you tabs that keep their colour after you have selected them:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danspav_0-1712190148752.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30182iD707FBE5C118A018/image-size/large?v=v2&amp;amp;px=999" role="button" title="danspav_0-1712190148752.png" alt="danspav_0-1712190148752.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The key bit is:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#input_link_split_by button[aria-checked="true"]&lt;/LI-CODE&gt;&lt;P&gt;Which is the CSS to identify a selected tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Spav&lt;/P&gt;</description>
    <pubDate>Thu, 04 Apr 2024 00:24:55 GMT</pubDate>
    <dc:creator>danspav</dc:creator>
    <dc:date>2024-04-04T00:24:55Z</dc:date>
    <item>
      <title>How to change background colour on click tab active in splunk dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-background-colour-on-click-tab-active-in-splunk/m-p/680269#M55712</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;How to changes background colour when i am click on the tab should be active.Now its showing active on click.But now i want to change the background colour as well on clicking on the tab.&lt;/P&gt;&lt;PRE&gt;          #input_link_split_by.input-link button{
            width: 120px !important;
            border-top-color: rgb(255, 255, 255);
            border-top-style: solid;
            border-top-width: 1px;
            border-right-color: rgb(255, 255, 255);
            border-right-style: solid;
            border-right-width: 1px;
            border-left-color: rgb(255, 255, 255);
            border-left-style: solid;
            border-left-width: 1px;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
          }&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Mar 2024 11:20:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-background-colour-on-click-tab-active-in-splunk/m-p/680269#M55712</guid>
      <dc:creator>karthi2809</dc:creator>
      <dc:date>2024-03-11T11:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to change background colour on click tab active in splunk dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-background-colour-on-click-tab-active-in-splunk/m-p/683119#M55897</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/205249"&gt;@karthi2809&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Try this CSS:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#input_link_split_by {width:fit-content!important;}
#input_link_split_by.input-link button{
    width: fit-content!important;
    margin-right:2px;
    background-color: #3c444d;
    border-top-color: #3c444d;
    border-top-style: solid;
    border-top-width: 1px;
    border-right-color: #3c444d;
    border-right-style: solid;
    border-right-width: 1px;
    border-left-color:#3c444d;
    border-left-style: solid;
    border-left-width: 1px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: background-color 0.5s ease;
    transition: border-color 0.5s ease;
}


#input_link_split_by button:hover{
    background-color:#d2e3a0;
    border-right-color: #d2e3a0;
    border-top-color:#d2e3a0;
    border-left-color:#d2e3a0;
    color: black;
}

#input_link_split_by button[aria-checked="true"]{
    background-color: #d2e3a0;
    color: black;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That gives you tabs that keep their colour after you have selected them:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danspav_0-1712190148752.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30182iD707FBE5C118A018/image-size/large?v=v2&amp;amp;px=999" role="button" title="danspav_0-1712190148752.png" alt="danspav_0-1712190148752.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The key bit is:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#input_link_split_by button[aria-checked="true"]&lt;/LI-CODE&gt;&lt;P&gt;Which is the CSS to identify a selected tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Spav&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 00:24:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-background-colour-on-click-tab-active-in-splunk/m-p/683119#M55897</guid>
      <dc:creator>danspav</dc:creator>
      <dc:date>2024-04-04T00:24:55Z</dc:date>
    </item>
  </channel>
</rss>

