PDA

View Full Version : [CLOSED] BodyStyle Transparent



softmachine2011
Jul 24, 2012, 7:07 AM
Hi,

I see that in your examples like http://examples2.ext.net/#/Form/Miscellaneous/Form_View/ use this tag



BodyStyle="background-color:transparent"


This is very repetitive and I tried to use this that seems to work fine like a workaround.



.x-panel-body-default:not(.x-grid-row-editor):not(.x-grid-body):not(.x-menu-body)
{
background-color: transparent !important;
}


Is there any other way to perform this or is it a correct solution?

Because without any of these patch there is a white square in the middle of every panel.

Daniil
Jul 24, 2012, 9:50 AM
Hi,

Your solution looks good. But, I am afraid, you might get something transparent that you don't really need to be transparent.

Personally, I would prefer to set up transparent using the BodyCls property.

BodyCls="transparent-body"

<style type="text/css">
.transparent-body {
background-color: transparent !important;
}
</style>

softmachine2011
Jul 25, 2012, 6:46 AM
Ok thanks for your opinion