/**
 * tableRender 默认样式
 * --------------------
 * 只作用于组件自己的 .trSection，不污染老页面直接使用的 List。
 * 色值 / 字号 / 行高对齐 docs/design-spec.md 的表格规范：
 *   表头 #daecf7，斑马纹 #ecf1f4，边框 #d5dce6
 *   正文 13px，行高 24 / 30 / 36px（默认 36）
 */

.trSection .sn-list {
    border-color: #d5dce6;
}

.trSection .sn-list table {
    font-size: 13px;
    background: #fff;
}

.trSection .sn-list table th,
.trSection .sn-list table td {
    height: 36px;
    line-height: 36px;
    border-color: #d5dce6;
}

.trSection .sn-list table th {
    background: #daecf7;
    color: #333;
    font-weight: bold;
}

.trSection .sn-list table td {
    color: #333;
}

/* 斑马纹 */
.trSection .sn-list table tbody tr:nth-child(even) {
    background: #ecf1f4;
}

/* 单元格里的链接默认用规范主色 */
.trSection .sn-list table td a {
    color: #0085d0;
}

/* 分页 12px */
.trSection .sn-list-footer {
    font-size: 12px;
}

/* 三档行高，默认 36px */
.trSection.trRows30 .sn-list table th,
.trSection.trRows30 .sn-list table td {
    height: 30px;
    line-height: 30px;
}

.trSection.trRows24 .sn-list table th,
.trSection.trRows24 .sn-list table td {
    height: 24px;
    line-height: 24px;
}
