111 lines
4.7 KiB
HTML
111 lines
4.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<style>
|
|
:root {
|
|
--bg-body: #0D1117; /* GitHub Dark Dimmed */
|
|
--bg-sidebar: #161B22;
|
|
--bg-card: #21262D;
|
|
--border-color: #30363D;
|
|
--text-primary: #C9D1D9;
|
|
--text-secondary: #8B949E;
|
|
--accent: #2EA043; /* 极客绿 */
|
|
--accent-hover: #3FB950;
|
|
}
|
|
body { margin: 0; font-family: "SF Mono", "Consolas", "Roboto Mono", sans-serif; /* 代码字体风格 */ background: var(--bg-body); color: var(--text-primary); display: flex; height: 100vh; overflow: hidden; }
|
|
|
|
.sidebar { width: 280px; background: var(--bg-sidebar); border-right: 1px solid var(--border-color); display: flex; flex-direction: column; padding: 20px; }
|
|
.logo { font-weight: 700; font-size: 16px; color: var(--text-primary); margin-bottom: 30px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px;}
|
|
.status-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px var(--accent); }
|
|
|
|
.nav-item { padding: 10px 12px; margin-bottom: 4px; border-radius: 4px; color: var(--text-secondary); font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: 0.2s;}
|
|
.nav-item.active { background: rgba(46, 160, 67, 0.15); color: #FFF; border-left: 3px solid var(--accent); }
|
|
.nav-item:hover:not(.active) { color: #FFF; background: var(--bg-card); }
|
|
|
|
.main { flex: 1; display: flex; flex-direction: column; padding: 0 40px; overflow-y: auto; align-items: center; }
|
|
.chat-container { max-width: 800px; width: 100%; padding-top: 40px; padding-bottom: 100px; }
|
|
|
|
.user-msg { background: var(--bg-card); border-radius: 8px; padding: 16px; font-size: 15px; border: 1px solid var(--border-color); margin-bottom: 30px; }
|
|
|
|
.ai-msg { margin-bottom: 30px; }
|
|
.ai-text { margin-bottom: 20px; line-height: 1.6; color: var(--text-primary); }
|
|
|
|
.step-card {
|
|
background: #161B22;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
padding: 14px;
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
font-size: 13px;
|
|
transition: border 0.2s;
|
|
}
|
|
.step-card:hover { border-color: var(--text-secondary); }
|
|
.icon-box { color: var(--accent); font-family: monospace; }
|
|
|
|
.input-wrapper { position: fixed; bottom: 30px; width: 100%; max-width: 800px; }
|
|
.input-box {
|
|
background: var(--bg-sidebar);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
color: var(--text-secondary);
|
|
}
|
|
.send-btn { width: 30px; height: 30px; background: var(--accent); border-radius: 4px; border: none; cursor: pointer; }
|
|
</style>
|
|
<title>Dark Theme Demo</title>
|
|
</head>
|
|
<body>
|
|
<div class="sidebar">
|
|
<div class="logo">
|
|
<div class="status-dot"></div>
|
|
AI_AGENT_SYSTEM v5.3
|
|
</div>
|
|
<div class="nav-item active">~/project_files</div>
|
|
<div class="nav-item">~/monitoring</div>
|
|
<div style="margin-top:20px; font-size:11px; color:#484F58; text-transform:uppercase; letter-spacing:1px;">Directory</div>
|
|
<div class="nav-item">📁 temp</div>
|
|
<div class="nav-item">📄 user_upload</div>
|
|
</div>
|
|
|
|
<div class="main">
|
|
<div class="chat-container">
|
|
<div class="user-msg">
|
|
> 搜索一下原神目前卡池是什么,写在一个文件里
|
|
</div>
|
|
|
|
<div class="ai-msg">
|
|
<div class="ai-text">正在执行任务序列...</div>
|
|
|
|
<div class="step-card">
|
|
<div class="icon-box">[SEARCH]</div>
|
|
<div style="flex:1">Query: "原神当前卡池 2024年12月"</div>
|
|
</div>
|
|
|
|
<div class="step-card">
|
|
<div class="icon-box">[SEARCH]</div>
|
|
<div style="flex:1">Query: "原神 5.3版本卡池"</div>
|
|
</div>
|
|
|
|
<div class="step-card">
|
|
<div class="icon-box">[WRITE]</div>
|
|
<div style="flex:1">Created: <span style="color:var(--accent)">./temp/genshin_banner.txt</span></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="input-wrapper">
|
|
<div class="input-box">
|
|
<span>_ 输入指令...</span>
|
|
<button class="send-btn"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |