mirror of https://github.com/ElemeFE/element
Table: Set the background color of striped table on the td element (#917)
parent
6644207668
commit
81477a9af9
|
@ -312,9 +312,11 @@
|
||||||
@modifier striped {
|
@modifier striped {
|
||||||
& .el-table__body {
|
& .el-table__body {
|
||||||
& tr:nth-child(2n) {
|
& tr:nth-child(2n) {
|
||||||
|
td {
|
||||||
background: #FAFAFA;
|
background: #FAFAFA;
|
||||||
|
}
|
||||||
|
|
||||||
&.current-row {
|
&.current-row td {
|
||||||
background: #EFF7FF;
|
background: #EFF7FF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue