I’m having trouble figuring out how to assign my custom css styles to my widgets. Based on such posts as Embedded css - is there any equivalent for the below implementation of css into Bokeh?, I’m setting up my Bokeh server using the directory format model. However, I don’t see any examples in which custom CSS is used for individual widgets. The GapMinder (bokeh/examples/app/gapminder at branch-2.4 · bokeh/bokeh · GitHub) and Faces (bokeh/examples/app/faces at branch-2.4 · bokeh/bokeh · GitHub) examples use the directory format for custom CSS, but those styles apply to the entire document as opposed to individual widgets.
Let’s say I want to mimic the Sliders example (bokeh/sliders.py at branch-2.4 · bokeh/bokeh · GitHub), but I want to put a border around the column of 5 widgets on the list.
I’d take sliders.py and put in a sliders directory with the name main.py, and modify line 72 to be:
inputs = column(children=[text, offset, amplitude, phase, freq], css_classes=['foo'])
In sliders/templates/index.html, I have:
{% extends base %}
{% block contents %}
<link rel="stylesheet" href="sliders/static/css/styles.css" />
{{ super() }}
{% endblock %}
In sliders/static/css/styles.css, I have:
foo {
border: 5px
}
Then, from the directory above sliders, I run: bokeh serve sliders. This does not result in a border around the column of widgets. The column of widgets does indeed show class="bk foo" in the inspector, but border is set to 0.
What am I doing wrong?

