Skip to content

Commit 3e5b935

Browse files
authored
refactor(ui): remove retired Control UI stylesheet rules (#128611)
1 parent 5cb4bbc commit 3e5b935

6 files changed

Lines changed: 1 addition & 79 deletions

File tree

‎ui/src/styles/chat/sidebar.css‎

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@
9090
}
9191

9292
openclaw-chat-sidebar-region,
93-
.sidebar-region__right-runtime,
94-
.sidebar-region__panels-runtime {
93+
.sidebar-region__right-runtime {
9594
display: contents;
9695
}
9796

@@ -725,14 +724,6 @@ openclaw-chat-sidebar-region,
725724
line-height: 1.25;
726725
}
727726

728-
.side-panel-empty__description {
729-
max-width: 40ch;
730-
margin: 8px 0 0;
731-
color: var(--muted);
732-
font-size: var(--control-ui-text-sm);
733-
line-height: 1.4;
734-
}
735-
736727
.side-panel-empty--selector .side-panel-empty__title {
737728
margin-top: 0;
738729
font-size: var(--control-ui-text-md);
@@ -742,13 +733,6 @@ openclaw-chat-sidebar-region,
742733
transform: translateY(-18px);
743734
}
744735

745-
.side-panel-empty--selector .side-panel-empty__description {
746-
max-width: none;
747-
margin-top: 4px;
748-
line-height: 1.3;
749-
white-space: nowrap;
750-
}
751-
752736
.side-panel-empty__types {
753737
display: grid;
754738
width: min(100%, 320px);

‎ui/src/styles/components.css‎

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -196,31 +196,11 @@ openclaw-session-owner-chip {
196196
color: var(--accent);
197197
}
198198

199-
.connect-splash__logo {
200-
width: 44px;
201-
height: 44px;
202-
animation: connect-splash-wiggle 1.8s ease-in-out infinite;
203-
}
204-
205-
@keyframes connect-splash-wiggle {
206-
0%,
207-
100% {
208-
transform: rotate(-6deg);
209-
}
210-
50% {
211-
transform: rotate(6deg);
212-
}
213-
}
214-
215199
@media (prefers-reduced-motion: reduce) {
216200
.connect-splash {
217201
opacity: 1;
218202
animation: none;
219203
}
220-
221-
.connect-splash__logo {
222-
animation: none;
223-
}
224204
}
225205

226206
/* Shared by the login gate and the Sessions, Tasks, and Cron routes. */

‎ui/src/styles/debug.css‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,6 @@ openclaw-debug-overlay {
153153
border-color: color-mix(in srgb, var(--danger) 35%, var(--border));
154154
}
155155

156-
.debug-overlay__head {
157-
display: flex;
158-
gap: 6px;
159-
align-items: baseline;
160-
justify-content: space-between;
161-
}
162-
163156
.debug-vital__label {
164157
overflow: hidden;
165158
color: var(--muted);

‎ui/src/styles/layout.css‎

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3912,29 +3912,6 @@ wa-dropdown.sidebar-identity-menu::part(menu) {
39123912
height: 16px;
39133913
}
39143914

3915-
.sidebar-agent-menu__filter {
3916-
padding: 2px 8px 6px;
3917-
}
3918-
3919-
.sidebar-agent-menu__filter input {
3920-
--control-ui-touch-input-size: var(--control-ui-text-sm);
3921-
3922-
width: 100%;
3923-
padding: 5px 8px;
3924-
border-radius: 6px;
3925-
border: 1px solid var(--border);
3926-
background: var(--bg);
3927-
color: inherit;
3928-
font: inherit;
3929-
font-size: var(--control-ui-text-sm);
3930-
}
3931-
3932-
.sidebar-agent-menu__empty {
3933-
padding: 6px 8px;
3934-
font-size: var(--control-ui-text-sm);
3935-
color: var(--muted);
3936-
}
3937-
39383915
/* Identity-menu strip: build identity left, theme switch right. */
39393916
.sidebar-identity-menu__footer {
39403917
display: flex;

‎ui/src/styles/plugins.css‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -904,12 +904,6 @@ h3.plugins-subheader {
904904

905905
/* ---------- responsive ---------- */
906906

907-
@media (max-width: 768px) {
908-
.plugins-content-header {
909-
display: flex;
910-
}
911-
}
912-
913907
@media (max-width: 560px) {
914908
.plugins-toolbar--fields > .settings-segmented {
915909
height: auto;

‎ui/src/styles/sidebar-issues.css‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -721,9 +721,3 @@
721721
.sidebar-approval-row__message--error {
722722
color: var(--danger);
723723
}
724-
725-
.exec-approval-description {
726-
overflow-wrap: anywhere;
727-
color: var(--muted-strong);
728-
line-height: 1.4;
729-
}

0 commit comments

Comments
 (0)