240 lines
18 KiB
CSS
240 lines
18 KiB
CSS
.official-deerflow {
|
|
--official-ink: #232323;
|
|
--official-muted: #787878;
|
|
--official-border: #eeeeeb;
|
|
--official-sidebar: #fbfbfa;
|
|
--official-accent: #111111;
|
|
background: #fff;
|
|
color: var(--official-ink);
|
|
display: flex;
|
|
font-family: Inter, "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
|
|
height: 100vh;
|
|
isolation: isolate;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.official-deerflow *,
|
|
.official-deerflow *::before,
|
|
.official-deerflow *::after { box-sizing: border-box; }
|
|
.official-deerflow button,
|
|
.official-deerflow input,
|
|
.official-deerflow textarea { font: inherit; }
|
|
|
|
.official-sidebar {
|
|
background: var(--official-sidebar);
|
|
border-right: 1px solid var(--official-border);
|
|
display: flex;
|
|
flex: 0 0 288px;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
padding: 16px 10px 12px;
|
|
transition: flex-basis 180ms ease;
|
|
}
|
|
.sidebar-collapsed .official-sidebar { flex-basis: 64px; }
|
|
.sidebar-collapsed .official-sidebar span,
|
|
.sidebar-collapsed .official-sidebar p,
|
|
.sidebar-collapsed .official-sidebar small,
|
|
.sidebar-collapsed .official-brand { display: none; }
|
|
.sidebar-collapsed .official-brand-row { justify-content: center; }
|
|
.sidebar-collapsed .official-collapse-button { transform: rotate(180deg); }
|
|
.sidebar-collapsed .official-nav-item,
|
|
.sidebar-collapsed .official-recent-chat,
|
|
.sidebar-collapsed .official-sidebar-footer > button,
|
|
.sidebar-collapsed .official-user-row { justify-content: center; }
|
|
|
|
.official-brand-row { align-items: center; display: flex; height: 34px; justify-content: space-between; padding: 0 4px 0 1px; }
|
|
.official-brand { font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; letter-spacing: -0.5px; }
|
|
.official-collapse-button,
|
|
.official-icon-button { align-items: center; background: transparent; border: 0; border-radius: 7px; color: #787878; cursor: pointer; display: inline-flex; justify-content: center; padding: 6px; }
|
|
.official-collapse-button:hover,
|
|
.official-icon-button:hover { background: #f0f0ee; color: var(--official-ink); }
|
|
|
|
.official-nav { display: grid; gap: 3px; margin-top: 31px; }
|
|
.official-nav-item,
|
|
.official-recent-chat,
|
|
.official-sidebar-footer > button { align-items: center; background: transparent; border: 0; border-radius: 7px; color: #6e6e6e; cursor: pointer; display: flex; gap: 10px; min-width: 0; padding: 9px 8px; text-align: left; width: 100%; }
|
|
.official-nav-item { font-size: 16px; }
|
|
.official-nav-item:hover,
|
|
.official-recent-chat:hover,
|
|
.official-sidebar-footer > button:hover { background: #f0f0ee; color: #222; }
|
|
.official-nav-item.is-active { background: #efefed; color: #252525; font-weight: 600; }
|
|
.official-nav-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
.official-recent-section { border-top: 1px solid var(--official-border); margin-top: 25px; padding-top: 18px; }
|
|
.official-recent-section > p { color: #90908e; font-size: 12px; margin: 0 8px 9px; }
|
|
.official-recent-chat { display: grid; font-size: 13px; gap: 8px; grid-template-columns: 15px minmax(0, 1fr) auto; padding: 8px; }
|
|
.official-recent-chat span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.official-recent-chat small { color: #acaca9; font-size: 11px; }
|
|
.official-recent-chat.is-active { background: #efefed; color: #252525; }
|
|
.official-sidebar-loading,
|
|
.official-sidebar-error,
|
|
.official-sidebar-empty { align-items: center; color: #989895; display: flex; font-size: 12px; gap: 6px; margin: 0; padding: 8px; }
|
|
.official-sidebar-error { color: #b04747; }
|
|
|
|
.official-sidebar-footer { border-top: 1px solid var(--official-border); margin-top: auto; padding-top: 9px; }
|
|
.official-sidebar-footer > button { font-size: 14px; }
|
|
.official-sidebar-footer > button svg:last-child { margin-left: auto; }
|
|
.official-user-row { align-items: center; color: #777; display: flex; font-size: 13px; gap: 8px; margin: 10px 8px 1px; }
|
|
.official-user-avatar { align-items: center; background: #ecece9; border-radius: 50%; color: #71716f; display: inline-flex; height: 25px; justify-content: center; width: 25px; }
|
|
|
|
.official-main-panel { background: #fff; flex: 1; min-width: 0; overflow: auto; }
|
|
.official-page-header { align-items: flex-start; border-bottom: 1px solid var(--official-border); display: flex; justify-content: space-between; min-height: 104px; padding: 27px max(32px, 5vw); }
|
|
.official-page-header h1 { font-size: 24px; letter-spacing: -0.5px; line-height: 1.2; margin: 3px 0 7px; }
|
|
.official-page-header p { color: var(--official-muted); font-size: 14px; margin: 0; }
|
|
.official-eyebrow { color: #9a9a98 !important; font-size: 12px !important; }
|
|
.official-primary-button,
|
|
.official-secondary-button,
|
|
.official-outline-button { align-items: center; border-radius: 8px; cursor: pointer; display: inline-flex; gap: 7px; font-size: 14px; font-weight: 550; justify-content: center; white-space: nowrap; }
|
|
.official-primary-button { background: var(--official-accent); border: 1px solid var(--official-accent); color: #fff; padding: 9px 13px; }
|
|
.official-primary-button:hover { background: #303030; }
|
|
.official-secondary-button,
|
|
.official-outline-button { background: #fff; border: 1px solid #dededb; color: #3d3d3d; padding: 8px 12px; }
|
|
.official-secondary-button:hover,
|
|
.official-outline-button:hover { background: #f7f7f5; }
|
|
.official-secondary-button:disabled { cursor: not-allowed; opacity: .55; }
|
|
|
|
.official-chat-page { display: flex; flex-direction: column; height: 100%; min-height: 660px; }
|
|
.official-chat-header { align-items: center; min-height: 62px; padding-bottom: 12px; padding-top: 12px; }
|
|
.official-thread-title { align-items: center; display: flex; font-size: 14px; font-weight: 600; gap: 3px; }
|
|
.official-header-actions { align-items: center; display: flex; gap: 10px; }
|
|
.official-chat-canvas { align-items: center; display: flex; flex: 1; justify-content: center; min-height: 0; padding: 32px; }
|
|
.official-chat-canvas.has-history { align-items: stretch; justify-content: center; overflow: auto; }
|
|
.official-chat-welcome { margin: auto; max-width: 650px; text-align: center; transform: translateY(-35px); }
|
|
.official-logo-orb { align-items: center; background: linear-gradient(145deg, #202020, #626260); border-radius: 18px; color: white; display: inline-flex; height: 55px; justify-content: center; width: 55px; }
|
|
.official-chat-welcome h1 { font-size: clamp(25px, 3vw, 35px); letter-spacing: -1.15px; line-height: 1.2; margin: 21px 0 9px; }
|
|
.official-chat-welcome > p { color: var(--official-muted); font-size: 15px; margin: 0; }
|
|
.official-suggestion-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); margin-top: 31px; text-align: left; }
|
|
.official-suggestion-grid button { background: #fff; border: 1px solid #e7e7e4; border-radius: 11px; color: #363636; cursor: pointer; min-height: 94px; padding: 14px; text-align: left; transition: border-color 120ms ease, box-shadow 120ms ease; }
|
|
.official-suggestion-grid button:hover { border-color: #bdbdba; box-shadow: 0 4px 18px #0000000a; }
|
|
.official-suggestion-grid strong,
|
|
.official-suggestion-grid span { display: block; }
|
|
.official-suggestion-grid strong { font-size: 14px; margin-bottom: 6px; }
|
|
.official-suggestion-grid span { color: #8a8a87; font-size: 12px; line-height: 1.45; }
|
|
|
|
.official-composer-shell { margin: 0 auto; max-width: 850px; padding: 0 24px 19px; width: 100%; }
|
|
.official-composer { align-items: flex-end; background: #fff; border: 1px solid #dcdcd8; border-radius: 13px; box-shadow: 0 7px 20px #00000008; display: flex; gap: 8px; padding: 11px 11px 10px 15px; }
|
|
.official-composer:focus-within { border-color: #adadaa; box-shadow: 0 0 0 3px #00000009; }
|
|
.official-composer textarea { background: transparent; border: 0; color: #333; flex: 1; font-size: 15px; line-height: 24px; max-height: 144px; outline: 0; resize: none; }
|
|
.official-composer textarea::placeholder { color: #a2a2a0; }
|
|
.official-composer button { align-items: center; background: #222; border: 0; border-radius: 8px; color: #fff; cursor: pointer; display: inline-flex; height: 31px; justify-content: center; transition: opacity 100ms ease; width: 31px; }
|
|
.official-composer button:disabled { cursor: not-allowed; opacity: .3; }
|
|
.official-composer-shell > p { color: #acaca8; font-size: 11px; margin: 9px 0 0; text-align: center; }
|
|
.official-message-list { display: grid; gap: 18px; margin: 0 auto; max-width: 760px; padding: 12px 0 22px; width: 100%; }
|
|
.official-message { border-radius: 12px; font-size: 15px; line-height: 1.65; padding: 14px 16px; }
|
|
.official-message-user { background: #f4f4f2; justify-self: end; max-width: 76%; }
|
|
.official-message-assistant { border: 1px solid #eeeeeb; justify-self: start; max-width: 88%; }
|
|
.official-message p { margin: 0; white-space: pre-wrap; }
|
|
.official-message-assistant p { margin: 10px 0 13px; }
|
|
.official-assistant-mark { align-items: center; color: #5c5c5a; display: flex; font-size: 12px; font-weight: 600; gap: 6px; }
|
|
.official-insight-card { background: #f7f7f5; border-radius: 8px; display: grid; gap: 3px; padding: 10px 11px; }
|
|
.official-insight-card strong { font-size: 13px; }
|
|
.official-insight-card span { color: #858582; font-size: 12px; }
|
|
.official-streaming-indicator { align-items: center; color: #7d7d7a; display: flex; font-size: 13px; gap: 7px; padding: 6px 1px; }
|
|
.official-streaming-indicator svg,
|
|
.official-loading-state svg,
|
|
.official-sidebar-loading svg { animation: official-spin 900ms linear infinite; }
|
|
.official-inline-error { color: #ae3e3e; font-size: 12px; margin: 0 auto 8px; max-width: 850px; padding: 0 24px; width: 100%; }
|
|
|
|
.official-content-page { margin: 0 auto; max-width: 1180px; min-height: 100%; }
|
|
.official-content-page .official-page-header { padding-left: max(32px, 5vw); padding-right: max(32px, 5vw); }
|
|
.official-toolbar { padding: 22px max(32px, 5vw) 0; }
|
|
.official-search { align-items: center; background: #f7f7f5; border: 1px solid transparent; border-radius: 8px; color: #8a8a87; display: flex; gap: 8px; max-width: 330px; padding: 8px 10px; }
|
|
.official-search:focus-within { background: #fff; border-color: #d1d1ce; }
|
|
.official-search input { background: transparent; border: 0; color: #333; font-size: 14px; min-width: 0; outline: 0; width: 100%; }
|
|
.official-agent-grid { display: grid; gap: 15px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 24px max(32px, 5vw) 40px; }
|
|
.official-agent-card { border: 1px solid #e8e8e5; border-radius: 12px; min-height: 244px; padding: 19px; position: relative; }
|
|
.official-agent-card:hover { border-color: #cfcfcb; box-shadow: 0 8px 22px #00000008; }
|
|
.official-agent-avatar { align-items: center; border-radius: 9px; display: inline-flex; font-size: 13px; font-weight: 700; height: 38px; justify-content: center; width: 38px; }
|
|
.official-agent-avatar.violet { background: #eeeafe; color: #6d56b7; }
|
|
.official-agent-avatar.sky { background: #e6f4ff; color: #2786bc; }
|
|
.official-agent-avatar.amber { background: #fff1d7; color: #b46d0d; }
|
|
.official-agent-card h2 { font-size: 16px; letter-spacing: -.2px; margin: 17px 0 7px; }
|
|
.official-agent-card p { color: #80807e; font-size: 13px; line-height: 1.55; margin: 0; }
|
|
.official-agent-card button { background: transparent; border: 0; bottom: 17px; color: #3c3c3a; cursor: pointer; font-size: 13px; font-weight: 600; left: 14px; padding: 5px; position: absolute; }
|
|
.official-agent-card button:hover { text-decoration: underline; }
|
|
.official-query-error { color: #ae3e3e; font-size: 14px; margin: 26px max(32px, 5vw); }
|
|
.official-loading-state { align-items: center; color: #7e7e7b; display: flex; font-size: 14px; gap: 8px; justify-content: center; min-height: 300px; }
|
|
.official-empty-panel { align-items: center; display: flex; flex-direction: column; justify-content: center; min-height: 430px; padding: 32px; text-align: center; }
|
|
.official-empty-icon { align-items: center; background: #f3f3f1; border-radius: 13px; color: #666; display: flex; height: 52px; justify-content: center; width: 52px; }
|
|
.official-empty-panel h2 { font-size: 18px; margin: 17px 0 7px; }
|
|
.official-empty-panel p { color: #858582; font-size: 14px; margin: 0 0 18px; }
|
|
.official-settings-list { display: grid; gap: 8px; padding: 25px max(32px, 5vw); }
|
|
.official-setting-row { background: #fff; border: 1px solid #e8e8e5; border-radius: 10px; color: #3b3b39; display: block; padding: 15px 17px; text-align: left; }
|
|
.official-settings-list strong,
|
|
.official-settings-list small { display: block; }
|
|
.official-settings-list strong { font-size: 14px; }
|
|
.official-settings-list small { color: #888885; font-size: 12px; margin-top: 3px; }
|
|
.official-task-list { display: grid; gap: 9px; padding: 24px max(32px, 5vw) 40px; }
|
|
.official-task-card { align-items: center; background: #fff; border: 1px solid #e8e8e5; border-radius: 10px; color: #393937; display: flex; min-width: 0; padding: 5px 6px 5px 15px; transition: border-color 120ms ease, box-shadow 120ms ease; }
|
|
.official-task-card:hover { background: #fafaf8; border-color: #d2d2ce; }
|
|
.official-task-card.is-selected { border-color: #969692; box-shadow: 0 0 0 3px #00000008; }
|
|
.official-task-card-main { align-items: center; background: transparent; border: 0; color: inherit; cursor: pointer; display: grid; flex: 1; gap: 12px; grid-template-columns: 38px minmax(0, 1fr) auto auto; min-width: 0; padding: 8px 0; text-align: left; }
|
|
.official-task-icon { align-items: center; background: #f0f0ed; border-radius: 8px; color: #686865; display: flex; height: 34px; justify-content: center; width: 34px; }
|
|
.official-task-copy { min-width: 0; }
|
|
.official-task-copy strong,
|
|
.official-task-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.official-task-copy strong { font-size: 14px; }
|
|
.official-task-copy small { color: #888885; font-size: 12px; margin-top: 3px; }
|
|
.official-task-status { background: #eef5ef; border-radius: 999px; color: #46804e; font-size: 11px; padding: 3px 8px; white-space: nowrap; }
|
|
.official-task-status.is-running,
|
|
.official-task-status.is-pending { background: #fff4de; color: #a97018; }
|
|
.official-task-status.is-paused { background: #f0f0ee; color: #7e7e7b; }
|
|
.official-task-status.is-failed { background: #fff0f0; color: #b34e4e; }
|
|
.official-task-card time { color: #9a9a97; font-size: 12px; white-space: nowrap; }
|
|
.official-task-card-actions { display: flex; gap: 3px; margin-left: 11px; }
|
|
.official-task-card-actions button { align-items: center; background: transparent; border: 0; border-radius: 7px; color: #686865; cursor: pointer; display: inline-flex; height: 30px; justify-content: center; width: 30px; }
|
|
.official-task-card-actions button:hover { background: #ededeb; color: #242422; }
|
|
.official-task-card-actions button:disabled { cursor: not-allowed; opacity: .45; }
|
|
.official-task-card-actions button:disabled svg { animation: official-spin 900ms linear infinite; }
|
|
|
|
.official-task-detail { border-bottom: 1px solid var(--official-border); padding: 24px max(32px, 5vw); }
|
|
.official-task-detail > header { align-items: flex-start; display: flex; gap: 16px; justify-content: space-between; }
|
|
.official-task-detail h2 { font-size: 19px; margin: 3px 0 7px; }
|
|
.official-task-detail header p:not(.official-eyebrow) { color: #777774; font-size: 13px; line-height: 1.5; margin: 0; max-width: 720px; }
|
|
.official-task-meta { color: #787875; display: flex; flex-wrap: wrap; font-size: 12px; gap: 7px 16px; margin-top: 16px; }
|
|
.official-task-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
|
|
.official-task-detail-actions button:disabled svg { animation: official-spin 900ms linear infinite; }
|
|
.official-run-list { margin-top: 24px; }
|
|
.official-run-list h3 { font-size: 14px; margin: 0 0 10px; }
|
|
.official-run-row { align-items: center; background: transparent; border: 0; border-top: 1px solid #eeeeeb; color: #4c4c49; cursor: pointer; display: grid; font-size: 12px; gap: 13px; grid-template-columns: 76px 92px minmax(0, 1fr); padding: 11px 2px; text-align: left; width: 100%; }
|
|
.official-run-row:hover { color: #111; }
|
|
.official-run-row > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.official-run-status { background: #f0f0ee; border-radius: 999px; color: #777774; justify-self: start; padding: 3px 7px; }
|
|
.official-run-status.is-running,
|
|
.official-run-status.is-pending { background: #fff4de; color: #a97018; }
|
|
.official-run-status.is-succeeded { background: #eef5ef; color: #46804e; }
|
|
.official-run-status.is-failed { background: #fff0f0; color: #b34e4e; }
|
|
.official-run-empty { align-items: center; color: #858582; display: flex; font-size: 12px; gap: 6px; margin: 10px 0 0; }
|
|
.official-run-empty svg { animation: official-spin 900ms linear infinite; }
|
|
|
|
@keyframes official-spin { to { transform: rotate(360deg); } }
|
|
|
|
@media (max-width: 760px) {
|
|
.official-sidebar { flex-basis: 62px; padding-left: 7px; padding-right: 7px; }
|
|
.official-sidebar span,
|
|
.official-sidebar p,
|
|
.official-sidebar small,
|
|
.official-brand { display: none; }
|
|
.official-brand-row { justify-content: center; }
|
|
.official-collapse-button { display: none; }
|
|
.official-nav-item,
|
|
.official-recent-chat,
|
|
.official-sidebar-footer > button,
|
|
.official-user-row { justify-content: center; }
|
|
.official-page-header { padding-left: 22px; padding-right: 22px; }
|
|
.official-page-header h1 { font-size: 21px; }
|
|
.official-agent-grid { grid-template-columns: 1fr; padding-left: 22px; padding-right: 22px; }
|
|
.official-toolbar { padding-left: 22px; padding-right: 22px; }
|
|
.official-content-page .official-page-header { padding-left: 22px; padding-right: 22px; }
|
|
.official-suggestion-grid { grid-template-columns: 1fr; }
|
|
.official-chat-welcome { transform: none; }
|
|
.official-message-list { padding-left: 0; padding-right: 0; }
|
|
.official-outline-button { font-size: 0; gap: 0; padding: 8px; }
|
|
.official-composer-shell { padding-left: 14px; padding-right: 14px; }
|
|
.official-task-card-main { gap: 8px; grid-template-columns: 38px minmax(0, 1fr) auto; }
|
|
.official-task-card time { display: none; }
|
|
.official-task-detail { padding-left: 22px; padding-right: 22px; }
|
|
.official-run-row { grid-template-columns: 76px minmax(0, 1fr); }
|
|
.official-run-row > span:nth-child(2) { display: none; }
|
|
}
|