模块:收纳表:修订间差异

跳到导航 跳到搜索
删除11字节 、​ 2022年6月30日 (星期四)
无编辑摘要
无编辑摘要
无编辑摘要
第11行: 第11行:
                         top(内容在选择栏上)
                         top(内容在选择栏上)
                         down(内容在选择栏下)
                         down(内容在选择栏下)
                         left(内容在选择栏左,此时若用户无指定,则selectWidth会被预设成20%、textWidth被设成60%、textHeight, selectHeight皆被设成400px)
                         left(内容在选择栏左)
                         right(内容在选择栏右,同上)
                         right(内容在选择栏右)
--]]
--]]


第83行: 第83行:


         defaults['ctab']['height'] = '400px'
         defaults['ctab']['height'] = '400px'
         defaults['ctab']['overflow-y'] 'auto'
         defaults['ctab']['overflow-y'] = 'auto'
         defaults['ctab']['width'] = '60%'
         defaults['ctab']['width'] = '60%'
     end
     end


     for s in {'div', 'stab', 'sitm', 'ctab', 'citm'} do
     local elements = {'div', 'stab', 'sitm', 'ctab', 'citm'}
        for size, dir in {height='y', width='x'} do
    for _, s in ipairs(elements) do
        local resizeFlowDir = {height='y', width='x'}
        for size, dir in resizeFlowDir do
             if CSSvalue[s][size] then
             if CSSvalue[s][size] then
                 defaults[s]['overflow-'..dir] = 'auto'
                 defaults[s]['overflow-'..dir] = 'auto'
第182行: 第184行:


     --处理ordering
     --处理ordering
     for s in {'div', 'stab', 'sitm', 'ctab', 'citm'} do
     local elements = {'div', 'stab', 'sitm', 'ctab', 'citm'}
    for _, s in ipairs(elements) do
         for k, _ in CSSvalue[s] do table.insert(ordering[s], k) end
         for k, _ in CSSvalue[s] do table.insert(ordering[s], k) end
         table.sort(ordering[s])
         table.sort(ordering[s])

导航菜单