element-plus/website/demo-styles/table.scss
云游君 eacd21f118
style(table): allow custom tr background-color (#3166)
* style(table): allow custom tr background-color

* style(table): format table docs & add status tr example by var
2021-09-01 15:17:13 +08:00

24 lines
469 B
SCSS

.#{$namespace}-table .warning-row {
--el-table-tr-background-color: var(--el-color-warning-lighter);
}
.#{$namespace}-table .success-row {
--el-table-tr-background-color: var(--el-color-success-lighter);
}
.demo-table .name-wrapper {
display: inline-block;
}
.demo-table .demo-table-expand {
label {
width: 90px;
color: var(--el-text-color-secondary);
}
.#{$namespace}-form-item {
margin-right: 0;
margin-bottom: 0;
width: 50%;
}
}