style: 文件夹分组标题与选项同字号加粗+左侧蓝色竖条+微底色,行距拉开

This commit is contained in:
Aisland
2026-08-18 12:41:53 +08:00
parent e1b082796b
commit e8d4df141b
3 changed files with 14 additions and 12 deletions
+4
View File
@@ -668,6 +668,10 @@ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
var list=[].slice.call(document.querySelectorAll('.dsh-wt_selectList')).find(function(el){return (getComputedStyle(el).visibility!=='hidden');});
out.listOpen=!!list;
out.groupHeaders=list?list.querySelectorAll('.dsh-wt_selectGroup').length:0;
var gh=list?list.querySelector('.dsh-wt_selectGroup'):null;
out.groupFontSize=gh?getComputedStyle(gh).fontSize:null;
out.groupWeight=gh?getComputedStyle(gh).fontWeight:null;
out.groupBorderLeft=gh?getComputedStyle(gh).borderLeftWidth:null;
out.dividers=list?list.querySelectorAll('.dsh-wt_selectDivider').length:0;
out.itemCount=list?list.querySelectorAll('.dsh-wt_selectItem').length:0;
out.currentBadge=list?list.querySelectorAll('.dsh-wt_selectCurrent').length:0;