style: 文件夹分组标题与选项同字号加粗+左侧蓝色竖条+微底色,行距拉开
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user