mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-25 07:00:23 +09:00
feat: 插件使用样式
This commit is contained in:
parent
377a50e2a6
commit
9223f95726
@ -348,6 +348,37 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.chat-message-checkmark {
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 5px;
|
||||||
|
height: 12px;
|
||||||
|
width: 12px;
|
||||||
|
color: #13a10e;
|
||||||
|
fill: #13a10e;
|
||||||
|
user-select: none;
|
||||||
|
backface-visibility: hidden;
|
||||||
|
transform: translateZ(0px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.chat-message-tools-status {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 12px;
|
||||||
|
margin-top: 5px;
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chat-message-tools-name {
|
||||||
|
color: #aaa;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chat-message-tools-details {
|
||||||
|
margin-left: 5px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
.chat-message-status {
|
.chat-message-status {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
|
@ -36,6 +36,7 @@ import StopIcon from "../icons/pause.svg";
|
|||||||
import RobotIcon from "../icons/robot.svg";
|
import RobotIcon from "../icons/robot.svg";
|
||||||
import SearchCloseIcon from "../icons/search_close.svg";
|
import SearchCloseIcon from "../icons/search_close.svg";
|
||||||
import SearchOpenIcon from "../icons/search_open.svg";
|
import SearchOpenIcon from "../icons/search_open.svg";
|
||||||
|
import CheckmarkIcon from "../icons/checkmark.svg";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ChatMessage,
|
ChatMessage,
|
||||||
@ -1148,6 +1149,21 @@ export function Chat() {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<div className={styles["chat-message-tools-status"]}>
|
||||||
|
<div className={styles["chat-message-tools-name"]}>
|
||||||
|
<CheckmarkIcon
|
||||||
|
className={styles["chat-message-checkmark"]}
|
||||||
|
/>
|
||||||
|
web search:
|
||||||
|
<code className={styles["chat-message-tools-details"]}>
|
||||||
|
xxxxxxxxxxxxxxxx
|
||||||
|
</code>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{showTyping && (
|
{showTyping && (
|
||||||
<div className={styles["chat-message-status"]}>
|
<div className={styles["chat-message-status"]}>
|
||||||
{Locale.Chat.Typing}
|
{Locale.Chat.Typing}
|
||||||
|
3
app/icons/checkmark.svg
Normal file
3
app/icons/checkmark.svg
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048">
|
||||||
|
<path d="M256 1088q0-26 19-45t45-19q26 0 45 19l403 402 915-914q19-19 45-19t45 19 19 45q0 26-19 45l-960 960q-19 19-45 19t-45-19l-448-448q-19-19-19-45z"></path>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 232 B |
Loading…
Reference in New Issue
Block a user