sugarcube-3 icon indicating copy to clipboard operation
sugarcube-3 copied to clipboard

CSS Sugarcube styling exclusion zone

Open Goctionni opened this issue 4 years ago • 0 comments

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.

Goctionni avatar Nov 28 '20 00:11 Goctionni