diff --git a/src/css/layui.css b/src/css/layui.css index 53d06cab..e4a2d4b0 100644 --- a/src/css/layui.css +++ b/src/css/layui.css @@ -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);}