How to link CSS to a model?

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,

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 [email protected] 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 [email protected].

To post to this group, send email to [email protected].

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.