Jump to content

Transparent login form without borders


d.bernaert

Recommended Posts

Hello,

I have the following login screen.

I have been able to make it transparent using the following code:

.frmLogin .x-window-body

{

  background-color: transparent !important;

}

and calling config.baseCls='frmLogin' in the beforeInit of the window.

Now I would like to remove the remaining border, how could I do this?

Thx,

Dominique

Capture.PNG

  • Like 1
Link to comment
Share on other sites

  • 1 year later...
On 4/26/2019 at 4:43 AM, Hayri ASLAN said:

Can you test this


  with WebForm, JSInterface do
  begin
    JSCallGlobal('Ext.util.CSS.createStyleSheet',['#'+WebForm.JSName+'_id .x-css-shadow { box-shadow: none !important;}']);
  end;

 

Hello!

I was try you solution, but no effect:

procedure TUniLoginForm1.UniLoginFormReady(Sender: TObject);
begin
  with WebForm, JSInterface do
  begin
    JSCallGlobal('Ext.util.CSS.createStyleSheet',['#'+WebForm.JSName+'_id .x-css-shadow { box-shadow: none !important;}']);
  end;
end;

image.png.53123e1ee5160ac0441f29afff6eee57.png

 

Form is transparent, but border still stay...

Link to comment
Share on other sites

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...