2023-09-23 14:23:47 +01:00
|
|
|
/* https://svgwg.org/svg2-draft/styling.html#UAStyleSheet */
|
|
|
|
|
|
|
|
|
|
@namespace url(http://www.w3.org/2000/svg);
|
|
|
|
|
@namespace xml url(http://www.w3.org/XML/1998/namespace);
|
|
|
|
|
|
|
|
|
|
svg:not(:root), image, marker, pattern, symbol { overflow: hidden; }
|
|
|
|
|
|
|
|
|
|
*:not(svg),
|
|
|
|
|
*:not(foreignObject) > svg {
|
|
|
|
|
transform-origin: 0 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
*[xml|space=preserve] {
|
2025-02-03 17:16:49 +00:00
|
|
|
white-space-collapse: preserve-spaces;
|
2023-09-23 14:23:47 +01:00
|
|
|
}
|
|
|
|
|
|
2025-07-07 15:18:22 +02:00
|
|
|
/* NOTE: These rules are in the SVG spec, but don't match how other engines behave.
|
|
|
|
|
So we simply comment them out for now.
|
2023-09-23 14:23:47 +01:00
|
|
|
defs,
|
|
|
|
|
clipPath, mask, marker,
|
|
|
|
|
desc, title, metadata,
|
|
|
|
|
pattern, linearGradient, radialGradient,
|
|
|
|
|
script, style,
|
|
|
|
|
symbol {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
:host(use) > symbol {
|
|
|
|
|
display: inline !important;
|
|
|
|
|
}
|
2025-07-07 15:18:22 +02:00
|
|
|
*/
|
|
|
|
|
|
2023-09-23 14:23:47 +01:00
|
|
|
:link, :visited {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
2025-07-07 19:30:38 +02:00
|
|
|
|
|
|
|
|
foreignObject {
|
|
|
|
|
display: block;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|