Preview for PR #1492 4d7046c7b8b4b6e6d98dd2c41523d4b31eb9cb95

This commit is contained in:
github-actions[bot]
2026-08-02 17:35:14 +00:00
parent 9043c4a9aa
commit 8ad376e62e
748 changed files with 8471 additions and 3159 deletions
+3 -3
View File
@@ -123,8 +123,8 @@ function toggleInherit(id)
var opened=true;
// in case HTML_COLORSTYLE is LIGHT or DARK the vars will be replaced, so we write them out explicitly and use double quotes
var plusImg = [ "var(--fold-plus-image)", "var(--fold-plus-image-relpath)" ];
var minusImg = [ "var(--fold-minus-image)", "var(--fold-minus-image-relpath)" ];
var plusImg = [ "url('plus.svg')", "url('../../plus.svg')" ];
var minusImg = [ "url('minus.svg')", "url('../../minus.svg')" ];
// toggle all folding blocks
function codefold_toggle_all(relPath) {
@@ -151,7 +151,7 @@ function init_codefold(relPath) {
'margin-right':'2px',
'display':'inline-block',
'width':'54px',
'background':'linear-gradient(var(--fold-line-color),var(--fold-line-color)) no-repeat 46px/2px 100%'
'background':'linear-gradient(#808080,#808080) no-repeat 46px/2px 100%'
});
// add global toggle to first line
$('span[class=lineno]:first').append('<span class="fold" id="fold_all" '+