2020-05-12 11:41:59 +08:00
|
|
|
.#{$ns}Selections {
|
|
|
|
height: 100%;
|
|
|
|
min-width: px2rem(200px);
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
&-title {
|
2020-12-21 10:08:40 +08:00
|
|
|
height: var(--Form-input-height);
|
|
|
|
background: var(--Table-thead-bg);
|
|
|
|
font-size: var(--Form-input-fontSize);
|
|
|
|
padding: calc(
|
|
|
|
(
|
|
|
|
var(--Form-input-height) - var(--Form-input-lineHeight) *
|
|
|
|
var(--Form-input-fontSize)
|
|
|
|
) / 2
|
|
|
|
)
|
|
|
|
var(--gap-sm);
|
2020-05-12 11:41:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-placeholder {
|
2020-12-21 10:08:40 +08:00
|
|
|
color: var(--Form-input-placeholderColor);
|
2020-05-12 11:41:59 +08:00
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
2020-12-21 10:08:40 +08:00
|
|
|
flex-basis: var(--Form-input-height);
|
2020-05-12 11:41:59 +08:00
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2020-12-21 10:08:40 +08:00
|
|
|
font-size: var(--Form-input-fontSize);
|
2020-05-12 11:41:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&-items {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-item {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2020-12-21 10:08:40 +08:00
|
|
|
height: var(--Form-input-height);
|
|
|
|
line-height: var(--Form-input-lineHeight);
|
|
|
|
font-size: var(--Form-input-fontSize);
|
|
|
|
padding: calc(
|
|
|
|
(
|
|
|
|
var(--Form-input-height) - var(--Form-input-lineHeight) *
|
|
|
|
var(--Form-input-fontSize)
|
|
|
|
) / 2
|
|
|
|
)
|
|
|
|
var(--gap-sm);
|
2020-05-12 11:41:59 +08:00
|
|
|
|
|
|
|
> label {
|
|
|
|
flex-basis: px2rem(50px);
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .#{$ns}Selections-dragbar {
|
|
|
|
width: px2rem(20px);
|
|
|
|
position: relative;
|
|
|
|
left: px2rem(-5px);
|
2020-12-21 10:08:40 +08:00
|
|
|
color: var(--icon-color);
|
2020-05-12 11:41:59 +08:00
|
|
|
cursor: move;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--dragging {
|
|
|
|
> * {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-delBtn {
|
2020-12-21 10:08:40 +08:00
|
|
|
color: var(--icon-color);
|
2020-05-12 11:41:59 +08:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
2020-12-21 10:08:40 +08:00
|
|
|
color: var(--icon-onHover-color);
|
2020-05-12 11:41:59 +08:00
|
|
|
}
|
2020-05-27 13:52:25 +08:00
|
|
|
|
|
|
|
> svg {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
}
|
2020-05-12 11:41:59 +08:00
|
|
|
}
|
|
|
|
}
|