sugarcube-3
sugarcube-3 copied to clipboard
CSS Sugarcube styling exclusion zone
Problem: When using third party widgets, like a jQuery plugin or a Vue/React App, those typically come with styling that assumes little or no prior global styling, and will generate DOM elements that end up getting undesirable styling from the sugarcube-default styling that exists for things like button, a, input
, and the like.
It would be nice to have element-selectors to be prefixed with something like: :not(.sc-nostyle)
, so that third party widgets and the like could be placed in a div.sc-nostyle
avoid avoid sugarcube changing the appearance of the widget (buttons, inputs, etc) inside that div.