From 3e5b935edf3f5e4b0d3a2f840891ffbb5657bd7b Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 24 Aug 2026 01:27:49 -0700 Subject: [PATCH] refactor(ui): remove retired Control UI stylesheet rules (#128611) --- ui/src/styles/chat/sidebar.css | 18 +----------------- ui/src/styles/components.css | 20 -------------------- ui/src/styles/debug.css | 7 ------- ui/src/styles/layout.css | 23 ----------------------- ui/src/styles/plugins.css | 6 ------ ui/src/styles/sidebar-issues.css | 6 ------ 6 files changed, 1 insertion(+), 79 deletions(-) diff --git a/ui/src/styles/chat/sidebar.css b/ui/src/styles/chat/sidebar.css index 43158624d671..a122172e35f0 100644 --- a/ui/src/styles/chat/sidebar.css +++ b/ui/src/styles/chat/sidebar.css @@ -90,8 +90,7 @@ } openclaw-chat-sidebar-region, -.sidebar-region__right-runtime, -.sidebar-region__panels-runtime { +.sidebar-region__right-runtime { display: contents; } @@ -725,14 +724,6 @@ openclaw-chat-sidebar-region, line-height: 1.25; } -.side-panel-empty__description { - max-width: 40ch; - margin: 8px 0 0; - color: var(--muted); - font-size: var(--control-ui-text-sm); - line-height: 1.4; -} - .side-panel-empty--selector .side-panel-empty__title { margin-top: 0; font-size: var(--control-ui-text-md); @@ -742,13 +733,6 @@ openclaw-chat-sidebar-region, transform: translateY(-18px); } -.side-panel-empty--selector .side-panel-empty__description { - max-width: none; - margin-top: 4px; - line-height: 1.3; - white-space: nowrap; -} - .side-panel-empty__types { display: grid; width: min(100%, 320px); diff --git a/ui/src/styles/components.css b/ui/src/styles/components.css index 12643f2aaf32..a823b23c8781 100644 --- a/ui/src/styles/components.css +++ b/ui/src/styles/components.css @@ -196,31 +196,11 @@ openclaw-session-owner-chip { color: var(--accent); } -.connect-splash__logo { - width: 44px; - height: 44px; - animation: connect-splash-wiggle 1.8s ease-in-out infinite; -} - -@keyframes connect-splash-wiggle { - 0%, - 100% { - transform: rotate(-6deg); - } - 50% { - transform: rotate(6deg); - } -} - @media (prefers-reduced-motion: reduce) { .connect-splash { opacity: 1; animation: none; } - - .connect-splash__logo { - animation: none; - } } /* Shared by the login gate and the Sessions, Tasks, and Cron routes. */ diff --git a/ui/src/styles/debug.css b/ui/src/styles/debug.css index 60d6f2a1331b..81e8f01afc36 100644 --- a/ui/src/styles/debug.css +++ b/ui/src/styles/debug.css @@ -153,13 +153,6 @@ openclaw-debug-overlay { border-color: color-mix(in srgb, var(--danger) 35%, var(--border)); } -.debug-overlay__head { - display: flex; - gap: 6px; - align-items: baseline; - justify-content: space-between; -} - .debug-vital__label { overflow: hidden; color: var(--muted); diff --git a/ui/src/styles/layout.css b/ui/src/styles/layout.css index be0ba5ad662a..f8ef60628149 100644 --- a/ui/src/styles/layout.css +++ b/ui/src/styles/layout.css @@ -3912,29 +3912,6 @@ wa-dropdown.sidebar-identity-menu::part(menu) { height: 16px; } -.sidebar-agent-menu__filter { - padding: 2px 8px 6px; -} - -.sidebar-agent-menu__filter input { - --control-ui-touch-input-size: var(--control-ui-text-sm); - - width: 100%; - padding: 5px 8px; - border-radius: 6px; - border: 1px solid var(--border); - background: var(--bg); - color: inherit; - font: inherit; - font-size: var(--control-ui-text-sm); -} - -.sidebar-agent-menu__empty { - padding: 6px 8px; - font-size: var(--control-ui-text-sm); - color: var(--muted); -} - /* Identity-menu strip: build identity left, theme switch right. */ .sidebar-identity-menu__footer { display: flex; diff --git a/ui/src/styles/plugins.css b/ui/src/styles/plugins.css index e34311d1da5f..10909a91c472 100644 --- a/ui/src/styles/plugins.css +++ b/ui/src/styles/plugins.css @@ -904,12 +904,6 @@ h3.plugins-subheader { /* ---------- responsive ---------- */ -@media (max-width: 768px) { - .plugins-content-header { - display: flex; - } -} - @media (max-width: 560px) { .plugins-toolbar--fields > .settings-segmented { height: auto; diff --git a/ui/src/styles/sidebar-issues.css b/ui/src/styles/sidebar-issues.css index f59dd81cd059..a3941cca7fc0 100644 --- a/ui/src/styles/sidebar-issues.css +++ b/ui/src/styles/sidebar-issues.css @@ -721,9 +721,3 @@ .sidebar-approval-row__message--error { color: var(--danger); } - -.exec-approval-description { - overflow-wrap: anywhere; - color: var(--muted-strong); - line-height: 1.4; -}