-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a1e932
commit d1002f4
Showing
8 changed files
with
154 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
.ai-chat { | ||
--padding-left: 40px; | ||
height: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
box-sizing: border-box; | ||
position: relative; | ||
color: var(--app-text-color); | ||
box-sizing: border-box; | ||
&__content { | ||
padding-top: 0; | ||
box-sizing: border-box; | ||
|
||
.avatar { | ||
float: left; | ||
} | ||
|
||
.content { | ||
padding-left: var(--padding-left); | ||
|
||
:deep(ol) { | ||
margin-left: 16px !important; | ||
} | ||
} | ||
|
||
.text { | ||
padding: 6px 0; | ||
} | ||
|
||
.problem-button { | ||
width: 100%; | ||
border: none; | ||
border-radius: 8px; | ||
background: var(--app-layout-bg-color); | ||
height: 46px; | ||
padding: 0 12px; | ||
line-height: 46px; | ||
box-sizing: border-box; | ||
color: var(--el-text-color-regular); | ||
-webkit-line-clamp: 1; | ||
word-break: break-all; | ||
|
||
&:hover { | ||
background: var(--el-color-primary-light-9); | ||
} | ||
|
||
&.disabled { | ||
&:hover { | ||
background: var(--app-layout-bg-color); | ||
} | ||
} | ||
|
||
.el-icon { | ||
color: var(--el-color-primary); | ||
} | ||
} | ||
} | ||
&__operate { | ||
background: #f3f7f9; | ||
position: relative; | ||
width: 100%; | ||
box-sizing: border-box; | ||
z-index: 10; | ||
|
||
&:before { | ||
background: linear-gradient(0deg, #f3f7f9 0%, rgba(243, 247, 249, 0) 100%); | ||
content: ''; | ||
position: absolute; | ||
width: 100%; | ||
top: -16px; | ||
left: 0; | ||
height: 16px; | ||
} | ||
|
||
.operate-textarea { | ||
box-shadow: 0px 6px 24px 0px rgba(31, 35, 41, 0.08); | ||
background-color: #ffffff; | ||
border-radius: 8px; | ||
border: 1px solid #ffffff; | ||
box-sizing: border-box; | ||
|
||
&:has(.el-textarea__inner:focus) { | ||
border: 1px solid var(--el-color-primary); | ||
} | ||
|
||
.el-textarea__inner { | ||
border-radius: 8px !important; | ||
box-shadow: none; | ||
resize: none; | ||
padding: 12px 16px; | ||
box-sizing: border-box; | ||
} | ||
|
||
.operate { | ||
padding: 6px 10px; | ||
.el-icon { | ||
font-size: 20px; | ||
} | ||
|
||
.sent-button { | ||
max-height: none; | ||
.el-icon { | ||
font-size: 24px; | ||
} | ||
} | ||
|
||
.el-loading-spinner { | ||
margin-top: -15px; | ||
|
||
.circular { | ||
width: 31px; | ||
height: 31px; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
.chat-width { | ||
max-width: 80%; | ||
margin: 0 auto; | ||
} | ||
@media only screen and (max-width: 1000px) { | ||
.chat-width { | ||
max-width: 100% !important; | ||
margin: 0 auto; | ||
} | ||
} |
Oops, something went wrong.