Files
vxe-table/styles/header.scss
xuliangzhan 66e9cd5ec5 update
2019-07-14 13:36:02 +08:00

73 lines
1.4 KiB
SCSS

/**Variable**/
.vxe-table--header-wrapper {
background-color: $vxe-table-header-background-color;
.vxe-table--repair {
position: absolute;
left: 0;
bottom: 0;
height: 1px;
background-color: $vxe-table-border-color;
}
}
.vxe-header--column {
position: relative;
&.col--title-checked {
background-color: $vxe-table-column-header-checked-background-color;
}
.vxe-required-icon {
display: inline-block;
color: $vxe-table-validate-error-color;
line-height: 16px;
font-size: 16px;
vertical-align: middle;
&:before {
content: "*";
width: 10px;
height: 8px;
display: block;
}
}
.vxe-edit-icon {
font-size: 12px;
margin: 1px 2px 2px 2px;
}
.vxe-resizable {
position: absolute;
right: -7px;
top: 0;
width: 14px;
height: 100%;
text-align: center;
z-index: 1;
user-select: none;
cursor: col-resize;
&.is--line {
&:before,
&:after {
content: "";
display: inline-block;
vertical-align: middle;
}
&:before {
width: 1px;
height: 50%;
background-color: $vxe-table-resizable-color;
}
&:after {
width: 0;
height: 100%;
}
}
}
}
.vxe-table--fixed-right-wrapper {
.vxe-header--column {
.vxe-resizable {
right: auto;
left: -7px;
}
}
}