Skip to content
This repository has been archived by the owner on Oct 9, 2018. It is now read-only.

Buttons highlight customization? #1022

Closed
MerrickZ opened this issue Jun 1, 2014 · 2 comments
Closed

Buttons highlight customization? #1022

MerrickZ opened this issue Jun 1, 2014 · 2 comments

Comments

@MerrickZ
Copy link

MerrickZ commented Jun 1, 2014

the normal button is rendered using highlight color,
well
I tried to give some warning button a red background
but I found that the style attribute is overrided by bbui.js
is there any way to do so?

@tneil
Copy link
Collaborator

tneil commented Jun 2, 2014

There really isn't a way to override the highlight color except by going in and modifying the CSS. You "might" be able to do it by setting the style attributes in your own HTML to try and override the ones from the framework.

@MerrickZ
Copy link
Author

MerrickZ commented Jun 5, 2014

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/HOWTO-hack-bbui-js-to-support-customized-button-colors/td-p/2899412

I did a hack to display a RED button,I know you can do much better :)

2014-06-02 22:48 GMT+08:00 Tim Neil notifications@github.com:

There really isn't a way to override the highlight color except by going
in and modifying the CSS. You "might" be able to do it by setting the style
attributes in your own HTML to try and override the ones from the framework.


Reply to this email directly or view it on GitHub
#1022 (comment).

@tneil tneil closed this as completed Jul 17, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants