feat: move EndpointOptionsPopover as a common component

This commit is contained in:
Wentao Lyu 2023-04-02 00:29:53 +08:00
parent 099210c10e
commit 4d7fa26e6c
5 changed files with 117 additions and 48 deletions

View file

@ -39,7 +39,7 @@
opacity: 1;
}
.openAIOptions-advanced-container {
.endpointOptionsPopover-container {
pointer-events: none;
opacity: 0;
transition: all 0.2s ease-in-out;
@ -47,34 +47,12 @@
transform-origin: bottom center;
}
.openAIOptions-advanced-container.show {
.endpointOptionsPopover-container.show {
pointer-events: fill;
opacity: 1;
transform: scaleY(1)
}
.bing-styles {
position: absolute;
left: 0;
right: 0;
opacity: 0;
bottom: 39px;
z-index: 995;
margin-left: auto;
margin-right: auto;
width: 308px; /* Need a specific value to work */
transition: all 0.5s ease-in-out;
pointer-events: none;
transform: translateY(-60px);
}
.bing-styles.show {
/* bottom: -20px; */
opacity: 1;
pointer-events: all;
transform: translateY(-20px);
}
.creative-tab {
/* background: linear-gradient(90deg, #904887 10.79%, #8B257E 87.08%); */
background: linear-gradient(90deg, #904887 10.79%, #8B257E 87.08%);