styles(amis-editor): FeatControl样式优化

This commit is contained in:
lurunze1226 2023-06-15 11:48:04 +08:00
parent a4f877587c
commit c9f5ae11e1
2 changed files with 22 additions and 0 deletions

View File

@ -60,4 +60,19 @@
text-align: center;
}
}
&-dragBar {
position: absolute;
display: none;
z-index: 2;
top: 50%;
transform: translateY(-50%);
left: 3px;
cursor: pointer;
}
&:hover &-dragBar {
display: block;
color: #fff;
}
}

View File

@ -21,8 +21,15 @@
}
&:hover {
border: none;
&.ae-FeatureControlItem-go {
color: transparent;
}
.ae-GoConfig-trigger {
display: block;
border-radius: $Editor-borderRadius;
}
}
}