Jump to content

Recommended Posts

Posted

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.

post-2783-0-66663700-1447681333_thumb.png

Posted

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!

  • Like 1
  • 4 years later...
Posted
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;

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...