CSS Style for button

75 views
Skip to first unread message

Akshara Romesh

unread,
Oct 19, 2020, 4:52:03 AM10/19/20
to iDempiere
Hi Team,

I want to add CSS Style on button in a window so I have written a code in Test Idempiere for button and attched CSS File to button .
But it dosent give me any result.
Please give some ideas to add CSS for buttons also.
Code written:
button5{
 display:inline-block;
 padding:0.46em 1.6em;
 border:0.1em solid #000000;
 margin:0 0.2em 0.2em 0;
 border-radius:0.12em;
 box-sizing: border-box;
 text-decoration:none;
 font-family:'Roboto',sans-serif;
 font-weight:300;
 color:#000000;
 text-shadow: 0 0.04em 0.04em rgba(0,0,0,0.35);
 background-color:#FFFFFF;
 text-align:center;
 transition: all 0.15s;
}


Thanks 
Akshara

Carlos Antonio Ruiz Gomez

unread,
Oct 19, 2020, 5:21:18 AM10/19/20
to idem...@googlegroups.com
Hi, were you trying it in test.idempiere.org?

If yes, I changed your test to this in the "Inline Style"

display:inline-block;
padding:0.46em 1.6em;
border:0.1em solid #000000;
margin:0 0.2em 0.2em 0;
border-radius:0.12em;
box-sizing: border-box;
text-decoration:none;
font-family:'Roboto',sans-serif;
font-weight:300; color:#000000;
text-shadow: 0 0.04em 0.04em rgba(0,0,0,0.35);
background-color:#FFFFFF;
text-align:center;
transition: all 0.15s;


This is, without the "button5{" notation - and now the button in RfQ
window is shown different - is that what you are looking for?

Regards,

Carlos Ruiz



El 19/10/20 a las 10:52 a. m., Akshara Romesh escribió:

Akshara Romesh

unread,
Oct 19, 2020, 7:34:47 AM10/19/20
to iDempiere
Hi Carlos,

Thanks for the Efforts  I needed the same as above.

Thanks
Akshara
Reply all
Reply to author
Forward
0 new messages