Toolbars with css borders

Adding a css class to a toolbar, then applying a border results in the toolbar being offset regardless of a type setting.

Could i be doing something wrong?

You can change colors of font styles through css.
Changing sizes of element can break correct auto-fit and layout of elements.

If you need to change the borders of some view, you can use borderless property and type for the parent layout.

Can you provide an example of adding a custom border to a toolbar via css without breaking the box model?

The type documentation only gives 5 border types. What about custom border types or atleast
specify a border width?

ex.
css:‘myborder’,
{
type:“line”,
border:3,
}

css:

.myborder{
border:3px inset #000;
}

http://docs.webix.com/desktop__borders.html

It is possible to add the new types of layout borders but they will differ but border visiblity and cell padding|margin sizes. The border is hardcoded to be one pixel wide or be hidden, there is no option for custom border width.

Technically it is possible to style a toolbar in the necessary way, but it is rather complicated
http://webix.com/snippet/2a60ed29