Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] make it easier to integrate widgets with css frameworks #9128

Open
ClaudiuCreanga opened this issue Jul 30, 2019 · 1 comment
Open

Comments

@ClaudiuCreanga
Copy link

ClaudiuCreanga commented Jul 30, 2019

Is your feature request related to a problem? Please describe.
It's hard to integrate bokeh with a css framework where you work by applying classes to html elements. When inserting a button with bokeh you get to chose from 4 types and there is an automatic default with colors.

 Button(
            label="Toggle",
            button_type="primary",
            css_classes=["btn", "waves-effect", "waves-teal"],
        )

The issue with this is that your bokeh styles are overwriting some of the framework styles and I have to go manually and add some other styles.

Describe the solution you'd like
I would like a fifth button type, call it empty, that has no styles attached to it, so when I use css_classes, those are the only styles applied to it. Also, I see that the classes are added to the parent div, I would like to also be able to target the button element with classes.

@ClaudiuCreanga ClaudiuCreanga changed the title [FEATURE] [FEATURE] make it easier to integrate widgets with css frameworks Jul 30, 2019
@bryevdv
Copy link
Member

bryevdv commented Sep 5, 2019

@mattpap do you have any thoughts on this proposal?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants