Files
agent/apps/web_v1/src/App.css

2193 lines
39 KiB
CSS

:root {
--senlin-primary: #165dff;
--senlin-bg: #f7f8fa;
--senlin-panel: #ffffff;
--senlin-border: #e5e6eb;
--senlin-text: #1d2129;
--senlin-muted: #86909c;
--senlin-soft-blue: #e8f3ff;
--senlin-status: #142033;
}
.app {
min-height: 100vh;
overflow-x: hidden;
background: var(--senlin-bg);
color: var(--senlin-text);
}
.theme-dark {
--senlin-bg: #1e1e1e;
--senlin-panel: #252526;
--senlin-border: #3c3c3c;
--senlin-text: #cccccc;
--senlin-muted: #858585;
--senlin-soft-blue: rgba(0, 122, 204, 0.22);
--senlin-primary: #007acc;
--senlin-status: #007acc;
}
.theme-dark .arco-layout,
.theme-dark .arco-card,
.theme-dark .arco-tabs,
.theme-dark .arco-input,
.theme-dark .arco-textarea,
.theme-dark .arco-btn-secondary {
background: var(--senlin-panel);
color: var(--senlin-text);
}
.theme-dark .arco-card,
.theme-dark .arco-input,
.theme-dark .arco-textarea,
.theme-dark .arco-btn,
.theme-dark .arco-tabs-header-title {
border-color: var(--senlin-border);
}
.theme-dark .arco-typography,
.theme-dark .arco-typography p,
.theme-dark .arco-typography h1,
.theme-dark .arco-typography h2,
.theme-dark .arco-typography h3,
.theme-dark .arco-typography h4,
.theme-dark .arco-typography h5,
.theme-dark .arco-typography h6 {
color: var(--senlin-text);
}
.theme-dark .arco-typography-secondary {
color: var(--senlin-muted);
}
.login-screen {
min-height: 100vh;
display: grid;
place-items: center;
padding: 40px;
background:
radial-gradient(circle at 0 0, rgba(22, 93, 255, 0.08), transparent 28%),
linear-gradient(180deg, #f3f7ff 0%, #f7f8fa 42%, #ffffff 100%);
}
.login-card.arco-card {
width: min(1180px, 96vw);
min-height: 430px;
overflow: hidden;
border-color: var(--senlin-border);
border-radius: 8px;
box-shadow: 0 12px 36px rgba(29, 33, 41, 0.08);
}
.login-card .arco-card-body {
display: grid;
grid-template-columns: 1fr 1.1fr 1fr;
padding: 0;
}
.login-brand-panel,
.login-form-panel,
.login-value-panel {
min-height: 430px;
padding: 42px;
}
.login-brand-panel,
.login-form-panel {
border-right: 1px solid var(--senlin-border);
}
.login-brand-panel {
display: grid;
align-content: center;
gap: 12px;
}
.brand-lockup {
display: flex;
align-items: center;
gap: 10px;
}
.brand-lockup.large {
gap: 16px;
}
.brand-icon {
width: 32px;
height: 32px;
display: block;
border-radius: 8px;
}
.brand-lockup.large .brand-icon {
width: 46px;
height: 46px;
border-radius: 12px;
}
.rail-brand-icon {
width: 40px;
height: 40px;
border-radius: 10px;
}
.brand-name {
font-size: 18px;
font-weight: 700;
}
.login-slogan {
margin-top: 28px;
font-size: 16px;
font-weight: 600;
}
.login-footer-links {
align-self: end;
flex-wrap: wrap;
margin-top: 72px;
}
.login-footer-links .arco-typography {
white-space: nowrap;
}
.login-form-panel {
display: grid;
align-content: center;
}
.login-form {
margin-top: 20px;
}
.login-row {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 14px;
}
.check-dot {
width: 14px;
height: 14px;
display: inline-block;
border-radius: 3px;
background: var(--senlin-primary);
box-shadow: inset 0 0 0 3px white;
}
.connection-card {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 10px;
margin-top: 14px;
padding: 10px 12px;
border: 1px solid #7be188;
border-radius: 6px;
background: #f0fff4;
color: #168a2f;
}
.connection-title {
display: block;
color: #168a2f;
font-weight: 600;
}
.login-value-panel {
display: grid;
align-content: center;
gap: 18px;
}
.value-point {
display: grid;
grid-template-columns: 42px 1fr;
gap: 12px;
align-items: center;
}
.value-point > span {
width: 42px;
height: 42px;
display: grid;
place-items: center;
border-radius: 999px;
background: var(--senlin-soft-blue);
color: var(--senlin-primary);
font-size: 22px;
}
.value-title {
display: block;
font-weight: 700;
}
.workbench-shell {
height: 100vh;
display: grid;
grid-template-rows: 58px minmax(0, 1fr) 32px;
overflow: hidden;
background: var(--senlin-bg);
}
.topbar {
display: grid;
grid-template-columns: 210px minmax(480px, 680px) 1fr;
align-items: center;
gap: 18px;
height: 58px;
padding: 0 16px;
border-bottom: 1px solid var(--senlin-border);
background: var(--senlin-panel);
}
.global-search {
display: grid;
grid-template-columns: minmax(0, 1fr) 76px;
height: 42px;
border: 1px solid var(--senlin-primary);
border-radius: 6px;
overflow: hidden;
box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.08);
}
.global-search .arco-input-inner-wrapper {
height: 40px;
border: 0;
border-radius: 0;
background: var(--senlin-panel);
}
.global-search .arco-btn {
height: 40px;
border-radius: 0;
}
.search-results-dropdown {
width: min(680px, calc(100vw - 32px));
max-height: 360px;
overflow-y: auto;
padding: var(--space-2);
border: 1px solid var(--color-border);
border-radius: var(--radius-control);
background: var(--color-panel);
box-shadow: 0 12px 32px rgba(29, 33, 41, 0.18);
}
.search-result-item {
display: grid;
width: 100%;
gap: var(--space-1);
padding: var(--space-2) var(--space-3);
border: 0;
border-radius: var(--radius-control);
color: var(--color-text);
background: transparent;
text-align: left;
cursor: pointer;
}
.search-result-item:hover,
.search-result-item:focus-visible {
background: var(--color-soft-blue);
outline: none;
}
.search-result-heading {
display: flex;
justify-content: space-between;
gap: var(--space-3);
}
.search-result-type {
flex: 0 0 auto;
}
.search-result-snippet {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.topbar-actions {
justify-content: flex-end;
}
.dock-icon {
position: relative;
display: inline-block;
width: 16px;
height: 14px;
border: 1.5px solid currentcolor;
border-radius: 2px;
box-sizing: border-box;
}
.dock-icon span {
position: absolute;
top: 0;
bottom: 0;
width: 5px;
background: currentcolor;
opacity: 0.2;
}
.dock-icon-left span {
left: 0;
border-right: 1.5px solid currentcolor;
}
.dock-icon-right span {
right: 0;
border-left: 1.5px solid currentcolor;
}
.workbench-main {
min-height: 0;
min-width: 0;
}
.project-rail {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
overflow: hidden;
border-right: 1px solid var(--senlin-border);
background: var(--senlin-panel);
}
.project-rail .arco-layout-sider-children {
width: calc(100% - 1px);
height: 100%;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
overflow: hidden !important;
padding: 14px 24px;
}
.project-stack,
.project-stack .arco-space-item {
width: 48px;
}
.dashboard-button,
.create-project {
width: 48px !important;
height: 48px !important;
min-width: 48px;
padding: 0 !important;
border-radius: 8px;
}
.dashboard-button.active {
border-color: var(--senlin-primary);
background: var(--senlin-primary);
color: white;
}
.dashboard-button .arco-icon,
.create-project .arco-icon {
font-size: 24px;
}
.create-project {
font-size: 11px;
white-space: normal;
}
.project-button {
width: 48px;
height: 48px;
padding: 0 4px;
border: 1px solid var(--senlin-border);
border-radius: 8px;
background: color-mix(in srgb, var(--project-color) 9%, white);
color: var(--project-color);
font-size: 12px;
font-weight: 700;
overflow: hidden;
cursor: pointer;
}
.project-button.active {
border-color: var(--project-color);
background: var(--project-color);
color: white;
}
.project-badge .arco-badge-number {
box-shadow: 0 0 0 2px var(--senlin-panel);
}
.project-badge.urgent .arco-badge-number {
background: #f53f3f;
}
.channel-sidebar {
min-height: 0;
overflow-x: hidden;
overflow-y: auto;
scrollbar-width: none;
scrollbar-color: color-mix(in srgb, var(--senlin-muted) 45%, transparent) transparent;
padding: 16px;
border-right: 1px solid var(--senlin-border);
background: var(--senlin-panel);
}
.project-title {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 14px;
}
.project-title h5 {
margin: 0;
}
.project-title-icon {
width: 24px;
height: 24px;
display: inline-grid;
place-items: center;
border-radius: 6px;
background: var(--senlin-soft-blue);
color: var(--senlin-primary);
font-size: 12px;
font-weight: 700;
}
.channel-list {
display: grid;
gap: 4px;
overflow-x: hidden;
overflow-y: auto;
scrollbar-width: none;
scrollbar-color: color-mix(in srgb, var(--senlin-muted) 45%, transparent) transparent;
}
.channel-button {
width: 100%;
min-height: 36px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
border: 0;
border-radius: 6px;
background: transparent;
color: var(--senlin-text);
padding: 7px 10px;
cursor: pointer;
}
.channel-button.active {
background: var(--senlin-soft-blue);
color: var(--senlin-primary);
box-shadow: inset 3px 0 0 var(--senlin-primary);
}
.channel-badge-muted .arco-badge-number {
background: #c9cdd4;
color: #4e5969;
}
.channel-left {
min-width: 0;
display: flex;
align-items: center;
gap: 8px;
}
.channel-left .arco-typography {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.recent-sessions,
.tag-cloud {
display: grid;
gap: 8px;
}
.section-title {
font-weight: 700;
}
.tag-create-button.arco-btn {
height: 24px;
padding: 0 8px;
border-radius: 12px;
color: rgb(var(--arcoblue-6));
}
.tag-create-button .arco-icon {
font-size: 12px;
}
.recent-sessions button {
display: grid;
gap: 2px;
border: 0;
border-radius: 6px;
background: transparent;
padding: 6px 8px;
text-align: left;
cursor: pointer;
}
.recent-sessions button:hover {
background: var(--senlin-soft-blue);
}
.stage {
min-width: 0;
overflow: auto;
overflow-x: hidden;
overflow-y: auto;
scrollbar-width: none;
scrollbar-color: color-mix(in srgb, var(--senlin-muted) 45%, transparent) transparent;
padding: 16px;
background: var(--senlin-bg);
}
.overview-page {
display: grid;
gap: 12px;
}
.overview-head {
display: flex;
align-items: end;
justify-content: space-between;
padding-bottom: 10px;
border-bottom: 1px solid var(--senlin-border);
}
.overview-head h4 {
margin: 3px 0 0;
}
.project-overview-hero {
min-height: 112px;
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 14px;
border: 1px solid var(--senlin-border);
border-radius: 8px;
background-position: center;
background-size: cover;
color: #fff;
padding: 16px 18px;
overflow: hidden;
}
.project-overview-identity {
min-width: 0;
display: flex;
align-items: center;
gap: 14px;
}
.project-overview-icon {
width: 44px;
height: 44px;
flex: 0 0 auto;
display: inline-grid;
place-items: center;
border: 1px solid rgb(255 255 255 / 42%);
border-radius: 8px;
background: rgb(255 255 255 / 18%);
color: #fff;
font-size: 16px;
font-weight: 700;
backdrop-filter: blur(10px);
}
.project-overview-identity h3,
.project-overview-identity .arco-typography {
color: #fff;
}
.project-overview-identity h3 {
margin: 0 0 3px;
}
.project-overview-identity .arco-typography {
max-width: 680px;
margin: 0;
opacity: 0.88;
}
.project-overview-share {
max-width: min(520px, 42vw);
display: grid;
justify-items: end;
gap: 4px;
}
.project-overview-share .arco-typography {
color: rgb(255 255 255 / 82%);
}
.project-overview-share .arco-btn {
height: 30px;
max-width: 100%;
border-color: rgb(255 255 255 / 36%);
background: rgb(255 255 255 / 18%);
color: #fff;
padding: 0 10px;
backdrop-filter: blur(10px);
}
.project-overview-share .arco-btn > span:last-child {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.metric-row {
min-width: 0;
}
.metric-card.arco-card {
border-radius: 6px;
}
.metric-card .arco-card-body {
padding: 14px;
}
.metric-card h3 {
margin: 2px 0;
}
.metric-delta {
color: #00b42a;
font-size: 12px;
}
.queue-section.arco-card {
border-radius: 6px;
}
.queue-section .arco-card-body {
padding: 12px;
}
.workspace-explore-page {
min-height: 0;
}
.explore-source-row {
min-width: 0;
}
.explore-source-card.arco-card {
cursor: pointer;
transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.explore-source-card.arco-card:hover,
.explore-source-card.arco-card.active {
border-color: color-mix(in srgb, var(--senlin-primary) 52%, var(--senlin-border));
box-shadow: 0 8px 20px color-mix(in srgb, var(--senlin-primary) 10%, transparent);
}
.explore-source-card.arco-card.active {
background: color-mix(in srgb, var(--senlin-primary) 7%, var(--senlin-panel));
}
.explore-source-card .arco-card-body {
display: grid;
grid-template-columns: 30px minmax(0, 1fr) auto;
align-items: center;
gap: 9px;
min-height: 46px;
padding: 9px 10px;
}
.explore-source-icon {
width: 30px;
height: 30px;
flex: 0 0 auto;
display: inline-grid;
place-items: center;
border-radius: 8px;
font-size: 16px;
}
.explore-source-icon.mini {
width: 22px;
height: 22px;
border-radius: 6px;
font-size: 13px;
}
.explore-source-icon.blue {
background: rgb(var(--arcoblue-1));
color: rgb(var(--arcoblue-6));
}
.explore-source-icon.green {
background: rgb(var(--green-1));
color: rgb(var(--green-6));
}
.explore-source-icon.orange {
background: rgb(var(--orange-1));
color: rgb(var(--orange-6));
}
.explore-source-icon.purple {
background: rgb(var(--purple-1));
color: rgb(var(--purple-6));
}
.explore-source-copy {
min-width: 0;
display: flex;
align-items: baseline;
gap: 8px;
}
.explore-source-name {
overflow: hidden;
font-weight: 700;
text-overflow: ellipsis;
white-space: nowrap;
}
.explore-source-actions {
display: flex;
align-items: center;
gap: 2px;
opacity: 0;
pointer-events: none;
transition: opacity 0.16s ease;
}
.explore-source-card:hover .explore-source-actions {
opacity: 1;
pointer-events: auto;
}
.explore-reader-layout {
min-height: 0;
display: grid;
grid-template-columns: minmax(320px, 34%) minmax(520px, 1fr);
gap: 12px;
}
.explore-article-list.queue-section .arco-card-body,
.explore-article-detail.queue-section .arco-card-body {
min-height: 620px;
padding: 0;
}
.explore-list-header {
height: 46px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 0 12px;
border-bottom: 1px solid var(--senlin-border);
}
.explore-list-header h5 {
margin: 0;
}
.explore-list-body {
max-height: calc(100vh - 252px);
overflow: auto;
scrollbar-width: none;
}
.explore-list-body:hover {
scrollbar-width: thin;
}
.explore-list-body::-webkit-scrollbar {
width: 0;
height: 0;
}
.explore-list-body:hover::-webkit-scrollbar {
width: 8px;
}
.explore-article-item {
width: 100%;
display: grid;
grid-template-columns: 30px minmax(0, 1fr);
gap: 10px;
border: 0;
border-bottom: 1px solid var(--senlin-border);
background: transparent;
color: var(--senlin-text);
padding: 9px 12px;
text-align: left;
cursor: pointer;
}
.explore-article-item:hover,
.explore-article-item.active {
background: color-mix(in srgb, var(--senlin-primary) 8%, var(--senlin-panel));
}
.explore-source-logo {
width: 26px;
height: 26px;
display: inline-grid;
place-items: center;
border-radius: 6px;
background: #1f2a63;
color: #fff;
font-size: 14px;
font-weight: 800;
}
.explore-source-logo.green {
background: rgb(var(--green-6));
}
.explore-source-logo.orange {
background: rgb(var(--orange-6));
}
.explore-source-logo.purple {
background: rgb(var(--purple-6));
}
.explore-source-logo.blue {
background: rgb(var(--arcoblue-6));
}
.explore-source-logo.small {
width: 20px;
height: 20px;
border-radius: 5px;
font-size: 12px;
}
.explore-article-copy {
min-width: 0;
display: grid;
gap: 2px;
}
.explore-article-title {
display: -webkit-box;
overflow: hidden;
color: var(--senlin-text);
font-size: 14px;
font-weight: 700;
line-height: 1.35;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.explore-article-summary {
font-size: 12px;
}
.explore-detail-toolbar {
min-height: 46px;
display: flex;
align-items: center;
gap: 16px;
justify-content: flex-end;
padding: 8px 14px 8px 18px;
border-bottom: 1px solid var(--senlin-border);
}
.explore-detail-toolbar h5 {
min-width: 0;
flex: 1;
overflow: hidden;
margin: 0;
text-overflow: ellipsis;
white-space: nowrap;
}
.explore-article-body {
max-width: 780px;
margin: 0 auto;
padding: 30px 28px 72px;
}
.explore-article-body h2 {
margin: 0;
color: var(--senlin-text);
font-size: 28px;
line-height: 1.35;
}
.explore-article-meta {
margin-bottom: 24px;
}
.explore-article-content {
margin: 0;
color: var(--senlin-text);
font-size: 16px;
line-height: 1.9;
}
.explore-avatar-strip {
display: flex;
align-items: center;
margin-top: 20px;
padding-left: 8px;
}
.explore-avatar-strip span {
width: 26px;
height: 26px;
display: inline-grid;
place-items: center;
margin-left: -8px;
border: 2px solid var(--senlin-panel);
border-radius: 999px;
background: var(--senlin-soft-blue);
color: #fff;
font-size: 11px;
font-weight: 700;
}
.explore-avatar-strip span:last-child {
color: var(--senlin-muted);
}
.explore-ai-summary.arco-card {
margin-top: 34px;
border-color: color-mix(in srgb, var(--senlin-primary) 14%, var(--senlin-border));
border-radius: 8px;
box-shadow: 0 8px 24px rgba(29, 33, 41, 0.06);
}
.explore-ai-summary .arco-card-body {
display: grid;
gap: 22px;
padding: 24px 28px;
}
.explore-ai-summary .arco-space {
color: #a855f7;
font-size: 16px;
font-weight: 700;
}
.explore-ai-summary .arco-typography {
margin: 0;
color: var(--senlin-text);
font-size: 15px;
line-height: 1.8;
}
.explore-article-body blockquote {
margin: 38px 0 0;
border-left: 4px solid var(--senlin-border);
color: var(--senlin-text);
padding: 4px 0 4px 18px;
font-size: 17px;
font-style: italic;
line-height: 1.9;
}
.theme-dark .explore-source-icon.blue,
.theme-dark .explore-source-icon.green,
.theme-dark .explore-source-icon.orange,
.theme-dark .explore-source-icon.purple {
background: color-mix(in srgb, currentcolor 18%, transparent);
}
.theme-dark .explore-ai-summary.arco-card {
box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
}
@media (max-width: 960px) {
.workspace-explore-page .overview-head {
align-items: flex-start;
flex-direction: column;
gap: 10px;
}
.workspace-explore-page .arco-col-6 {
flex: 0 0 100%;
max-width: 100%;
}
.explore-source-row {
row-gap: 10px;
}
.explore-reader-layout {
grid-template-columns: minmax(0, 1fr);
}
.explore-article-list.queue-section .arco-card-body,
.explore-article-detail.queue-section .arco-card-body {
min-height: 0;
}
.explore-list-body {
max-height: 360px;
}
.explore-article-body {
padding: 28px 18px 40px;
}
.explore-article-body h2 {
font-size: 22px;
}
}
.section-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 4px;
}
.section-header h6 {
margin: 0;
}
.data-row {
width: 100%;
display: grid;
grid-template-columns: minmax(220px, 1.25fr) minmax(220px, 1fr) 82px 70px 82px;
align-items: center;
gap: 12px;
border: 0;
border-top: 1px solid var(--senlin-border);
background: transparent;
color: var(--senlin-text);
padding: 9px 0;
text-align: left;
cursor: pointer;
}
.data-row:first-of-type {
border-top: 0;
}
.data-row:hover {
background: color-mix(in srgb, var(--senlin-primary) 5%, transparent);
}
.data-row span,
.data-row time {
overflow: hidden;
color: var(--senlin-muted);
font-size: 13px;
text-overflow: ellipsis;
white-space: nowrap;
}
.data-row .row-title {
display: flex;
align-items: center;
gap: 8px;
color: var(--senlin-text);
font-weight: 600;
}
.task-row {
grid-template-columns: minmax(260px, 1fr) 82px 100px 100px 130px;
}
.overview-task-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 12px;
padding-top: 6px;
}
.overview-task-card {
min-width: 0;
min-height: 132px;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 10px;
border: 1px solid var(--senlin-border);
border-radius: 6px;
background: var(--senlin-surface);
color: var(--senlin-text);
padding: 14px;
text-align: left;
cursor: pointer;
transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.overview-task-card:hover {
border-color: color-mix(in srgb, var(--senlin-primary) 42%, var(--senlin-border));
box-shadow: 0 8px 22px color-mix(in srgb, var(--senlin-primary) 12%, transparent);
transform: translateY(-1px);
}
.overview-task-card.completed {
background: color-mix(in srgb, var(--senlin-surface) 92%, #00b42a);
}
.overview-task-title {
min-width: 0;
display: flex;
align-items: center;
gap: 8px;
font-weight: 600;
}
.overview-task-title svg {
color: var(--senlin-primary);
}
.overview-task-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px 10px;
color: var(--senlin-muted);
font-size: 12px;
}
.workspace-task-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 12px;
padding-top: 8px;
}
.workspace-task-card {
display: flex;
min-height: 148px;
flex-direction: column;
justify-content: space-between;
gap: 14px;
border: 1px solid var(--senlin-border);
border-radius: 6px;
background: var(--senlin-surface);
color: var(--senlin-text);
padding: 14px;
text-align: left;
cursor: pointer;
transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.workspace-task-card:hover {
border-color: color-mix(in srgb, var(--senlin-primary) 42%, var(--senlin-border));
box-shadow: 0 8px 22px color-mix(in srgb, var(--senlin-primary) 12%, transparent);
transform: translateY(-1px);
}
.workspace-task-title {
display: flex;
align-items: center;
gap: 8px;
font-weight: 600;
}
.workspace-task-title svg {
color: var(--senlin-primary);
}
.workspace-task-main .arco-typography {
margin: 8px 0 0;
}
.workspace-task-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px 10px;
color: var(--senlin-muted);
font-size: 12px;
}
.workspace-task-meta span {
display: inline-flex;
align-items: center;
gap: 4px;
}
.ai-row {
grid-template-columns: minmax(260px, 1fr) minmax(260px, 1.2fr) 80px 90px;
}
.note-row {
grid-template-columns: minmax(260px, 1fr) 80px 160px 80px;
}
.project-file-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 8px 18px;
}
.project-file-grid.compact {
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.project-file-tile {
min-width: 0;
height: 76px;
display: grid;
grid-template-columns: 56px minmax(0, 1fr);
align-items: center;
gap: 12px;
border: 1px solid transparent;
border-radius: 3px;
background: transparent;
color: var(--senlin-text);
padding: 8px 10px;
text-align: left;
cursor: pointer;
}
.project-file-tile:hover,
.project-file-tile:focus-visible {
border-color: #bfdbff;
background: #e8f3ff;
outline: none;
}
.theme-dark .project-file-tile:hover,
.theme-dark .project-file-tile:focus-visible {
border-color: color-mix(in srgb, var(--senlin-primary) 56%, var(--senlin-border));
background: color-mix(in srgb, var(--senlin-primary) 18%, var(--senlin-surface));
}
.project-file-icon {
width: 54px;
height: 54px;
display: inline-grid;
place-items: center;
border-radius: 6px;
background: #eef2f7;
color: #4e5969;
font-size: 30px;
}
.project-file-icon.folder {
background: #fff3cf;
color: #f0a020;
}
.project-file-icon.pdf {
background: #fff1f0;
color: #f53f3f;
}
.project-file-icon.sheet {
background: #e8ffea;
color: #00b42a;
}
.project-file-icon.doc,
.project-file-icon.note {
background: #e8f3ff;
color: #165dff;
}
.project-file-icon.image {
background: #f2f3f5;
color: #86909c;
}
.project-file-copy {
min-width: 0;
display: grid;
gap: 2px;
}
.project-file-name,
.project-file-type,
.project-file-meta {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.project-file-name {
color: var(--senlin-text);
font-size: 14px;
font-weight: 500;
}
.project-file-type,
.project-file-meta {
color: var(--senlin-muted);
font-size: 12px;
}
.project-channel-page {
min-width: 0;
}
.compact-card .arco-card-body {
padding: 12px 14px;
}
.mail-layout,
.ai-workspace {
min-width: 0;
display: grid;
grid-template-columns: minmax(260px, 0.42fr) minmax(360px, 0.58fr);
gap: 12px;
}
.mail-list,
.mail-detail,
.ai-session-list,
.ai-chat-panel {
min-width: 0;
}
.mail-item,
.ai-session,
.task-card-button {
width: 100%;
display: grid;
gap: 4px;
border: 0;
border-top: 1px solid var(--senlin-border);
background: transparent;
color: var(--senlin-text);
padding: 10px 0;
text-align: left;
cursor: pointer;
}
.mail-item:first-of-type,
.ai-session:first-of-type {
border-top: 0;
}
.mail-item.active,
.ai-session.active,
.mail-item:hover,
.ai-session:hover,
.task-card-button:hover {
background: color-mix(in srgb, var(--senlin-primary) 6%, transparent);
}
.mail-item span:first-child,
.ai-session > .arco-typography:first-child {
min-width: 0;
display: flex;
align-items: center;
gap: 8px;
font-weight: 600;
}
.mail-item div {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.mail-item time,
.ai-session time {
color: var(--senlin-muted);
font-size: 12px;
}
.task-detail-card .arco-card-body {
display: grid;
gap: 18px;
}
.task-detail-progress {
display: grid;
gap: 8px;
}
.task-detail-summary {
display: grid;
gap: 8px;
border-top: 1px solid var(--senlin-border);
padding-top: 14px;
}
.task-detail-summary h6 {
margin: 0;
}
.mail-detail .arco-typography,
.mail-item .arco-typography,
.ai-session .arco-typography {
overflow: hidden;
text-overflow: ellipsis;
}
.inbox-detail .arco-card-body {
display: grid;
align-content: start;
gap: var(--space-4);
}
.inbox-detail-head,
.inbox-confirm-bar {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: var(--space-3);
}
.inbox-detail-head h5,
.inbox-draft-section h6 {
margin: 0;
}
.inbox-content,
.inbox-draft-section {
display: grid;
gap: var(--space-2);
border-top: 1px solid var(--color-border);
padding-top: var(--space-3);
}
.inbox-content p {
margin: 0;
color: var(--color-text);
line-height: 1.7;
}
.inbox-section-label {
font-weight: 700;
}
.inbox-suggestion-list {
display: grid;
gap: var(--space-2);
}
.inbox-suggestion-list .arco-checkbox {
width: 100%;
align-items: flex-start;
border: 1px solid var(--color-border);
border-radius: var(--radius-control);
padding: 10px 12px;
}
.inbox-suggestion-copy {
min-width: 0;
display: grid;
gap: 5px;
}
.inbox-suggestion-copy > span:first-child {
display: flex;
align-items: center;
gap: var(--space-2);
}
.inbox-feedback {
margin: 0;
}
.inbox-confirm-bar {
align-items: center;
border-top: 1px solid var(--color-border);
padding-top: var(--space-3);
}
@media (max-width: 960px) {
.inbox-workspace {
grid-template-columns: minmax(0, 1fr);
}
}
@media (max-width: 560px) {
.project-inbox-page .overview-head,
.inbox-detail-head,
.inbox-confirm-bar {
align-items: stretch;
flex-direction: column;
}
.inbox-detail-head .arco-btn,
.inbox-confirm-bar .arco-btn {
width: 100%;
min-height: 40px;
}
}
.agent-chat-shell {
min-height: calc(100vh - 170px);
display: grid;
grid-template-columns: 280px minmax(0, 1fr);
gap: 0;
margin: -12px -16px -16px;
background: var(--senlin-panel);
}
.agent-session-list.queue-section.arco-card,
.agent-chat-panel.queue-section.arco-card {
border-top: 0;
border-right: 0;
border-bottom: 0;
border-radius: 0;
box-shadow: none;
}
.agent-session-list.queue-section.arco-card {
border-left: 0;
background: color-mix(in srgb, var(--senlin-bg) 72%, var(--senlin-panel));
}
.agent-session-list.queue-section .arco-card-body {
height: 100%;
display: flex;
flex-direction: column;
gap: 28px;
padding: 18px 20px;
}
.agent-new-chat.arco-btn {
height: 42px;
justify-content: center;
border: 1px solid var(--senlin-border);
border-radius: 999px;
background: var(--senlin-panel);
color: var(--senlin-text);
font-size: 14px;
font-weight: 600;
box-shadow: 0 4px 14px rgba(29, 33, 41, 0.08);
}
.agent-new-chat .arco-icon {
font-size: 18px;
}
.agent-session-groups {
display: grid;
gap: 28px;
overflow: auto;
scrollbar-width: none;
}
.agent-session-groups:hover {
scrollbar-width: thin;
}
.agent-session-group {
display: grid;
gap: 12px;
}
.agent-session-group > .arco-typography {
font-size: 14px;
}
.agent-session {
width: 100%;
overflow: hidden;
border: 0;
border-radius: 6px;
background: transparent;
color: var(--senlin-text);
padding: 5px 0;
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
cursor: pointer;
font-size: 14px;
line-height: 1.45;
}
.agent-session:hover,
.agent-session.active {
color: var(--senlin-primary);
}
.agent-chat-panel.queue-section .arco-card-body {
position: relative;
min-height: calc(100vh - 170px);
display: grid;
grid-template-rows: minmax(0, 1fr) auto;
padding: 0;
}
.agent-chat-main {
display: grid;
place-items: center;
padding: 80px 32px 190px;
}
.agent-chat-main h2 {
margin: 0;
color: var(--senlin-text);
font-size: 24px;
font-weight: 800;
}
.agent-composer {
width: min(860px, calc(100% - 80px));
display: grid;
gap: 12px;
justify-self: center;
margin: 0 0 28px;
border: 1px solid var(--senlin-border);
border-radius: 24px;
background: var(--senlin-panel);
padding: 18px 16px 14px;
box-shadow: 0 16px 40px rgba(29, 33, 41, 0.08);
}
.agent-composer .arco-textarea-wrapper {
border: 0;
background: transparent;
padding: 0 8px;
}
.agent-composer textarea {
color: var(--senlin-text);
font-size: 15px;
}
.agent-composer textarea::placeholder {
color: #a9b0bc;
}
.agent-composer-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.agent-model-chip.arco-btn {
height: 36px;
border-color: color-mix(in srgb, var(--senlin-primary) 32%, var(--senlin-border));
border-radius: 999px;
background: var(--senlin-soft-blue);
color: var(--senlin-primary);
font-weight: 700;
}
.agent-send-button.arco-btn {
width: 38px;
height: 38px;
background: #aebeff;
}
.theme-dark .agent-session-list.queue-section.arco-card {
background: #1f1f1f;
}
.theme-dark .agent-composer,
.theme-dark .agent-new-chat.arco-btn {
box-shadow: 0 16px 40px rgb(0 0 0 / 22%);
}
.reply-box,
.chat-input {
display: grid;
gap: 10px;
margin-top: 16px;
padding-top: 12px;
border-top: 1px solid var(--senlin-border);
}
.task-board {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.task-lane .arco-card-body {
display: grid;
gap: 10px;
padding: 12px;
}
.task-card-button {
border: 1px solid var(--senlin-border);
border-radius: 6px;
padding: 10px;
}
.task-tag-section .arco-card-body {
padding: 12px;
}
.task-plan-card-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 12px;
}
.task-plan-card {
min-height: 138px;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 10px;
border: 1px solid var(--senlin-border);
border-radius: 6px;
background: var(--senlin-surface);
color: var(--senlin-text);
padding: 14px;
text-align: left;
cursor: pointer;
transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.task-plan-card:hover {
border-color: color-mix(in srgb, var(--senlin-primary) 42%, var(--senlin-border));
box-shadow: 0 8px 22px color-mix(in srgb, var(--senlin-primary) 12%, transparent);
transform: translateY(-1px);
}
.task-plan-title,
.completed-plan-title {
min-width: 0;
display: flex;
align-items: center;
gap: 8px;
color: var(--senlin-text);
font-weight: 600;
}
.task-plan-title svg,
.completed-plan-title svg {
color: var(--senlin-primary);
}
.task-plan-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px 10px;
color: var(--senlin-muted);
font-size: 12px;
}
.completed-plan-row {
width: 100%;
display: grid;
grid-template-columns: minmax(260px, 1fr) 120px 120px 86px;
align-items: center;
gap: 14px;
border: 0;
border-top: 1px solid var(--senlin-border);
background: transparent;
color: var(--senlin-muted);
padding: 10px 0;
text-align: left;
cursor: pointer;
}
.completed-plan-row:first-of-type {
border-top: 0;
}
.completed-plan-row:hover {
background: color-mix(in srgb, var(--senlin-primary) 5%, transparent);
}
.completed-plan-main {
min-width: 0;
display: grid;
gap: 3px;
}
.completed-plan-row > span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.chat-thread {
display: grid;
gap: 12px;
}
.chat-message {
display: grid;
grid-template-columns: 30px 1fr;
gap: 10px;
}
.chat-message p {
margin: 0;
padding: 10px 12px;
border: 1px solid var(--senlin-border);
border-radius: 6px;
background: var(--senlin-soft-blue);
}
.chat-message.user p {
background: var(--senlin-panel);
}
.folder-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
}
.folder-card .arco-card-body {
padding: 14px;
}
.cron-row {
grid-template-columns: minmax(180px, 1fr) 64px 92px 92px 92px 48px 40px;
}
.cron-summary .arco-card-body {
padding: 12px;
}
.channel-editor-card .arco-card-body {
padding: 14px;
}
.action-modal .arco-modal-content {
border-radius: 8px;
}
.action-form {
width: 100%;
}
.action-form label {
display: grid;
gap: 6px;
}
.action-switch {
grid-template-columns: 1fr auto;
align-items: center;
}
.native-file-input {
width: 100%;
box-sizing: border-box;
border: 1px solid var(--senlin-border);
border-radius: 6px;
background: var(--senlin-panel);
color: var(--senlin-text);
padding: 8px;
}
.theme-dark .arco-modal,
.theme-dark .arco-modal-header,
.theme-dark .arco-modal-content {
background: var(--senlin-panel);
color: var(--senlin-text);
}
.inspector {
min-height: 0;
overflow-x: hidden;
overflow-y: auto;
scrollbar-width: none;
scrollbar-color: color-mix(in srgb, var(--senlin-muted) 45%, transparent) transparent;
padding: 0 16px 16px;
border-left: 1px solid var(--senlin-border);
background: var(--senlin-panel);
}
.channel-sidebar:hover,
.stage:hover,
.inspector:hover,
.channel-list:hover,
.inspector .arco-tabs-content:hover,
.property-list:hover {
scrollbar-width: thin;
}
.channel-sidebar::-webkit-scrollbar,
.stage::-webkit-scrollbar,
.inspector::-webkit-scrollbar,
.channel-list::-webkit-scrollbar,
.inspector .arco-tabs-content::-webkit-scrollbar,
.property-list::-webkit-scrollbar {
width: 0;
height: 0;
}
.channel-sidebar:hover::-webkit-scrollbar,
.stage:hover::-webkit-scrollbar,
.inspector:hover::-webkit-scrollbar,
.channel-list:hover::-webkit-scrollbar,
.inspector .arco-tabs-content:hover::-webkit-scrollbar,
.property-list:hover::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.channel-sidebar::-webkit-scrollbar-thumb,
.stage::-webkit-scrollbar-thumb,
.inspector::-webkit-scrollbar-thumb,
.channel-list::-webkit-scrollbar-thumb,
.inspector .arco-tabs-content::-webkit-scrollbar-thumb,
.property-list::-webkit-scrollbar-thumb {
border-radius: 999px;
background: color-mix(in srgb, var(--senlin-muted) 45%, transparent);
}
.channel-sidebar::-webkit-scrollbar-track,
.stage::-webkit-scrollbar-track,
.inspector::-webkit-scrollbar-track,
.channel-list::-webkit-scrollbar-track,
.inspector .arco-tabs-content::-webkit-scrollbar-track,
.property-list::-webkit-scrollbar-track {
background: transparent;
}
.inspector .arco-tabs-header {
margin-bottom: 12px;
}
.inspector .arco-tabs-content {
overflow-x: hidden;
overflow-y: auto;
scrollbar-width: none;
scrollbar-color: color-mix(in srgb, var(--senlin-muted) 45%, transparent) transparent;
}
.discussion-panel {
display: grid;
}
.inspector-title {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}
.discussion-list {
width: 100%;
}
.discussion-item {
display: grid;
grid-template-columns: 30px 1fr;
gap: 10px;
}
.discussion-item p {
margin: 4px 0 0;
color: var(--senlin-text);
}
.discussion-name {
font-weight: 700;
}
.comment-box {
position: sticky;
bottom: 0;
display: grid;
gap: 8px;
margin-top: 16px;
padding-top: 12px;
background: var(--senlin-panel);
}
.comment-actions {
display: flex;
align-items: center;
justify-content: space-between;
}
.property-list,
.more-actions {
width: 100%;
}
.property-list {
overflow-x: hidden;
overflow-y: auto;
scrollbar-width: none;
scrollbar-color: color-mix(in srgb, var(--senlin-muted) 45%, transparent) transparent;
}
.property-row {
display: flex;
justify-content: space-between;
padding: 10px 0;
border-bottom: 1px solid var(--senlin-border);
}
.statusbar {
height: 32px;
display: grid;
grid-template-columns: minmax(180px, auto) minmax(0, 1fr);
align-items: center;
gap: 20px;
padding: 0 16px;
border-top: 1px solid rgba(255, 255, 255, 0.12);
background: var(--senlin-status);
color: rgba(255, 255, 255, 0.86);
}
.statusbar .arco-typography,
.statusbar .arco-btn-text {
color: rgba(255, 255, 255, 0.86);
}
.status-user,
.status-tasks,
.status-system {
min-width: 0;
display: flex;
align-items: center;
gap: 10px;
white-space: nowrap;
}
.status-user {
gap: 8px;
border: 0;
background: transparent;
color: rgba(255, 255, 255, 0.86);
padding: 0;
cursor: pointer;
}
.status-user:hover .status-name {
color: #fff;
}
.status-tasks {
justify-content: center;
}
.status-tasks span,
.status-system span {
display: inline-flex;
align-items: center;
gap: 5px;
font-size: 12px;
}
.status-system {
justify-content: flex-end;
overflow: hidden;
}
.status-name {
display: inline-flex;
font-size: 12px;
font-weight: 700;
line-height: 1;
}
.status-identity {
display: inline-flex;
align-items: center;
gap: 5px;
}
.status-online-dot {
width: 7px;
height: 7px;
display: inline-block;
border-radius: 50%;
background: #7be188;
box-shadow: 0 0 0 2px rgba(123, 225, 136, 0.16);
}
.status-system b {
color: #7be188;
}
.status-upgrade.arco-btn {
height: 22px;
padding: 0 10px;
border-radius: 999px;
font-size: 12px;
}
.status-modal-form {
margin-top: 8px;
}
.billing-plan-group {
width: 100%;
display: grid;
gap: 10px;
}
.billing-plan.arco-card {
cursor: pointer;
border-radius: 8px;
}
.billing-plan.active.arco-card {
border-color: var(--senlin-primary);
background: var(--senlin-soft-blue);
}
.billing-plan .arco-card-body {
padding: 12px;
}
.billing-plan .arco-radio {
width: 100%;
align-items: flex-start;
}
.billing-plan h6 {
margin: 0 0 4px;
}
.billing-price {
display: block;
margin-bottom: 4px;
color: var(--senlin-primary);
font-weight: 700;
}
.billing-payments {
display: grid;
gap: 10px;
margin-top: 16px;
border-top: 1px solid var(--senlin-border);
padding-top: 14px;
}
@media (max-width: 1180px) {
.workbench-shell {
min-width: 1180px;
}
.login-card .arco-card-body {
grid-template-columns: 1fr;
}
.login-brand-panel,
.login-form-panel {
min-height: auto;
border-right: 0;
border-bottom: 1px solid var(--senlin-border);
}
.login-value-panel {
min-height: auto;
}
}