Тема через CSS

This commit is contained in:
2021-11-09 23:53:56 +06:00
parent 0ee4dd3d48
commit 07a7e2fff6
4 changed files with 20 additions and 18 deletions

View File

@ -264,8 +264,8 @@ class EdtRec
{
rpos++;
tr = document.createElement('tr');
if (rpos%2==0) bgColor=g_rowColor1; else bgColor=g_rowColor2;
tr.setAttribute("bgColor",bgColor);
if (rpos%2==0) bgColor='var(--row-color-1)'; else bgColor='var(--row-color-2)';
tr.style.backgroundColor=bgColor;
if(nodeProp.getAttribute("visible")=='0') tr.style.display='none';
td1 = document.createElement('td');
td2 = document.createElement('td');