cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

How to add a shadow effect behind a value display in a mashup?

S_Elsayed
6-Contributor

How to add a shadow effect behind a value display in a mashup?

Hello,

 

I have a value display in a mashup:

S_Elsayed_0-1695576733233.png

Where I want it to have a shadow effect on runtime, to be similar to something that looks like this:

S_Elsayed_1-1695576875068.png

 

How can I do that?

 

Thank you in advance.

 

2 REPLIES 2

Hello,

 

In the mashups custom CSS tab enter

ptcs-value-display:not([aria-disabled=true]){
    box-shadow: #bbbbbb 0px 0px 16px;
}

This will render a CSS box-shadow on the value display. Modify as needed...

 

rogerjn_0-1695589482223.png

 

S_Elsayed
6-Contributor
(To:rogerjn)

Hi @rogerjn 

Thank you for your response.

 

I tried this, but it still did not work.

 

I even tried changing the CSS to add the id of the value widget to be like this:

#ptcsvaluedisplay-18:not([aria-disabled=true]){
    box-shadow: #bbbbbb 1px 1px 16px;
}

 where `ptcsvaluedisplay-18` is the id of the widget.

 

Could you please tell me if you have any ideas about why it's not working?

Top Tags