159 lines
2.9 KiB
CSS
159 lines
2.9 KiB
CSS
.llm-result-container {
|
|
margin-bottom: 14px;
|
|
max-height: 300px;
|
|
min-height: 60px;
|
|
overflow: auto;
|
|
border: 1px solid #e0e9f4;
|
|
border-radius: 10px;
|
|
padding: 16px 20px;
|
|
background: #f8fbff;
|
|
display: flex;
|
|
flex-direction: column;
|
|
resize: vertical;
|
|
box-shadow: 0 2px 8px #cdd2fa2c;
|
|
}
|
|
|
|
.llm-title {
|
|
position: sticky;
|
|
top: 0;
|
|
background: #f8fbff;
|
|
font-weight: bold;
|
|
color: #2453b5;
|
|
margin: 0 -12px 8px -12px;
|
|
padding: 8px 12px 6px 12px;
|
|
font-size: 14px;
|
|
border-bottom: 1px solid #e0e9f4;
|
|
z-index: 2;
|
|
}
|
|
|
|
.llm-result-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
min-height: 44px;
|
|
font-size: 14px;
|
|
color: #233;
|
|
line-height: 1.7;
|
|
word-break: break-all;
|
|
white-space: pre-wrap;
|
|
padding-left: 4px;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.llm-input-bar {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
padding-bottom: 2px;
|
|
align-items: center;
|
|
}
|
|
|
|
#llmInput {
|
|
flex: 1;
|
|
padding: 6px 10px;
|
|
border: 1px solid #c9dafc;
|
|
border-radius: 5px;
|
|
font-size: 14px;
|
|
outline: none;
|
|
}
|
|
|
|
#llmSendBtn {
|
|
padding: 6px 14px;
|
|
background: #4179f6;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
#llmSendBtn:hover {
|
|
background: #2350b8;
|
|
}
|
|
|
|
.llm-msg-item.llm-assistant {
|
|
color: #233;
|
|
background: #e7eefb;
|
|
border-radius: 5px;
|
|
margin: 3px 0 9px 0;
|
|
padding: 7px 8px;
|
|
word-break: break-all;
|
|
font-weight: 500;
|
|
border: 1px solid #b3cdfb;
|
|
}
|
|
|
|
.assistant-label {
|
|
color: #2560de;
|
|
font-weight: bold;
|
|
margin-right: 3px;
|
|
}
|
|
|
|
.llm-think {
|
|
background: #fffbe6;
|
|
color: #8d7a24;
|
|
font-size: 13px;
|
|
font-style: italic;
|
|
border-left: 3px solid #ffe16a;
|
|
border-radius: 5px;
|
|
margin-bottom: 6px;
|
|
padding: 7px 10px 7px 12px;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.tab-bar {
|
|
display: flex;
|
|
margin-bottom: 12px;
|
|
border-bottom: 1.5px solid #e2e7f4;
|
|
background: #f8fbff;
|
|
}
|
|
|
|
.tab-btn {
|
|
flex: 1;
|
|
padding: 9px 0;
|
|
border: none;
|
|
background: #f7faff;
|
|
color: #2764bb;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
border-bottom: 2.5px solid transparent;
|
|
font-size: 15px;
|
|
transition: background 0.2s, border-color 0.2s;
|
|
border-radius: 12px 12px 0 0;
|
|
margin: 0 3px;
|
|
}
|
|
|
|
.tab-btn.active {
|
|
background: #e7eefb;
|
|
color: #2050b0;
|
|
border-bottom: 2.5px solid #3070ed;
|
|
}
|
|
|
|
.tab-content {
|
|
display: none;
|
|
}
|
|
|
|
.tab-content.active {
|
|
display: block;
|
|
}
|
|
|
|
body.fullscreen #tabContentAi .llm-result-container {
|
|
resize: vertical;
|
|
overflow: auto;
|
|
min-height: 160px;
|
|
max-height: 80vh;
|
|
}
|
|
|
|
#tabContentAi .llm-result-container,
|
|
#tabContentEs {
|
|
margin-top: 8px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
body.fullscreen #tabContentAi.tab-content.active {
|
|
flex: 1 1 0;
|
|
min-height: 0;
|
|
display: flex !important;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|