12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- @import "../variate.less";
- // 修改默认的el-table的表头样式
- .@{elNamespace}-table{
- //border-top:1px solid #ebeef5;
- thead tr, thead tr th{
- color: #333;
- background: @tableHeadColor !important;
- font-weight: @tableHeadFontWeight !important;
- }
- &__expanded-cell{
- background: @tableHeadColor !important;
- &:hover{
- background: @tableHeadColor !important;
- }
- }
- .cell{
- line-height: 29px;
- .cip-switch__wrapper{
- line-height: inherit;
- }
- }
- &--small{
- thead tr, thead tr th{
- padding: 7px 0 !important;
- }
- .cell{
- line-height: 23px;
- }
- }
- [class*=el-table__row--level] .el-table__expand-icon {
- line-height: 32px;
- height: 29px;
- }
- }
- // 筛选按钮
- .@{elNamespace}-table-filter__bottom {
- display: flex;
- justify-content: center;
- padding: 8px 16px;
- border: none;
- button {
- width: 48px;
- height: 24px;
- border-radius: 2px;
- font-size: 12px;
- &:first-child {
- color: #fff;
- background: #3786fd;
- margin-right: 8px;
- }
- &:last-child {
- background: #ffffff;
- border: 1px solid #d9d9d9;
- }
- }
- }
- // 历史遗留问题,需要将padding设置为10px
- .@{elNamespace}-table{
- .cell{
- padding: 0 10px;
- }
- }
|