Adds scripts normalizer + safe script content display (opt-in, decoded, capped) Improves script diff UX: side-by-side + Before/After, Torchlight highlighting, fullscreen with scroll-sync Fixes Torchlight dark mode in diff lines Tests updated/added; ScriptPoliciesNormalizedDisplayTest.php passes Co-authored-by: Ahmed Darrazi <ahmeddarrazi@adsmac.local> Reviewed-on: #19
14 lines
431 B
PHP
14 lines
431 B
PHP
<style>
|
|
html.dark code.torchlight {
|
|
background-color: var(--phiki-dark-background-color) !important;
|
|
}
|
|
|
|
html.dark .phiki,
|
|
html.dark .phiki span {
|
|
color: var(--phiki-dark-color) !important;
|
|
font-style: var(--phiki-dark-font-style) !important;
|
|
font-weight: var(--phiki-dark-font-weight) !important;
|
|
text-decoration: var(--phiki-dark-text-decoration) !important;
|
|
}
|
|
</style>
|