优化 table 偶数行及触发事件时的背景色

This commit is contained in:
贤心 2023-02-13 13:05:56 +08:00
parent 51842182e8
commit 2973f04833

View File

@ -936,9 +936,10 @@ a cite{font-style: normal; *cursor:pointer;}
.layui-table-patch{}
.layui-table-mend{background-color: #fff;}
.layui-table-hover,
.layui-table-click{background-color: #FAFAFA;}
.layui-table-click,
.layui-table[lay-even] tbody tr:nth-child(even){background-color: #f8f8f8;}
.layui-table[lay-even] tr:nth-child(even){background-color: #f2f2f2;}
.layui-table th,
.layui-table td,
@ -1040,7 +1041,6 @@ a cite{font-style: normal; *cursor:pointer;}
.layui-table-body{position: relative; overflow: auto; margin-right: -1px; margin-bottom: -1px;}
.layui-table-body .layui-none{line-height: 26px; padding: 30px 15px; text-align: center; color: #999;}
.layui-table-body .layui-table[lay-even] tr:nth-child(even){background-color: #f2f2f2;}
.layui-table-fixed{position: absolute; left: 0; top: 0; z-index: 101;}
.layui-table-fixed .layui-table-body{overflow: hidden;}
.layui-table-fixed-l{box-shadow: 1px 0 8px rgba(0,0,0,.08);}