☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

How to link CSS to a model?

Community Support
Yanick_MacAngus
Yanick_MacAngus

Hi,

I’m attempting to add my own datepicker model and I’m working on master branch. The datepicker is functional, but I’ve been unable to apply css to it. I put the datepicker css file in the /bokehjs/src/vendor/ directory and added an import for it in vendor.less. Am I missing a step? Do I need to prefix the css classes with “bk-”?

Thanks,

⌁   Link to post
Yanick_MacAngus
Yanick_MacAngus

I think I see the problem. I’m attaching the datepicker to an text input element. The text-input is inside the bk-root and bk-hbox divs, but the datepicker div isn’t.

···

On Tue, May 17, 2016 at 2:57 PM, Yanick MacAngus yanickmacangus@gmail.com wrote:

Hi,

I’m attempting to add my own datepicker model and I’m working on master branch. The datepicker is functional, but I’ve been unable to apply css to it. I put the datepicker css file in the /bokehjs/src/vendor/ directory and added an import for it in vendor.less. Am I missing a step? Do I need to prefix the css classes with “bk-”?

Thanks,

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/a1bbd648-be6b-4bd6-b1a2-cdb86f5da7a7%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post

End of archived discussion · Replies are disabled