Page 1 of 1

Please help can't change a collapsable background

Posted: Wed Jun 18, 2014 12:26 am
by Carlos Castillo6909856

I did this on the CSS
FondoPres

[name=mobilecollapsblockheader_70] .ui-btn-inner {
background-color: #dd9933;
}
[name=mobilecollapsblockheader_70] .ui-btn-inner:hover {
background-color: #dd9933;
}

but does nothing, what ma I doing wrong?


Please help can't change a collapsable background

Posted: Wed Jun 18, 2014 1:32 am
by Yurii Orishchuk

Hi Carlos.

Please specify: what Appery.io libraries version you are using?

Also if you using v2.0 you can use following CSS code:

pre

html head + body [name=mobilecollapsblockheader_70] .ui-btn {
background-color: #dd9933;
}
html head + body [name=mobilecollapsblockheader_70] .ui-btn:hover {
background-color: #ff9933;
}

/pre

Regards.


Please help can't change a collapsable background

Posted: Wed Jun 18, 2014 9:56 pm
by Carlos Castillo6909856

It did not work!

Why????

My proyect
user/projects/45bccb8f-033f-4f29-8206-4fac54d332f2/openNewEditor


Please help can't change a collapsable background

Posted: Wed Jun 18, 2014 10:03 pm
by Carlos Castillo6909856

I solved this with
Appery("mobilecollapsblockheader_70").css('background-color', '#dfe907');

and run a Java script when open panel

But isn't there an easier way of doing this????

Is jus a backround color change....


Please help can't change a collapsable background

Posted: Thu Jun 19, 2014 1:05 am
by Yurii Orishchuk

Hi Carlos,

Did you change in CSS code "mobilecollapsblockheader_70" with name of your component?:

pre

/* note you should replse "mobilecollapsblockheader_70" with your mobileCollapsioleBlockHeader component name */
html head + body [name=mobilecollapsblockheader_70] .ui-btn {
background-color: #dd9933;
}
html head + body [name=mobilecollapsblockheader_70] .ui-btn:hover {
background-color: #ff9933;
}

/pre

If not - please do it.

If so - please give us your app public link and describe steps to reproduce this problem.

Regards.


Please help can't change a collapsable background

Posted: Thu Jun 19, 2014 2:20 pm
by Carlos Castillo6909856

Ok

Thank you very much

Actually you where right, I did the changes and woke very well, any way it would help more to have a panel of color embedded into the dashboard to easily change does kind of parameter like the once you already have in some tools like Grid.

Any way it did worked fine.

Best


Please help can't change a collapsable background

Posted: Thu Jun 19, 2014 11:48 pm
by Yurii Orishchuk

Hi Carlos,

Thanks for your update and suggestion.

Regards.