+ Start a Discussion
guest1231231guest1231231 

Salesforce CSS Colors

What are the standard Salesforce CSS Colors for the tabs?

 

-Thanks

 

 

<style>
      .activeTab {
        background-color: ????;
        color:white;
        background-image:none
      }
      .inactiveTab {
        background-color: ????;
        color:black;
        background-image:none
      }
</style>

 

 

Best Answer chosen by Admin (Salesforce Developers) 
SSRS2SSRS2

Standard Salesforce CSS Colors for the tabs

 

accountTab -  background-color: #236FBD;

opportunityTab - background-color:#E5C130;

 

..etc

 

You can get standard style classes by viewing page source your VF page.

In my instance Standard Css

 

-Suresh

All Answers

SSRS2SSRS2

Standard Salesforce CSS Colors for the tabs

 

accountTab -  background-color: #236FBD;

opportunityTab - background-color:#E5C130;

 

..etc

 

You can get standard style classes by viewing page source your VF page.

In my instance Standard Css

 

-Suresh

This was selected as the best answer
Pradeep_NavatarPradeep_Navatar

Use this CSS Color for the tabs:

 

            <style>

                .activeTab {background-color: #236FBD; color:white;

                 background-image:none}

                .inactiveTab { background-color: lightgrey; color:black;

                 background-image:none}

          </style>

 

Hope this helps.

guest1231231guest1231231

Awesome, thanks.