Fábio Matte Posted June 15, 2018 Posted June 15, 2018 How do I put a CSS code to customize a Unimpanel? I've tried to put the same I do with LABEL but it did not work Quote
Fábio Matte Posted June 15, 2018 Author Posted June 15, 2018 Which build and edition do you use? Version 1.10.0.1466 Quote
Fábio Matte Posted June 15, 2018 Author Posted June 15, 2018 What about cls/bodyCls... ... www/css/customcss.css .AbasteceTitPanel { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; padding: 5px; border: none; background: -webkit-linear-gradient(-90deg, rgba(242,157,140,1) 0, rgba(242,121,96,1) 100%); background: -moz-linear-gradient(180deg, rgba(242,157,140,1) 0, rgba(242,121,96,1) 100%); background: linear-gradient(180deg, rgba(242,157,140,1) 0, rgba(242,121,96,1) 100%); background-repeat: repeat-x; background-position: 100% 100%; -webkit-background-origin: padding-box; background-origin: padding-box; -webkit-background-clip: border-box; background-clip: border-box; -webkit-background-size: auto auto; background-size: auto auto; -webkit-box-shadow: 5px 5px 8px 2px rgba(0,0,0,0.4) ; box-shadow: 5px 5px 8px 2px rgba(0,0,0,0.4) ; } Quote
Sherzod Posted June 15, 2018 Posted June 15, 2018 UnimPanel -> ClientEvents -> UniEvents -> function beforeInit(sender, config) { config.cls = 'AbasteceTitPanel' } Quote
powergov Posted June 16, 2018 Posted June 16, 2018 if replace unimpanel to unimcontainerpanel,it is right Quote
shawdown Posted June 16, 2018 Posted June 16, 2018 .FormsPanelsPadrao1{ background: #628290 !important; /**/ padding: 6px 0px 6px 0px; /* espaços top right bottom left */ color:#ffffff !important; -webkit-text-fill-color:#ffffff !important; font: 14px Tahoma, Helvetica, sans-serif !important; font-weight:bold !important; } CSS above works. I just could not get the "text-align: left;" Quote
Sherzod Posted June 16, 2018 Posted June 16, 2018 Hi, .FormsPanelsPadrao1{ background: #628290 !important; /**/ padding: 6px 0px 6px 0px; /* espaços top right bottom left */ color:#ffffff !important; -webkit-text-fill-color:#ffffff !important; font: 14px Tahoma, Helvetica, sans-serif !important; font-weight:bold !important; } CSS above works. I just could not get the "text-align: left;" Sorry, can you explain in more detail? Quote
Sherzod Posted June 16, 2018 Posted June 16, 2018 Hi, I have the same problem! Sorry, what problem do you have? Quote
shawdown Posted June 17, 2018 Posted June 17, 2018 Hi, Sorry, can you explain in more detail? Hello Delphi Developer. I was just mentioning to colleagues that I was able to make some changes to uniPanel and I posted my CSS. And I took the opportunity to mention that the only property I could not change via CSS was "text-align". I have no problem. =) Quote
Sherzod Posted June 17, 2018 Posted June 17, 2018 Hello Delphi Developer. I was just mentioning to colleagues that I was able to make some changes to uniPanel and I posted my CSS. And I took the opportunity to mention that the only property I could not change via CSS was "text-align". I have no problem. =) OK, Sorry to have bothered you. Quote
Fábio Matte Posted June 19, 2018 Author Posted June 19, 2018 UnimPanel -> ClientEvents -> UniEvents -> function beforeInit(sender, config) { config.cls = 'AbasteceTitPanel' } Thank you, that worked properly. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.