Skip to Content

CSS for Button to change the icon color and spacing.

Hi All,

1. Can someone please help with the CSS to change the color of icon of a button.

This is how it looks by default:

But I would like it to be in a different color like this with color code : #CF4520


2. Also, I am using the following buttons in my report

Information to the left, Export to the right and Undo, Reset,Switch Display,Display Panel in between.

I have used a grid layout for spacing, but somehow the buttons in between are not centre aligned all the times when executed from different screen resolutions.Can someone please suggest how to centre align all the four buttons.

Thanks.

Poojitha

button.png (717 B)
button.png (684 B)
button.png (4.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 31, 2018 at 07:57 AM

    This has been resolved using the below:

    .sapMBtnIcon
    {
    color: #CF4520;
    }
    
    
    
    Add comment
    10|10000 characters needed characters exceeded