Jump to content

Recommended Posts

Posted

Hi

i not found what do it:

all interface content placed to Unipanel disabled if disabled panel. Great.

What way to disable SAHADOW(change color) of disabled panel?

Posted

i see it

 

1. UniServerModule.CustomCSS:

._x-item-disabled .x-form-field {
    opacity: 1;
    -moz-opacity: 1;
    filter: alpha(opacity=100);
    color: black;
    background: lime;
}

2. UniDBEdit->ClientEvents->UniEvents-> beforeInit fn:

function beforeInit(sender, config)
{
    config.disabledCls = "_x-item-disabled";
}

ok. i change color of edit control. I not found way for NOT change panel color  if enable - disable it

Posted

Sorry. found

1. UniServerModule.CustomCSS: .

_x-item-disabled .x-form-item-label, .x-item-disabled .x-form-trigger, .x-item-disabled .x-form-field,  .x-panel, .x-item-disabled
{

 filter: alpha(opacity=100);
   opacity: 1;
     color: blue;
    background: white;

}

._x-item-disabled  .x-mask {
    background: white;
    opacity: 0.0;
}

2. UniDBEdit->ClientEvents->UniEvents-> beforeInit fn:

function beforeInit(sender, config)
{
    config.disabledCls = "_x-item-disabled";
}
  • Like 1
  • Upvote 1

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