feat: 支持跨标签共享选中状态

This commit is contained in:
ZiuChen
2022-09-09 10:57:04 +08:00
parent 2b3389eedd
commit b25abcddbf
3 changed files with 94 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
.clip-item-list {
background: @bg-color;
user-select: none;
.clip-item {
display: flex;
justify-content: space-between;
@@ -16,6 +17,12 @@
background-color: @text-bg-color-lighter;
transition: all 0.15s;
}
&.multi-active {
border-style: hidden hidden hidden solid;
border-width: 1px 0px 0px 6px;
border-color: @bg-color @bg-color @bg-color @primary-color;
transition: all 0.15s;
}
&.select {
background-color: @text-bg-color-lighter;
}