cancel
Showing results for 
Search instead for 
Did you mean: 

How to change color on tabstrip top area?

Former Member
0 Kudos

Hi experts

 

We would like to change the color on the top area of the tab strip component in our css file. Is this possible?

 

Kind regards

Erik

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Erik,

yes, that should be possible in Design Studio 1.1 according to following tutorial:

http://scn.sap.com/docs/DOC-41398

You could then use for instance the element sapUiTabBarCnt (gray) and sapUiTabSel (red) as in this example:

Best regards,

Victor

Former Member
0 Kudos

Hi Victor

This looks promising Where do you manage to find information about the objects

sapUiTabBarCnt and sapUiTabSel ?

Kind regards

Erik

Former Member
0 Kudos

Hi Erik,

you can inspect the current css in Chrome or Firefox, you might need an extension for that e.g. Firebug for Mozilla's Firefox.

Best regards,

Victor

murali_balreddy2
Active Participant
0 Kudos

Does Firebug extension help you modify the component at the Design Studio level adjusting the CSS or just at the individual browser level, more like personalization?

Thanks.

Former Member
0 Kudos

Hi,

Sorry for the late reply.

Just at the browser level, but you can use the code generated there to create your own custom css.

Best regards,

Victor

Former Member
0 Kudos

Hi Victor,

can you please post the code from your sample.

Thanks,

Stefan

Former Member
0 Kudos

Hi Stefan,

with the following css you change the uper corner of the active tab to red:

.sapUiTabBarCnt .sapUiTabSel {
    background-color: #FF0000;

}

If you would like to change the font-weight, or something else, too, you could use

.sapUiTabBarCnt .sapUiTabSel {

    background-color: #FF0000;
    font-weight:bold;

}

Greets,

Ben

Answers (1)

Answers (1)

TammyPowlas
Active Contributor
0 Kudos

I don't see how you can do that by looking at the tab strip properties

It looks like you can only change the themes