Commit 8190539a authored by AI-甘富林's avatar AI-甘富林

左侧栏UI优化0430

parent dc710cf3
...@@ -6387,8 +6387,11 @@ h1, h2, h3, h4, h5, h6, ...@@ -6387,8 +6387,11 @@ h1, h2, h3, h4, h5, h6,
--revamp-text-soft: #64748b; --revamp-text-soft: #64748b;
--revamp-blue: #2563eb; --revamp-blue: #2563eb;
--revamp-blue-strong: #1d4ed8; --revamp-blue-strong: #1d4ed8;
--revamp-blue-soft: #eff6ff; --revamp-blue-soft: #e0edff;
--revamp-blue-border: rgba(96, 165, 250, 0.38); --revamp-blue-border: rgba(59, 130, 246, 0.48);
--revamp-cyber-blue: #0f6eea;
--revamp-cyber-cyan: #19b6d9;
--revamp-cyber-glow: rgba(37, 99, 235, 0.18);
--revamp-border: rgba(148, 163, 184, 0.24); --revamp-border: rgba(148, 163, 184, 0.24);
--revamp-border-strong: rgba(148, 163, 184, 0.38); --revamp-border-strong: rgba(148, 163, 184, 0.38);
--revamp-shadow: 0 14px 32px rgba(15, 23, 42, 0.06); --revamp-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
...@@ -6428,9 +6431,13 @@ h1, h2, h3, h4, h5, h6, ...@@ -6428,9 +6431,13 @@ h1, h2, h3, h4, h5, h6,
} }
.shell.openclaw-theme > .sidebar { .shell.openclaw-theme > .sidebar {
background: linear-gradient(180deg, #e8f1ff 0%, #dbeafe 100%); background:
border-right: 1px solid rgba(37, 99, 235, 0.28); radial-gradient(circle at 24px 84px, rgba(25, 182, 217, 0.2), transparent 36%),
box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.68); linear-gradient(180deg, #d8eaff 0%, #c8dfff 48%, #bed8f8 100%);
border-right: 1px solid rgba(37, 99, 235, 0.34);
box-shadow:
inset -1px 0 0 rgba(255, 255, 255, 0.62),
inset 0 1px 0 rgba(255, 255, 255, 0.54);
} }
.shell.openclaw-theme .nav-item { .shell.openclaw-theme .nav-item {
...@@ -6443,15 +6450,16 @@ h1, h2, h3, h4, h5, h6, ...@@ -6443,15 +6450,16 @@ h1, h2, h3, h4, h5, h6,
} }
.shell.openclaw-theme .nav-item:hover:not(.active) { .shell.openclaw-theme .nav-item:hover:not(.active) {
background: rgba(255, 255, 255, 0.54); background: rgba(255, 255, 255, 0.64);
border-color: var(--revamp-border); border-color: rgba(59, 130, 246, 0.28);
color: #1e40af; color: #1e40af;
} }
.shell.openclaw-theme .nav-item.active { .shell.openclaw-theme .nav-item.active {
background: var(--revamp-blue-soft); background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(219, 234, 254, 0.82));
border-color: var(--revamp-blue-border); border-color: var(--revamp-blue-border);
color: var(--revamp-blue-strong); color: var(--revamp-blue-strong);
box-shadow: 0 8px 18px rgba(37, 99, 235, 0.1);
} }
.shell.openclaw-theme .nav-item.active::before { .shell.openclaw-theme .nav-item.active::before {
...@@ -6467,10 +6475,28 @@ h1, h2, h3, h4, h5, h6, ...@@ -6467,10 +6475,28 @@ h1, h2, h3, h4, h5, h6,
.shell.openclaw-theme .expert-category-item, .shell.openclaw-theme .expert-category-item,
.shell.openclaw-theme .sidebar-session-card { .shell.openclaw-theme .sidebar-session-card {
border-color: var(--revamp-border); border-color: var(--revamp-border);
background: rgba(255, 255, 255, 0.58); background: rgba(255, 255, 255, 0.62);
box-shadow: none; box-shadow: none;
} }
.shell.openclaw-theme .sidebar-experts-entry {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(231, 242, 255, 0.5)),
radial-gradient(circle at 88% 0%, rgba(25, 182, 217, 0.16), transparent 42%);
border-color: rgba(59, 130, 246, 0.26);
}
.shell.openclaw-theme .sidebar-digital-workers-title {
min-height: 34px;
letter-spacing: 0;
}
.shell.openclaw-theme .sidebar-section-title {
color: #14345f;
font-size: 13px;
font-weight: 700;
}
.shell.openclaw-theme .conversation-new-session:hover:not(:disabled), .shell.openclaw-theme .conversation-new-session:hover:not(:disabled),
.shell.openclaw-theme .expert-category-item:hover, .shell.openclaw-theme .expert-category-item:hover,
.shell.openclaw-theme .expert-category-header:hover, .shell.openclaw-theme .expert-category-header:hover,
...@@ -6483,6 +6509,110 @@ h1, h2, h3, h4, h5, h6, ...@@ -6483,6 +6509,110 @@ h1, h2, h3, h4, h5, h6,
box-shadow: none; box-shadow: none;
} }
.shell.openclaw-theme .expert-category-list {
gap: 8px;
}
.shell.openclaw-theme .expert-category-item {
position: relative;
overflow: hidden;
border-radius: 15px;
border-color: rgba(59, 130, 246, 0.28);
background:
linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(222, 239, 255, 0.58)),
radial-gradient(circle at 100% 0%, rgba(25, 182, 217, 0.14), transparent 46%);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.72),
0 10px 22px rgba(37, 99, 235, 0.07);
transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}
.shell.openclaw-theme .expert-category-item::before {
content: "";
position: absolute;
inset: 0 auto 0 0;
width: 3px;
background: linear-gradient(180deg, var(--revamp-cyber-cyan), var(--revamp-cyber-blue));
opacity: 0;
transition: opacity 180ms ease;
}
.shell.openclaw-theme .expert-category-item:hover {
border-color: rgba(37, 99, 235, 0.44);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.82),
0 14px 26px rgba(37, 99, 235, 0.12),
0 0 0 1px rgba(25, 182, 217, 0.08);
}
.shell.openclaw-theme .expert-category-item:hover::before {
opacity: 1;
}
.shell.openclaw-theme .expert-category-header {
min-height: 42px;
padding: 0 12px;
transition: background 180ms ease, color 180ms ease;
}
.shell.openclaw-theme .expert-category-icon,
.shell.openclaw-theme .expert-category-toggle {
color: var(--revamp-cyber-blue);
}
.shell.openclaw-theme .expert-category-icon {
border-radius: 10px;
background: rgba(37, 99, 235, 0.08);
box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}
.shell.openclaw-theme .expert-category-name {
color: #183b66;
font-size: 13px;
font-weight: 700;
line-height: 1.35;
}
.shell.openclaw-theme .expert-category-toggle {
transition: transform 180ms ease, color 180ms ease;
}
.shell.openclaw-theme .expert-category-content {
margin: 0 7px 7px;
border: 1px solid rgba(59, 130, 246, 0.18);
border-radius: 13px;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(226, 242, 255, 0.54)),
radial-gradient(circle at 10% 0%, rgba(25, 182, 217, 0.1), transparent 42%);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.68),
0 12px 24px rgba(15, 111, 234, 0.08);
transform-origin: top center;
animation: expertPanelReveal 220ms cubic-bezier(0.2, 0.82, 0.2, 1);
}
.shell.openclaw-theme .expert-category-experts {
gap: 6px;
padding: 7px;
}
.shell.openclaw-theme .expert-category-expert-item {
min-height: 36px;
padding: 7px 10px 7px 12px;
border-radius: 11px;
border-color: rgba(59, 130, 246, 0.16);
background: rgba(255, 255, 255, 0.68);
color: #31516f;
transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.shell.openclaw-theme .expert-category-expert-item:hover {
background: rgba(255, 255, 255, 0.9);
border-color: rgba(37, 99, 235, 0.34);
color: #104eae;
box-shadow: 0 8px 18px rgba(37, 99, 235, 0.1);
}
.shell.openclaw-theme .expert-category-expert-item.active, .shell.openclaw-theme .expert-category-expert-item.active,
.shell.openclaw-theme .sidebar-session-card.active { .shell.openclaw-theme .sidebar-session-card.active {
background: #ffffff; background: #ffffff;
...@@ -6491,6 +6621,39 @@ h1, h2, h3, h4, h5, h6, ...@@ -6491,6 +6621,39 @@ h1, h2, h3, h4, h5, h6,
box-shadow: inset 3px 0 0 rgba(37, 99, 235, 0.78); box-shadow: inset 3px 0 0 rgba(37, 99, 235, 0.78);
} }
.shell.openclaw-theme .expert-category-expert-item.active {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(224, 237, 255, 0.92));
box-shadow:
inset 3px 0 0 var(--revamp-cyber-blue),
0 10px 20px rgba(37, 99, 235, 0.12);
}
.shell.openclaw-theme .expert-category-expert-icon {
color: currentColor;
}
.shell.openclaw-theme .expert-category-expert-name {
color: currentColor;
font-size: 13px;
font-weight: 600;
line-height: 1.45;
letter-spacing: 0;
}
@keyframes expertPanelReveal {
from {
opacity: 0;
transform: translateY(-5px) scaleY(0.96);
filter: saturate(0.92);
}
to {
opacity: 1;
transform: translateY(0) scaleY(1);
filter: saturate(1);
}
}
.shell.openclaw-theme .main-shell { .shell.openclaw-theme .main-shell {
min-width: 0; min-width: 0;
background: var(--revamp-canvas); background: var(--revamp-canvas);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment