228 lines
4.2 KiB
SCSS
228 lines
4.2 KiB
SCSS
@use '~@/scss/themeColor.scss' as theme;
|
|
|
|
.aiImportPopupOverlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
z-index: 9998;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
}
|
|
|
|
.aiImportPopupWrapper {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 9998;
|
|
}
|
|
.aiImportPopup {
|
|
width: 100%;
|
|
background-color:#fafafa;
|
|
border-radius: 16px 16px 0 0;
|
|
position: relative;
|
|
z-index: 9999;
|
|
.popupContent {
|
|
width: 100%;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
background: rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 16px;
|
|
|
|
.titleContainer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
|
|
.lightningIcon {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.title {
|
|
font-size: 22px;
|
|
font-weight: 600;
|
|
color: #1f2329;
|
|
}
|
|
}
|
|
|
|
.closeButton {
|
|
align-items: center;
|
|
justify-content: center;
|
|
display: flex;
|
|
width: 40px;
|
|
height: 40px;
|
|
box-sizing: border-box;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(0, 0, 0, 0.06);
|
|
background: #FFF;
|
|
box-shadow: 0 4px 36px 0 rgba(0, 0, 0, 0.06);
|
|
.lightningIcon{
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.textAreaContainer {
|
|
position: relative;
|
|
padding: 0 16px 12px 16px;
|
|
|
|
.textArea {
|
|
width: 100%;
|
|
min-height: 120px;
|
|
padding: 12px;
|
|
border: 1px solid #e5e6eb;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
color: #1f2329;
|
|
background: #fff;
|
|
box-sizing: border-box;
|
|
resize: none;
|
|
|
|
.textArea_placeholder{
|
|
color: rgba(60, 60, 67, 0.30);
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
}
|
|
}
|
|
|
|
.charCount {
|
|
position: absolute;
|
|
bottom: 20px;
|
|
right: 32px;
|
|
|
|
.charCountText {
|
|
font-size: 12px;
|
|
color: #8a8a8a;
|
|
}
|
|
.charCountTextExceeded {
|
|
color: #ff4d4f;
|
|
}
|
|
}
|
|
}
|
|
|
|
.imageRecognitionContainer {
|
|
padding: 0 20px;
|
|
|
|
.imageRecognitionButton {
|
|
display: flex;
|
|
height: 40px;
|
|
padding: 2px 16px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 6px;
|
|
align-self: stretch;
|
|
border-radius: 999px;
|
|
border: 0.5px solid rgba(0, 0, 0, 0.16);
|
|
background: #FFF;
|
|
|
|
.cameraIcon {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.imageRecognitionText {
|
|
font-size: 14px;
|
|
color: #1f2329;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.imageRecognitionDesc {
|
|
font-size: 12px;
|
|
color: rgba(0, 0, 0, 0.35);
|
|
}
|
|
}
|
|
.uploadLoadingContainer{
|
|
border-radius: 999px;
|
|
border: 0.5px solid rgba(0, 0, 0, 0.16);
|
|
background: rgba(52, 199, 89, 0.10);
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
.bottomButtons {
|
|
padding: 28px 16px 16px 16px;
|
|
display: flex;
|
|
gap: 12px;
|
|
padding-bottom: calc(20px + env(safe-area-inset-bottom));
|
|
|
|
.manualButton {
|
|
flex: 1;
|
|
height: 44px;
|
|
background: #f5f6f7;
|
|
border: 1px solid #e5e6eb;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
|
|
&:active {
|
|
background: #e9ecef;
|
|
}
|
|
|
|
.manualButtonText {
|
|
font-size: 14px;
|
|
color: #1f2329;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
|
|
.pasteButton {
|
|
flex: 1;
|
|
height: 44px;
|
|
background: #000;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
.loadingContainer{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
}
|
|
&:active {
|
|
background: #333;
|
|
}
|
|
|
|
.clipboardIcon {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.pasteButtonText {
|
|
font-size: 16px;
|
|
color: #fff;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
:global {
|
|
.nut-toast-inner{
|
|
max-width: 95%;
|
|
width: auto;
|
|
white-space: nowrap;
|
|
display: inline-block;
|
|
}
|
|
} |