ENH: Add darkmode of Html,depend on UserAgent

Change-Id: I8b60db9e2cb7b0d163288e3d8a23db10b64b9bb3
This commit is contained in:
zorro.zhang 2022-11-21 21:18:33 +08:00 committed by Lane.Wei
parent 46bde9b337
commit 30a473c977
21 changed files with 305 additions and 67 deletions

View file

@ -117,7 +117,7 @@ function HandleStudio( pVal )
{
$("#NoPluginTip").hide();
}
}
}
}
function GotoMenu( strMenu )
@ -188,7 +188,7 @@ function ShowRecentFileList( pList )
let TmpHtml='<div class="FileItem" fpath="'+sPath+'" >'+
'<a class="FileTip" title="'+sPath+'"></a>'+
'<div class="FileImg" ><img src="'+sImg+'" onerror="this.onerror=null;this.src=\'img/d.png\';" alt="No Image" /></div>'+
'<a>'+sName+'</a>'+
'<a class="TextS1">'+sName+'</a>'+
'<div class="FileDate">'+sTime+'</div>'+
'</div>';