gemini pro

This commit is contained in:
Zylan
2025-04-11 17:10:18 +08:00
parent 65d1123eb2
commit e662ff24b5
11 changed files with 467 additions and 94 deletions

View File

@@ -5284,3 +5284,42 @@ textarea,
.model-dropdown-panel::-webkit-scrollbar {
width: 6px;
}
/* 提示词预览样式 */
.prompt-preview {
position: relative;
cursor: pointer;
}
.prompt-preview-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 8px;
background-color: rgba(0, 0, 0, 0.03);
opacity: 0;
transition: opacity 0.2s ease;
}
.prompt-preview:hover .prompt-preview-overlay {
opacity: 1;
}
.prompt-edit-hint {
position: absolute;
right: 10px;
bottom: 10px;
/* 不显示图标,因为上方已有编辑按钮 */
}
[data-theme="dark"] .prompt-preview-overlay {
background-color: rgba(255, 255, 255, 0.05);
}
@media (max-width: 768px) {
.prompt-preview-overlay {
display: none;
}
}