82 lines
3.3 KiB
CSS
82 lines
3.3 KiB
CSS
* { box-sizing: border-box; }
|
|
body {
|
|
font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
margin: 0;
|
|
color: #1c1c1c;
|
|
background: #fafafa;
|
|
display: flex;
|
|
min-height: 100vh;
|
|
}
|
|
.rail {
|
|
width: 200px;
|
|
background: #1c1c1c;
|
|
color: #fff;
|
|
padding: 16px;
|
|
flex-shrink: 0;
|
|
}
|
|
.rail a { color: #fff; text-decoration: none; }
|
|
.rail-brand {
|
|
font-weight: 600;
|
|
display: block;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid #333;
|
|
margin-bottom: 16px;
|
|
}
|
|
.rail ul { list-style: none; padding: 0; margin: 0; }
|
|
.rail li { margin: 4px 0; }
|
|
.rail li a { display: block; padding: 6px 8px; border-radius: 3px; }
|
|
.rail li a.active { background: #333; }
|
|
.content {
|
|
flex: 1;
|
|
padding: 24px;
|
|
background: #fafafa;
|
|
overflow: auto;
|
|
}
|
|
.brand { font-weight: 600; text-decoration: none; color: inherit; }
|
|
.container { max-width: 720px; margin: 24px auto; padding: 0 16px; }
|
|
h1 { margin-top: 0; }
|
|
.page-header { display: flex; align-items: center; justify-content: space-between; }
|
|
.btn, button {
|
|
display: inline-block; padding: 8px 14px;
|
|
border: 1px solid #444; background: #1c1c1c; color: #fff;
|
|
border-radius: 4px; text-decoration: none; cursor: pointer;
|
|
font: inherit;
|
|
}
|
|
.bot-form label { display: block; margin-bottom: 14px; }
|
|
.bot-form label span { display: block; font-weight: 600; margin-bottom: 4px; }
|
|
.bot-form input[type=text], .bot-form textarea {
|
|
width: 100%; padding: 6px 8px; font: inherit;
|
|
border: 1px solid #ccc; border-radius: 3px; background: #fff;
|
|
}
|
|
.bot-form small { display: block; color: #666; margin-top: 2px; }
|
|
.bot-list { list-style: none; padding: 0; }
|
|
.bot-list li { padding: 8px 0; border-bottom: 1px solid #eee; }
|
|
.chat-list { list-style: none; padding: 0; margin: 0; }
|
|
.chat-row { border-bottom: 1px solid #eee; }
|
|
.chat-row a { display: block; padding: 12px 0; text-decoration: none; color: inherit; }
|
|
.chat-row a:hover { background: #f0f0f0; }
|
|
.chat-row-name { font-weight: 600; }
|
|
.chat-row-snippet { font-size: 14px; }
|
|
.chat-row-meta { font-size: 12px; }
|
|
.muted { color: #666; }
|
|
.error {
|
|
padding: 8px 12px; border: 1px solid #c33; background: #fdecea;
|
|
color: #a00; border-radius: 3px;
|
|
}
|
|
.success {
|
|
padding: 8px 12px; border: 1px solid #2d7a3a; background: #eafaf0;
|
|
color: #1f5c2a; border-radius: 3px;
|
|
}
|
|
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
|
|
.chat-shell { display: flex; flex-direction: column; height: 100%; max-width: 760px; margin: 0 auto; }
|
|
.chat-header { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid #e5e5e5; padding-bottom: 8px; margin-bottom: 16px; }
|
|
.chat-header h1 { margin: 0; flex: 1; }
|
|
.chat-meta { font-size: 13px; }
|
|
.drawer-toggle { padding: 4px 10px; border: 1px solid #ccc; background: #fff; color: #1c1c1c; border-radius: 3px; cursor: pointer; }
|
|
.timeline { flex: 1; overflow-y: auto; min-height: 200px; padding: 8px 0; }
|
|
.turn { margin: 12px 0; }
|
|
.turn-input { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid #e5e5e5; }
|
|
.turn-input textarea { padding: 8px; font: inherit; border: 1px solid #ccc; border-radius: 3px; resize: vertical; }
|
|
.drawer { position: fixed; top: 0; right: 0; width: 360px; height: 100vh; background: #fff; border-left: 1px solid #e5e5e5; padding: 16px; overflow-y: auto; z-index: 10; }
|
|
.drawer[hidden] { display: none; }
|