You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.3 KiB
73 lines
1.3 KiB
@import '~antd/es/style/themes/default.less';
|
|
|
|
@pro-column-setting-prefix-cls: ~'@{ant-prefix}-pro-table-column-setting';
|
|
|
|
.@{pro-column-setting-prefix-cls} {
|
|
width: auto;
|
|
&-title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 32px;
|
|
}
|
|
&-overlay {
|
|
.ant-popover-inner-content {
|
|
padding: 0px;
|
|
padding-bottom: 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.@{pro-column-setting-prefix-cls}-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
padding-top: 8px;
|
|
|
|
&.@{pro-column-setting-prefix-cls}-list-group {
|
|
padding-top: 0;
|
|
}
|
|
|
|
&-title {
|
|
color: @text-color-secondary;
|
|
font-size: 12px;
|
|
padding-left: 24px;
|
|
margin-bottom: 6px;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
&-item {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
padding: 4px 16px;
|
|
padding-left: 0px;
|
|
&-option {
|
|
display: none;
|
|
float: right;
|
|
cursor: pointer;
|
|
> span {
|
|
> span.anticon {
|
|
color: @primary-color;
|
|
}
|
|
}
|
|
> span + span {
|
|
margin-left: 8px;
|
|
}
|
|
}
|
|
&:hover {
|
|
background-color: @item-active-bg;
|
|
.@{pro-column-setting-prefix-cls}-list-item-option {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
.@{ant-prefix}-checkbox-wrapper {
|
|
flex: 1;
|
|
margin: 0;
|
|
:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|