Alessandro Posted November 16, 2015 Share Posted November 16, 2015 Good morning, I wonder if I can change the intensity of the shadow, after I open a form in ShowModal or Message. Today the shadow is clear, however like to make it darker. Thank you. Link to comment Share on other sites More sharing options...
Sherzod Posted November 17, 2015 Share Posted November 17, 2015 Hi, Try: UniServerModule -> CustomCSS: .x-mask { opacity: 0.5; background: rgb(0, 0, 0) none repeat scroll 0% 0%; } Best regards. 2 Link to comment Share on other sites More sharing options...
Alessandro Posted November 17, 2015 Author Share Posted November 17, 2015 Hi, Try: UniServerModule -> CustomCSS: .x-mask { opacity: 0.5; background: rgb(0, 0, 0) none repeat scroll 0% 0%; } Best regards. Thanks Delphi Developer! Perfect! 1 Link to comment Share on other sites More sharing options...
artem_niko Posted March 1, 2020 Share Posted March 1, 2020 On 11/17/2015 at 5:26 PM, Sherzod said: Hi, Try: UniServerModule -> CustomCSS: .x-mask { opacity: 0.5; background: rgb(0, 0, 0) none repeat scroll 0% 0%; } Best regards. It working once, when server is running, but not working in anouther places. And I understand why... procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject); begin UniServerModule.CustomCSS.Clear; UniServerModule.CustomCSS.Add('.customHeader .x-group-sub-header, .customHeader .x-column-header {border: none;}'); UniServerModule.CustomCSS.Add('.customHeader .x-grid-td {vertical-align: middle;}'); UniServerModule.CustomCSS.Add('.x-mask {opacity: 0.5; background: rgb(0, 0, 0) none repeat scroll 0% 0%;}'); end; Link to comment Share on other sites More sharing options...
Sherzod Posted March 1, 2020 Share Posted March 1, 2020 2 hours ago, Артем said: And I understand why... Works now? Link to comment Share on other sites More sharing options...
artem_niko Posted March 1, 2020 Share Posted March 1, 2020 2 hours ago, Sherzod said: Works now? In top I say that wheb ScreenMask enable for, for examples, UniDBGrid, there ScreenMask ignore CSS from my code. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now