In Theme Designer 9.0 there was a restructuring and splitting up of the CSS files, and individual style sheets for the various components are now imported in the components.scss file. These imports are in the order of the big sections Inputs, Buttons, Data, etc.
Unfortunately, this creates a problem for the ToggleButton: since it is classified among the Inputs, not among the Buttons, its style sheet is imported before the style sheet for normal buttons. Therefore, the ToggleButton style sheet cannot overwrite the normal Button style sheet anymore, which causes a wrong look of the ToggleButtons. E.g. the background in inactive state now looks like it is active.
My solution was to move the import of _togglebutton after the import of the ordinary _button. I hope this can be fixed in the next release 9.1 of the Designer API. Maybe you should even reconsider moving toggle buttons to the button section instead of the input section in general?
Btw, this problem does not seem to affect the SelectButton, because its CSS class is used with a wrapper element for the individual buttons, not with the buttons themselves, so its style does not depend on the rigtht order.
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest