Marco Hsu Posted October 12, 2020 Posted October 12, 2020 my css code: .EDT_login{ border-style: none none groove none; border-width: 1px; border-color: #3EC4ED; #box-shadow: 0px 1px 3px #BEE2F9; background-image: none; }
x11 Posted October 13, 2020 Posted October 13, 2020 set EDT_login to unimEdit1.LayoutConfig.Cls property put your css code in file program.exe\files\css\custommob.css and then load css-file in mainmodule: procedure TUniMainModule.LoadScriptCSS; begin if upMobile in UniMainModule.UniPlatforms then UniSession.AddJS('Ext.Loader.loadScript("/files/css/custommob.css")'); //if upDesktop in UniMainModule.UniPlatforms then // UniSession.AddJS('Ext.Loader.loadScript("/files/css/custom.css")'); end; // BeforeLogin or in MainModuleCreate procedure TUniMainModule.UniGUIMainModuleBeforeLogin(Sender: TObject; var Handled: Boolean); begin LoadScriptCSS; ... ... end;
Marco Hsu Posted October 16, 2020 Author Posted October 16, 2020 On 10/13/2020 at 4:14 PM, x11 said: set EDT_login to unimEdit1.LayoutConfig.Cls property put your css code in file program.exe\files\css\custommob.css and then load css-file in mainmodule: procedure TUniMainModule.LoadScriptCSS; begin if upMobile in UniMainModule.UniPlatforms then UniSession.AddJS('Ext.Loader.loadScript("/files/css/custommob.css")'); //if upDesktop in UniMainModule.UniPlatforms then // UniSession.AddJS('Ext.Loader.loadScript("/files/css/custom.css")'); end; // BeforeLogin or in MainModuleCreate procedure TUniMainModule.UniGUIMainModuleBeforeLogin(Sender: TObject; var Handled: Boolean); begin LoadScriptCSS; ... ... end; My code is error; The unimEdit's border is still exist; Could you tell me How to Remove the Left、Top and Right border?
x11 Posted October 16, 2020 Posted October 16, 2020 https://www.google.com/search?client=firefox-b-d&q=css+Remove+the+Left+Top+and+Right+border and http://forums.unigui.com/index.php?/topic/15304-unidatetimepicker-border-css/
Recommended Posts