front/xhs-agent-desktop/engine/extension/popup.css
zzh 5a26ae0048 feat: 小红书模块迁移、登录重构与 xhs-agent-desktop 桌面 Agent
- 新增小红书前端模块(启动服务、内容分析、爆款创作、发布记录、技能卡片、拟人设置、AI 助手)

- 新增 xhs-agent-desktop 独立桌面 Agent,对接 OMS 任务调度

- 登录页重构,整合微信登录与 OMS JWT 认证

- 订单、渠道、用户中心等页面与 API 增强

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 16:13:13 +08:00

120 lines
1.5 KiB
CSS

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
width: 280px;
font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
font-size: 12px;
color: #1e293b;
background: #f8fafc;
}
.header {
padding: 12px 14px 10px;
background: #0f172a;
color: #f8fafc;
}
.title {
font-size: 14px;
font-weight: 700;
}
.subtitle {
margin-top: 2px;
font-size: 11px;
color: #94a3b8;
}
main {
padding: 10px 12px 8px;
}
.row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
min-height: 30px;
padding: 4px 0;
}
.label {
color: #64748b;
font-weight: 600;
flex-shrink: 0;
}
.badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 88px;
height: 26px;
padding: 0 10px;
border-radius: 13px;
font-size: 11px;
font-weight: 600;
text-align: center;
}
.badge.ok {
background: #d1fae5;
color: #065f46;
}
.badge.warn {
background: #fef3c7;
color: #92400e;
}
.badge.err {
background: #fee2e2;
color: #991b1b;
}
.badge.idle {
background: #e5e7eb;
color: #374151;
}
.hint {
margin-top: 6px;
font-size: 10px;
color: #94a3b8;
}
footer {
display: flex;
gap: 8px;
padding: 0 12px 12px;
}
button {
flex: 1;
height: 32px;
border: none;
border-radius: 8px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
background: #2563eb;
color: #fff;
}
button.secondary {
background: #e2e8f0;
color: #334155;
}
button:hover {
filter: brightness(1.05);
}
button:active {
transform: translateY(1px);
}