Fix Highlighting of current QRG for Bootstrap5

这个提交包含在:
int2001 2023-12-20 06:26:32 +00:00
父节点 fa928d91f3
当前提交 f2ae43b0c1
找不到此签名对应的密钥
GPG 密钥 ID: DFB1C13CD2DB037B

查看文件

@ -94,9 +94,11 @@ $(function() {
if (distance<=20) {
distance++;
alpha=(.5/distance);
this.nodes().to$().css('background-color', 'rgba(0,0,255,' + alpha + ')');
this.nodes().to$().css('--bs-table-bg', 'rgba(0,0,255,' + alpha + ')');
this.nodes().to$().css('--bs-table-accent-bg', 'rgba(0,0,255,' + alpha + ')');
} else {
this.nodes().to$().css('background-color', '');
this.nodes().to$().css('--bs-table-bg', '');
this.nodes().to$().css('--bs-table-accent-bg', '');
}
});
}