You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
1.6 KiB
Plaintext

@root-entry-name: 'default';
@import (reference) 'ant-design-vue/es/style/themes/index.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-prefix}-popover-inner-content {
width: 200px;
padding: 0px;
padding-bottom: 8px;
}
.@{ant-prefix}-tree-node-content-wrapper:hover {
background-color: transparent;
}
.@{ant-prefix}-tree-draggable-icon {
cursor: grab;
}
.@{ant-prefix}-tree-treenode {
align-items: center;
&:hover {
background-color: @item-active-bg;
.@{pro-column-setting-prefix-cls}-list-item-option {
display: block;
}
}
.@{ant-prefix}-tree-checkbox {
top: 0;
margin: 0;
margin-right: 4px;
}
}
}
}
.@{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 {
margin-top: 6px;
margin-bottom: 6px;
padding-left: 24px;
color: @text-color-secondary;
font-size: 12px;
}
&-item {
display: flex;
align-items: center;
&-title {
flex: 1;
}
&-option {
display: none;
float: right;
cursor: pointer;
> span {
> span.anticon {
color: @primary-color;
}
}
> span + span {
margin-left: 8px;
}
}
}
}