Skip to main content
Best answer by cmorfin

Hi @Janakiraman-P 

 

The Style Theme does apply to the whole mashup, so if you have other buttons elsewhere in the Mashup, then they will also inherit this style.

There are a few options though:

- the Confirmation popup uses the Primary and Danger button type, so you can apply a different button type to the other buttons in the mashup and set a different style.

- You can also apply a specific style in Style Properties of the other button to override the Style Theme

 

Hope this helps

Kind regards

Christophe

 

 

1 reply

5-Regular Member
May 3, 2021

Hi @Janakiraman-P 

 

Could you possibly share a screenshot where you want to apply the CSS

 

Regards,

Toolika Dixit

1-Visitor
May 4, 2021

 Hi @tdixit ,

 

thanks.

 

Janakiraman-P_0-1620102906413.png

 

I want to apply custom css on this confirmation box popup.

Could you please tell how to apply CSS to the buttons?

 

--

Janakiraman P

 

5-Regular Member
May 4, 2021

Hi @Janakiraman-P 

 

Your use case is not clear what type of changes you need to see on your buttons with custom CSS.

 

But, here is an example of how a custom css can be applied on buttons

 

Custom CSS for button

  • .widget-ptcsbutton::part(root){
      padding:0px !important;
    }
  • /* Button*/
    .widget-ptcsbutton::part(label) {
    font-family:'Roboto','Noto Sans CJK', sans-serif;
    font-weight:normal;
    }